MPE/iX Intrinsics Reference Manual (32650-90905)
Chapter 5 133
Command Definitions (FCONTROL - FLOCK)
FCONTROL
to the program reading the data.
24/U16 Enable parity checking and generation
Item
has no meaning; enter a value of 0 to satisfy internal requirements.
If a call is issued against a terminal connected through PAD, CCE (2) is
returned, but the device control action does not take place.
Parity can be used for terminals opened programmatically and for those in
session mode. The default for these is to operate in 8-bit pass-through
mode.
If a terminal detects a parity error, it displays the PAD character.
If a parity error is detected by ASC software, the current read is completed
in error, and no read data is returned. The ASC software reports the error
to the program reading the data.
When enabled, the ASC software generates parity on outgoing data and
checks the parity errors on incoming data. After the parity is checked, the
parity bit is always set to zero. (The program using the data does not need
parity data.) Parity checking is handled the same in block mode and in
character mode.
When enabling parity, ensure that the program also requests the terminal
operator to change the physical parity setting of the terminal to the new
setting of the ASC software. Also, if the terminal is to check parity on
incoming data, the local terminal control (used to turn parity checking on
or off) should be set to ON.
25/U16 Define additional end-of-record characters:
Item
passes the value of a character to be used as an additional end-of-record (AEOR)
character. The octal or decimal code for the character must be in the right byte of the
parameter; the left byte is ignored. If the NULL character (%0) is specified, default EOR
conditions are restored.
Normally, character mode reads using standard editing are terminated by
a
RETURN. The system echoes the carriage return and sends a linefeed to
the terminal, the cursor is positioned at the beginning of the next line,
ready for the next read. If an AEOR is assigned, an EOR character still
terminates a read as usual.
When a read is terminated by an AEOR, the AEOR character is included in both the
data and byte counts. No carriage return or line feed is sent to the terminal. The read
terminates with an error condition indicating that the AEOR character was
encountered.
The AEOR character is also recognized in transparent editing mode, along
with a user-defined EOR character. (This replaces the normal EOR
character.)
To disable the AEOR character, indicate
item
=0.
The following are not recognized as AEOR characters: