Suggestions for Combining REXX and JCL



IBM's Command List programming language & Restructured Extended Executor

Suggestions for Combining REXX and JCL

Postby Viswanathchandru » Wed Jan 23, 2013 12:07 am

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
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: Suggestions for Combining REXX and JCL

Postby Akatsukami » Wed Jan 23, 2013 12:29 am

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.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Suggestions for Combining REXX and JCL

Postby Viswanathchandru » Wed Jan 23, 2013 12:36 am

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
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: Suggestions for Combining REXX and JCL

Postby enrico-sorichetti » Wed Jan 23, 2013 1:57 am

the general consensus is that ...
YOU SHOULD NOT ATTEMPT TO WRITE YOUR OWN SCHEDULING PROGRAM
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post