This section describes the causes and suggests corrective actions for error messages due to errors encountered by the DB2 Server for VSE system while processing sequential input or output files in a VSE system. The error messages are displayed on the system operator console or in a SYSLST print file.
Problem Determination Notes for VSAM Access of Sequential Files (Log Archive Files):
Problem Determination Notes for SAM Access:
Primary-Secondary Error Code Pairs
In the following list, the Primary Error Code is listed first, and the Secondary Error Code is listed second. For any pair of codes not listed, see the "Other" item at the end of the list.
Corrective Action: Get the I/O error message (0Pnn PIOCS message) from the system operator. Take the corrective action recommended or suggested by the I/O error message. You may need help from your VSE or system programmer to resolve the problem. Depending on the type of I/O error, you may be able to recover by using a different hardware I/O device or by using a different tape or DASD volume.
Corrective Action: Either change the program's parameters so that it requires less virtual storage, or run the program in a larger partition. If you are running the program with the database manager in single user mode, you may be able to run the program in a smaller partition by running the database manager in multiple user mode (if the failing program can be run in multiple user mode). You may need help from your VSE or system programmer.
Corrective Action: Save the error message and any other error messages. Request help from your system programmer.
System Programmer Response: If the program is being run with the database manager in single user mode, you may be able to eliminate this problem by running it with the database manager in multiple user mode.
VSE/VSAM consumes a lot of CDLOAD anchor table space. If the failure is in the DB2 Server for VSE database partition, consider moving SVA-eligible VSAM phases to the VSE/Advanced Functions Shared Virtual Area (SVA). If the problem persists, make a record of what went wrong and contact the designated support group for your installation.
Corrective Action: Report this problem to the hardware service person at your installation.
Corrective Action: Ensure that the program is reading the file it expects. Ensure that (where applicable) the correct blocksize, record format, and logical record length were specified for the file. If the program requires a specific blocksize, logical record length, maximum logical record length, or record format, ensure that the input file meets these specifications. Check the program that created the file to ensure that it used the correct blocksize, (maximum) logical record length, and record format. If you find no inconsistencies, ask the system programmer to determine the service level of the database manager and report this problem to the designated support group for your installation.
If this occurs for any other file (or not on open), it is a DB2 Server for VSE or VSE system error.
Corrective Action: Either reconfigure the job control for the failing program or run it in a partition with more programmer logical units available. If you do not have such a partition, request that your VSE system programmer generate a new VSE supervisor with a partition containing more programmer logical units. (The number of programmer logical units is controlled by the BGPGR or FnPGR parameter of the VSE/Advanced Functions IOTAB supervisor generation macro instruction.)
If this occurs for any other file (or not on open), it is a DB2 Server for VSE or VSE system error.
Corrective Action: Ensure that the system operator entered a valid tape unit cuu address. If a valid tape unit cuu was entered by the system operator (in a reply to message ARI073A, ARI295A, ARI299A, or ARI092A, or by the TRACE ON command), refer the problem to your VSE system programmer. The system programmer should ensure that the tape unit is defined to the VSE system by using the initial program load (IPL) ADD command.
If this occurs for any other file (or not on open), it is a DB2 Server for VSE or VSE system error.
Corrective Action: Ensure that the system operator entered a valid tape unit cuu address. If a valid tape unit cuu was entered by the system operator (in a reply to message ARI0073A, ARI0295A, ARI0299A, or ARI0092A, or by the TRACE ON command), refer the problem to your VSE system programmer. The system programmer should ensure that the tape unit is defined to the VSE system by using the initial program load (IPL) ADD command.
If this occurs for any other file (or not on open), it is a DB2 Server for VSE or VSE system error.
Corrective Action: If the tape unit is no longer inoperative or off-line for service, enter the VSE/Advanced Functions DVCUP job control command to make the tape unit available for program use. Otherwise the system operator must select a different tape unit for the tape file.
Corrective Action: Either change the program's parameters so that the it requires less virtual storage, or run the program in a larger partition. If you are running a program with the database manager in single user mode, you may be able to run the program in a smaller partition by running the database manager in multiple user mode (if the failing program can be run in multiple user mode). You may need help from your VSE or system programmer.
This is a DB2 Server for VSE or VSE system error if the specified tape unit remained assigned.
Corrective Action: Ensure that the specified tape unit is no longer assigned. Otherwise, contact the designated support group for your installation.
If this occurs for any other file (or not on OPEN), it is a DB2 Server for VSE or VSE system error.
Corrective Action: The system operator must select a tape unit which is not currently assigned to any partition when entering the cuu for the accounting tape file, the archive tape file, or the trace tape file.
If this occurs for any other file (or not on OPEN), it is a DB2 Server for VSE or VSE system error.
Corrective Action: Refer to the corrective action for message ARI0068E.
Corrective Action: Allocate more disk space to the disk output file and rerun the program.
Corrective Action: Save the error message and any other error messages displayed and give the material to your system programmer.
System Programmer Response: Determine the service level of the database manager and report this problem to the designated support group for your installation.