Create report



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Create report

Postby tsyfar » Mon Mar 17, 2014 5:58 pm

Hi,

I execute a lot of jcl with one step evrey week-end.
I can cath my step return code BUT I don't know how i can write this return code (or a text "xxxx is ok") in a file (dataset).

The goal is to see if job's execute are all right or if some of these job are in abend or RC>0.

Can you help me?
tsyfar
 
Posts: 4
Joined: Tue Nov 20, 2012 7:05 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Create report

Postby dick scherrer » Mon Mar 17, 2014 6:59 pm

Hello,

These jobs should be run thru the system schedule which has the means to detect/report problems.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Create report

Postby tsyfar » Mon Mar 17, 2014 8:07 pm

Thanks for your help.

My jobs are launched by CONTROL-M. In each job, I have notify my username. And each monday when I start my cession tso, I receive all the result notify in my first page. (I have +/- 3000 notify :-))
So it's for these reason that I want write these notification in a simple file dataset. In this case, I can only view the result in the dataset.
tsyfar
 
Posts: 4
Joined: Tue Nov 20, 2012 7:05 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Create report

Postby dick scherrer » Mon Mar 17, 2014 9:06 pm

Hello,

I'd consider removing the NOTIFYs and let the scheduling system report any failures . . . Suggest you talk with the scheduling people and learn if your system will allow "things" to be recorded in a dataset.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post