When a spool file has the status error, find out what type of error has caused the error status:
This section describes how you can find this out and what you should do after you have found out.
When an error occurs while opening a spool file, the corresponding IDC error message is written to the log of the started task.
Search the log of the started task for the name of the spool file in question to find out whether there is an error message of this type. If you find this error message, stop the corresponding system and (with the help of your system programmer) check why the spool file could not be accessed (volume not available, etc.).
Warning: Do not use the line command R (Reset) with an existing VSAM file. Resetting the status of an existing VSAM file to MODEL would make the data in this spool file unavailable.
When there is an error when formatting a spool file, a log is written to DD SYSPRINT of the started task.
Check whether a formatting error was logged in DD SYSPRINT. If yes, use the line command R to reset the status of the spool file to MODEL.
When there is an error when allocating a spool file, a log is written to DD SYSPRINT of the started task.
Check whether an allocation error was logged in DD SYSPRINT. If yes, remove the cause of this error (security, space, etc.) and use the line command R to reset the status of the spool file to MODEL.