Hi,
I'm new to Linux and just started using DAP to prepare for a SAS oriented entry level job.
I've been unable to figure out how to enter dates in DAP, and would appreciate any help
In SAS, the method I know to input and print birthdate is:
DATA assignment1;
INFILE 'file location';
length name $ 20;
input name $ birthdate mmddyy11.;
PROC PRINT DATA = "">
FORMAT birthdate mmddyy11.;
RUN;
I've read the DAP manual, but a lot of the Linux style instructions are hard for me to understand. I tried simply exchanging
SAS code:
length name
$ 20;
input name $ birthdate mmddyy11.;
PROC PRINT DATA = "">
FORMAT birthdate mmddyy11.;
with
DAP code:
length name $ 20;
input name birthdate MM/DD/YYYY;
PROC PRINT DATA = "">
FORMAT birthdate MM/DD/YYYY;
No luck, and I'm stuck. I appreciate any pointers you could give.
Thanks,
Jim
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- DAP date input help please,
Jbl Lbj <=