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
 

 

Track abended jobs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
deybumba_2k

New User


Joined: 09 Jan 2006
Posts: 17

PostPosted: Tue Aug 26, 2008 11:03 pm    Post subject: Track abended jobs
Reply with quote

Hello,

I have a series of jobs that will be submitted and my requirement is that, I want to write those jobnames into a file which has either abended or died due to a JCL Error.

Can anyone tell me how can I track the abended jobs and in the job how can i write to a dataset if the job is abending.

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

Santoshdorge

New User


Joined: 27 Jun 2006
Posts: 48
Location: Pune

PostPosted: Wed Aug 27, 2008 10:40 am    Post subject:
Reply with quote

Hi Subha,
what tool you are using to retrieve, process, and control sysout listings.
With the help of that you can retrive the datasets in which sysout listing is stored(this can be done using Rexx LMDINIT command). Then by running SORT on all these datasets in concatenation select only those records where abend code or MaxCC is listed.

For e.g.
In my shop to see the datasets in which sysout listing is stored, I do Requeues of migrated job.
In reque job sysprint i see
Code:
HRECOVER 'HLQ.D0206369.T408233.jobname' WAIT   

Using above rexx command i can find all dataset HLQ.*.*.jobname(one for each job i submited).Then I do run the SORT to select the records with return codes. MaxCC or abend codes are listed against msgcode '$HASP901' for me.
Here is sample output
Code:

23.52.23 JOB00537  $HASP901 FOCXRL01 MAXCC(0000) INFUSR=NO
00.51.36 JOB00538  $HASP901 FOCXRM01 MAXCC(0000) INFUSR=NO
02.06.32 JOB20520  $HASP901 SD590HAS ABEND U0016 INFUSR=NO
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2058
Location: Silicon Valley

PostPosted: Wed Aug 27, 2008 10:47 pm    Post subject: Reply to: Track abended jobs
Reply with quote

See this thread:
http://ibmmainframes.com/viewtopic.php?t=33708&highlight=
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... gpowell382 IDMS/ADSO 2 Fri Jun 30, 2017 11:52 pm
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm
No new posts Predicting jobs which are about to re... kpanchabhai85 DFSORT/ICETOOL 4 Thu Jun 30, 2016 7:51 pm


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