|
View previous topic :: View next topic
|
| Author |
Message |
Susanta
Active User
Joined: 17 Nov 2009 Posts: 129 Location: India
|
|
|
|
How to search more than one string in endevor using scl ?
I tried with the below but it is not working.. please suggest.
| Code: |
<<
LIST ELEMENTS 'GCM*'
FROM ENVIRONMENT 'MERPROD'
SYSTEM 'GCM'
SUBSYSTEM 'GCM'
TYPE 'COBOLB'
STAGE 'P'
TO SYSOUT
WHERE TEXT (( EQ V1GCMSCY)
OR (EQ V1GCMSCZ))
>> |
|
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
| Quote: |
| I tried with the below but it is not working.. please suggest. |
... that You give a better description of Your issue.
telling it is not working is just a waste of time for everybody |
|
| Back to top |
|
 |
Susanta
Active User
Joined: 17 Nov 2009 Posts: 129 Location: India
|
|
|
|
Okay , I will not put wrong code in future.
Please help me, I need to search a lot of strings from endevor (from a specific environment , system,subsystem , type). |
|
| Back to top |
|
 |
Susanta
Active User
Joined: 17 Nov 2009 Posts: 129 Location: India
|
|
|
|
I have tried again and found that the above code works with little modification.
| Code: |
<<
LIST ELEMENTS 'GCM*'
FROM ENVIRONMENT 'MERPROD'
SYSTEM 'GCM'
SUBSYSTEM 'GCM'
TYPE 'COBOLB'
STAGE 'P'
TO SYSOUT
WHERE TEXT (( EQ 'V1GCMSCY' COLUMNS 008 072)
OR (EQ 'V1GCMSCZ' COLUMNS 008 072))
>> |
|
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - persistence pays
In the future, when something does not work, you need to post the error message(s) or the incorrect/unexpected result or something for us to use to help. |
|
| Back to top |
|
 |
|
|