Previous Topic: LRMD ExamplesNext Topic: LSCHD 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,{JOB={*|jobname|jobname*}|JOBL=[longjobname|mask|*}|NW={*|network}}
      [,LIST={BYSID|CALS|SCHD|SIDnnn}]
      [,SCAL=xx]
      [,ST={EXP|JAN|JUL|MOD|NRV|REPEAT|REPT|RPET}]
      [,SYS={*|systemname|mask}]
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 JOBL or NW 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 that are terminated with an asterisk

JOBL

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

Required: Yes, unless JOB or NW is used

longjobname

Defines a specific long job name.

Limits: 1 to 64 alphanumeric characters

longjobname*

Defines a generic long job name.

Limits: 1 to 63 alphanumeric characters terminated with an asterisk

*

Specifies all job schedules.

NW

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

Required: Yes, unless JOB, JOBL, or SYS is used

*

Specifies all networks. This value is the default.

network

Defines the network name.

Limits: 1 to 8 alphanumeric characters

LIST

(Optional) Specifies list options for the schedule data to print. If omitted, only information that is used to define selected schedules is displayed. For unresolved schedule members, 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 calendar is a composite calendar reflecting all selected schedule IDs. If used with JOB=*, the display could be lengthy. Use a batch terminal 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 or SYS) 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 that the nnn value specifies (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 select. 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 the 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