Previous Topic: @ACCEPT DBKEY FROM CURRENCY SyntaxNext Topic: @ACCEPT DBKEY FROM CURRENCY Status Codes


@ACCEPT DBKEY FROM CURRENCY Parameters

DBKEY=db-key

Identifies the location in variable storage that will contain the db-key of the named record. Must identify a full-word binary field.

PGINFO=pg-info-v

Specifies the name of a four-byte field that is made up of two halfword fields. Identifies the location in variable storage that contains page information for the specified record. Upon successful completion of this statement, the first two bytes of the field contain the page group number and the last two bytes contain a value that may be used for interpreting dbkeys.

REC=record-name/SET=set-name/AREA=area-name

Specifies the record whose db-key will be placed in the location identified by db-key. If the record, set, or area qualifiers are omitted, the db-key of the current record of run unit is saved. Otherwise, db-keys are saved as follows: