| Return Code | Reason Code | Description of Cause | Action | 
|---|---|---|---|
| 400 | Bad request type | TYPE=ALLOCERR: 
                               Request type is invalid  | 
                           
                           The first packet's request type must be ALLOC. Resubmit an ALLOC packet. | 
| 400 | Bad request, ID block is missing | TYPE=ALLOCERR: 
                               Mainframe Access does not have the configuration for the IMSID  | 
                           
                           Check the IMSID and resubmit. | 
| 505 | Version not supported | TYPE=ALLOCERR: 
                               The client is not supported by Mainframe Access  | 
                           
                           Contact our Product Support. | 
| 602 | IMS Applid is not valid | TYPE=ALLOCERR: 
                               Either IMS is not available or IMS/APPC is not enabled.  | 
                           
                           Contact our Product Support. | 
| 604 | IMS Alloc Failure, RC = rc | TYPE=ALLOCERR: 
                               Routine failed to initiate a conversation with the target IMS system. rc is the decimal number of the return code from VTAM.  | 
                           
                           Contact our Product Support. | 
| 606 | Receive Error | TYPE=RPL,CODE=rc: 
                               Conversation to IMS has failed during a receive operation with RPL code. rc is the return code. The first two bytes are the RPL primary code; the next two bytes are the RPL secondary code.  | 
                           
                           Check the entries, correct any errors, and resubmit request. | 
| 606 | Send Error | TYPE=RPL,CODE=rc: 
                               Conversation to IMS has failed during a send operation with RPL code. The first two bytes are the RPL primary code; the next two bytes are the RPL secondary code.  | 
                           
                           Check the entries, correct any errors, and resubmit request. | 
| 606 | LU6.2 Error | TYPE=RPL,CODE=rc: 
                               Conversation to IMS has failed with RPL code. The first two bytes are the RPL primary code; the next two bytes are the RPL secondary code.  | 
                           
                           Check the entries, correct any errors, and resubmit request. | 
| 613 | Userid/Password Required | TYPE=ALLOCERR: 
                               Security is enforced in the configuration and user ID or password in the request packet is missing.  | 
                           
                           Check and correct user ID and password and resubmit request packet. | 
| 699 | Mainframe Access HTTP Parsing Error | TYPE=ALLOCERR: 
                               The input HTTP packet has invalid record or format.  | 
                           
                           Check the record or format of the HTTP packet and resubmit. |