SHOW-VARIABLE shows the current value of a variable once.
When the statement is executed, an S variable of the same name is assigned the value of the variable shown in accordance with the type. If the S variable does not yet exist, it is created with the default parameters (e.g. visible at procedure level).
SHOW-VARIABLE |
VARIABLE-NAME = <structured-name 1..20> / RCODE / STATUSCODE / RELOC-FREED-PAGES / RELOC-LOCKED-PAGES / RELOC-ORIGIN / RELOC-ORIGIN-LOCKS / RELOC-DEST-LOCKS / REORG-PPP-CURRENT / REORG-PPP-PAGES / REORG-PPP-LOCKED |
VARIABLE-NAME= <structured-name 1..20>
Name of the variable whose value is to be shown.
VARIABLE-NAME = RCODE / STATUSCODE / RELOC-DESTINATION / RELOC-FREED-PAGES / RELOC-LOCKED-PAGES / RELOC-ORIGIN / RELOC-ORIGIN-LOCKS / RELOC-DEST-LOCKS / REORG-PPP-CURRENT / REORG-PPP-PAGES / REORG-PPP-LOCKED
Name of a predefined variable (see section “Predefined variables”).