View previous topic :: View next topic
|
Author |
Message |
Sheshu Mam
New User
Joined: 27 Jul 2009 Posts: 3 Location: Hyderabad
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Sheshu Mam
New User
Joined: 27 Jul 2009 Posts: 3 Location: Hyderabad
|
|
|
|
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 |
|
|
kumara.kranthi
New User
Joined: 03 Nov 2006 Posts: 21
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
kgrimes
New User
Joined: 28 Sep 2009 Posts: 22 Location: Columbia, SC
|
|
|
|
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 |
|
|
Sheshu Mam
New User
Joined: 27 Jul 2009 Posts: 3 Location: Hyderabad
|
|
|
|
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 |
|
|
|