Previous Topic: LLIB ExamplesNext Topic: Required Action for a Locked Job


LLOCK Command

The LLOCK command lists the database elements that are locked. Locked means CA WA CA 7 Edition has detected some element that is in error or that has not been defined to the CA WA CA 7 Edition database. The locked elements prevent the processing of a job, network, or data set.

In addition to lock conditions, the list also indicates if scheduling of a job has been intentionally suspended with a DEMAND,SET=SKP or NXTCYC command.

This command has the following format:

LLOCK[,{JOB={*|jobname|mask}|DSN=NW.networkname}]
     [,LIST=NXTCYC]
     [,SYS=systemname]

JOB or DSN is required when SYS is omitted.

JOB

Defines the jobs that you want to list. If SYS is used, JOB is optional. If omitted, JOB=* is assumed.

Required: Yes (unless DSN is specified).

*

Specifies to consider all jobs are based on the SYS parameter. This value is the default only if SYS= is provided. systemname must be a specific application name; it cannot be generic. This value is the default.

jobname

Defines a specific job name.

Limits: 1 to 8 alphanumeric characters

mask

Defines a generic job name.

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

DSN

Defines the networks that you want to list. Enter either a specific network or only the three characters NW. to list all networks. DSN is required unless JOB or SYS is used, in which case it must be omitted.

Limits: 1 to 8 alphanumeric characters following NW. prefix

Required: Yes (unless JOB or SYS is specified).

LIST

(Optional) Specifies to list only those schedules that are modified with an NXTCYC or DEMAND,SET=SKP command. NXTCYC is the only valid entry.

SYS

(Optional) Specifies an application system name whose locked jobs you want to list. The value must be the specific application system name as defined for each job on the DB.1 or DB.10 panel. If SYS is used with JOB, the jobs that are specified must have a system name matching the SYS value to be listed. If SYS is used, DSN must be omitted.

Limits: 1 to 8 alphanumeric characters