Previous Topic: $DSCALL OPT=DSNSPACE

Next Topic: $DSCALL OPT=ENQ


$DSCALL OPT=EDIT

Displays a sequential data set or member of a PDS for editing.

&CONTROL SHRVARS=($DS)
EXEC $DSCALL    OPT=EDIT 
                DD=DD_name | DSD=dataset_name 
                [MEMBER=member_name] 
                DATA={ } 
                [LIMIT=number] 
                [TRUNCATE=number]

Use this option to display and edit the records in a member of a data set.

Operands:

OPT=EDIT

Specifies that an EDIT is to be performed.

DD=DD_name or DSD=dataset_name

Specifies the ddname or data set name of the data set to be opened for editing.

MEMBER=member_name

Specifies the member name. If the DD operand is used to identify a concatenated data set, the member is obtained from the first data set that it exists in.

DATA={ }

Specifies the records to be edited.

LIMIT=number

Specifies the maximum number of records to be edited in the file. This operand is only applicable if DATA=* is specified.

TRUNCATE=number

Specifies the length to which the records displayed from the file are truncated. The value of the TRUNCATE operand must be in the range 1 to 32,760.