The SAS Output Delivery System and reporting techniques

text outout past column 256

Reply
N/A
Posts: 0

text outout past column 256

I have a looping put statement to output a sas dataset to a text file which works fine until the field that ends at column 248. The field moves to a new row which i am guessing is caused by the fact that it goes past column 256. Then the remaining fields also go on to a new row. Each row is supposed to be 486 rows wide. Does anyone know how to get SAS to output the text file where each row goes to the appropriate length?
SAS Super FREQ
Posts: 8,866

Re: text outout past column 256

Posted in reply to deleted_user
Hi:
This is not an ODS or Base Reporting Procedure (PRINT, REPORT, TABULATE) question.

Generally, speaking, only FILE PRINT is limited by the LINESIZE of 256. If you creating another type of ASCII text file or sequential file, you would not have this 256 character limitation on using the PUT statement.

Your best bet for help with this question is to contact Tech Support. To send a question to Tech Support, go to http://support.sas.com/ and in the left-hand navigation pane, click on the link entitled "Submit a Problem".

cynthia
N/A
Posts: 0

Re: text outout past column 256

Posted in reply to Cynthia_sas
I've found that even FILE PRINT can be forced to output a wider file if there is a problem. The only time I found such a problem was on Windows, and in the definition of the output file, adding an LRECL parameter was sufficient to overcome the shortened record length and wrapping.

Kind regards

David
Ask a Question
Discussion stats
  • 2 replies
  • 124 views
  • 0 likes
  • 2 in conversation