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 ;
Results (nothing changes)
The Program Data Vector (PDV):
variable |
characteristics |
value |
_N_ |
numeric, length 8 |
1 |
_ERROR_ |
numeric, length 8 |
0 |
ID |
numeric, length 8 |
101 |
GENDER |
character, length 1 |
M |
AGE |
numeric, length 8 |
26 |
HEIGHT |
numeric, length 8 |
68 |
DOB |
numeric, length 8, format mmddyy8. |
2214 |
The input buffer
101 M 26 68 012366 |
On disk:
ID |
GENDER |
AGE |
HEIGHT |
DOB |
101 |
M |
26 |
68 |
2214 |