hi...........
i have 1000 move statements.without knowing offset value how do u find which step it is abended?
How do u find which step it is abended
Re: How do u find which step it is abended
What does a 'move statement' look like in a JCL 'step'?kiran.r wrote:i have 1000 move statements.without knowing offset value how do u find which step it is abended?
-
- 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
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
Hope this helps..
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

Hope this helps..
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: How do u find which step it is abended
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.
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.
d.sch.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 10
- 3767
-
by willy jensen
View the latest post
Tue Oct 31, 2023 8:36 pm
-
- 9
- 3021
-
by sergeyken
View the latest post
Thu Jan 09, 2025 11:59 pm
-
-
Sending o/p file's content to spool withot adding extra step
by Misha786 » Tue Jan 12, 2021 6:51 pm » in JCL - 4
- 2055
-
by sergeyken
View the latest post
Tue Jan 12, 2021 11:28 pm
-
-
-
REXX Code to find if PDS JCL member has how many DD
by abhilashanaik » Tue Sep 14, 2021 11:17 am » in CLIST & REXX - 5
- 2293
-
by sergeyken
View the latest post
Wed Sep 15, 2021 6:02 am
-
-
- 3
- 1209
-
by sergeyken
View the latest post
Wed May 18, 2022 4:40 pm