Previous Topic: Print Subsystem Utility (SCPSUTIL)Next Topic: PSS Utility Functions


How to Submit SCPSUTIL Functions

To execute SCPSUTIL functions, use the following sample JCL:

//         JOBCARD
//JS01     EXEC PGM=SCPSUTIL
//STEPLIB  DD DSN=LOAD,DISP=SHR
//         DD DSN=LOAD,DISP=SHR
//         DD DSN=LOAD,DISP=SHR
//ADROUT   DD DISP=disp,DSN=ADROUT
//ADRPNL   DD DISP=disp,DSN=ADRPNL
//AUXPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
at least one SCPSUTIL control card
/*

The utility control cards are read from SYSIN. You can place the first character on each card in any column, including column 1. If the command has an operand, you must use at least one blank to separate the command from the operand. If there are multiple operands, you must use a blank or a comma to separate one operand from another. Because each utility operation is treated independently of any other, you can use the SCPSUTIL functions in any logical order.

Use DISP=OLD when you need to ensure exclusive control when updating the spool file. Otherwise, use DISP=SHR.

If You Move SCPSUTIL to a Site PROCLIB

Another way to prepare to submit SCPSUTIL functions is to execute from a site PROCLIB. Then, you can use the following sample JCL:

//      JOB
//JS01     EXEC PSSUTIL,
//             COPIES=01,
//             DEST=',DEST=Rxx',
//             OUTC='*'
at least one SCPSUTIL control card
/*
COPIES

Number of AUXPRINT file copies.

DEST

AUXPRINT file system destination.

OUTC

AUXPRINT file system output class.

The SCPSUTIL functions are described in the following section. Listings from the commands are either written to the AUXPRINT file or to SYSUDUMP.