Search code examples
sasmainframesas-ods

How to limit the number of times the header prints?


Every time that I print out a job from tso mainframe using SAS I get something like this:

Obs Name Amount
1   John  10
2    Ben  20

Obs Name Amount
3    Jen  15
4    Pat  20

Basically, I get the headers multiple time in the output. I'm using:

OPTIONS NODATE NONUMBER;
TITLE1; TITLE2;

PROC PRINT DATA=DATASET;
RUN;

What else should I add to get a better output?


Solution

  • The titles are repeated once per page normally; a page is controlled by options ps=.

    options ps=100;
    

    would give you 100 line pages, for example.