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 retrieve element names from endevor to a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
Sheshu Mam

New User


Joined: 27 Jul 2009
Posts: 3
Location: Hyderabad

PostPosted: Tue Sep 29, 2009 11:46 am    Post subject: How to retrieve element names from endevor to a PDS
Reply with quote

Hi,

I have a below requirement.

I have 12000 elements in a particular system in Endevor. Now i want to get all elements which doesn't have a particular string into a PDS.

Example: I have 12000 elements (programs), in a particular system. Now i have to get list of program names which doesn't have a word 'EVALUATE' in that program.

Is there any way to get it?

Thanks in advance.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Sep 29, 2009 7:32 pm    Post subject:
Reply with quote

Hello,

Probably not with Endevor. . .

But you could generate a list of members that contain EVALUATE (superc/searchfor) and then match (using your sort product) this to the full member list and the ones that are not in the "contains EVALUATE" list are the ones you want.
Back to top
View user's profile Send private message
Sheshu Mam

New User


Joined: 27 Jul 2009
Posts: 3
Location: Hyderabad

PostPosted: Wed Sep 30, 2009 10:22 am    Post subject:
Reply with quote

Hi Dick,

Thank you for your response. But practically it should be done in endevor only.

Reason is: I need to search in multiple programs acrross 130 subsytems under one system in endevor. If it is not in endevor, we should know the libraries for all these subsystems which is quite difficult.

I can retrieve all element names by building SCL for this string search. (All program names which contains EVALUATE). Assume that i have 12000 programs in my system and i got 8500 program names which are having EVALUATE in that program. Now, how can i get remainig program names.

Or is there any way to get all those 12000 element names into a PDS? So that by using sort i can extract required programs list.

Thanks in advance.

Sheshu
Back to top
View user's profile Send private message
kumara.kranthi

New User


Joined: 03 Nov 2006
Posts: 21

PostPosted: Wed Sep 30, 2009 2:15 pm    Post subject:
Reply with quote

From your Endevor main menu ..you have one option called USER MENU ..select that after T -TEXT SCAN ..thru this u can select all ( SuBSYSTEM= give as blank)
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Sep 30, 2009 7:25 pm    Post subject:
Reply with quote

Hello,

Quote:
you have one option called USER MENU ..select that after T -TEXT SCAN

Again, how does this provide the required info/output? Care must be taken to provide an "answer" to the questoin asked. . .

Quote:
But practically it should be done in endevor only
Not if this is not something provided by the product. . .

To get what you want simply match the 12000 "names" against the 8500 that have the value - the non-matched names are the ones you are looking for,
Back to top
View user's profile Send private message
kgrimes

New User


Joined: 28 Sep 2009
Posts: 22
Location: Columbia, SC

PostPosted: Tue Oct 13, 2009 12:12 am    Post subject: Reply to: How to retrieve element names from endevor to a PD
Reply with quote

You can use the Endevor LIST action to scan for Endevor elements that do not contain a specified text string using the "WHERE TEXT DOES NOT CONTAIN" clause. You can also optionally use the "BUILD ACTION" clause to automatically build the Endevor SCL to RETRIEVE (check-out) the selected elements. Please see the Endevor SCL Reference Guide for more information or ask your Endevor Administrator for a sample batch job.

Kevin
Back to top
View user's profile Send private message
Sheshu Mam

New User


Joined: 27 Jul 2009
Posts: 3
Location: Hyderabad

PostPosted: Tue Oct 13, 2009 10:33 am    Post subject:
Reply with quote

Hi Kgrimes,

Thanks a lot.... This is exactly what i am looking for..."WHERE TEXT DOES NOT CONTAIN" is working and i am getting the list of elements which i want.

Previously i have tried with "WHERE TEXT NE", but it did not work.

Hi Kumara and Dick,

thank you for ur prompt responses.

Sheshu
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am
No new posts CA-Endevor Admin - 3 years minimum vasanthz Mainframe Jobs 0 Tue Apr 04, 2017 5:36 am
No new posts Need to retrieve Julian_date Suganya87 DB2 4 Wed Aug 17, 2016 7:27 pm
No new posts Variable for cursor names ravikumar15 DB2 5 Sun Jul 17, 2016 7:08 am
No new posts Using Field names in FILEAID Batch CO... Atul Banke Compuware & Other Tools 2 Wed Jun 29, 2016 9:54 pm


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