GU and GHU control statement

The Get Unique statement instructs FABHTEST to issue GU or GHU calls.

The statement can specify:

  • Whether the GU or GHU should be issued with or without an SSA
  • The relational operator to be used in the SSA
  • The key value to be used in the SSA
0........1.........2.........3.........4.........5.........6.........7.........8
12345678901234567890123456789012345678901234567890123456789012345678901234567890

GU  nbr        = keyvalue..............................................c
GHU nbr        = keyvalue..............................................c
                ...............
Position
Description
1
Code the GU or the GHU keyword to identify the get-unique control statement or the get-hold-unique control statement.
5
This entry lists the number of times the call is to be repeated. Code a number containing up to 10 digits. This value neither requires leading zeros nor has to be aligned. If only one GU or GHU is to be issued, omit this step.
16
Code either a blank or a valid relational operator. SSA relational operators are restricted to =b, b=, EQ, =>, >=, GE (where b represents a single blank).

If this field is blank, FABHTEST issues GU or GHU calls without SSA. Otherwise, it issues GU or GHU calls with SSA qualified on the key field of the root segment and uses the relational operator provided.

18
Code the root key value. If the key value does not fit in this statement, place a continuation character (c in this example) in column 72. Then complete the key value in the continuation statement.

If you continue your key value to the next line, leave columns 1 - 4 blank and begin the continuation at column 16. You can continue the statement again if you enter a continuation character in column 72.

72
Enter any nonblank character if a continuation is required.

Leave this space blank if the key value is completed.