Previous Topic: LSCHD ExamplesNext Topic: LSYS Examples


LSYS Command

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

Note: To get the job information that is based on a generic or a masked job name, use the LJOB command.

This command has the following format:

LSYS,{SYS=system|JOB=jobname|JOBL=longjobname}[,LIST=option]
SYS

Identifies an application system for which you want to list information. The value is a specific application system name. If SYS is specified, omit JOB or JOBL.

Limits: 1 to 8 alphanumeric characters

Required: Yes, unless JOB or JOBL is used.

JOB

Identifies a particular job name for which you want to list information. If JOB is specified, omit JOBL and SYS.

Limits: 1 to 8 alphanumeric characters

Required: Yes, unless JOBL or SYS is used.

JOBL

Identifies a particular long job name for which you want to list information. If JOBL is specified, omit JOB and SYS.

Limits: 1 to 64 alphanumeric characters

Required: Yes, unless JOB or SYS are used.

LIST

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

AGJOB

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

ALL

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

DEP

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

JOBS

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

SCHD

Lists the jobs within the application systems that are specified with their schedules.

XPJOB

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