08-18-2014 02:37 PM
I am running a large database on sas in batch. SAS generates two files: .LOG file is the log for the program that has been executed and .LST file is the output file for the program that has been executed.
the .LST file is too big. How can I do to do not generate it?
08-18-2014 03:44 PM
There must be steps in your SAS program that are producing the .LST file. such as PROC PRINT, PROC REPORT, etc.
The first option is to remove these steps from your program. The advantage of this approach is that your program will run quicker without them.
The second option is to add an: ODS LISTING CLOSE; statement at the start of your program so that NO steps producing output will be written to your .LST file. The advantage of this approach is only a minor change is necessary. Also if you want output from just some of your program steps you can use ODS LISTING; to turn on listing just for those. This option should also speed up your program but not as much as the first option.
08-18-2014 04:22 PM
Do you want the programs untouched (test /validate) reasons you can dump the output in a Nullfile.
Each OS his a differnet approach for that. The disadvantage is that the reports processing is still done.
Need further help from the community? Please ask a new question.