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

Searching more than one string in Endevor


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Fri Jan 29, 2010 1:14 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jan 29, 2010 1:27 pm
Reply with quote

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
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Fri Jan 29, 2010 1:37 pm
Reply with quote

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
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Fri Jan 29, 2010 3:49 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Jan 29, 2010 8:31 pm
Reply with quote

Good to hear it is working - persistence pays icon_smile.gif

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
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts file manager is doing string conversion IBM Tools 3
No new posts Search string in job at regular Spool... CLIST & REXX 0
Search our Forums:

Back to Top