Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to display an ISPF panel in batch

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to display an ISPF panel in batch
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

Site Director


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

PostPosted: Fri Jun 08, 2007 11:35 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 08, 2007 11:42 pm    Post subject:
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    Post subject: Yap I should have ....
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: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 08, 2007 11:45 pm    Post subject:
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

Site Director


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

PostPosted: Fri Jun 08, 2007 11:57 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Sun Jun 10, 2007 9:43 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Tue Jun 12, 2007 12:12 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us