Page 1 of 1

How do u find which step it is abended

PostPosted: Fri May 30, 2008 3:50 pm
by kiran.r
hi...........
i have 1000 move statements.without knowing offset value how do u find which step it is abended?

Re: How do u find which step it is abended

PostPosted: Fri May 30, 2008 5:38 pm
by CICS Guy
kiran.r wrote:i have 1000 move statements.without knowing offset value how do u find which step it is abended?
What does a 'move statement' look like in a JCL 'step'?

Re: How do u find which step it is abended

PostPosted: Wed Jun 04, 2008 4:58 pm
by jayind
To Kiran:

I guess, you mentioned about a COBOL MOVE "Statement"..

Please mention clearly whether it is COBOL MOVE "STATEMENT" or JCL "STEP"?

If you are not aware:
If it is COBOL MOVE statement, with out offset value you may not be able to find the exact location unless you have ABENDAID facility where it prints the MOVE statement failed in the job log. Generally MOVE fails when a non-numeric moved to a numeric variable and hence if you want to do a debug, you better put some display statements after each numeric move displaying its contents.. by seeing the last display in the job log you can find which move statement failed. If you have ABENDAID tool on Mainframe, you can go to the tool and view the failed job information.
I would say you are unlucky, if you have all the 1000 MOVE statements are numeric moves :D
Hope this helps..

Re: How do u find which step it is abended

PostPosted: Thu Jun 05, 2008 1:28 am
by dick scherrer
Hello,

If you have an abend, you should know the offset. . .

The offset should be the result of subtracting the entry point of the code from the abend address. Both should be in the dump and/or other diagnostic info.

If you do not see this or the way to calculate it, you might talk with those who provide system support for your environment.