Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

TRANSMIT condition

Status
TRANSMIT is always enabled.
Result
Raising the TRANSMIT condition indicates that any data transmitted is potentially incorrect.
Cause and syntax
The TRANSMIT input/output condition can be raised during any input/output operation. It is raised by an uncorrectable transmission error of a record (or of a block, if records are blocked), which is an input/output error that could not be corrected during execution. It can be caused by a damaged recording medium, or by incorrect specification or setup.

During input, TRANSMIT is raised after transmission of the potentially incorrect record. If records are blocked, TRANSMIT is raised for each subsequent record in the block.

During output, TRANSMIT is raised after transmission. If records are blocked, transmission occurs when the block is complete rather than after each output statement.

When a spanned record is being updated, the TRANSMIT condition is raised on the last segment of a record only. It is not raised for any subsequent records in the same block, although the integrity of these records cannot be assumed.

Read syntax diagramSkip visual syntax diagram>>-TRANSMIT--(file-reference)----------------------------------><
 

The file-reference must be a scalar reference.

Implicit action
A message is printed and the ERROR condition is raised.
Normal return
Processing continues as though no error had occurred, allowing another condition (for example, RECORD) to be raised by the statement or data item that raised the TRANSMIT condition.

If a file is closed in an ON-unit for this condition, the results of normal return are undefined. Exit from the ON-unit with the closed file must be achieved with a GO TO statement.

Condition codes
40-46

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)