The POSITION parameter specifies a starting position.
-
r sets the next position and the previous position to a value. The next position is used when an asterisk (*) replaces p in a field_name statement. The previous position is used when an equal sign (=) replaces p in a field_name statement. Following a POSITION,r statement, either an asterisk (*) or an equal sign (=) can be used for position (p) in the next field_name statement.
r can be any number from 1 through 32752.
r can be in the form of m.n for specifying a bit position, with m being a number from 1 through 32752 and n being a number from 0 through 7.
Following is an example where POSITION,r is used with other dictionary statements:
If the dictionary table is printed, it will reflect these substitutions:
-
field_name sets the next position and the previous position to the position of the specified field name. The next position is used when an asterisk (*) replaces p in a field_name statement. The previous position is used when an equal sign (=) replaces p in a field_name statement. Following a POSITION,field_name statement, either an * or an = can be used for p in the next field_name statement.
The field_name used with the POSITION operator can be any previously defined field_name. As a result, POSITION,field_name allows you to map different fields over the same locations.
Following is an example where POSITION,field_name is used with other dictionary statements: