z/OS DFSMSdfp Utilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Page Header Parameter

z/OS DFSMSdfp Utilities
SC23-6864-00

You can specify the beginning page number of your printed output by passing to a utility a page header parameter. The first two bytes of this parameter must contain the length of the remainder of the parameter. The page number cannot be longer than 4 bytes and must be in EBCDIC format.

Some utilities update the page number that are passed to them. They replace it with a value that is one greater than the last page number used. This allows for consecutive invocations.

The general syntax of the page header parameter (HDNGLST) is:

For example, to load IEHLIST and get a printout whose first page begins with a page number of 10, you could code:

          LINK  EP=IEHLIST,PARAM=(OPTLIST,DDNMELST,HDNGLST),VL=1
          .
          .
          .
OPTLIST   DC  H'0'
DDNMELST  DC  H'0'
HDNGLST   DC  AL2(L'PAGENUM)
PAGENUM   DC  C'10'
Some utilities use fewer than 4 bytes per page number. Storing a page number that is too large in the page header parameter could cause unpredictable results. For example, if you link to IEBIMAGE with a page number of 998, the following page numbers result:
 998
 999
 (blank)
   1
   2
 (and so on)
In this case, you cannot specify a page number larger than 999.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014