Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

To diagnose an abend through a command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Mon Dec 20, 2010 11:38 pm    Post subject: To diagnose an abend through a command
Reply with quote

Hi,

I am trying to recollect a command. Please help me.

If a job abends which is processing a file as an input file, this file has say 50,000 records and the job abends at 20,000th record. This file has a key field as an Account number of 6 bytes.

Please tell me how in spool in JESMSG or some other way, i will come to know that it abended at 20,000th record and what is the corresponding Account number of that record?

I am unable to recollect, but i think there is a command through which we can idcentify it in the spool.


Thanks.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 21, 2010 1:18 am    Post subject:
Reply with quote

Hello,

No, there is no such command (unless someone wrote one for your environment or something was purchased).

When the abend occurs, there should be a dump generated which will contain the problem record which will contain the Account Number.

How does this topic relate to JCL?
Back to top
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Tue Dec 21, 2010 6:38 am    Post subject: Reply to: To diagnose an abend through a command
Reply with quote

Thanks Dick.

This topic relates to JCL because JCL was used to submit the Job having the file.

Could you please let me know how to we identify problem record? Currently, i don't have Mainframes access but i am trying to revise all the Mainframes topics.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Tue Dec 21, 2010 6:46 am    Post subject: Reply to: To diagnose an abend through a command
Reply with quote

then other related forum might have been
office furniture, clothing, automotive, ..., ..., ...

You were in an office when You submitted the job,
You were dressed,
You went to work driving Your car
...
...
...
Back to top
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Tue Dec 21, 2010 7:02 am    Post subject: Reply to: To diagnose an abend through a command
Reply with quote

Thanks enrico....for your response, creativity and imaginary mind....i really appreciate it. Thanks a lot icon_smile.gif


All other Mainframe guys....this is an open question to all....i believe you definetly understand me and we have a positive attitude and a healthy mind.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue Dec 21, 2010 7:51 am    Post subject:
Reply with quote

I've never heard of such a command. If I need such information, I read the system dump, find the buffer for the DCB, and look at the record in the buffer (all much easier since we have Abend Aid available).
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 21, 2010 10:19 am    Post subject:
Reply with quote

Hello,

Quote:
This topic relates to JCL because JCL was used to submit the Job having the file.
Quote:
then other related forum might have been
office furniture, clothing, automotive, ..., ..., ...

It is quite possible that what Enrico provided is what you most need to pay attention to. . .

Interjecting a bit of humor/sarcasm, Enrico was trying to get you to focus on what you posted and how his suggestions were quite parallel. Your request has nothing to do with JCL really - same as his . . .

It is difficult for us to reply because you failed to mention which abend occurred. For example a s0c7 could be researched/corrected differently than a s806 . . .

The next time you are working on a mainframe, you need to learn early on which diagnostic tools are available for use on the system.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us