If the unit is other than the error message unit, the unit is no longer connected to a file. If neither the ERR nor the IOSTAT specifier is present on the I/O statement, the condition is signaled. If the condition is unhandled, the application is terminated.
Qualifying Data: Only the basic set of four qualifying data for I/O conditions as shown in Table 1. Within this basic set, statement has a value of READ, and parm_count has a value of 4.
Permissible Resume Actions:
Name | Action Taken after Resumption |
---|---|
RN | The OPEN statement is not completed, and execution continues. |
Ensure that the VSAM key-sequenced data set (KSDS) that you want to process is referenced by the file definition (DD statement or ALLOCATE command).
If you want to start with an empty file and add records to it in other than ascending sequence of the primary key, then change the value of the ACCESS specifier to READWRITE. In this case the OPEN statement processing simulates the loading of the file and deletes all loaded records; then VSAM no longer considers the file to be empty.
If you want to load records into an empty file in the fastest way, follow these steps:
After these steps, the file is available to be connected using an ACTION specifier of either READ or READWRITE.
If you omit the DELIM specifier, then for list-directed formatting the character values are written without delimiters, and for namelist formatting the character values are surrounded by apostrophes.
FOR1431