Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10373
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: 8195
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 OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us