Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Searching more than one string in Endevor

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 122
Location: India

PostPosted: Fri Jan 29, 2010 1:14 pm    Post subject: Searching more than one string in Endevor
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Fri Jan 29, 2010 1:27 pm    Post subject: Reply to: Searching more than one string in Endevor
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: 122
Location: India

PostPosted: Fri Jan 29, 2010 1:37 pm    Post subject:
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: 122
Location: India

PostPosted: Fri Jan 29, 2010 3:49 pm    Post subject:
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

Site Director


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

PostPosted: Fri Jan 29, 2010 8:31 pm    Post subject: Reply to: Searching more than one string in Endevor
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts CA-Endevor Admin - 3 years minimum vasanthz Mainframe Jobs 0 Tue Apr 04, 2017 5:36 am
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us