Any SSA, qualified or unqualified, can include a command code. A command code provides still more information for the call. It may affect how the call function is performed, or it may affect the qualification of a segment. Command codes consist of an asterisk (*) followed by a letter.
Use the following reference information for the command codes:
A
Explanation:
Clear positioning and start the call at the beginning of the database.
C
Explanation:
Use the concatenated key of a segment to identify the segment.
D
Explanation:
Retrieve or insert a sequence of segments in a hierarchic path using only one call, instead of using a separate (path) call for each segment.
F
Explanation:
Back up to the first occurrence of a segment under its parent when searching for a particular segment occurrence. Disregarded for a root segment.
G
Explanation:
Prevent randomization or the calling of the HALDB Partition Selection exit routine and search the database sequentially.
L
Explanation:
Retrieve the last occurrence of a segment under its parent.
M
Explanation:
Move a subset pointer to the next segment occurrence after your current position. (Used with DEDBs only.)
N
Explanation:
Designate segments that you do not want replaced when replacing segments after a Get Hold call. Typically used when replacing a path of segments.
O
Explanation:
Either field names or both segment position and lengths can be contained in the SSA qualification for combine field position.
P
Explanation:
Set parentage at a higher level than what it usually is (the lowest-level SSA of the call).
Q
Explanation:
Reserve a segment so that other programs cannot update it until you have finished processing and updating it.
R
Explanation:
Retrieve the first segment occurrence in a subset. (Used with DEDBs only.)
S
Explanation:
Unconditionally set a subset pointer to the current position. (Used with DEDBs only.)
U
Explanation:
Limit the search for a segment to the dependents of the segment occurrence on which position is established.
V
Explanation:
Use the hierarchic level at the current position and higher as qualification for the segment.
W
Explanation:
Set a subset pointer to your current position, if the subset pointer is not already set. (Used with DEDBs only.)
Z
Explanation:
Set a subset pointer to 0, so it can be reused. (Used with DEDBs only.)
-
Explanation:
Null. Use an SSA in command code format without specifying the command code. Can be replaced during execution with the command codes that you want.
Command codes and related calls
| Command Code | GU GHU | GN GHN | GNP GHNP | REPL | ISRT | DLET |
|---|---|---|---|---|---|---|
| A | X | |||||
| C | X | X | X | X | ||
| D | X | X | X | X | ||
| F | X | X | X | X | ||
| G | X | |||||
| L | X | X | X | X | ||
| M | X | X | X | X | X | |
| N | X | |||||
| O | X | X | X | X | ||
| P | X | X | X | X | ||
| Q | X | X | X | X | ||
| R | X | X | X | X | ||
| S | X | X | X | X | X | |
| U | X | X | X | X | ||
| V | X | X | X | X | ||
| W | X | X | X | X | X | |
| Z | X | X | X | X | X | X |
| - | X | X | X | X | X | X |
