Slide 24 of 68
Notes:
The CLOSE statement is used to finish using a file. The buffers are flushed and all associated resources are released.
/ERROR is used to specify a label where control should be transferred when an error occurs.
/LOG is used to avoid an error message when closing a file that isn’t open.