Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Display a panel in Batch and to get the input

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
MFSubbu

New User


Joined: 16 Feb 2008
Posts: 11
Location: Bangalore

PostPosted: Thu Oct 02, 2008 8:13 am    Post subject: Display a panel in Batch and to get the input
Reply with quote

My Rexx program is running in batch mode and i need to get an input from the user by displaying a panel.

while doing so my program is getting into a loop after Display panel command.

Any sample programs of how to display panels in batch mode would help me. Thanks in Advance.

I got the following information but dono how to proceed on this.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZDG70/2.14.2.1?DT=20080715202837#HDRBATCH
Back to top
View user's profile Send private message
References
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8728
Location: 221 B Baker St

PostPosted: Thu Oct 02, 2008 8:43 am    Post subject:
Reply with quote

Hello,

Quote:
My Rexx program is running in batch mode and i need to get an input from the user by displaying a panel.


From the link you posted.
Quote:
When an application is running in batch, there is no user to respond to panel input operations. Therefore, the primary requirement for running interactive applications in batch is to supply expected input data by an alternate means.


How do you plan to use a panel with no user? What should your process do when it is working?

If you ecxplain the requirement you are working on someone may have a suggestion.
Back to top
View user's profile Send private message
MFSubbu

New User


Joined: 16 Feb 2008
Posts: 11
Location: Bangalore

PostPosted: Thu Oct 02, 2008 8:50 am    Post subject:
Reply with quote

My Rexx program is copying some pds, do some changes and submit that in ca7 at a particular time. once the changes to the pds are done and the job to submit in ca7 is ready. I need to provide the time and day at which it should be submitted in ca7.

Kindly provide me with some suggestions where i can do the above.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8728
Location: 221 B Baker St

PostPosted: Thu Oct 02, 2008 9:20 am    Post subject:
Reply with quote

Hello,

Let's see if i understand.

First your process is going to copy some pds members, make changes to them, and then have CA7 submit them at some predetermined time.

I would expect that the copy and make changes will be done by you or some user. Once the copies/changes are complete, then the job submission could begin.

Seems like CA7 could be set up to submit the job(s) as defined. You could work with the scheduling people to have your job set up to run at come specific time after copying and editing was complete.

I believe you can accomplish this without needing a panel in batch.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...

PostPosted: Thu Oct 02, 2008 11:28 am    Post subject:
Reply with quote

1) The batch job is a completely seperate address space from youyr online TSO session, so virtually impossible to exchange data and commands to display panels.

Why does the job have to be submited at a user defined time, why not just use a standard time schedule, or even use a dataset trigger from the original running job.

What about getting the submitted batch job to perform the updates after the copies have been made ?
Back to top
View user's profile Send private message
MFSubbu

New User


Joined: 16 Feb 2008
Posts: 11
Location: Bangalore

PostPosted: Fri Oct 10, 2008 11:58 am    Post subject:
Reply with quote

Thanks for the help.

We have planned to submit it using a standard time schedule.
One more question from my side.
I have a REXX program REXXA running in batch mode. Once REXXA run fine with RC 0. I should trigger REXXB

Can this be done. If so, Kindly provide me with a sample JCL
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...

PostPosted: Fri Oct 10, 2008 12:06 pm    Post subject:
Reply with quote

Yes it can be done, and has been dicussed many times before in this forum. There is a search button at the top of the page icon_rolleyes.gif
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1