During a read operation from a text stream file, all the trailing blank characters (hexadecimal value 0x40) in the record that are read from the file into a buffer are ignored. A new-line character is inserted after the last non-blank.
Figure 87. Reading from a Text Stream File
Example:
The following example illustrates how to read from a text stream file.
Figure 88. ILE C Source to Read Characters from a Text Stream File
|
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.