Previous Topic: LRMD ExamplesNext Topic: Examples


LSCHD Command

The LSCHD command lists schedule information from the database for jobs or networks. You can limit this display to certain systems or stations. You can review schedules for networks and stations as well as processing calendars for input networks. Information provided includes scheduling parameters, variations by schedule ID, and month-by-month calendars.

This command has the following format:

►►─ LSCHD ─ , ─┬─ DSNBR= ─┬─ Sxnnnnnn ───┬─┬─┬───────────────────────┬────────►
               │          ├─ Sx00nnnnn* ─┤ │ └─ ,LIST= ─┬─ BYSID ──┬─┘
               │          └─ Sx* ────────┘ │            ├─ CALS ───┤
               ├─ JOB= ─┬─ * ◄ ──────┬─────┤            ├─ SCHD ───┤
               │        ├─ jobname ──┤     │            └─ SIDnnn ─┘
               │        └─ jobname* ─┘     │
               ├─ NW= ─┬─ * ◄ ─────┬───────┤
               │       └─ network ─┘       │
               └─ STN= ─┬─ * ◄ ─────┬──────┘
                        └─ station ─┘

 ►─┬────────────┬─┬─────────────────────┬─┬──────────────────────────┬────────►◄
   └─ ,SCAL=xx ─┘ └─ ,ST= ─┬─ EXP ────┬─┘ └─ ,SYS= ─┬─ * ◄ ────────┬─┘
                           ├─ JAN ────┤             ├─ systemname ─┤
                           ├─ JUL ────┤             └─ mask ───────┘
                           ├─ MOD ────┤
                           ├─ NRV ────┤
                           ├─ REPEAT ─┤
                           ├─ REPT ───┤
                           └─ RPET ───┘
DSNBR

Specifies a single or generic database schedule member number.

Required: Yes, unless NW, JOB, STN, or SYS is used

Sxnnnnnn

Specifies a single database member number.

x Indicates either I, J, or O for input workstation network, CPU job, and output workstation network schedules, respectively.

nnnnnn Indicates a database schedule member number assigned by CA Workload Automation SE. Leading zeros can be omitted.

Sx00nnnnn*

Indicates a generic schedule database member number. Leading zeros cannot be omitted.

Limits: 1 to 7 numeric characters terminated with an asterisk

Sx*

Causes listing of all schedule members. You can list all members of a specific schedule type by using one of the following:

DSNBR=SI* Lists all input network schedule members.

DSNBR=SJ* Lists all job schedule members.

DSNBR=SO* Lists all output network schedule members.

JOB

Specifies the jobs whose schedule members are to be listed. JOB can be used with SYS. We recommend that online LSCHD commands limit the number of jobs displayed.

Required: Yes, unless DSNBR, NW, or STN is used

*

Specifies all job schedules. This value is the default.

jobname

Defines a specific job name.

Limits: 1 to 8 alphanumeric characters

jobname*

Defines a generic job name.

Limits: 1 to 7 alphanumeric characters terminated with an asterisk

NW

Specifies the networks whose schedule members are to be listed. If DSNBR, JOB, or SYS is used, both NW and STN must be omitted.

Required: Yes, unless DSNBR, JOB, STN, or SYS is used

*

Specifies all networks. This value is the default.

STN

Specifies the stations within a network whose schedule members are to be listed. The information displayed depends on the value of STN keyword. Otherwise, information pertaining only to the station name specified is displayed. STN must be omitted if DSNBR, JOB, or SYS is specified.

Required: Yes, unless DSNBR, JOB, NW, or SYS is used

*

Specifies all stations. This value is the default.

station

Defines a specific station name.

Limits: 1 to 8 alphanumeric characters

LIST

(Optional) Specifies list options for the schedule data to be printed. If omitted, only information used to define selected schedules is displayed. If a generic DSNBR is coded, LIST is invalid. For schedule members that have not been resolved, no schedule day calendars are available for display. This keyword is mutually exclusive with ST.

BYSID

A month-by-month schedule day calendar for each schedule ID in the selected members. Valid only for RESOLVed schedules.

CALS

A month-by-month schedule day calendar using the schedule data selected. This is a composite calendar reflecting all selected schedule IDs. If used with JOB=*, the display could be very lengthy. A batch terminal should be used for this combination. Valid only for RESOLVed schedules.

Note: Output workstation network schedule members do not have composite calendars. Therefore, no calendar is printed for output workstation network schedules.

SCHD

All schedules. Where jobs are involved (through keywords JOB, SYS or DSNBR=SJnnnnnn) information about all the jobs, data sets, or both that trigger the job under consideration is listed as well as all jobs triggered by the job under consideration.

SIDnnn

A month-by-month schedule day calendar for one schedule ID specified by the nnn value (leading zeros are required). Valid only for RESOLVed schedules.

SCAL

(Optional) Designates a specific base calendar identifier. Used for selecting only schedules that reference this calendar.

ST

(Optional) Specifies a type of schedule to be selected. Primarily for generic requests. If omitted, all types are listed according to other selection criteria. This keyword is mutually exclusive with LIST.

EXP

Schedules that have expired.

JAN

January through December schedules.

JUL

July through June schedules.

MOD

Schedules that have been changed through DB.2.7 panel.

NRV

Schedules that have never been resolved.

REPEAT|REPT|RPET

Schedules that have at least one schedule ID with a repeat definition.

SYS

(Optional) Specifies an application system name as defined on the job definition panel for each job, for which the display is desired. If JOB is also used, only those jobs meeting both the JOB and SYS criteria are displayed. (The SYS=systemname parameter is not valid when a specific job name is specified.)

*

Specifies all application system names. This value is the default.

systemname

Defines a specific application system name.

Limits: 1 to 8 alphanumeric characters

mask

Defines a generic application system name.

Limits: 1 to 7 alphanumeric characters, terminated with an asterisk

More information:

Masking