Call JCL from a rexx?
Moderator: mickeydusaor
-
- New Member
- Posts: 5
- Joined: Tue Jun 17, 2014 4:06 pm
Call JCL from a rexx?
hi ,
can i call or execute a jcl in my rexx program. i have a job named "testjcl" that i want to call in my rexx program. Is there some example for this?
can i call or execute a jcl in my rexx program. i have a job named "testjcl" that i want to call in my rexx program. Is there some example for this?
-
- Global Moderator
- Posts: 828
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Call JCL from a rexx?
NO, but You can SUBMIT ITcan i call or execute a jcl in my rexx 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
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
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: Call JCL from a rexx?
Hi Sudeep,
As Enrico said You can submit a JCL using REXX
If you could clarify on what you are trying to achieve ,somehere will be able to help you
As Enrico said You can submit a JCL using REXX
If you could clarify on what you are trying to achieve ,somehere will be able to help you
zprogrammer
-
- New Member
- Posts: 5
- Joined: Tue Jun 17, 2014 4:06 pm
Re: Call JCL from a rexx?
I want to submit a test-jcl using REXX. Assume that the jcl name is TESTJCL and it allocates a dataset, can I submit this jcl using REXX?
-
- Global Moderator
- Posts: 828
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Call JCL from a rexx?
the previous answers should have clarified the point
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
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
- prino
- Registered Member
- Posts: 68
- Joined: Sun Jun 01, 2014 4:15 am
- Location: Vilnius, Lithuania
- Contact:
Re: Call JCL from a rexx?
Stupid, stupid, stupid design. What happens if your job doesn't run for the next 42 minutes?Sudeep Nair wrote:I want to submit a test-jcl using REXX. Assume that the jcl name is TESTJCL and it allocates a dataset, can I submit this jcl using REXX?
-
- New Member
- Posts: 6
- Joined: Sun Apr 27, 2014 10:47 am
Re: Call JCL from a rexx?
I might be hijacking this thread but why it's a a stupid design. I've seen many REXX doing this...
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: Call JCL from a rexx?
If a person wants to submit a job from REXX I beleive it will be from foreground..
So if the job is going to take time to run it is gonna lock up your terminal until then ...
Hope you got the point Rahul..
I would rather suggest to use INTRDR within a JCL
So if the job is going to take time to run it is gonna lock up your terminal until then ...
Hope you got the point Rahul..
I would rather suggest to use INTRDR within a JCL
zprogrammer
-
- Global Moderator
- Posts: 828
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Call JCL from a rexx?
let' s clear a few language barriers here ...
jcls are processed by <JCL> to setup the environment for the execution of programs
submit means simply to take a PS dataset or a PDS member and using the internal reader facility hand it to JES for later processing
so a submit will lock the screen for the ( very short ) time needed by JES to acquire it
I strongly sugget to the TS to read and meditate on
http://www.redbooks.ibm.com/abstracts/s ... .html?Open
jcls do not get called nor executed full stopcan i call or execute a jcl in my rexx program.
jcls are processed by <JCL> to setup the environment for the execution of programs
submit means simply to take a PS dataset or a PDS member and using the internal reader facility hand it to JES for later processing
so a submit will lock the screen for the ( very short ) time needed by JES to acquire it
I strongly sugget to the TS to read and meditate on
http://www.redbooks.ibm.com/abstracts/s ... .html?Open
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
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
-
- New Member
- Posts: 5
- Joined: Tue Jun 17, 2014 4:06 pm
Re: Call JCL from a rexx?
Thanks.
Should I take as the learning as that because the screen might get locked for some to long time that's why this is bad desig?
Should I take as the learning as that because the screen might get locked for some to long time that's why this is bad desig?
-
- New Member
- Posts: 6
- Joined: Sun Apr 27, 2014 10:47 am
Re: Call JCL from a rexx?
I think, yes? A Moderator might help us to understand it better.Sudeep Nair wrote:Should I take as the learning as that because the screen might get locked for some to long time that's why this is bad desig?
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Call JCL from a rexx?
Tying up a terminal for a long time indicates the system is using resources to do so -- and this use of system resources, which may prevent production work from completing, is the REAL issue with such a design.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute