How do u find which step it is abended

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
kiran.r
Posts: 2
Joined: Fri May 30, 2008 3:28 pm
Skillset: cobol,jcl,vsam,cics,db2
Referer: google search

How do u find which step it is abended

Postby kiran.r » Fri May 30, 2008 3:50 pm

hi...........
i have 1000 move statements.without knowing offset value how do u find which step it is abended?

CICS Guy
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am

Re: How do u find which step it is abended

Postby CICS Guy » Fri May 30, 2008 5:38 pm

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'?

jayind
Posts: 62
Joined: Wed Apr 23, 2008 1:37 pm
Skillset: Mainframe - JCL, COBOL, VSAM, DB2, REXX, CICS
Referer: Internet Search
Location: Chennai, India
Contact:

Re: How do u find which step it is abended

Postby jayind » Wed Jun 04, 2008 4:58 pm

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..

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: How do u find which step it is abended

Postby dick scherrer » Thu Jun 05, 2008 1:28 am

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.
Hope this helps,
d.sch.


  • Similar Topics
    Replies
    Views
    Last post