hello expert
please, I would like To the impact of the logiciel record, or Will incraese the numéro of the bytes.
data _null_;
file "r\fil.txt" lrec=1000;
run;
Two ways of exploring this:
RTM:
Test yourself, be using different lengths in your program.
Hi @LineMoon
My 2 cents here:
If i understood correclty you want to ask, if there will be a difference in the size of the file created, if you use LRECL and if you don't.
Please note that, if you don't use LRECL= in the file ouput statement, then sas by default uses the LRECL=32767 and creates the file.
if your data has record length less than 1000 and you use lrecl=1000, then there won't be any difference in size, cause its the logical length and not physical length , which denotes the maximum bytes it can store in a row.
Thanks,
Manjeet
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.