*---------*---------------*-----------------*----------------*---------------* | CODE | FACTOR 1 | FACTOR 2 | RESULT | INDICATORS | | | | | FIELD | | *---------*---------------*-----------------*----------------*---------------* | READC | | Record name | | _ ER EOF | *---------*---------------*-----------------*----------------*---------------*
The READC operation can be used only with an externally described WORKSTN file to obtain the next changed record in a subfile. Factor 2 is required and must be the name of a record format defined as a subfile by the SFILE keyword on the file description specifications. (See Continuation Line Summary Chart for information on the SFILE keyword.)
For a multiple device file, data is read from the subfile record associated with a program device; the program device is identified by the field specified in the ID entry (on the file specifications continuation line). If there is no such entry, data is read from the program device used for the last successful input operation.
You can specify a resulting indicator in positions 56 and 57 to be set on if an error occurs while the operation is running. A resulting indicator in positions 58 and 59 is required; it is set on when there are no more changed records in the subfile.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.