what is the use of LRECL option.
Answer / solasa
LRECL= option—Specifies the logical record length, in bytes.
This option is used when the records in a file are
longer than 256 bytes (on ASCII platforms). The default
input buffer is 256 bytes.
Records that exceed this length are truncated when they are
read.
Setting the LRECL= option to a greater length ensures that
the input buffer is long enough for the entire record to be
read. This is usually not an issue on EBCDIC platforms
because the data control block specifies the logical record
length for SAS.
As shown in the following example, the LRECL=
statement option in an INFILE statement overrides the LRECL=
system option, if it is used.
infile 'C:\mydata\test.dat' dsd truncover lrecl=4096;
| Is This Answer Correct ? | 15 Yes | 0 No |
HOW DO WE CREATE A SAS STORED PROCESS IN SAS EG ?
Give e an example of..
If reading a variable length file with fixed input, how would you prevent SAS from reading the next record if the last variable didn’t have a value?
how would you determine the number of missing or nonmissing values in computations? : Sas programming
What would be the value of month at the end of data step execution and how many observations would be there?
What are the automatic variables for macro? : sas-macro
Do you need to combine data sets? How should you combine data sets– MERGE or SET statements in DATA steps,PROC APPEND,PROC SQL?
In ARRAY processing, what does the DIM function do?
what is prime numbers? how we can get plc write sas code?
what is SAS OPTIMIZATION?
what are some differences between proc summary and proc means? : Sas programming
/* To determine the maximum and minimum of V1 */ data before3; input v1 v2 v3; cards; 3 2 1 4 6 5 2 1 3 6 5 4 1 3 2 5 4 6 ; run;