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

How to differentiate endevor element from PDS member?


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

New User


Joined: 05 Jun 2006
Posts: 19

PostPosted: Wed Jun 15, 2011 12:40 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jun 15, 2011 12:44 pm
Reply with quote

You can try using the same logic You used to differentiate between a dfsort/icetool topic and an ISPF one icon_cool.gif
Back to top
View user's profile Send private message
dubasir

New User


Joined: 05 Jun 2006
Posts: 19

PostPosted: Wed Jun 15, 2011 12:50 pm
Reply with quote

Mistakely posted under wrong topic icon_sad.gif. Can somebody (moderator) move this ques to ISPF topic.

Thanks,
suresh.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Jun 15, 2011 1:46 pm
Reply with quote

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
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 How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Library member auto insert option TSO/ISPF 3
No new posts DataSet member creation failed with B... Java & MQSeries 15
Search our Forums:

Back to Top