View previous topic :: View next topic
|
Author |
Message |
dubasir
New User
Joined: 05 Jun 2006 Posts: 19
|
|
|
|
Hi all,
How do I know whether the user opened the member from PDS or endevor (source version control) as I wanted my edit macro to run differently in above cases.
I have tried differetiating with the help of temporary file name given when we open the element in endevor. But it seems like, it varies from system to system.
Is there any other factor that we can capture in macro to differentiate the above. something like Application ID.
Thanks,
Suresh. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
You can try using the same logic You used to differentiate between a dfsort/icetool topic and an ISPF one |
|
Back to top |
|
|
dubasir
New User
Joined: 05 Jun 2006 Posts: 19
|
|
|
|
Mistakely posted under wrong topic . Can somebody (moderator) move this ques to ISPF topic.
Thanks,
suresh. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
since endevor places the element in a sequential dataset
when you 'browse' an element thru the selection panel
or when you use the QUICK EDIT feature of endevor,
the MEMBER EDIT macro command will populate the variable with spaces
only problem is if your macro is invoked during an EDIT/VIEW session of
a dataset outside of endevor.
then you will not know if it is endevor or not. |
|
Back to top |
|
|
|