Previous Topic: ExamplesNext Topic: LDSN Examples


LDSN Command

The LDSN command lists data set information from the database including data set attributes, device and volume information, and information about which jobs use the data set or are trigger scheduled as a result of its creation.

This command has the following format:

►►─ LDSN ─ , ─┬─ DSN=dsname ──────────────┬─┬───────────────────────┬─────────►
              └─ DSNBR= ─┬─ DSnnnnnnnn ─┬─┘ └─ ,LIST= ─┬─ DSN ◄ ──┬─┘
                         ├─ DS0nnnnnn* ─┤              └─ option ─┘
                         └─ DS* ────────┘

 ►─┬───────────────────────────────────┬──────────────────────────────────────►◄
   └─ ,USERS= ─┬─ 0,32767 ◄ ─────────┬─┘
               └─ (minimum,maximum) ─┘
DSN

Defines the fully qualified name of the data set. For partial qualification, the name can end at a period or can be delimited with an asterisk (*).

Limits: 1 to 44 alphanumeric characters

Required: Yes (unless DSNBR is used)

DSNBR

Defines a single or generic CA Workload Automation SE data set number identifying the members whose records are to be listed. Must be entered with the DS prefix. With this option, the major sequence of the output listed is by data set number.

Required: Yes (unless DSN is used)

DSnnnnnnnn

Defines the value for a single CA Workload Automation SE assigned data set number in up to eight digits with a prefix of DS. Leading zeros can be omitted.

DS0nnnnnn*

Defines a generic data set number in up to seven digits preceded with DS and terminated with an asterisk. The leading zero must not be omitted. For example, to list all DSNBRs in the range 7000-7999, use DSNBR=DS00007*.

DS*

Specifies all data set records.

LIST

(Optional) Specifies list options for data set information.

DSN

Specifies data set information only. DSN is the default.

ALL

Specifies data set information, "using-jobs" and documentation entries.

EXTL

Specifies data sets that are classified external to CA Workload Automation SE.

INTL

Specifies data sets that are classified internal to CA Workload Automation SE.

NORM

Specifies data sets shown as NORM on the DB.6 panel. Includes internal and external data sets.

NOUSER

Specifies data sets that have no "using-jobs."

PERM

Specifies data sets shown as PERM on the DB.6 panel.

TRIG

Specifies all the jobs that are triggered by the data set.

USERS

Specifies all users of a data set. These are jobs that reference the data set in their JCL. Jobs with large JCL may not show in the list (for example, over 100 steps and 500 DDs).

Note: LIST=TRIG and LIST=ALL cannot be used for generic requests by DSN or DSNBR.

USERS

(Optional) Specifies selecting data sets meeting minimum and maximum number of using jobs.

Limits: 5 numeric characters from 00000 to 32767

minimum

Specifies to select data sets with the specified minimum of using jobs.

(minimum,maximum)

Specifies to select data sets in the specified range of using jobs.