Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Point & shoot panel using rex

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
John Alexander1

New User


Joined: 22 Sep 2009
Posts: 7
Location: Sydney Australia

PostPosted: Thu Sep 24, 2009 7:07 am    Post subject: Point & shoot panel using rex
Reply with quote

Hi
I am trying to setup a point & shoot panel or panel menu that will call
a rex program when the cursor is placed on the point & shoot field , I am
not sure if this is possible, the ISPF manual does not say it can not be
done, but I can not find any examples or write ups on it.
If you have been able to do this, then i would be grateful if you would
share the panel syntax.

Many thanks in advance
john
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: Thu Sep 24, 2009 11:56 am    Post subject:
Reply with quote

I am pretty certain that this has been discussed at one time on the forum.

Good luck with the search as I for one can't recall a single keyword used in that topic
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10257
Location: italy

PostPosted: Thu Sep 24, 2009 12:00 pm    Post subject: Reply to: Point & shoot panel using rex
Reply with quote

just look at one of the ISPF panels (ISR.PRIM) and clone....
Back to top
View user's profile Send private message
John Alexander1

New User


Joined: 22 Sep 2009
Posts: 7
Location: Sydney Australia

PostPosted: Thu Sep 24, 2009 12:39 pm    Post subject: Reply to: Point & shoot panel using rex
Reply with quote

Many thanks for taking time to reply.

I did search the archives on a few keywords, but will have to do a more thorough search.


Regards
john
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Sep 24, 2009 7:35 pm    Post subject:
Reply with quote

The Primary Menu can be customized by each user to add a user-created list of point and shoot tasks. It replaces the Calendar or whatever you have in the User area in upper right section of the menu.

You assign the task (REXX, CLIST or PGM) to be started when user puts the cursor there and hits ENTER.

Look in the ISPF UsersGuide Vol II, Chapter 1 for info.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2038
Location: Silicon Valley

PostPosted: Thu Sep 24, 2009 9:22 pm    Post subject: Reply to: Point & shoot panel using rex
Reply with quote

Quote:
just look at one of the ISPF panels (ISR.PRIM) and clone....

I agree ISR@PRIM would be a good example. But it is still non-trivial to do. I suggest also to read the 'Defining the point-and-shoot' section in the ISPF Dialog Developers Guide and Reference.

With regard to calling a rexx program... the point and shoot is merely a way to make a field selection. For example, if you have a menu with three choices, where the user has to type 1, 2, or 3, then the point and shoot simplifies it by providing the numeric value in the correct field. To the rest of the application, it is as if the user had typed the number and pressed the Enter key.

So if you have the capability in your dialog to call a rexx program, you can improve it by adding a point and shoot capability. So my suggestion is to get the call to rexx working first.

You might also get by by using the .CURSOR function in the panel. It will tell you what field the cursor was in.
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 ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts the use of 'B3'x character in a panel Pedro TSO/ISPF 1 Thu Feb 16, 2017 3:09 am
No new posts Design of ISPF panel prino TSO/ISPF 2 Wed Jan 25, 2017 10:31 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us