Previous Topic: PRINT OUTPUT STATUS CommandNext Topic: PRINT PACKAGE Command (DB2 Only)


Operand Definitions

Operand

Description

OWN

Prints the status of output under the user's identification.

ALL

Prints the status of all output.

name

Prints the status of the output with the specified one‑ to eight‑character name. The name must be unique; otherwise a message and a list of all outputs with that name appear.

number

Prints the status of the output with the specified 1‑ to 4‑digit number.

DESTINATION

Specifies the output destination.

MAIL 'emailid' A delimited 1‑ to 60‑character name of a [assign the value for emailp in your book] destination.

LIBRARY Output library.

SYSTEM name System printer name.

NETWORK name Network printer (not available in batch).

COPIES nn

Number of copies to print on a system or network printer only. This option is ignored in batch.

DESCRIPTION 'string'

A 1‑ to 32‑character description of the output.

The format of the information the PRINT OUTPUT STATUS command produces is identical to the DISPLAY OUTPUT STATUS command.

Examples

The following illustrates the use of PRINT OUTPUT.

PRINT OUTPUT X STATUS DESTINATION SYSTEM LPT1 
PRINT OUTPUT ALL STATUS DEST SYS LPT1 
PRINT OUTPUT STATUS