View previous topic :: View next topic
|
Author |
Message |
kalyan Kumar Yallamraju
New User
Joined: 05 Mar 2008 Posts: 4 Location: Hyderabad
|
|
|
|
I need to execute a REXX exec which inturn executes a job of which the last step is to execute another REXX exec which displays the panel.
When I tried to execute the REXX exec through a job the job is executed without error but the panel is not displayed. To find out how it is working I've executed a simple REXX exec to display a message. I observed that the message is displayed in the spool display of the job instead of the terminal.
Can anyone let me know how to display the panel on the terminal using JCL to execute the REXX exec which displays the panel. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
a panel is meant to be displayed on a tso screen in order to interact with the user
in batch jcl You must be happy with reading and writing from datasets |
|
Back to top |
|
|
kalyan Kumar Yallamraju
New User
Joined: 05 Mar 2008 Posts: 4 Location: Hyderabad
|
|
|
|
Hi enric
Thanks for the quick reply.
My requirement is to notify the user about the first job status and to recieve the confirmation about the submission of second job based on the status of first job.
For this i thought of 2 possibilities,
1) To throw a panel after the completion of the first job
2) To keep the REXX code waiting until the job is completed.
As the 2nd solution is not at all preferable I tried with the first one.
Now that I know its not possible, I would like to know is there any other way to notify the user about the status of the job after it's completed? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Use the notify parm in the jcl statement
if that is not enough then code as the last step
a tso step with a "SEND " with the details You want |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Technically it is possible to display a panel during batch execution of a REXX exec. |
|
Back to top |
|
|
|