View previous topic :: View next topic
|
Author |
Message |
shameer007
New User
Joined: 20 Apr 2006 Posts: 12
|
|
|
|
Hi,
I want to execute a rexx program through JCL.In that rexx program I am trying to displaying PANEL.
But my Job is gets executed successfully but I can't able to see the panel.
Can you please tell how to do this?
Thanks in advance.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
To display a panel, i believe you need to be attached to one. . . . Batch is not.
You will also do yourseof a favor if you use some kind of meaningful subject.
Other than a few of us, most people neither read nor reply to a "Can you please solve this. ." subject. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
Other than a few of us, most people neither read nor reply to a "Can you please solve this. ." subject. |
Quite right Dick.
Batch and online are two totally different animals. |
|
Back to top |
|
|
shameer007
New User
Joined: 20 Apr 2006 Posts: 12
|
|
|
|
May be I can write subject as " how do we invoke a Rexx panel by submitting a job".
Any ways.Thanks ..
Can we do this or not?? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Me thinks not if you wish a response from the user. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Please describe what your process would do if it functioned as you'd like?
Keep in that batch jobs do not "talk" with users.
If you describe what the "conversation" might be, we can try to offer suggestions on how to accomplish what you need for your user(s). |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can display ISPF panels in batch in the same way you do it in foreground. For more information, please refer to the fine manual.
O. |
|
Back to top |
|
|
shameer007
New User
Joined: 20 Apr 2006 Posts: 12
|
|
|
|
My requirement is to executing second program if my first program gets executed successfully.
Initilally I thought of doing like this:
I thought of executing my first program (PL/1) by submitting job from REXX. And based on the return code I will get I need to invoke two different panels to user from my REXX Program itself.
But I can't able to get the return code back to my rexx program.
Secondly I thought of doing like this :
In JCL I will be having three steps, My first step will execute PL/1 program and based on the return code of that either STEP2 OR STEP3 will get execute.
But I can't able to invoke PANELS in my STEP2,STEP3 rexx programs.
If I subimt my job it is executing fine But it is not showing any panels at all.
I think now you would have got better picture.
Can you please give me some solution. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I'd suggest you re-think how your process will work.
From your batch job, i do not believe you will be able to "throw" a panel and re-act to the user response on that panel. For this to happen, both the user and the job would need to be attached to the same terminal.
If you describe what you need to do (not how you might do it), we may be able to offer some alternatives that will accompish what you want.
What kind of interaction might there be with a user? Is there some reason that the user cannot present "what to do" for each condition before the REXX job submits anything? I suspect that most/all of the info could have default values and the user would actually enter very little when submitting. |
|
Back to top |
|
|
|