IMS DB/DC Return Codes

The IMS return codes are listed here alphabetically in this and two other pages, you may browse through them or you may enter the code you are looking for and press the enter key to go directly to the error message in the correct file.

AA AB AC AD AF AH AI AJ AK AL AQ AM AO AP AT AU AY AZ A1 A2 A3 A4 A5 A6 A7 A8 A9 BA BB BC BJ BK CA CB CC CD CE CF CG CH CI CJ CK CL CM CN DA DJ DX FA FC FD FE FF FG FH FI FM FN FP FR FS FT FV FW GA GB GC GD GE GG GK GL GP II IX LB LC LD LE MR NA NE NI NO NU QC QD QE QF QH RA RC RX SA SB SC TA TC TE TG TH TI TJ TL TN TO TP TQ TR TY TZ UC UR US UX V1 V2 V3 V4 V5 V6 V7 XA XB XC XD XE XF XG XX X1 X2 X3 X4 X5 X6 X7 X8 X9 Blanks
TL
Explanation: This status code applies to CICS online command-level programs only, and is returned after a scheduling request. It means that there is a conflict in scheduling intent. (This cannot occur if program isolation has been specified.)

Programmer Response: Specify program isolation in the SIT. If program isolation has not been specified, wait until the PSB is no longer in use, and reschedule it.


TN
Explanation: This status code applies to command-level programs only, and can be returned after any of the commands. It means that there is an invalid SDIB. An initialization call was not made, or the system's DIB (not the application program's DIB) was overlaid.

Programmer Response: Check your program to make sure that you did not use an entry statement, as you would in a call-level batch program. Also make sure that there are no addressing errors in your program that would cause an overlay.


TO
Explanation: This status code applies to command-level programs only, and is returned following a REPL command. It means that there has been a path-replace error. The segments to be replaced are compared to the previous get command, and either a segment is named to be replaced that was not retrieved by the get command, or data had not been transferred (no INTO option) for this segment on the get command, or the attributes of the data to be transferred don't match the data in the database.

Programmer Response: Correct the program.


TP
Explanation: This status code applies to command-level programs only, and is returned following any of the database commands, a LOAD command, or a statistics request. It means that the number of the PCB specified in the USING option is higher than the number of PCBs in the PSB being used; or that there is an invalid processing option. For example, the program tried to issue a LOAD command without having the L processing option specified in its PSB.

Programmer Response: Check the PSB and correct your program.


TQ
Explanation: This status code is returned when a program running in local DL/I tries to use an IOPCB.

Programmer Response: Correct the program.


TR
Explanation: This status code means that the CICS XDLIPRE exit routine returned X'04' in register 15 because the routine determined that the immediately preceding DL/I request should not be executed.

Programmer Response: Contact the CICS system programmer.


TY
Explanation: This status code applies to CICS online command-level programs only, and is returned following a database or statistics request. It means that the database was not open when the request was issued.

Programmer Response: Contact your database administrator or system programmer. The database can be checked and opened via operator commands.


TZ
Explanation: This status code applies to CICS online command-level programs only, and is returned following a database or statistics request. It means that the length of the retrieved segment is greater than 64 bytes.

Programmer Response: Contact your database administrator or system programmer--the database definition may require modification.


UC
Explanation: This status code is returned for batch programs only. A checkpoint record was written to the UCF (8) journal data set. During the processing of an HD reorganization, a reload, or an initial load program under the supervision of the Utility Control Facility (UCF), a checkpoint record was written to the UCF journal data set. IMS returns this status code to indicate that the last ISRT call was correct and the initial load program may continue or it may perform a checkpointing procedure before continuing.

Programmer Response: This is an information-only status code.


UR
Explanation: This status code is returned for batch programs only. Your initial load program is being restarted under UCF (8). The program terminated while executing under UCF. The job was resubmitted with a restart request.

Programmer Response: The program has to get itself back in step with database loading. The program uses the I/O area and the DB PCB key feedback area to do this.


US
Explanation: This status code is returned for batch programs only. The initial load program is about to stop processing. While processing an HD reorganization reload or user initial load program under the supervision of UCF (8), the operator replied to the WTOR from UCB and requested the current function to terminate. The last ISRT call was processed.

Programmer Response: The initial load program should checkpoint its data sets and return with a nonzero value in register 15.


UX
Explanation: This status code is returned for batch programs only. A checkpoint record was written and processing stopped. This is a combination of UC and US status codes.

Programmer Response: See the descriptions of UC and US status codes.


V1
Explanation: The program tried to insert or replace a variable-length segment that is too long. The length of the segment must be equal to or less than the maximum length specified in the DBD. The length must be long enough to include the entire reference field; if the segment is a logical child, it must include the entire concatenated key of the logical parent and all sequence fields for the paired segment. The program tried to delete a variable-length segment. The copy of this segment in the user's I/O area contains an invalid length field.

IMS also returns this status code when an invalid record length is specified in a GSAM call.

Programmer Response: Correct the program.


V2
Explanation: This status code applies to command-level programs only, and is returned following a database or LOAD command. It means that the segment length is missing or invalid. The segment length must be a positive integer. For variable-length segments, it is the maximum size acceptable to the program's I/O area.

Programmer Response: Check that the program translated and compiled correctly. The value of any segment length in a path command should not exceed 32K bytes, and the sum of the lengths should not exceed 64K bytes.


V3
Explanation: This status code applies to command-level programs only, and is returned following a get or INSERT command. It means that the field length is missing or invalid. The field length must be a positive integer, and must be specified for each field in a WHERE option.

Programmer Response: Correct the program.


V4
Explanation: This status code applies to command-level programs only, and is returned following any of the database commands or a LOAD command. It means that the length of a variable-length segment is invalid. The LL field as provided by the program on an ISRT or REPL command, or as received in the I/O area on a Get command, exceeds the value of SEGLENGTH.

Programmer Response: Correct the program.


V5
Explanation: This status code applies to command-level programs only, and is returned following a Get, REPLACE, or INSERT command. It means the offset is invalid. The offset must be a positive integer and not greater than the segment length. than the segment length.

Programmer Response: Correct the program.


V6
Explanation: This status code applies to command-level programs only, and is returned following a Get or ISRT command using the KEYS option. It means that the concatenated key length is missing or invalid. The length of the concatenated key must be a positive integer.

Programmer Response: Correct the program.


V7
Explanation: This status code applies to command-level programs only, and is returned following a STATISTICS command. It means that the statistics area length is either too small or invalid. The length must be a positive integer, and must be at least 72 bytes for unformatted statistics, 120 bytes for summary statistics, and 360 bytes for formatted statistics.

Programmer Response: Correct the program.


XA
Explanation: The program tried to continue processing the conversation by passing the SPA to another program through a program-to-program message switch after already responding to the terminal.

Programmer Response: If a response has been sent, the SPA should be returned to IMS. Correct the program.


XB
Explanation: The program has passed the SPA to another program but is trying to respond to the originating terminal.

Programmer Response: No response is allowed by a program that is passed control of the program through a program-to-program message switch.


XC
Explanation: The program inserted a message that has some bits in the Z1 field set. The Z1 field is reserved for IMS.

Programmer Response: Correct the program to prevent it from setting those bits.


XD
Explanation: IMS is terminating by a CHECKPOINT FREEZE or DUMPQ. IMS returns this code to a BMP that has issued a CHKP or SYNC call. If it is a transaction-oriented BMP, IMS does not return a message.

IMS also returns XD when a batch program issues a SYNC call.

Programmer Response: Terminate the program immediately. IMS will terminate the program abnormally if the program issues another call.


XE
Explanation: A program tried to insert a SPA to an alternate express PCB.

Programmer Response: Regenerate the PSB and remove the EXPRESS=YES option from the PCB, or define another PCB that is not express to be used in the ISRT call.


XF
Explanation: IMS is ignoring the ISRT call for the SPA because the specified alternate PCB had its destination set to a logical terminal but was not defined as ALTRESP=YES during PSB generation.

MSC directed routing does not support a program-to-program switch between conversational transactions.

Programmer Response: Correct the application program or change the PSB generation for that alternate PCB to specify ALTRESP=YES.


XG
Explanation: IMS ignored the ISRT call because the current conversation requires fixed-length SPAs and the ISRT call was to a program with a different length or variable-length SPA.

Programmer Response: Correct the program or the SPA definitions.


XX
Explanation: An error occurred during GSAM initialization or during GSAM call processing. If this status code is in the GSAM PCB before the application issued the first call, the error was detected during initialization. Possible causes are:

Programmer Response: A subsequent GSAM call will result in an abnormal termination of the program. The program should terminate.


X1
Explanation: After a ROLB call, an I/O error occurred while IMS was reading the SPA from the message queue data set.

Programmer Response: Terminate the conversation.


X2
Explanation: The first ISRT call to an alternate PCB whose destination is a conversational transaction code is not for the SPA. The SPA must be inserted with the first ISRT call.

Programmer Response: Insert the SPA, then reinsert the message segment.


X3
Explanation: The program modified the first 6 bytes of the SPA; the SPA is now invalid.

Programmer Response: Correct the program and restore the original bytes.


X4
Explanation: The program issued an ISRT call to pass the SPA to a nonconversational transaction code. It did this by referencing a PCB whose destination was set for the nonconversational transaction code. You can send the SPA only to transaction codes defined as conversational.

Programmer Response: Correct the ISRT call. Send only data segments.


X5
Explanation: The program issued more than one ISRT call to send the SPA to a PCB whose destination is a transaction code.

Programmer Response: Only one SPA is allowed per message. Correct the program.


X6
Explanation: An invalid transaction code name was inserted into the SPA.

Programmer Response: Correct the program to set the proper transaction code name.


X7
Explanation: The length of the SPA is incorrect. The program modified the first 6 bytes.

Programmer Response: Correct the SPA and the program.


X8
Explanation: There was a system or I/O error in attempting to queue a SPA on a transaction code PCB.

Programmer Response: Terminate the conversation.


X9
Explanation: The program tried to insert the SPA for a program-to-program switch and the length of the SPA in the destination program is greater than the maximum SPA length defined by the SPAREA macro at IMS generation.

Programmer Response: Contact your IMS system programmer to change the size of the SPA defined in the destination program or to increase the maximum SPA length defined for the system.


Blanks
Explanation: The call was completed.

Programmer Response: Proceed with processing.



If you experience a problem with this page, please send a message to JTate@JaTomes.Com including a description of the problem.

Last modified: Friday May-08-2009.