Re: Obtaining the Entry Point and Offset for an abending program in the SD WA

2021-01-10 Thread Michael A. Shaw

On 1/9/2021 1:08 PM, esst...@juno.com wrote:


.
The Program runs as a standard Batch Job with Multiple CSECTS and has an RB.
Why do I always get Zeroes in SDWAEPA ?
.
I don't see a field called "Offset" in the SDWA so I suspect that needs to be
calculated, but with out an Entry Point Address (EPA) I cant' calculate it.
.
Can some shed some light on my lack of understanding of this ?
.


We don't use SDWAEPA 'cause it is zero sometimes (don't know why).

We check to be sure bit SDWARPIV is OFF in the SDWAERRD byte, and if it 
is, we use the rightmost four bytes of the SDWACTL1 field as the address 
of the next instruction @ time of ABEND.	


Using that information you can see if the failure was in your ESTAE exit 
itself or not. If not, then you can use a combination of the address of 
the next instruction and breadcrumbs passed to your ESTAE exit via 
SDWAPARM to determine which CSECT was executing at the time of the 
ABEND. SDWACMPC helps you decide if the ABEND is worth retrying or not.


Mike Shaw
MVS/QuickRef Support Group
Chicago-Soft, Ltd.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Diagram of MVS Control Blocks

2021-04-24 Thread Michael A. Shaw

On 4/23/2021 3:43 PM, PINION, RICHARD W. wrote:

Many years ago, 1982, I took my first MVS class, MVS Structure and Logic.  One 
of
the first handouts our class was given was a spaghetti diagram of MVS control 
blocks.
Unfortunately, I threw mine away in 2016, when I thought my system programming
days were over.


I took that same two-week class in Chicago in 1980. The diagram in 
question (as I remember it) was a joke, right? It was impossibly 
complicated with curved lines and arrows and flowchart symbols all over 
it. It was made to generate a chuckle, not teach actual logic flow.


I too had a copy once, but it's long gone.

Mike

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: is TSO TEST AT (breakpoint) task related ?

2021-03-15 Thread Michael A. Shaw

On 3/15/2021 11:12 AM, Joseph Reichman wrote:

Me too but the mother task for all those were the same here the original task 
is TEST

And when I execute my command processor
Which does the attach to Estaertn
It’s IKJEFT02
I’m not going to do a load and try setting a breakpoint with defer

Thanks



You should disable ISPF's ESTAE exit also; when TEST prompts you with

"IKJ57090A ENTER COMMAND FOR CP",

type

ISPF TEST

and ISPF won't establish its ESTAE exit after you type GO and enter.

Mike Shaw
MVS/QuickRef Support Group
Chicago-Soft, Ltd.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: More documentation problems

2021-04-14 Thread Michael A. Shaw

On 4/14/2021 10:02 AM, Paul Gilmartin wrote:

<...snip...>


All indications of developers who aren't required to use their own product.
And don't care.


+1

Mike Shaw
MVS/QuickRef Support Group
Chicago-Soft, Ltd.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN