+-------------------------------IBM Extension--------------------------------+
The DROP statement releases a program device that has been acquired by a TRANSACTION file.
DROP Statement - Format
>>-DROP--+-identifier-+--FROM--file-name-----------------------><
'-literal----'
Program devices specified in a DROP statement must have been acquired by the TRANSACTION file, either through an explicit ACQUIRE or through an implicit ACQUIRE at OPEN time.
After successful execution of the DROP statement, the program device is no longer available for input or output operations through the TRANSACTION file. The device may be reacquired if necessary. The contents of the record area associated with a released program device are no longer available, even if the device is reacquired.
If the DROP statement is unsuccessful, any applicable USE AFTER EXCEPTION/ERROR procedures are executed.
The DROP statement can also be used as an aid in recovering from I-O errors. For more information, see the Transaction File Recovery procedures in the ILE COBOL for AS/400 Programmer's Guide.
+----------------------------End of IBM Extension----------------------------+
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.