Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
Author Message
deybumba_2k

New User


Joined: 09 Jan 2006
Posts: 9

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
References
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: 510
Location: work

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1