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.
|
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.