DATA Step, Macro, Functions and more

.LST output_need assistance with display of the output.

Reply
New Contributor
Posts: 3

.LST output_need assistance with display of the output.

Hi,

 

I am a beginner in SAS. I am trying to generate a PROC mean output on SAS Studio run on batch mode.

Attached is the document of my output when I used the following code:

options pagesize=100 linesize=77 nodate pageno=1;

 

I have used ODS Listing to generate this .lst output. I am looking for a output where in everything fits in a single row with no splitting of the data dispaly.  I played changing the numbers in the options, but there was no change.

Any help/suggestions on this is highly appreciated.

Thank you,

 

Regards,

Nasya

Super User
Posts: 23,228

Re: .LST output_need assistance with display of the output.

Change page orientation?  Or set maxdec to 3 to reduce table size?

 


@Nasya wrote:

Hi,

 

I am a beginner in SAS. I am trying to generate a PROC mean output on SAS Studio run on batch mode.

Attached is the document of my output when I used the following code:

options pagesize=100 linesize=77 nodate pageno=1;

 

I have used ODS Listing to generate this .lst output. I am looking for a output where in everything fits in a single row with no splitting of the data dispaly.  I played changing the numbers in the options, but there was no change.

Any help/suggestions on this is highly appreciated.

Thank you,

 

Regards,

Nasya


 

New Contributor
Posts: 3

Re: .LST output_need assistance with display of the output.

Hi Reeza,

 

Tried changing the orientation and adding maxdec to 2 as well as 3, both didn't work.

Is there any other fix for this?

Thank you,

 

Regards,

Nasya

Super User
Posts: 23,228

Re: .LST output_need assistance with display of the output.

Not sure why you want LST output, it's not really useful.

 

This works for me. Basically, it's a guess and test approach for fitting things on a page though.

 

ods listing file='/folders/myfolders/demo.lst';
options orientation=landscape linesize=90;
proc means data=sashelp.class maxdec=2 n mean median std min max nolabels;

run;

ods listing close;
Ask a Question
Discussion stats
  • 3 replies
  • 59 views
  • 0 likes
  • 2 in conversation