Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Reading date from Parm Card In SAS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
balaji.edu

New User


Joined: 09 Aug 2008
Posts: 7
Location: Hyderabad

PostPosted: Thu Mar 12, 2009 10:23 pm    Post subject: Reading date from Parm Card In SAS
Reply with quote

Iam Reading the date from the Parm card in the belwo SAS code

RETAIN CYCLEDT 0
INFILE DATECARD;
IF _N_ = 1 THEN DO;
INPUT
@1 CYCLEDT 8.;

IF CYCLEDT = . THEN ABORT ABEND 16;
END;

the sas log has an error of cycledt not initalized. the error is
NOTE: Variable CYCLEDT is uninitialized.

i tried searchin in google is asys probable error are spelling mistake or using it in the right side of assgnment statement before it has been assigned any with any valus.but both are not true in my case

Thanks,
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7935
Location: Bellevue, IA

PostPosted: Thu Mar 12, 2009 10:44 pm    Post subject:
Reply with quote

See my notes in your other post. Your SAS code is incorrectly set up and the IF _N_ = 1 is on the wrong DATA step.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us