Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

CTLASA

The CTLASA option specifies that the first character of a record is to be interpreted as an American National Standard Institute (ANSI) print control character. The option applies only to RECORD OUTPUT files associated with consecutive data sets.

Read syntax diagramSkip visual syntax diagram>>-CTLASA------------------------------------------------------><
 

The ANSI print control characters, listed in Table 11, cause the specified action to occur before the associated record is printed.

For information about how you use the CTLASA option, see Printer-destined files.

The IBM Proprinter control characters require up to 3 bytes more than the single byte required by an ANSI printer control character. However, do not adjust your logical record length specification (see the RECSIZE environment option) because PL/I automatically adds 3 to the logical record length when you specify CTLASA.

You can modify the effect of CTLASA so that the first character of records is left untranslated to IBM Proprinter control characters. See the ASA environment option under ASA.

Do not specify the SCALARVARYING environment option for printer-destined output operations, as PL/I does not know how to interpret the first data byte of records.

Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide