IBM Support

PK26158: SOCRESOURCE RETURNED AFTER CPSM API RUNS IN MULTIPLE CICS REGIONS IMMEDIATELY FOLLOWING THE CICS REGION STARTS (1321)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You have an API that is started from the PLTPI during MAS (CICS
    REGION ) initialization.  This is set up to run in multiple CICS
    regions.  This program fails because the connection to the CMAS
    has not been established(NOTAVAILABLE (1034) CPSMAPI (1334)) is
    returned.  The in turn causes the allocated COMMAND DESCRIPTORS
    to be orphaned.  Later when ANY CPSM API program tries to
    CONNECT to the CMAS, a SOCRESOURCE, 1321 is returned.
    .
    Additional Symptoms(s) Search Keyword(s):
    .
    WUI COVA task or CICS CPSM user API tasks in MAS may abend
    in method XDE2 at offset x'4D4' at label EXCP_EXIT_TRACE
    due to an attempt to trace the command descriptor.  The
    following messages will be issued:
    .
    EYUXL0900I   Starting Environment Recovery
    EYUXL0905E applid   ASRA IN XDE2, OFFSET 000004D4
    EYUXL0905E INTC=0004 ILC=6 TXCP=00000000 SCODE=S00C4
    EYUXL0905E Methods=XDE2,XDE0,XDER,XLAP
    EYUXL0906I Registers at ABEND
    EYUXL0907I GPR0-GPR3 0052A014 38F1C308 00000400 38413A80
    EYUXL0907I GPR4-GPR7 0000000A 37974170 38F1B398 38F1BF18
    EYUXL0907I GPR8-GPRB 00000000 379EE9F0 00526014 00000000
    EYUXL0907I GPRC-GPRF 38F1BD30 38F1BF18 B8413D6A 378DBE20
    EYUXL0907I ARR0-ARR3 00000000 00000000 00000000 00000000
    EYUXL0907I ARR4-ARR7 00000000 00000000 00000000 00000000
    EYUXL0907I ARR8-ARRB 00000000 00000000 01FF0027 00000000
    EYUXL0907I ARRC-ARRF 00000000 00000000 00000000 00000000
    EYUXL0908I Storage At ABEND
    EYUXL0909I -20  D35C35F0  D207D39E  35A8D207  D3A635B0
    EYUXL0909I -10  9630D3D6  12AA4780  34ACD203  A0383600
    EYUXL0909I +00  D203A03C  3604D601  D334360A  D20BD360
    EYUXL0909I +10  C020D207  D3AE35A0  9180D0C4  471034B8
    

Local fix

  • Ensure MASPLTWAIT(YES) is specified in the EYPARMs of the LMAS
    .
    Additional Symptom: You attempt to perform an action using the
    WUI, and receive continuous 'please wait' messages.  In the
    meantime, you see COVP being attached repeatedly.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICSPlex/SM V3R1M0 Users                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:    You have a CPSM API program started  *
    *                      from the PLTPI during MAS (CICS Region) *
    *                      initialization, which runs in multiple  *
    *                      CICS regions.  The program fails when   *
    *                      the connection to the CMAS has not been *
    *                      established;  several API Response /    *
    *                      Reason pairs may be returned including, *
    *                      but not limited to:                     *
    *                                                            . *
    *                      NOTAVAILABLE (1034)/CPSMAPI (1334)      *
    *                      and                                     *
    *                      FAILED (1029)/EXCEPTION (1359).         *
    *                                                            . *
    *                      Later when ANY CPSM API program tries   *
    *                      to CONNECT to the CMAS, a Response and  *
    *                      Reason of                               *
    *                                                            . *
    *                      ENVIRONERROR (1030)/SOCRESOURCE (1321)  *
    *                                                            . *
    *                      is returned.                            *
    *                         FEEDBACK commands will fail in CPSM  *
    *                      API programs, including the CPSM Web    *
    *                      User Interface (WUI) Server, executing  *
    *                      in a MAS.  The API program may be seen  *
    *                      to hang as it waits indefinitely to be  *
    *                      POSTed to resume processing when the    *
    *                      command completes in the CMAS.          *
    ****************************************************************
    * RECOMMENDATION: After applying the PTF that resolves this    *
    *                 APAR, all MASes must be recycled to pick     *
    *                 up the new code.  Note that the restarts     *
    *                 do not need to be done at the same time.     *
    ****************************************************************
       When a CPSM API command is executed, the API Routing module
    for that command, EYU0XDE# (XDE#) where # is 1 - 5, acquires a
    Command Descriptor from a pool in the DAT cache data space,
    initializes it, and transmits a MAL (Method Argument List) with
    a pointer to the command descriptor, to the CMAS for execution.
    If the transmission fails, or if an exception occurs in the
    router module, the command descriptor is not returned to the
    free pool for reuse.  After 64 such failures the free pool is
    exhausted, and further API commands will fail with ENVIRONERROR
    and SOCRESOURCE, until the CMAS is recycled to reinitialize the
    Command Descriptor pool.
       When a command is passed to the CMAS for execution, the MAS
    in which the command was submitted is identified in a structure
    called the Origin Block (XDOB).  When initializing the Origin
    Block for a FEEDBACK command, the CONTEXT (CICSplex to which
    the MAS belongs) was omitted.
    

Problem conclusion

  •    The API Router modules EYU0XDE0 (XDE0 - API Primary Router)
    and EYU0XDE1-5 (XDE1-5 - Low Level API Routers) were modified
    to insure that the Command Descriptor acquired from the free
    pool will always be released, even if an exception occurs in
    the routing process.  Module EYU9XLAP (XLAP - API RMI TRUE) was
    modified to return control to the calling program when an API
    command is submitted before the MAS Agent has initialized.
       The Origin Block for FEEDBACK commands is fully initialized
    in module EYU0XDE2 (XDE2 - ADDRESS, QUERY, FEEDBACK Router).
    

Temporary fix

  •             *********
                * HIPER *
                *********
    FIX AVAILABLE BY PTF ONLY
    

Comments

  •    You have a CPSM API program started
    from the PLTPI during MAS (CICS Region)
    initialization, which runs in multiple
    CICS regions.  The program fails when
    the connection to the CMAS has not been
    established;  several API Response /
    Reason pairs may be returned including,
    but not limited to:
                                           .
    NOTAVAILABLE (1034) / CPSMAPI (1334)
    and
    FAILED (1029) / EXCEPTION (1359).
                                           .
    Later when ANY CPSM API program tries
    to CONNECT to the CMAS, a Response and
    Reason of
    ENVIRONERROR (1030) / SOCRESOURCE (1321)
    is returned.
       FEEDBACK commands will fail in CPSM
    API programs, including the CPSM Web
    User Interface (WUI) Server, executing
    in a MAS.  The API program may be seen
    to hang as it waits indefinitely to be
    POSTed to resume processing when the
    command completes in the CMAS.
    
       When a CPSM API command is executed, the API Routing module
    for that command, EYU0XDE# (XDE#) where # is 1 - 5, acquires a
    Command Descriptor from a pool in the DAT cache data space,
    initializes it, and transmits a MAL (Method Argument List) with
    a pointer to the command descriptor, to the CMAS for execution.
    If the transmission fails, or if an exception occurs in the
    router module, the command descriptor is not returned to the
    free pool for reuse.  After 64 such failures the free pool is
    exhausted, and further API commands will fail with ENVIRONERROR
    and SOCRESOURCE, until the CMAS is recycled to reinitialize the
    Command Descriptor pool.
       When a command is passed to the CMAS for execution, the MAS
    in which the command was submitted is identified in a structure
    called the Origin Block (XDOB).  When initializing the Origin
    Block for a FEEDBACK command, the CONTEXT (CICSplex to which
    the MAS belongs) was omitted.
    
       The API Router modules EYU0XDE0 (XDE0 - API Primary Router)
    and EYU0XDE1-5 (XDE1-5 - Low Level API Routers) were modified
    to insure that the Command Descriptor acquired from the free
    pool will always be released, even if an exception occurs in
    the routing process.  Module EYU9XLAP (XLAP - API RMI TRUE) was
    modified to return control to the calling program when an API
    command is submitted before the MAS Agent has initialized.
       The Origin Block for FEEDBACK commands is fully initialized
    in module EYU0XDE2 (XDE2 - ADDRESS, QUERY, FEEDBACK Router).
    ž**** PE06/09/11 FIX IN ERROR. SEE APAR PK30972  FOR DESCRIPTION
    

APAR Information

  • APAR number

    PK26158

  • Reported component name

    CPSM CICS 3.1

  • Reported component ID

    5655M1501

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-06-08

  • Closed date

    2006-07-18

  • Last modified date

    2007-01-09

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

    PK26162

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

    UK16233

Modules/Macros

  •    EYU0XDE0 EYU0XDE1 EYU0XDE2 EYU0XDE3 EYU0XDE4
    EYU0XDE5 EYU9XLAP
    

Fix information

  • Fixed component name

    CPSM CICS 3.1

  • Fixed component ID

    5655M1501

Applicable component levels

  • R100 PSY UK16233

       UP06/07/19 P F607

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.

{"0":{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},"412":{"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Line of Business":{"code":"LOB35","label":"Mainframe SW"}},"1":null,"2":null,"3":null,"4":null,"5":null,"6":null,"7":null,"8":null,"9":null,"10":null,"11":null,"12":null,"13":null,"14":null,"15":null,"16":null,"17":null,"18":null,"19":null,"20":null,"21":null,"22":null,"23":null,"24":null,"25":null,"26":null,"27":null,"28":null,"29":null,"30":null,"31":null,"32":null,"33":null,"34":null,"35":null,"36":null,"37":null,"38":null,"39":null,"40":null,"41":null,"42":null,"43":null,"44":null,"45":null,"46":null,"47":null,"48":null,"49":null,"50":null,"51":null,"52":null,"53":null,"54":null,"55":null,"56":null,"57":null,"58":null,"59":null,"60":null,"61":null,"62":null,"63":null,"64":null,"65":null,"66":null,"67":null,"68":null,"69":null,"70":null,"71":null,"72":null,"73":null,"74":null,"75":null,"76":null,"77":null,"78":null,"79":null,"80":null,"81":null,"82":null,"83":null,"84":null,"85":null,"86":null,"87":null,"88":null,"89":null,"90":null,"91":null,"92":null,"93":null,"94":null,"95":null,"96":null,"97":null,"98":null,"99":null,"100":null,"101":null,"102":null,"103":null,"104":null,"105":null,"106":null,"107":null,"108":null,"109":null,"110":null,"111":null,"112":null,"113":null,"114":null,"115":null,"116":null,"117":null,"118":null,"119":null,"120":null,"121":null,"122":null,"123":null,"124":null,"125":null,"126":null,"127":null,"128":null,"129":null,"130":null,"131":null,"132":null,"133":null,"134":null,"135":null,"136":null,"137":null,"138":null,"139":null,"140":null,"141":null,"142":null,"143":null,"144":null,"145":null,"146":null,"147":null,"148":null,"149":null,"150":null,"151":null,"152":null,"153":null,"154":null,"155":null,"156":null,"157":null,"158":null,"159":null,"160":null,"161":null,"162":null,"163":null,"164":null,"165":null,"166":null,"167":null,"168":null,"169":null,"170":null,"171":null,"172":null,"173":null,"174":null,"175":null,"176":null,"177":null,"178":null,"179":null,"180":null,"181":null,"182":null,"183":null,"184":null,"185":null,"186":null,"187":null,"188":null,"189":null,"190":null,"191":null,"192":null,"193":null,"194":null,"195":null,"196":null,"197":null,"198":null,"199":null,"200":null,"201":null,"202":null,"203":null,"204":null,"205":null,"206":null,"207":null,"208":null,"209":null,"210":null,"211":null,"212":null,"213":null,"214":null,"215":null,"216":null,"217":null,"218":null,"219":null,"220":null,"221":null,"222":null,"223":null,"224":null,"225":null,"226":null,"227":null,"228":null,"229":null,"230":null,"231":null,"232":null,"233":null,"234":null,"235":null,"236":null,"237":null,"238":null,"239":null,"240":null,"241":null,"242":null,"243":null,"244":null,"245":null,"246":null,"247":null,"248":null,"249":null,"250":null,"251":null,"252":null,"253":null,"254":null,"255":null,"256":null,"257":null,"258":null,"259":null,"260":null,"261":null,"262":null,"263":null,"264":null,"265":null,"266":null,"267":null,"268":null,"269":null,"270":null,"271":null,"272":null,"273":null,"274":null,"275":null,"276":null,"277":null,"278":null,"279":null,"280":null,"281":null,"282":null,"283":null,"284":null,"285":null,"286":null,"287":null,"288":null,"289":null,"290":null,"291":null,"292":null,"293":null,"294":null,"295":null,"296":null,"297":null,"298":null,"299":null,"300":null,"301":null,"302":null,"303":null,"304":null,"305":null,"306":null,"307":null,"308":null,"309":null,"310":null,"311":null,"312":null,"313":null,"314":null,"315":null,"316":null,"317":null,"318":null,"319":null,"320":null,"321":null,"322":null,"323":null,"324":null,"325":null,"326":null,"327":null,"328":null,"329":null,"330":null,"331":null,"332":null,"333":null,"334":null,"335":null,"336":null,"337":null,"338":null,"339":null,"340":null,"341":null,"342":null,"343":null,"344":null,"345":null,"346":null,"347":null,"348":null,"349":null,"350":null,"351":null,"352":null,"353":null,"354":null,"355":null,"356":null,"357":null,"358":null,"359":null,"360":null,"361":null,"362":null,"363":null,"364":null,"365":null,"366":null,"367":null,"368":null,"369":null,"370":null,"371":null,"372":null,"373":null,"374":null,"375":null,"376":null,"377":null,"378":null,"379":null,"380":null,"381":null,"382":null,"383":null,"384":null,"385":null,"386":null,"387":null,"388":null,"389":null,"390":null,"391":null,"392":null,"393":null,"394":null,"395":null,"396":null,"397":null,"398":null,"399":null,"400":null,"401":null,"402":null,"403":null,"404":null,"405":null,"406":null,"407":null,"408":null,"409":null,"410":null,"411":null}

Document Information

Modified date:
22 February 2023