JCL to run a REXX program which contains panels



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

JCL to run a REXX program which contains panels

Postby nothing » Thu Mar 04, 2010 9:12 pm

Hi ,
Could any one help me.........I need to run a rexx code using a jcl..........the rexx program will call 3 panels and then input entered in the panels are used to run two jcl.
nothing
 
Posts: 5
Joined: Tue Mar 02, 2010 11:54 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to run a REXX program which contains panels

Postby MrSpock » Thu Mar 04, 2010 9:17 pm

What do you mean by "the rexx program will call 3 panels ..."? How? From where? What kind of panels? How will these "panels" receive input or display output?

Bear in mind that you're talking about a batch job running on an initiator in a JES address space.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: JCL to run a REXX program which contains panels

Postby expat » Thu Mar 04, 2010 9:18 pm

If you are expecting the batch job to communicate with your TSO session you will be bitterly disappointed.
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: JCL to run a REXX program which contains panels

Postby nothing » Thu Mar 04, 2010 9:32 pm

I have created the panels and have used the rexx code to display it.........the panels will receive the input like the date ,time and the file names
nothing
 
Posts: 5
Joined: Tue Mar 02, 2010 11:54 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to run a REXX program which contains panels

Postby Robert Sample » Thu Mar 04, 2010 10:51 pm

the panels will receive the input like the date ,time and the file names
Since a batch job is running independent of users and terminals, just exactly where is the input coming from?
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: JCL to run a REXX program which contains panels

Postby nothing » Thu Mar 04, 2010 11:56 pm

the user willl enter the input in the panels....
nothing
 
Posts: 5
Joined: Tue Mar 02, 2010 11:54 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to run a REXX program which contains panels

Postby Robert Sample » Fri Mar 05, 2010 12:05 am

A batch job means there is no user -- no way for a user to enter input into a panel -- no terminal to display the panel -- nothing of the sort. You either need to completely redesign your process to not use panels and user input, or give up the idea as impossible. Your choice.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: JCL to run a REXX program which contains panels

Postby dick scherrer » Fri Mar 05, 2010 1:17 am

Hello,

Depending on what exactly is the requirement, you could use a panel to receive input from a user and then submit a batch job containing the user entries.

Once submitted, there would be no more interaction with the rexx code. . . Depending on the function of the batch job, the results of that process could be inserted into some database (where the user could query it), printed back to the user's network printer, or stored in a qsam file that could be downloaded.
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: JCL to run a REXX program which contains panels

Postby nothing » Sat Mar 06, 2010 1:11 am

Hello,

Depending on what exactly is the requirement, you could use a panel to receive input from a user and then submit a batch job containing the user entries.

Once submitted, there would be no more interaction with the rexx code. . . Depending on the function of the batch job, the results of that process could be inserted into some database (where the user could query it), printed back to the user's network printer, or stored in a qsam file that could be downloaded.



Hello,

What you have understood from the requirement is perfectly correct.

I have coded a rexx program for this and it is working fine.Now I need a JCL to run this rexx code as batch job.
nothing
 
Posts: 5
Joined: Tue Mar 02, 2010 11:54 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to run a REXX program which contains panels

Postby dick scherrer » Sat Mar 06, 2010 1:44 am

Hello,

You cannot do this as a single process. . .

You would need to run the "screen" process online to "talk" with the user and then submit the batch portion.

You cannot interact with a TSO online session via JCL. . .
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

Next

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post