Sign in

docs RPG Reference

Extended Length PRTCTL Data Structure

Extended Length PRTCTL Data Structure

A minimum of 15 bytes is required for this data structure. Layout of the PRTCTL data structure is as follows:

Data Structure Positions : Subfield Contents

1-3 : A three-position character field that contains the space-before value (valid entries: blank or 0-255)

4-6 : A three-position character field that contains the space-after value (valid entries: blank or 0-255)

7-9 : A three-position character field that contains the skip-before value (valid entries: blank or 1-255)

10-12 : A three-position character field that contains the skip-after value (valid entries: blank or 1-255)

13-15 : A three-digit numeric (zoned decimal) field with zero decimal positions that contains the current line count value.