Previous Topic: ExamplesNext Topic: LPDS Examples


LPDS Command

The LPDS command lists a card-image member of a partitioned data set (PDS) or a sequential data set. This command enables the user to review data in any PDS or sequential data set. Other commands are also available to review JCL or PARM statements.

Note: Any undisplayable hexadecimal characters in the member are shown as periods (.) in the output from the LPDS command.

This command has the following format:

►►─ LPDS ─ ,DSN=dsname ─┬───────────────┬─┬──────────────────┬────────────────►◄
                        └─ ,MEM=member ─┘ └─ ,VOLSER=volume ─┘
DSN

Defines the fully qualified data set name of either a sequential data set or the name of a PDS containing a member (MEM) to be listed.

Limits: 1 to 44 alphanumeric characters

MEM

Specifies that member of a named PDS (DSN) is to be listed.

Limits: 1 to 8 alphanumeric characters

Required: Yes, if listing from a PDS

VOLSER

(Optional) Specifies the DASD volume on which the data set (DSN) resides. If VOLSER is omitted, the data set must be a cataloged data set.

More information:

General Inquiry Facility