Previous Topic: @ACCEPT DBKEY RELATIVE TO CURRENCY SyntaxNext Topic: @ACCEPT DBKEY RELATIVE TO CURRENCY Example


@ACCEPT DBKEY RELATIVE TO CURRENCY Parameters

DBKEY=db-key

Identifies the location in variable storage that will contain the db-key of the requested record.

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.

SETN=/SETP=/SETO=set-name

Determines the record whose db-key will be placed in the location identified by db-key. Set-name must be a set included in the subschema. The saved db-key can belong to the next, prior, or owner record relative to the current record of the named set: