View previous topic :: View next topic |
Author |
Message |
kirank Beginner
Joined: 21 Apr 2004 Posts: 61 Topics: 33 Location: hyderabad
|
Posted: Thu May 27, 2004 6:59 am Post subject: Process abend information via COBOL Pgm |
|
|
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 |
|
|
SureshKumar Intermediate
Joined: 23 Jan 2003 Posts: 211 Topics: 21
|
Posted: Thu May 27, 2004 7:08 am Post subject: |
|
|
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 |
|
|
SureshKumar Intermediate
Joined: 23 Jan 2003 Posts: 211 Topics: 21
|
|
Back to top |
|
|
Brian Beginner
Joined: 12 Aug 2003 Posts: 95 Topics: 6
|
Posted: Thu May 27, 2004 7:19 am Post subject: |
|
|
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 |
|
|
|
|