A fix is available
APAR status
Closed as program error.
Error description
If a MAS terminates, but CPSM termination routines are not given a chance to clean up properly, the next run of the MAS may not be able to connect to the ESSS address space. Additional Symptom(s) Search Keyword(s): KIXREVRJL
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All CICSPlex/SM V3R1M0 Users * **************************************************************** * PROBLEM DESCRIPTION: Unpredictable results may occur if a * * MAS terminates as a CICS system but * * does not disconnect from the ESSS. * **************************************************************** * RECOMMENDATION: If the CPSM environment contains CMASes and * * MASes at both the CPSM V3R1M0 and V3R2M0 * * levels, then before applying the PTF that * * resolves this APAR and restarting V3R1M0 * * CMASes and MASes, the PTF that resolves APAR * * PK64919 must be applied to the V3R2M0 CMASes * * and MASes. * * * * After applying the PTF that resolves this * * APAR, all CMASes, MASes and WUI servers must * * be restarted with the updated code. * * * * The restarts need not be performed at the * * same time, however if systems are not * * restarted at the same time, the following * * rules apply: * * * * - Maintenance point CMASes must be restarted * * before non Maintenance point CMASes, MASes * * and WUI Servers. * * * * If you have more than one Maintenance * * point CMAS and those Maintenance point * * CMASes are connected directly or * * indirectly, then those maintenance point * * CMASes must be restarted at the same time. * * * * - Before a MAS or WUI server is restarted, * * the CMAS to which the MAS or WUI server * * connects must be restarted. * * * * * * To restart with the updated code, the CPSM * * Environment Service System Services (ESSS) * * subsystem address space (EYUX310) must be * * terminated and the CPSM EYUX subsystem End * * of Task (EOT) exit (EYU9XEET) must be * * reloaded on the MVS image if a CMAS has * * executed without the updated code since the * * last IPL. * * * * This can be accomplished in either of two * * ways: * * * * 1 - IPL the MVS Image. This terminates * * the ESSS and the EYUX subsystem. When * * the first CMAS starts after the IPL, * * the ESSS address space and the EYUX * * subsystem will be started at the * * proper level. * * * * Or: * * * * 2 - Stop all CMASes and MASes on an MVS * * image. * * * * - Use EYU9XENF to check that no address * * spaces are connected to the ESSS * * subsystem. * * * * - Use the EYU9XEUT TERMINATE function to * * stop the ESSS. * * * * - Use the EYU9XEUT RELOAD function with * * the EOT option to reload EYU9XEET, * * ensuring that UTILLIB specifies the * * SEYUAUTH library updated by the PTF. * * * * - Refresh LLA to ensure the updated * * version of EYU9X310 is picked up. * * * * - Restart any CMASes, MASes, and WUI * * servers which execute on the MVS * * image, ensuring that the updated * * libraries are being picked up. When * * the first CMAS is started the ESSS * * address space will be started at the * * proper level. * * * * For details on EYU9XENF and the EYU9XEUT * * TERMINATE and RELOAD functions, please refer * * to "CICS Transaction Server for z/OS * * CICSPlex SM Problem Determination Guide * * Version 3 Release 1" (GC34-6472). * * * * Note that each MVS image can be updated * * separately, and systems on an MVS image that * * have been updated can communicate with * * systems on other MVS images that have not * * been updated without problem. * **************************************************************** When a CPSM CMAS or MAS (including WUI servers) address space terminates abnormally without going through ESSS termination (e.g, CANCEL), the Subsystem Interface End of Task (EOT) processing will drive CPSM's EYUX subsystem router exit, EYU9XEER, to perform termination. After verifying that the address space is still connected to the ESSS, EYU9XEER will pass control to the EYUX subsystem EOT module EYU9XEET, which will issue the ESSS terminate request. If the terminate request was successful, EYU9XEET will issue message EYUXE0003I. Otherwise, it will issue message EYUXE0029E. If the processing is not successful, this can result in the address space terminating but still being connected to the ESSS. This can result in the errors documented above. Both EYU9XEER and EYU9XEET must obtain working storage to process. If the address space termination was caused by short of storage related problems, it is entirely possible that either or both EYU9XEER and EYU9XEET will not be able to obtain the required storage, thus ensuring that the ESSS termination request will not be performed. While EYU9XEER will issue message EYUXE0030E if it cannot obtain its working storage, EYU9XEET does not issue any message.
Problem conclusion
To address EYU9XEER and EYU9XEET not being able to run due to storage constraint in the address space at abnormal termination, CMAS and MAS ESSS connect processing has been updated to allocate working storage for both EYU9XEER and EYU9XEET. If the address space goes through normal ESSS termination (address space termination or termination of the MAS agent in the MAS), ESSS termination processing will free the storage. If the address space does not go through normal termination, EYU9XEER and EYU9XEET will be called and will use the pre-allocated storage. When EYU9XEER and EYU9XEET complete processing, the TCB will terminate, and the pre-allocated storage will be freed at that time. The following updates have been made to effect this change: - copybook EYURXECB, which is the ESSS anchor block for the system, has been updated to include fields to hold the address and length of the pre-allocated storage areas for EYU9XEER and EYU9XEET. - copybooks EYURXEER and EYURXEET have been created to map the working storage areas for EYU9XEER and EYU9XEET. - macro EYUQXESV, which is used to define and pass control to the ESSS PC routines common service subroutines, has been updated to define two new subroutines, ACQ_SSIDSA and REL_SSIDSA. - copy book EYU2XERT, which is included in the assembly of the CPSM PC routines module EYUTXEPC, and which houses the common service subroutines for the PC routines, has been updated to include the new ACQ_SSIDSA and REL_SSIDSA subroutines: - ACQ_SSIDSA will allocate the working storage for EYU9XEER and EYU9XEET, anchoring the storage in the EYURXECB. - REL_SSIDSA will release the storage and clear the pointers in the EYURXECB. - copy book EYU2XEEC, which is included in the assembly of the CPSM PC routines module EYUTXEPC, and which houses the ESSS connect processing, has been updated to call ACQ_SSIDSA when the connect request is for a CMAS or MAS. - copy book EYU2XEET, which is included in the assembly of the CPSM PC routines module EYUTXEPC, and which houses the ESSS terminate processing, has been updated to call REL_SSIDSA when the terminate request is for a CMAS or MAS, and was not originated by EOT processing. - module EYU9XEER has been updated to check the associated EYURXECB for a pre-allocated storage area if it is called for EOT of the QR TCB in a CMAS or MAS. If the area is present and large enough, EYU9XEER will use the provided storage instead of allocating the storage itself. On termination, EYU9XEER will not attempt to free the storage, as it will be freed when the QR TCB terminates. - module EYU9XEET has been updated to check the associated EYURXECB for a pre-allocated storage area if it is called for EOT of the QR TCB in a CMAS or MAS. If the area is present and large enough, EYU9XEET will use the provided storage instead of allocating the storage itself. On termination, EYU9XEET will not attempt to free the storage, as it will be freed when the QR TCB terminates. If no storage pointer is present in the EYURXECB or EYU9XEET cannot use the storage, or if the EOT call is not for the CMAS or MAS QR TCB, then EYU9XEET will allocate the storage itself. If a failure occurs during the allocation attempt, EYU9XEET will now issue new message EYUXE0037E before terminating. The text of this new message is as follows: EYUXE0037E Insufficient storage for Subsystem function End Of Task (EOT). To address a MAS terminating as a CICS system without disconnecting from the ESSS, a new action, FORCEDISCON, is being added to the MAS resource table. Issuing the FORCEDISCON action against a MAS will cause the ESSS termination process to be driven for the MAS. It is the intention that this action will only be issued if the MAS did terminate as a CICS system but is still connected to the ESSS. If this command is issued for an active MAS, unpredictable results will occur, that will most likely make the MAS unusable as a CICS system. To try to avoid this from occurring, a second new action, STOPUNCON, is also being added to the MAS resource table. This action will process similar to STOP, in that it will stop the MAS agent in the MAS, which includes ESSS disconnect, without terminating the MAS as a CICS system. STOPUNCON differs from STOP in two manners: 1. While the STOP action is issued synchronously, the STOPUNCON action is issued asynchronously. This to ensure that the requester will not hang if the MAS is active and non-responsive or if the MAS terminated as a CICS system but is still connected to the ESSS. 2. While the STOP function will only terminate the MAS agent if the MAS is not a CPSM WLM routing region, the STOPUNCON will always terminate the MAS agent if the MAS is responsive. In order to issue the FORCEDISCON action, the STOPUNCON action must be issued first and not succeed in terminating the MAS agent. The following updates have been made to effect this change: - the Topology CICS System Descriptor Block (EYURTISD) has been updated to include a flag setting to indicate whether a STOPUNCON action has been issued for the current execution of the MAS. - the MAS resource table has been updated to add the two new actions, STOPUNCON and FORCEDISCON. - the CICSPlex SM supplied starter set viewsets and menus, EYUEVK01 (English), EYUKVX01 (Japanese), EYUSVX01 (simplified Chinese), have been updated so that the MAS viewset now displays action buttons for STOPUNCON and FORCEDISCON. If either button is selected, a confirmation panel will be displayed for the selected action, and YES must be responded to process the action. - method EYU0CPLM (CPLM), which is called to return information about a MAS, has been updated to provide a MAS's ASCB address if so requested. The method argument list (MAL) for CPLM, EYUZCPLM, has been updated to allow a caller to request a MAS's ASCB address. - method EYU0TSUM (TSUM), which is called to issue MAS action's, has been updated to issue the STOPUNCON and FORCEDISCON actions. The MAL for TSUM, EYUZTSUM, has been updated to allow the STOPUNCON and FORCEDISCON actions to be requested. When STOPUNCON is requested, the CSDB flag is turned on and then the request is sent to the MAS. When FORCEDISCON is requested, the CSDB STOPUNCON flag is queried, and if it is not turned on, the request is not honored, and a status STOPUNCON_REQUIRED is returned to the caller. If the flag turned on, a call is made to CPLM to return the ASID and ASACB address of the MAS, and then the ESSS terminate command is issued. If the ESSS terminate call completes successfully, new message EYUTS0026I will be issued by TSUM. The text of this new message is as follows: EYUTS0026I User <userid> has issued the FORCEDISCON action for MAS <masname> - APPLID(<applid>) CICSplex(<plexname>). - Copybook EYUUTPEQ and module EYUTTSM0 have been updated to define new message EYUTS0026I.
Temporary fix
FIX AVAILABLE BY PTF ONLY
Comments
APAR Information
APAR number
PK64875
Reported component name
CPSM CICS 3.1
Reported component ID
5655M1501
Reported release
100
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-04-22
Closed date
2008-08-19
Last modified date
2008-09-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
PK64919 UK39046
Modules/Macros
EYUA2443 EYUCTSUM EYUC2443 EYUEVX01 EYUE2443 EYUKVX01 EYUK2443 EYUL2443 EYUN2443 EYUP2443 EYUQCPLM EYUQTSUM EYUQXESV EYURCPLM EYURTISD EYURTSUM EYURXECB EYURXEER EYURXEET EYUR2443 EYUSVX01 EYUS2443 EYUTAB2M EYUTRCOM EYUTRTOP EYUTTSM0 EYUTXEMS EYUTXEPC EYUT2443 EYUUTPEQ EYUUXEEQ EYUYCPLM EYUYTSUM EYUY2443 EYUZCPLM EYUZTSUM EYU0CPLM EYU0TSUM EYU0TSVM EYU2XEEC EYU2XEET EYU2XERT EYU9CMPU EYU9CMP3 EYU9CMP4 EYU9CMP5 EYU9TSPU EYU9TSP3 EYU9TSP4 EYU9TSP5 EYU9XECS EYU9XEET EYU9X310 MAS
GC34647104 |
Fix information
Fixed component name
CPSM CICS 3.1
Fixed component ID
5655M1501
Applicable component levels
R100 PSY UK39046
UP08/08/20 P F808
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"}},"376":{"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}
Document Information
Modified date:
22 February 2023