Reading column data that require informats
In the previous example you saw how to read data using the column input style. The most general style of the INPUT statement is the formatted input style. For example:
DATA POINTER; INPUT @1 ID 3. @5 GENDER $1. @7 AGE 2. @10 HEIGHT 2. @13 DOB MMDDYY6.; FORMAT DOB MMDDYY8.; DATALINES; 101 M 26 68 012366 102 M 32 78 031460 103 F 45 62 112647 104 F 22 66 080170 ; PROC PRINT DATA=POINTER; TITLE 'Example 6'; RUN;