View previous topic :: View next topic
|
Author |
Message |
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
HI all
when i get an error how can i identify in which line the error has been occured..plz send me meterial on abend aid it would be great help to me
Thanks
chaitanya |
|
Back to top |
|
|
lramani
New User
Joined: 03 Nov 2004 Posts: 21 Location: NOIDA, India
|
|
|
|
Hi Siva,
If u r talking about compilation errors then they are easy to find out.
Cos u will get the line on which the error occured on the bottom (do M -F8 in the listing).
Find on the line in the listing and u will get the detail in which line the problem was there.
And if u r talking about run time abends.
The first step that you should do is to find out which step in the JCL abended which u will get from the spool.
If the program was well written then u will get the details...
or might be the abend is like SOC7, SOC4 or SB37 etc..then u could use the abend-aid tool for that which will tell u what the abend was and what could solve the issue.
And with Experience these abends become easy to solve.
Will try to send u some material on that soon in ur mail id. |
|
Back to top |
|
|
s_vijay_s
New User
Joined: 28 Oct 2004 Posts: 4 Location: Chennai
|
|
|
|
Hi,
ABEND AID is a very useful utility for identifying the errors. It displays the Module which has the caused the abend, the load library from where the module was picked from and all.If it is a DB2 abend, it displays the query that caused the abend. Find for SQLCODE in ABEND AID. Also if you find for HOST in ABEND AID, it will give you the values of the variables in the query that caused the abend.
Let me know if you are looking for any specific abend condition.
thanks
vijay |
|
Back to top |
|
|
s_vijay_s
New User
Joined: 28 Oct 2004 Posts: 4 Location: Chennai
|
|
|
|
Hi,
Sorry forgot to mention some additional details in the previos post.
If you get a SOC7 abend or a similar abend, ABEND AID will display the PSW(address of the instruction that caused the abend). Using this address, you can identify the instruction that caused the abend from the footprint listing of the module and then solve the problem. This is really very helpful.
Thanks,
vijayt |
|
Back to top |
|
|
Imran
New User
Joined: 26 Dec 2005 Posts: 12 Location: Pune
|
|
|
|
Hi
I want to add one more thing. If u r facing a SOC7 and want to track down the account number which is causing this problem.
Then u can trace the account number using abend-aid.
There are two options.
1. Go to option 8. and find the name of the file which is the driver. I,E the file which contains all the account numbers and which is the driver.
Press S before it and then find on current . U will end up with the accnt number for which u r faing SOC7. then u can skip the processing for that acnt number.
2. Its bit lengthy to explain.if anyone is interested in finding out then plz mail me i will give the answer.
Regards
Imran
***EMail ID REMOVED... Use CODE tag to include mail id*** |
|
Back to top |
|
|
ramaraju Warnings : 1 New User
Joined: 05 Oct 2005 Posts: 5 Location: pune
|
|
|
|
Hi could you please share Abend I'd material to resolve abends.
Thanks ramaraju.mee@gmail.com |
|
Back to top |
|
|
|