Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to differentiate endevor element from PDS member?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to differentiate endevor element from PDS member?
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Wed Jun 15, 2011 12:44 pm    Post subject: Reply to: How to differentiate endevor element from PDS memb
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Endevor error C1UU999E during cast Musab Ahmed CA Products 3 Wed Jun 29, 2016 12:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us