Informats |
Category: | Date and Time |
Syntax | |
Syntax Description | |
Details | |
Examples |
Syntax |
SMFSTAMPw. |
specifies the width of the input field.
Details |
The SMFSTAMPw. informat reads integer binary time values and packed decimal date values of SMF records that are produced by IBM mainframe systems and converts the time and date values to SAS datetime values.
The date portion of an SMF record in hexadecimal notation is ccyydddF, where
is the one-byte representation of two digits that correspond to the century.
is the one-byte representation of two digits that correspond to the year.
is the one-and-a-half bytes that contain three digits that correspond to the day of the year.
The SMFSTAMPw. informat enables you to read, on any operating environment, integer binary time values and packed decimal date values from files that are created on an IBM mainframe.
Examples |
input begin smfstamp8.;
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.