Informats |
Category: | Date and Time |
Syntax | |
Syntax Description | |
Details | |
Examples |
Syntax |
PDTIMEw. |
specifies the width of the input field.
Requirement: | w must be 4 because packed decimal time values in RMF and SMF records contain four bytes of information. |
Details |
The PDTIMEw. informat reads packed decimal time values that are contained in SMF and RMF records that are produced by IBM mainframe systems and converts the values to SAS time values.
The general form of a packed decimal time value in hexadecimal notation is 0hhmmssF, where
is one byte that represents two digits that correspond to hours.
is one byte that represents two digits that correspond to minutes.
is one byte that represents two digits that correspond to seconds.
PDTIMEw. enables you to read packed decimal time values from files that are created on an IBM mainframe on any operating environment.
Examples |
input begin pdtime4.;
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.