X'0866xxxx': function abort

The receiver is responsible for detecting the loop.

The following table shows how IMS processes the FMH7 ERP messages with sense code X'0866xxxx'.

Table 1. IMS processing for sense code X'0866xxxx'
Message type MTO DFS2083 MTO DFS2073 TERMINAL DFS2073
Response mode
FMH7 W/EB X    
FMH7 W/CD X    
Non-last conversation
FMH7 W/EB2 X    
FMH7 W/CD X    
Last conversation
FMH7 W/EB2 X    
FMH7 W/CD X    
Message switch X    
Test mode
FMH7 W/EB X    
FMH7 W/CD   X  
Other Message Types
FMH7 W/EB X    
FMH7 W/CD1 X    
Notes:
  1. FMH7 received with CD schedules LUSTATUS-NO-OP (X'0006') with EB to be returned next on the session if the output in error was a response mode reply, the last conversational output, or an ATTACH without SCHEDULER.
  2. Conversation Abnormal Termination exit routine is invoked as would occur for /EXIT.

During input, IMS can detect many types of input errors and internal processing conditions, such as undefined transaction codes, incorrect transaction formats, security violations, SNA protocol and data structure errors, and sync-point request errors. These errors can occur on almost any SNA request element of the message and might result in IMS sending an exception response indicating a selective receiver ERP sense code; purging the input message until a synchronizing CANCEL command, RQD1 or RQD2, change-direction indicator, or CHASE command is received; and then sending a selective receiver ERP message.

IMS provides the following sense information in the ERP FMH7 sent with the ERP message:
X'08260000'
Used for input and internal processing errors, other than the errors described in the remainder of this list, that are detected where a normal IMS ERP message is sent.
X'10030000'
Sent when the ATTACH ATTPRN value is not known to IMS.
X'08650000'
A function abort sense code for which the data sender is responsible for detecting and preventing loops. Function abort X'08650000' is sent by IMS after receiving an unsolicited CANCEL command (sender-detected error) during an MFS-autopaged input message that does not result in a DFC between-brackets state. Function abort X'08650000' is also sent by IMS for errors detected on input page requests received during an IMS demand-page output message and for errors detected on nonfirst pages of an autopaged input message.
X'084B0000'
Sent when the attach ATTDPN value is not available for the component entering the data. That is, the input DPN value was not ISCEDT, the optional ISC edit alias, or basic edit; or MFS was not available for the component. However, if MFS was available but the DPN value was not a valid MID, sense code X'08260000' occurs rather than X'084B0000'.
X'080F0000'
Sent when the ATTACH data stream profile (DSP) value does not define a valid or defined component number for the half-session name within IMS.
X'1008xxxx'
The user field (xxxx) is defined by SNA as follows:
  • X'6001': Invalid ATTACH FM header ATTDBA value
  • X'1204': Invalid version ID on FMH4
Other types of errors detected during input or output operations that cause immediate session termination are:
  • Bracket protocol violations
  • Send/receive protocol violations
  • Unsupported response requests
  • Unsupported or invalid FMH types and formats
  • Other major VTAM-detected errors or conditions such as LOSTERM, buffer pool or copy RPL space exhausted, or input RU truncation.