Previous Topic: LGVAR ExamplesNext Topic: LIST Examples


LIST Command

The LIST command lists information about jobs in the request queue that are waiting for a restart.

This command has the following format:

LIST[,{JOB={*|jobname|jobnumber|mask}|JOBL={*|longjobname|mask}}]
    [,PROSE={NO|YES}]
JOB

(Optional) Defines the jobs in the request queue, flagged for a restart, that you want to list. JOB and JOBL are mutually exclusive.

*

Specifies all jobs that are flagged for a restart. This value is the default.

jobname

Defines a specific job name in up to eight characters.

Limits: 1 to 8 alphanumeric characters

mask

Defines a generic job name.

Limits: 1 to 7 alphanumeric characters that are terminated with an asterisk.

jobnumber

Defines a specific CA 7 job number.

Limits: 1 to 4 numeric characters

JOBL

(Optional) Defines the jobs in the request queue, flagged for a restart, that you want to list. JOB and JOBL are mutually exclusive.

*

Specifies that all jobs are flagged for a restart.

longjobname

Defines a specific long job name in up to 64 characters.

Limits: 1 to 64 characters

mask

Defines a generic long job name.

Limits: 1 to 63 alphanumeric characters that are terminated with an asterisk.

PROSE

(Optional) Specifies whether to list the restart documentation (the #RESTART segment). PROSE requires a specific job name. If multiple jobs are returned, PROSE lists only the first job in the list. NO is the default.