Informats |
Category: | Date and Time |
Syntax | |
Syntax Description | |
Details | |
Examples |
Syntax |
TODSTAMPw. |
specifies the width of the input field.
Requirement: | w must be 8 because the OS TIME macro or the STCK instruction on IBM mainframes each return an eight-byte value. |
Details |
The TODSTAMPw. informat reads time-of-day clock values that are produced by IBM mainframe operating systems and converts the clock values to SAS datetime values.
If the time-of-day value is all 0s, TODSTAMPw. results in a missing value.
Use TODSTAMPw. on other operating environments to read time-of-day values that are produced by an IBM mainframe.
Examples |
input btime todstamp8.;
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.