ILE COBOL Programmer's Guide


Writing Programs That Use Transaction Files

Typically, you use a TRANSACTION file to read one record from or write one record to a display. To use a TRANSACTION file in an ILE COBOL program, you must:

Note:
Using extended ACCEPT/DISPLAY statements and TRANSACTION files in the same program is not recommended. If extended ACCEPT/DISPLAY statements are used in the same program as TRANSACTION files, then the TRANSACTION file should be closed when the extended ACCEPT/DISPLAY statements are performed. Unpredictable results will occur if an extended ACCEPT/DISPLAY statement is performed when a TRANSACTION file is open. A severe error may be generated or data on the workstation may be overlapped or intermixed.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]