|
View previous topic :: View next topic
|
| Author |
Message |
Prajesh_v_p
Active User

Joined: 24 May 2006 Posts: 133 Location: India
|
|
|
|
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 |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8798 Location: Welsh Wales
|
|
|
|
| Yes, it is possible. You need to test to see if you are actually inside a dataset at invocation time. |
|
| Back to top |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Check the RC of the MACRO command.
O. |
|
| Back to top |
|
 |
Prajesh_v_p
Active User

Joined: 24 May 2006 Posts: 133 Location: India
|
|
|
|
| Thank you all.. It worked... |
|
| Back to top |
|
 |
|
|