During a read operation from a binary stream that is processed a character at a time, if the length of the data being read is greater than the record length of the file, then data is read from the next record in the file.
Figure 92. Reading from a Binary Stream File One Character at a Time
Example:
The following illustrates how to read from a binary stream file by character.
Figure 93. ILE C Source to Read Characters from a Binary Stream File
|
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.