bug-dap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DAP date input help please


From: Jbl Lbj
Subject: DAP date input help please
Date: Tue, 26 Jun 2012 06:51:48 -0700 (PDT)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]
  • DAP date input help please, Jbl Lbj <=