Identifies the location in variable storage that will contain the db-key of the requested record.
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.
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:
Note: No indication of an end-of-set condition is possible for an @ACCEPT SETN or SETP. A retrieval statement must be issued to determine whether the next or prior record in the set occurrence is the owner record.
Note: When a record declared as an optional or manual member of a set is accessed, it is not established as current of set if it is not currently connected to the named set. A subsequent attempt to access the owner record will instead locate the owner of the current record of set. In such cases, determine whether the retrieved record is actually a set member before executing the @ACCEPT DBKEY=db-key, SETO=set-name statement. The @IF statement (see "@IF" later in this chapter) can be used for this purpose.
|
Copyright © 2014 CA.
All rights reserved.
|
|