KEMBAR78
Use The LRECL Option in The INFILE Statement To Specify A Record Length at Least As Long As The Longest Record in Your Data File | PDF
0% found this document useful (0 votes)
176 views1 page

Use The LRECL Option in The INFILE Statement To Specify A Record Length at Least As Long As The Longest Record in Your Data File

This document provides information on key aspects of SAS including that global statements remain in effect until changed, SAS statements end with semicolons, SAS is not case sensitive, variable and data set names can be no longer than 32 characters and must start with a letter or underscore. It also summarizes that DATA steps read and modify data while PROC steps analyze or print reports, a step ends at a new statement, RUN, or end of batch program, and DATA steps execute line by line on each observation.

Uploaded by

dnyaneshwa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
176 views1 page

Use The LRECL Option in The INFILE Statement To Specify A Record Length at Least As Long As The Longest Record in Your Data File

This document provides information on key aspects of SAS including that global statements remain in effect until changed, SAS statements end with semicolons, SAS is not case sensitive, variable and data set names can be no longer than 32 characters and must start with a letter or underscore. It also summarizes that DATA steps read and modify data while PROC steps analyze or print reports, a step ends at a new statement, RUN, or end of batch program, and DATA steps execute line by line on each observation.

Uploaded by

dnyaneshwa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

 It is important to keep in mind that the actions of global statements remain in effect until

they are changed by another global statement or until you end your SAS session.
 all SAS statements end with semicolons
 SAS is not case sensitive
 All SAS variable names and data set names can be no longer than 32 characters and
must begin with a letter or the underscore ( _ ) character.
 DATA steps read and modify data while PROC steps analyze data, perform utility
functions, or print reports.DATA step to create a SAS data set and then passes the data
to a PROC step for processing
 A step ends when SAS encounters a new step (marked by a DATA or PROC statement),
a RUN statement, or, if you are running in batch mode, the end of the program

 DATA steps execute line by line and observation by observation.


 One observation goes through all sas data step statements

 use the LRECL= option in the INFILE statement to specify a record length at least as long as
the longest record in your data file.
INFILE ’c:\MyRawData\President.dat’ LRECL=2000;

You might also like