#### OPRCNTRL

#### Synopsis

    HELP:   Print control character handling if write ASA or MCC records [DETACH]
    TYPE:   NUMBER
    SYNTAX: OPRCNTRL=DETACH/RETAIN/ERASE/REPLACE

#### Description

Print control character handling is a special feature for record oriented files of mainframe system. For print control, the ASA or machine control characters are encoded in the first byte of the record.

If an attribute with such a control character is known on write operation, you can decide whether it will be part of the output (RETAIN), written to the output if required (DETACH) or never written (ERASE).

At record I/O an additional replacement by certain empty records to produce a print like output (REPLACE) is supported. The replacement is only done if the target record format don't support ASA or MCC. In this case a default line per page of 60 is used. This default can change over the parameter replace form feed (RPLFFD). If RPLFFD is 0 then 60 is assumed, if it 1 then form feeds are ignored and in each other case the missing records to fill up one page are added.

#### Selections

- `DETACH - Manage print control character as record attribute`
- `RETAIN - Leave print control character as part of the data record`
- `ERASE - Erase the print control character from the record`
- `REPLACE - Replace print control characters by additional records like printed`