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 |
if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...
what is Business Intelligence?
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
libname deepak 'C:\SAS Files'; proc format; invalue convert 'A+' = 100 'A' = 96 'A-' = 92 'B+' = 88 'B' = 84 'B-' = 80 'C+' = 76 'C' = 72 'F' = 65; data deepak.grades; input ID $3. Grade convert.; *format Grade convert. ; datalines; 001 A- 002 B+ 003 F 004 C+ 005 A ; proc print data = deepak.grades; run; I get the following output Obs ID Grade 1 001 . 2 002 . 3 003 . 4 004 . 5 005 . I don’t understand why Grade shows up as a missing value. Everything seems fine, including ID $3. Now, in case I use ID : $3. Or use column input, I get the desired output. Kindly help Deepak
If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?
What is the order of evaluation of the following operators + - * / ** () ???
explain about various caches available in data integrator? : Sas-di
What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?
Hi... this is chandu, did MSc Microbiology, trying to get job in SAS tool, PLZ Tell me whether IT industries will give consider my education to gain a job....?
if you have 365 no of data set and each one having different variable from each other. how will you read by creating macros and create a single data set.
How would you invoke a macro? : sas-macro
what is the prob plot in clinical domain