08-28-2014 01:05 PM
Is SAS programming a Sequential or non-sequential language?
does the order in a block affects the results?
label Order_Date='Date Ordered'
format Order_Date Delivery_Date mmddyy10.;
keep Employee_ID Customer_ID Order_Date
proc contents data=work.delays;
08-28-2014 01:54 PM
Some statement types such a label, format, informat, infile, file are not specifically order dependent though if you have multiple of these involving the same variable you may get unexpected results. Any actual data manipulation operations including INPUT are order dependent. And data step or procs execute in sequence submitted.
Also statements submitted between data steps and procedures such as system options affect code following the submission.