
The POS keyword is used in a free-form subfield definition to specify the starting position of the subfield in the data structure.
The starting-position parameter must be a value between 1 and the length of the data structure.
The parameter can be a literal or a named constant. If it is a named constant, the constant must be defined prior to the definition statement.
DCL-DS indds LEN(99);
exit IND POS(3);
refresh IND POS(5);
cancel IND pos(12);
sflclr IND pos(55);
sfldsp IND pos(56);
END-DS;
DCL-DS Qwc JOBI0100_t QUALIFIED;
Job_Type CHAR(1) POS(61);
Job_Subtype CHAR(1) POS(62);
Default_Wait INT(10) POS(73);
END-DS;
