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

How to retrieve element names from endevor to a PDS


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Tue Sep 29, 2009 7:32 pm
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
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
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

Moderator Emeritus


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

PostPosted: Wed Sep 30, 2009 7:25 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
No new posts Retrieve IMS SubSystem Name IMS DB/DC 2
No new posts Read file names from existing file th... DFSORT/ICETOOL 6
No new posts retrieve volume records from decollec... DFSORT/ICETOOL 4
Search our Forums:

Back to Top