Page 1 of 1

Suggestions for Combining REXX and JCL

PostPosted: Wed Jan 23, 2013 12:07 am
by Viswanathchandru
Dear all,

I have a piece of task which involves submission of a Rexx code in batch mode and in turn the submitted Rexx does some processing and it submits one more JCL. From the output of that submitted JCL I mean to say depending on the RC it again executes one more Rexx. Now, My doubt is that Is that fine to do in the same way. I'm not sure if i was clear. Please let me know in case I need to give more information.


1. JCL submits a Rexx
2. Rexx triggers a JCL
3. Depending on the JCL RC it triggers another Rexx and this continues until I some condition. Will there be any problem wrt performance?


Regards,
Viswa

Re: Suggestions for Combining REXX and JCL

PostPosted: Wed Jan 23, 2013 12:29 am
by Akatsukami
You realize that if that condition is not fulfilled you will be submitting jobs indefinitely...which will make you very unpopular with your performance workgroup. I suggest that you add a hard limit -- no more than a certain number of jobs.

Re: Suggestions for Combining REXX and JCL

PostPosted: Wed Jan 23, 2013 12:36 am
by Viswanathchandru
Hi Akatsukami,

Thanks for your time.

Depending on the JCL RC it triggers another Rexx and this continues until I some condition.
. I can understand that I was not clear with this statement when i tried reading it again.

The condition will 100% be met. But at some point. Say after submitting 10 jobs or something like that.

I suggest that you add a hard limit -- no more than a certain number of jobs.
---- Agreed!!!

Is this concept okay? if you have a certain condition ?

Regards,
Viswa

Re: Suggestions for Combining REXX and JCL

PostPosted: Wed Jan 23, 2013 1:57 am
by enrico-sorichetti
the general consensus is that ...
YOU SHOULD NOT ATTEMPT TO WRITE YOUR OWN SCHEDULING PROGRAM