07-30-2015 01:26 PM
What is the MAXIMUM LRECL that ODS RTF will use when it writes to the file?
Other than "measuring" is there a way to determine the LRECL of a RTF file.
My limited testing shows that assigning a FILEREF with LRECL and using ODS FILE=fileref ...; LRECL is ignored. My test may be flawed.
07-30-2015 01:46 PM
I don't believe LRECL has any effect on any of the ODS printer or markup destinations. Line display size is handled by the RTF specification and considers fontsize and destination width (page dimension) and margin settings as far as I can tell.
The ODS tagsets.rtf gives a little more control for appearance but may not suit your specific need.
07-30-2015 02:54 PM
I believe that the FILE= option for ODS RTF writes to the operating system based on the OS settings. In the FILENAME doc, SAS(R) 9.4 Statements: Reference, Fourth Edition it says that LRECL is based on the RECFM:
specifies the record format of the external file.
|Interaction||In SAS 9.4, the default value for the global LRECL system option is 32767. If you are using fixed-length records (RECFM=F), the default value for LRECL is 256.|
|Operating environment||Values for record-format are dependent on the operating environment. For more information, see the SAS documentation for your operating environment.|
Operating Environment Information: For a list of valid specifications, see the SAS documentation for your operating environment.
So this may be a question to ask of Tech Support. On page 2 of this document: http://support.sas.com/rnd/base/ods/templateFAQ/MVSODS3.pdf it explains that
"The recommended DCB information for creating files on Z/OS is RECFM=VB, LRECL=8196 and BLKSIZE=27998 for non-PDF files." (page 2). Of course, that is specific to Z/OS, so Tech Support would be your best bet if you are not asking about Z/OS or you want to find out whether those limits still apply.