IBM Support

PH61735: MQ Z/OS: CSQV086E QUEUE MANAGER ABNORMAL TERMINATION REASON=00F00003 AFTER ABEND=S422 IN AMS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A batch job was accessing queues that are protected by an
    Advanced Message Security (AMS) policy.  The job was cancelled.
    
    Then, a batch job was run to clear messages from these queues.
    
    The CSQUTIL EMPTY job failed with:
      CSQ0214E CSQ0COPN Message protection initialization failed,
      return code 12, reason 00000000
      CSQ0217E CSQ0COPN Failed to process object 'not available'
    
      CSQU083E  MQOPEN failed for queue <queue-name>.
      MQCC=2 MQRC=2217 (MQRC_CONNECTION_NOT_AUTHORIZED)
    
    In the same second, the AMS job failed with:
      IEF450I CSQ2AMSM CSQ2AMSM - ABEND=S422 U0000 REASON=000001A0
    
    The associated queue manager then failed with:
      *CSQV086E QUEUE MANAGER ABNORMAL TERMINATION REASON=00F00003
    
    
    422
    Explanation:
    This abend is a general use abend code. It provides an abend
    that will be treated similarly to a 222 abend generated by a
    CANCEL. This abend will not be delivered to the target task if
    the task is already in recovery processing.
    
    xxxx01A0
    This abend is the result of the kernel terminating a thread.
    The thread and its associated task are terminated.
    
    
    The initial problem occurs after the application is cancelled
    while an AMS request is being processed by the AMSM address
    space. Recovery processing for the application TCB marks the
    Q0RF control block as orphaned, indicating that the AMS
    service task processing the request should clean up resources
    in AMSM address space relating to the request.
    
    When the orphaned request is processed, the task detects that
    one or more temporary buffers were allocated for the request
    and attempts to free them. However an error in CSQ0DPCS causes
    an invalid address to be freed - this results in an abend 978.
    Recovery handles this abend but reattempts the cleanup,
    resulting in a secondary 978 abend, which causes the AMSM
    address space to terminate, bringing the queue manager down
    with it.
    *
    Additional keywords and symptoms:
    ABEND422 ABENDS422
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of IBM for z/OS Version 9          *
    *                 Release 4 Modification 0.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: Abnormal queue manager termination S6C6 *
    *                      with REASON=00F00003 occurs following   *
    *                      the abend/termination of an application *
    *                      using AMS protected queues.             *
    ****************************************************************
    An application thread calling an AMS function as part of an MQI
    request involving a protected queue had allocated one or more
    temporary buffers to hold parameters, and was canceled while
    waiting for the AMS request function to complete.
    The request area associated with the request was flagged as
    orphaned to indicate that it wouldn't be cleaned up by the
    application task, and should be cleaned up by an AMS worker
    task instead.
    When the worker task attempted to free the temporary buffer(s)
    it abended S422 due to an error, resulting in the AMSM address
    space terminating.
    This was detected by CSQ0DEAD, causing the queue manager to
    terminate abnormally as well.
    

Problem conclusion

  • The processing of orphaned application request areas has been
    corrected to prevent the S422 abend.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH61735

  • Reported component name

    IBM MQ Z/OS V9

  • Reported component ID

    5655MQ900

  • Reported release

    305

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-06-06

  • Closed date

    2024-09-04

  • Last modified date

    2024-10-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UI98274

Modules/Macros

  • CSQ0DLCL CSQ0DPCS
    

Fix information

  • Fixed component name

    IBM MQ Z/OS V9

  • Fixed component ID

    5655MQ900

Applicable component levels

  • R400 PSY UI98274

       UP24/09/25 P F409 ¢

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"305","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
03 October 2024