Previous Topic: CONTROL Control StatementNext Topic: Example


Syntax

CONTROL
         LINECNT=n
         LINESIZE=n
         DATABASE=high-level-name
         PRTFILE=name
         OUTFILE=name
         ACTIVE=status
         SEQ=sequence
         SELECT=selection

where:

LINECNT=n

Specifies the maximum lines printed per page of output.

n must be a number greater than 10.

The default line count is 60 lines. Aliases of LINECNT are LINECOUNT, LINES, LC, and L.

LINESIZE=n

Specifies the maximum width of a print line including the carriage control n.

DATABASE=

high-level-name.

Specifies the high-level name of the database

If omitted, the high-level name specified in the PARM parameter on the EXEC JCL statement is used. Aliases for DATABASE are DB and D.

PRTFILE=name

Specifies the name of the DD statement to which the PRINT control statement writes its output.

The default ddname is PRTFILE. Aliases for PRTFILE are PRT, PF, and P.

OUTFILE=name

Specifies the name of the DD statement to which the OUTPUT control statement writes its output.

The default ddname is OUTFILE. Aliases for OUTFILE are OUT, OF, and O.

ACTIVE=status

Specifies whether to use the current or previous active status data when reporting.

status can be specified as C or CURRENT for the current active status data or P or PREV for the previous generation active status data.

SEQ=sequence

Specifies the sequence in which database records are selected from the database.

sequence can be specified as JOB for job sequence, RID for report sequence, BID for bundle sequence, or DID or DISTID for the distribution identifier sequence. DID (or DISTID) is only allowed when database fields from the distribution data record are referenced.

SELECT=selection

Identifies a specific selection of identifiers to retrieve from the database.

x can be specified as a specific identifier (PROD123), a generic identifier (PROD*), or a range of identifiers (A:B). A list of specific identifiers, generic identifiers, or ranges of identifiers can be specified by enclosing the list in parentheses.