Previous Topic: About the Dataset Services Interface

Next Topic: Return Codes


Exit Procedures

Note: For details of the exit procedure supplied with Dataset Services, NMDSSCHK, see the Security Guide.

The following table lists the $DSCALL options that can be invoked in alphabetical order.

Option

Function

OPT=ALIAS

Creates an alias for a member of a PDS.

OPT=ALLOC

Allocates an existing cataloged data set.

OPT=ALLOC STAT=NEW

Creates a new data set.

OPT=ALLOC SYSOUT=CLASS

Allocates a SYSOUT data set.

OPT=ALLOCINFO

Obtains allocation information by ddname or relative allocation number.

OPT=BROWSE

Opens a data set and displays a record.

OPT=CATLIST

Displays a selection list of data sets that begin with a specified high level qualifier.

OPT=CLOSE

Closes an open data set.

OPT=COMPRESS

Compresses a PDS.

OPT=CONCAT

Concatenates a set of data sets under a single ddname.

OPT=COPY

Copies sequential data sets or PDS members.

OPT=COPYPDS

Copies a PDS member from a source data set to a target data set.

OPT=COPYSEQ

Copies a sequential data set from a source data set to a target data set.

OPT=CREATE

Creates a data set.

OPT=DECONCAT

Deconcatenates a set of data sets.

OPT=DELETE

Deletes a cataloged data set.

OPT=DELMEM

Deletes a member of a PDS.

OPT=DEQ

Releases an SPF ENQ.

OPT=DSNLIST

Provides in variables a list of data sets concatenated to a DD.

OPT=DSNSPACE

Determines the amount of space in a data set.

OPT=EDIT

Opens a data set and allows a record to be edited.

OPT=ENQ

Performs an ENQ on a data set or member.

OPT=FCLOSE

Combines the CLOSE option and the UNALLOCATE or FREE option into a single call.

OPT=FINDMEM

Provides a visual display of where a member is in a concatenation.

OPT=FOPEN

Combines the ALLOC option for new or existing data sets, and the OPEN option into one call.

OPT=FREE

Deallocates a data set. See OPT=UNALL for a description of this option.

OPT=INFO

Combines the ALLOCATE option for an existing data set, and the UNALL or FREE option into a single call that retrieves data set information

OPT=LISTC

Obtains or displays a list of data sets that begin with a specified prefix.

OPT=MEMLIST

Obtains or displays a list of PDS members.

OPT=MOVE

Copies a sequential data set, then deletes the original data set.

OPT=MOVEPACK

Moves a data set to a specified volume.

OPT=OPEN

Opens a sequential data set or member of a PDS for input or output.

OPT=PRINT

Opens a data set and allows one or more records to be printed.

OPT=READ

Reads one or more records from an open data set.

OPT=RENAME

Renames a data set.

OPT=RENMEM

Renames a member of a PDS.

OPT=SHOWALLOC

Provides a full-screen display of allocated data sets.

OPT=SUBMIT

Submits JCL.

OPT=UNALL

Deallocates a data set.

OPT=UTILITY

Executes the IBM utilities: IEBGENER, IEBCOPY, IEHLIST, IEHMOVE and IDCAMS.

OPT=VOLSPACE

Determines the amount of space available on a volume.

OPT=WRITE

Writes one or more records to an open data set.