ISSUE NOTE

Request next record number.

ISSUE NOTE

Read syntax diagramSkip visual syntax diagramISSUE NOTEDESTID( data-value)DESTIDLENG( data-value)VOLUME( data-value) VOLUMELENG( data-value)RIDFLD( data-area)RRN

Conditions: FUNCERR, INVREQ, SELNERR, UNEXPIN

 

Description

ISSUE NOTE requests the number of the next record. It finds the relative record number of the next record in an addressed direct data set. The number is returned in the data area specified in the RIDFLD option. The RRN option must be specified, because a relative record number is involved.

Options

DESTID(data-value)
specifies the name (1–8 characters) of the data set in the outboard destination.
DESTIDLENG(data-value)
specifies the length (halfword binary value) of the name specified in the DESTID option.
RIDFLD(data-area)
specifies as a 4-character field a data area the relative record number of the next record is returned in.
RRN
specifies that the record identification field specified in the RIDFLD option contains a relative record number.
VOLUME(data-value)
specifies the name (1–6 characters) of a diskette in an outboard destination that contains the data set specified in the DESTID option.
VOLUMELENG(data-value)
specifies the length (halfword binary value) of the name specified in the VOLUME option.

Conditions

48 FUNCERR
occurs if there is an error during execution of the command. Destination selection is unaffected and other commands for the same destination may be successful.

Default action: terminate the task abnormally.

16 INVREQ
RESP2 values:
200
A distributed program link server application specified the function-shipping session (its principal facility) on the CONVID option.

Default action: terminate the task abnormally.

47 SELNERR
occurs if there is an error during destination selection. The destination is not selected and other commands for the same destination are unlikely to be successful.

Default action: terminate the task abnormally.

49 UNEXPIN
occurs when some unexpected or unrecognized information is received from the outboard controller.

Default action: terminate the task abnormally.