Date: Fri, 18 Sep 1998 17:35:20 -0500
Reply-To: Frank Mwaniki <frank.mwaniki@PHARMA.NOVARTIS.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Frank Mwaniki <frank.mwaniki@PHARMA.NOVARTIS.COM>
Organization: Novartis Pharmacueticals
Subject: delimited file nuances
Content-Type: text/plain; charset=us-ascii
I mainly deal with sas in the MVS environment but recently had pc sas
installed. The following code works on the mainframe but does not on sas
pc. Can anyone tell me why?
59 DATA UPLOAD; FORMAT NUMBER $11. FNAME $15. LNAME $20. ZIP
60 INFILE UPLOAD DELIMITER=','; /* I
changed this to the correct path on pc*/
61 INPUT NUMBER FNAME LNAME ZIP;
NOTE: The infile UPLOAD is:
NOTE: 959 records were read from the infile UPLOAD.
The minimum record length was 22.
The maximum record length was 37.
NOTE: The data set WORK.UPLOAD has 959 observations and 4 variables.
NOTE: The DATA statement used 0.15 CPU seconds and 3016K.
In pc sas I get some gooblygoo about invalid data.