what is the use of LRECL option.



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

Post New Answer

More SAS Interview Questions

what is proc Index? and what is proc document?

0 Answers   Mind Tree,


What are common programming errors committed in sas

0 Answers  


How would you remove a format that has been permanently associated with a variables?

3 Answers  


How would you create multiple observations from a single observation?

1 Answers   Quintiles,


What are symget and symput? : sas-macro

0 Answers  






how to display duplicated observations in a data using base sas.

13 Answers   HCL, TCS,


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

0 Answers  


Difference b/n proc means and proc summary procedures?

3 Answers   Accenture,


explain the use of % includes a statement in sas? : Sas-administrator

0 Answers  


What are Dashboard reports?And significance of these in analysis?

1 Answers  


Are you sensitive to code walk-throughs peer review or QC review?

0 Answers   Quintiles,


How will you generate test data with no input data?

0 Answers  


Categories