Skip to Main Content
IBM Z Hardware and Operating Systems Ideas Portal


This is the public portal for all IBM Z Hardware and Operating System related offerings. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Under review
Workspace z/OS
Categories TSO
Created by Guest
Created on Aug 12, 2024

see if it is possible to fix hangs in apf and non apf tso and rexx scripts

TS014956323

Problem has been seen on both z/OS 2.4 and z/OS 2.5 and z/OS 3.1 and with either svc or linkage=system DEQ and takes from about 4 to 15 runs to recreate in batch rexx/uss.
The recreation occurs with PGM=IKJEFT1A and we are executing an authorized function using REXX.
System configured using only IBM’s GRS as Star.
Rexx snippet (full rexx and jcl and svcd to follow):
env.0=1
env.1="_BPX_SHAREAS=MUST"
stdin.0=0
cmd = 'sha256 //DD:DASHA '
bpxrc=bpxwunix(cmd,stdin.,stdout.,stderr.,env.);
Description:
Our SSI end of task call, SSOBFUNC= SSOBEOT, issues a series of ENQ/DEQ services as it progresses through its logic. The QNAME RNAME is devised as such to serialize certain processes at task termination for an ASID. So it will obtain the ENQ, perform some process, and then issue the DEQ. As expected, if the DEQ does not release the resource, other tasks terminating will attempt to gain the resource and will wait indefinitely until the DEQ releases it. As an experiment we reset one TCB’s TCBAREQ and the hung batch TSO rexx step completes normally.

During our research of the situation, a ‘D GRS,C’ shows the owning TASK and the waiting TASK. When doing a SUMM format we can see the TCB identified as owning the resource has issued the DEQ, but it does not appear to have completed. We still see the SVRB with a WLIC of x’00020030’ and by looking at our own working storage we can see that the instruction following the DEQ has not executed.
We also observed that TCBAREQ will be on in one or more TCBs in the dump. Since we are able to intermittently recreate the situation, Pat modified the EOT code to capture TCBNDSP3 prior to issuing the DEQ. The TCBAREQ bit is not ON prior to the DEQ. We believe this mixture of authorized and unauthorized tasks executing in the batch TSO address space is related to the hang. It seems possible that our DEQ is not allowed to complete because the task is not dispatchable.
The task waiting for the resource identified by WLIC of x’00020038’ and by the D GRS,C command did not have TCBAREQ on. Below are snippets from a dump that was taken a few seconds after we recognized a hang occurred.
Information from the SUMM FORMAT relating to the TCB with the WLIC of x’00020030’ (DEQ)
Task non-dispatchability flags from TCBFLGS5:
Secondary non-dispatchability indicator
Task non-dispatchability flags from TCBNDSP2:
SVC Dump is executing for another task
Task non-dispatchability flags from TCBNDSP3:
TSO authorized request processing active
Task flags from TCBFLGS8:
Task is terminating and its mainline processing will not run again (TCBDYING)
Task is terminating and its mainline processing will not run again (TCBENDNG)
Information from the SUMM FORMAT relating to the TCB with the WLIC of x’00020038’ (ENQ)
Task non-dispatchability flags from TCBFLGS4:
Top RB is in a wait
Task non-dispatchability flags from TCBFLGS5:
Secondary non-dispatchability indicator
Task non-dispatchability flags from TCBNDSP2:
SVC Dump is executing for another task
Task flags from TCBFLGS8:
Task is terminating and its mainline processing will not run again (TCBDYING)
Task is terminating and its mainline processing will not run again (TCBENDNG)
And as we mentioned we are using IBM GRS star

Idea priority Medium