View previous topic :: View next topic
|
Author |
Message |
sornavel
New User
Joined: 26 Mar 2005 Posts: 2
|
|
|
|
hi all,
could anyone of you please tell me the way to find out the combination of more than one search string (will not be in the same line) in different lines inside a PDS using the option 3.14 or 3.15? Please find the following example below to understand my question
i want to find out both strings 'ABC' and 'DEF' in any member of a PDS say HLQ.ABCD(*). how to do it?
in the output, i'm expecting only the members having both 'ABC' and 'DEF' present in different lines in a member
Please suggest me the way.
thanks,
sornavel. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
What the problem you are facing while using 3.15 for the same...
Code: |
Command ===>
Search DS Name . . 'HLQ.ABCD'
PDS Member List . . * (blank/pattern - member list, * - search all)
(Leave Search DSN "blank" for concatenated-uncataloged-password panel)
Enter Search Strings and Optional operands (WORD/PREFIX/SUFFIX,C)
Caps . .
Caps . . 'ABC'
Caps . . 'DEF'
Asis . .
Asis . . |
Regards,
Priyesh. |
|
Back to top |
|
|
sornavel
New User
Joined: 26 Mar 2005 Posts: 2
|
|
|
|
Priyesh,
thanks for the reply. if i use 3.15 in this manner, it gives me the list of components in the PDS HLQ.ABCE(*) which use either 'ABC' or 'DEF'. but i want the list of components which use 'ABC' AND 'DEF' (ie. similar to logical AND condition). could you please tell me the method of getting the same?
thanks,
sornavel. |
|
Back to top |
|
|
yuvaraj80
New User
Joined: 03 Oct 2005 Posts: 10
|
|
|
|
Sornavel,
In ISPF 3.14, you have an option "Specify additional search strings" at the bottom-left corner. Select that option and hit enter, it will throw you another screen where you can enter more than one search string.
Let me know if this did not work.
regards,
Yuvaraj |
|
Back to top |
|
|
yuvaraj80
New User
Joined: 03 Oct 2005 Posts: 10
|
|
|
|
I am sorry, my reply is not a solution to your question. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
There is no built-in option to process your request in SUPERC. The closest statement in SUPERC is SRCHFORC, which looks for additional strings in the same line.
Solutions:
1. Invoke SUPERC for each string individually. Sort and compare the results (member list) where SUPERC found your strings to get a list of matched members.
2. Use REXX, either by invoking SUPERC and comparing the result, or using batch edit macro to FIND the strings.
O. |
|
Back to top |
|
|
|