ILE COBOL Programmer's Guide
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:
- Name the file through a file control entry in the FILE-CONTROL paragraph
of the Environment Division
- Describe the file through a file description entry in the Data Division
- Use extensions to Procedure Division statements that support transaction
processing.
- 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 ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.