A fix is available
APAR status
Closed as program error.
Error description
An application program is browsing through the shared TS pools and shared TS queues in them. while this is running a periodic cleanup of shared TS queues by CICS runs under a Timer Domain task (TI). Both tasks end up sharing the same SBB control block and eventually a freemain fails becasue the control block has already been freed SM 0318 SMGF *EXC* Freemain_address_overlays_previous_SCF
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * All CICS users. * **************************************************************** * PROBLEM DESCRIPTION: * * DFHSM0002 A severe error (code X'0317') occurred in module * * DFHSMGF. * **************************************************************** * RECOMMENDATION: * * . * **************************************************************** A temporary storage cleanup task was running. DFHTSCL getmained a shared browse block (SBB) to represent its browse of the shared temporary storage queues. Before this browse had ended, a user task also started a browse of the shared queues. The start browse logic found the SBB that DFHTSCL had getmained was not associated with a known task number. This was correct as DFHTSCL runs under a TI (timer domain) task. The logic incorrectly assumed this meant the SBB had been used by an earlier task which had ended without explicitly ending its browse, so had not freemained its SBB. It freed the SBB and the storage was reused as a new SBB for the user task. This meant both tasks were now using the same storage for their respective SBBs. The user task completed its browse, and the end browse logic freemained the SBB. When DFHTSCL finished its own browse, it also tried to freemain the SBB. Storage manager detected that the freemain length overlaid the next SCF and issued message "DFHSM0002 A severe error (code X'0317') has occurred in module DFHSMGF." Note - the same invalid freemain may result in a severe error code X'0318', depending upon the location of the next freed storage area. Keywords: msgdfhsm0002 sm0002 sm 0002 tscl
Problem conclusion
DFHTSSH has been changed to avoid freeing an SBB if it was associated with a task with no transaction manager token.
Temporary fix
Comments
APAR Information
APAR number
PI54159
Reported component name
CICS TS Z/OS V5
Reported component ID
5655Y0400
Reported release
000
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-12-15
Closed date
2016-01-27
Last modified date
2016-03-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI34770
Modules/Macros
DFHTSDUF DFHTSDUS DFHTSSH DFHTSST
Fix information
Fixed component name
CICS TS Z/OS V5
Fixed component ID
5655Y0400
Applicable component levels
R000 PSY UI34770
UP16/02/11 P F602
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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.3","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.3","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
02 March 2016