Field or Flag Name | Associated Calls | Description |
---|---|---|
APS- shortrecname-VAR |
DB-OBTAIN DB-STORE DB-MODIFY DB-PROCESS DB-ERASE |
Field that contains actual record length after a successful record retrieval (direct or sequential for DB-OBTAIN and DB-PROCESS. See Skip Sequence Processing below. Shortrecname comes from the subschema definition; it is the REC card SHORT keyword. |
APS-END-PROCESS |
DB-PROCESS |
Flag that terminates DB-PROCESS loop. Example: TRUE RESET-OBTAIN |
APS-VSAM-NUMREC |
DB-ERASE |
Field that contains number of records deleted after key-qualified ERASE with partial key length specified. |
ddname-APS- KEYnumber |
DB-OBTAIN DB-PROCESS |
Field that contains AMB-generated key name for use in skip-sequential processing. See also Skip Sequence Processing below. Ddname is the subschema file. Example: ORDER-APS-KEY1 |
ddname-RBA |
DB-OBTAIN DB-PROCESSDB-STORE |
Field that contains relative byte address (RBA) of a retrieved, stored ESDS file record. See also ESDS Support and Skip Sequence Processing below. Ddname is the subschema file. Generated field definition isDdname-RBA PIC S9(08) COMP |
ddname-RRN |
DB-OBTAIN DB-PROCESSDB-STORE |
Field that contains relative record number (RRN) of a retrieved or stored RRDS file record. See also RRDS Support and Skip Sequence Processing below. Generated field definition isDdname-RBA PIC S9(08) COMP |
RESET-OBTAIN |
DB-OBTAIN DB-PROCESS |
Flag that resets browse to beginning of file. When used with PREV, resets to end of file. Example: TRUE RESET-OBTAIN |
Skip-sequential processing moves new key search criteria to a AMB-generated key while an active sequential DB-OBTAIN or DB-PROCESS browse is in progress. The following indicates the AMB-generated keys by target.
File Type | Record Key |
---|---|
KSDS |
ddname-APS-KEYnumber |
Number indicates the key number, as follows 1 = Prime record key |
|
The remaining numbers correspond to the order of the DDI IDX subschema cards for that record 2 = First alternate index, 3 = Second alternate index, . . . |
|
The Micro Focus FCT facility supports only one alternate index. |
|
ESDS |
ddname-RBA PIC S9(08) COMP. |
RRDS |
ddname-RRN PIC S9(08) COMP. |
APS-CUST-VAR = WS-FIXED-PORTION + ... (CUST-NBR-ORDERS * WS-OCCURS-LENGTH) DB-STORE REC CUST-RECORD