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

Switching between ISPF macro and a CLIST


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

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Tue Feb 19, 2008 6:33 pm
Reply with quote

Hi,

I have two tools one(ISPF edit macro) is used for a fuctionality when invoked from an ISPF editor and another one for similar tool..with less features. Is it possible to create a single rexx stub that will check whether the user is requesting form an editor or outside and then invoke the corresponding tool. And hence I can have a single tool exposed to the user?

Thanks,
Prajesh
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Feb 19, 2008 6:57 pm
Reply with quote

Yes, it is possible. You need to test to see if you are actually inside a dataset at invocation time.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 19, 2008 10:20 pm
Reply with quote

Check the RC of the MACRO command.

O.
Back to top
View user's profile Send private message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Wed Feb 20, 2008 10:40 am
Reply with quote

Thank you all.. It worked...
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 Looking for a little history of ISPF ... TSO/ISPF 5
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top