Positions the primary input buffer pointer to a specified parameter or column, and selects the primary input buffer as active.
Sp
S(n)
p specifies the parameter to which the buffer pointer should be set. Can be a number, or a direct or indirect reference to a buffer or select register.
(n) specifies the starting column to which the buffer pointer should be set. Can be a number, or a direct or indirect reference to a buffer or select register.
Sp sets the buffer pointer to the field mark preceding parameter p.
If the specified column or parameter number is less than 2, the buffer pointer is placed at the beginning of the active input buffer.
If the specified column or parameter number is beyond the end of the buffer, the buffer pointer will positioned at the end of the buffer. Use the MV command to create parameters beyond the current end of the buffer.
All data in the secondary input buffer will be cleared.
Command | PIB Before | PIB After |
S3 | ABC^DEF^GHI | ABC^DEF^GHI |
^ | ^ |
Command | PIB Before | PIB After |
S(4) | 12345^ABC | 12345^ABC |
^ | ^ |
JCL