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: 8798
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 All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts COBOL Text Adventure Engine for TK4- ... COBOL Programming 0
No new posts Question regarding ISPF tables with T... TSO/ISPF 11
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts SDUMPX macro fails to dump requested ... PL/I & Assembler 6
No new posts Preserve changes to ISPF Panel Variables TSO/ISPF 5
Search our Forums:


Back to Top