COBOL/400 Language Help


ACQUIRE Statement

Description
The ACQUIRE statement acquires a program device for a TRANSACTION file. Successful completion of the ACQUIRE operation makes the program device available for input and output operations. If the ACQUIRE is unsuccessful, the file status is set to 9H and any applicable USE AFTER EXCEPTION/ERROR procedure is invoked.
Format-TRANSACTION
 
->->---ACQUIRE--*-identifier-*--FOR--file-name---------------><-
              *-literal----*
 


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