Using QMF services for printing in native OS/390 batch, TSO and ISPF

You can use DSQPRINT to print a report, table, SQL or QBE query, procedure, or your profile.

DSQPRINT is a special printer destination that QMF uses when you do not supply a printer name on the command line or in the user profile to print a report, table, SQL or QBE query, procedure, or the profile. DSQPRINT must be allocated with a DD statement that points to the data set or output class QMF uses for printing. The DD statement becomes part of your QMF startup exec, CLIST, or JCL.

To add your printed output to a user-owned data set, allocate DSQPRINT using either the following JCL:

//DSQPRINT DD DSN=&SYSUID..PRINT.DATA,DISP=MOD

or the following CLIST:

ALLOC DDNAME(DSQPRINT) SYSOUT(A) LRECL(133) RECFM(F B A) BLKSIZE(1330)
FREE DDNAME(DSQPRINT)

To route your output to a printer, allocate DSQPRINT using the following syntax:

//DSQPRINT DD SYSOUT=A,DCB=(RECFM=FBA,LRECL=133,BLKSIZE=1330)
Term
Definition
Term
Definition

If you are using ISPF: You can use the QMF-supplied DPRE (Display Printed Report) command synonym to view the effects of the width and length values you specified without having to print the report. This is applicable only while using DSQPRINT.

[ Previous Page | Next Page | Contents | Index ]