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
 

 

Problem while search a string using Endevor

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

New User


Joined: 26 Sep 2006
Posts: 38
Location: India

PostPosted: Thu May 29, 2008 1:14 pm    Post subject: Problem while search a string using Endevor
Reply with quote

Hi,

I want to search for a particular string in Programs in production. We are using Endevor. I have created an SCL using Endevor and given valid ENVIRONMENT,SYSTEM and SUBSYSTEM. But it is not fetching the desired result. From spool I can see some kind of error. Below I am pasting the spool output also. Please let me know the problem.


Code:
SET STOPRC 16 .                                             
LIST ELEMENT '*'                                             
  FROM ENVIRONMENT 'XXX' SYSTEM 'XXX' SUBSYSTEM 'XXXX'       
    TYPE 'XXXXXXXX' STAGE P                                 
  OPTIONS SHOWING TEXT NOSEARCH                             
  WHERE TEXT EQ                                             
 'SOS 02-05: BERGYDERJSUM'                                   
  BUILD ACTION &&ACTION                                     
 .     



Code:
2I  ACTION #1 / STMT #2                                                       
3I     LIST     ELEMENT *                                                     
4I        FROM ENVIRONMENT: BEP  SYSTEM: XXX   SUBSYSTEM: XXX   TYPE:XXXXXXXX STAGE ID: P
2I        OPTIONS:  SHOWING TEXT, NOSEARCH                                     
2I                  WHERE TEXT EQUAL SPECIFIED                                 
0W  ELEMENT(S) BYPASSED, FAILED TO SATISFY "WHERE" CLAUSE.                     
END OF EXECUTION LOG - HIGHEST ENDEVOR RC = 0004 EXECUTION LOG - HIGHEST ENDEVOR RC = 0004


Above I tried with a string that I know still it is showing above message.
Back to top
View user's profile Send private message

HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 195
Location: India

PostPosted: Thu May 29, 2008 1:25 pm    Post subject: Reply to: Problem while search a string using Endevor
Reply with quote

Hello,
HC :4 doesn't mean it's an error messsage. That means it found the string you are searching for in Endevor elements.

Check you C1MSGS2 messages for the elements having RC :4 which means all those elements have that string which you are looking for

If not clear, let me know
Back to top
View user's profile Send private message
jsnair

New User


Joined: 26 Sep 2006
Posts: 38
Location: India

PostPosted: Thu May 29, 2008 2:16 pm    Post subject:
Reply with quote

Hi HappySrinu,

I checked in C1MSGS2 there is no relevant messages.
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 195
Location: India

PostPosted: Thu May 29, 2008 2:36 pm    Post subject: Reply to: Problem while search a string using Endevor
Reply with quote

you need to check the list of elements which got RC:4, it will be shown as below..in C1MSGS2....

ACTION ELEMENT RC ENVIRONMENT
LIST XXXXXXX 0000 VVVV
LIST AAAAAAA 0004 VVVV

As it means AAAAAAA element RC:4, having the text searching for..
Back to top
View user's profile Send private message
jsnair

New User


Joined: 26 Sep 2006
Posts: 38
Location: India

PostPosted: Thu May 29, 2008 2:55 pm    Post subject:
Reply with quote

Hi HappySrinu,

In My spool I am getting below steps. As you said here I checked in C1MSGS2. Inside that we can see only 8 lines and those are not relevant.

Code:
COMMAND INPUT ===>                                            SCROLL ===> CSR 
 NP   DDNAME   StepName ProcStep DSID Owner    C Dest               Rec-Cnt Page
      JESMSGLG JES2                 2 SDP143S  R LOCAL                   22     
      JESJCL   JES2                 3 SDP143S  R LOCAL                   38     
      JESYSMSG JES2                 4 SDP143S  R LOCAL                   73     
      C1MSGS1  NDVRBAT            102 SDP143S  R LOCAL                   37     
      C1MSGS2  NDVRBAT            103 SDP143S  R LOCAL                    8   
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 195
Location: India

PostPosted: Thu May 29, 2008 3:04 pm    Post subject: Reply to: Problem while search a string using Endevor
Reply with quote

can you send me all the lines in C1MSGS2,
if you got RC:0, it means you don't have any elements which have your searching string, but if you get RC:4, you do have at least one element having your strinng.

I just tested at my site and it's doing exactly what I want..
Back to top
View user's profile Send private message
jsnair

New User


Joined: 26 Sep 2006
Posts: 38
Location: India

PostPosted: Thu May 29, 2008 3:14 pm    Post subject:
Reply with quote

Code:


  (C) 2005 Computer Associates International, Inc.                           
                                     E N D E V O R   A C T I O N   S U M M A R
REQUESTED BY: SDP143S                                                         
                                                                             
                                                                             
                                PROC  NDVR   +--------------  FROM  INFORMATIO --------------+  ACTION   ACTION   STMT    SCL
          ACTION    ELEMENT      RC    RC    ENVIRONMENT   SYSTEM    SUBSYSTEM TYPE     STAGE    TIME    NUMBER  NUMBER WRITTEN   
          LIST      *                 0004   BEP           PGM       XFCD      ASCDBIF1   P    09:38:11       1       2           
******************************* BOTTOM OF DATA ************************************ BOTTOM OF DATA ********************************
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 195
Location: India

PostPosted: Thu May 29, 2008 3:41 pm    Post subject: Reply to: Problem while search a string using Endevor
Reply with quote

I doubt with your generation of SCL..while generating SCL, did you select elements with placing "L" beside each element?

it should look like..

LIST ELEMENT 'AAAAAAAA'
VERSION 01 LEVEL 06
FROM ENVIRONMENT 'VVVV' SYSTEM 'SSSS' SUBSYSTEM 'PPPP'
TYPE 'RUNBOOK' STAGE A
OPTIONS SHOWING TEXT NOSEARCH
WHERE TEXT EQ
'ABENDING PROGRAM'
BUILD ACTION &&ACTION

if it's not, generate scl again with selecting all elements where you do want to search with option "L" and then submit your job
Back to top
View user's profile Send private message
jsnair

New User


Joined: 26 Sep 2006
Posts: 38
Location: India

PostPosted: Thu May 29, 2008 3:54 pm    Post subject:
Reply with quote

Initialy from the list I selected one element by placing 'L' beside that element. So the SCL was like the one you posted above. After that I edited that SCL because I don't know the exact elment where I can find this string. So in SCL instead of element name I put '*' and also I removed the version info for that element. After that I submitte the SCL.
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 195
Location: India

PostPosted: Thu May 29, 2008 4:05 pm    Post subject: Reply to: Problem while search a string using Endevor
Reply with quote

Thats where the problem is...
Even though if you don't know element name sin Endevor, When you are doing a search from Endevor you just need to give environment, system, sub system and types and stage then automatically it lists all the elemtns present at that stage...

then select "L" beside those elements. But if you got 100's of elements then you choose options "DISPLAY OPTION = N" then on command prompt line, place "L" on the command prompt line.

then Endevor will take care selection of all the elements..

and check the scl..

I guess if you still have doubt, I recommend you check with you Endevor support/Admin team avaiable at you site..
Back to top
View user's profile Send private message
jsnair

New User


Joined: 26 Sep 2006
Posts: 38
Location: India

PostPosted: Thu May 29, 2008 4:25 pm    Post subject:
Reply with quote

Thanx HappySrinu...

It's working fine now. Earlier I was editing the SCL manually for selecting all elements. Now I changed the DISPLAY OPTION = N so in SCL we are getting all elements and getting desired result.
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 195
Location: India

PostPosted: Thu May 29, 2008 4:28 pm    Post subject: Reply to: Problem while search a string using Endevor
Reply with quote

Thanks for your confirmation.
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 SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 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
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm


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