Previous Topic: ExamplesNext Topic: Examples


LSYS Command

The LSYS command lists database information for all jobs defined in a specific application system. This includes input/output data set cross references for each job. The information is similar to that included with the LJOB command. It allows you to review all jobs within an application system with just one command.

Note: If you require job information based on a generic or masked job name, use the LJOB command.

This command has the following format:

►►─ LSYS ─ , ─┬─ SYS=system ──┬─┬────────────────┬────────────────────────────►◄
              └─ JOB=jobname ─┘ └─ ,LIST=option ─┘
SYS

Identifies an application system for which information is to be listed. The value is a specific application system name. If SYS is specified, JOB must be omitted.

Limits: 1 to 8 alphanumeric characters

Required: Yes, unless JOB is used

JOB

Identifies a particular job name for which information is to be listed. If JOB is specified, SYS must be omitted.

Limits: 1 to 8 alphanumeric characters

Required: Yes, unless SYS is used

LIST

(Optional) Specifies options for the printed information. If SYS is specified and LIST is not specified, a single line describing each job is output.

AGJOB

Lists agent information for the application systems specified. This is the default for agent jobs.

ALL

Lists jobs, schedules, and data set dependencies, and internal cross-platform information for the application system specified.

DEP

Lists jobs and data set dependencies for the application systems specified. This is the default for the JOB option for CPU jobs.

JOBS

Lists job data only for jobs in the application systems specified.

SCHD

Lists jobs within the application systems specified along with their schedules.

XPJOB

Lists XPJOB information for the application systems specified. This is the default for XPJOB jobs.