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

C-format item

The complex (or C) format item describes the character representation of a complex data value. You use one real-format-item to describe both the real and imaginary parts of the complex data value in the data stream.

Read syntax diagramSkip visual syntax diagram>>-C--(real-format-item)---------------------------------------><
 
real-format-item
Specified by one of the F-, E-, or P-format items. The P-format item must describe numeric character data.

On input, the letter I in the input raises the CONVERSION condition.

On output, the letter I is never appended to the imaginary part. If the second real format item (or the first, if only one appears) is an F or E item, the sign is transmitted only if the value of the imaginary part is less than zero. If the real format item is a P item, the sign is transmitted only if the S or - or + picture character is specified.

If you require an I to be appended, it must be specified as a separate data item in the data list, immediately following the variable that specifies the complex item. The I, then, must have a corresponding format item (either A or P). If a second real format item is specified, it is ignored.


Terms of use | Feedback

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