IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to display an ISPF panel in batch


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shameer007

New User


Joined: 20 Apr 2006
Posts: 12

PostPosted: Fri Jun 08, 2007 11:31 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 08, 2007 11:35 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jun 08, 2007 11:42 pm
Reply with quote

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
View user's profile Send private message
shameer007

New User


Joined: 20 Apr 2006
Posts: 12

PostPosted: Fri Jun 08, 2007 11:44 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jun 08, 2007 11:45 pm
Reply with quote

Me thinks not if you wish a response from the user.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 08, 2007 11:57 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Jun 10, 2007 9:43 am
Reply with quote

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
View user's profile Send private message
shameer007

New User


Joined: 20 Apr 2006
Posts: 12

PostPosted: Mon Jun 11, 2007 11:18 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jun 12, 2007 12:12 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
Search our Forums:

Back to Top