MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Process abend information via COBOL Pgm

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination
View previous topic :: View next topic  
Author Message
kirank
Beginner


Joined: 21 Apr 2004
Posts: 61
Topics: 33
Location: hyderabad

PostPosted: Thu May 27, 2004 6:59 am    Post subject: Process abend information via COBOL Pgm Reply with quote

hi,
after run jcl , if any abends comes , we can view the information in the spool.
my doubt is can access that information through cobol program i.e. can i access the spool through cobol program. if yes, pls send the code.

thanks
kiran
Back to top
View user's profile Send private message
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Thu May 27, 2004 7:08 am    Post subject: Reply with quote

KiranK,
Capture the spool information to a dataset & your are free to process it, Anyways, why would you like to process abend info thru a cobol program ?

refer to how to move the job sysout into the dataset(fb,sequential,)
Back to top
View user's profile Send private message
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Thu May 27, 2004 7:09 am    Post subject: Reply with quote

http://www.mvsforums.com/helpboards/viewtopic.php?t=332&start=0&postdays=0&postorder=asc&highlight=move job sysout dataset fb sequential
Back to top
View user's profile Send private message
Brian
Beginner


Joined: 12 Aug 2003
Posts: 95
Topics: 6

PostPosted: Thu May 27, 2004 7:19 am    Post subject: Reply with quote

Kirank,

I dont know what you really mean by abend but abend information is generally written to datasets with DDNAME ABENDAID (if you have abendaid installed in your shop), CEEDUMP etc.

Instead of redirecting abend information to the spool you could provide qualified datasets and capture abend information there.

Cheers
Brian
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group