Some variables of the UDS online utility are predefined and can be used in statements and conditions without a declaration.
Variable | Meaning |
RCODE | Statement code and status code (5 bytes, printable) of a DML READY, RELOCATE, FPASCAN or FINISH |
STATUSCODE | Status code (3 bytes, printable) of a DML READY, RELOCATE, FPASCAN or FINISH |
RELOC-DESTINATION | Block number of the current target level of the relocation |
RELOC-DEST-LOCKS | Number of target pages locked by other transactions when the last normal RELOCATE-DML was executed |
RELOC-FREED-PAGES | Number of database pages from which records or tables were relocated with the last normally executed RELOCATE DML. The value is also retained if the transaction is reset later |
RELOC-LOCKED-PAGES | Number of pages locked by other transactions when the last normal RELOCATE-DML was executed; sum of RELOC-DEST-LOCKS and RELOC-ORIGIN-LOCKS |
RELOC-ORIGIN | Block number of the current source level for relocation |
RELOC-ORIGIN-LOCKS | Number of source pages locked by other transactions when the last normal RELOCATE-DML was executed |
REORG-PPP-CURRENT | Page number for next PPPs reorganization |
REORG-PPP-LOCKED | Number of pages locked by other transactions when the last normal REORGPPP DML was executed |
REORG-PPP-PAGES | Number of pages where PPPs were reorganized with the last normally executed REORGPPP DML |
Table 20: Predefined variables of the UDS online utility