Previous Topic: $DSCALL OPT=ALLOCINFO

Next Topic: $DSCALL OPT=CATLIST


$DSCALL OPT=BROWSE

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

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

Use this option to display the records in a member of a data set. This is a display only function.

Operands:

OPT=BROWSE

Specifies that a browse action is to be performed.

DATA={ }

Specifies the records to be read.

DD=DD_name or DSD=dataset_name

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

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.

LIMIT=number

Specifies the maximum number of records to be browsed 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 TRUNCATE operand must be in the range 1 to 32,760.