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

I have to find 'abc' in the program.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Amolondhe007
Warnings : 1

New User


Joined: 16 Apr 2007
Posts: 49
Location: Pune

PostPosted: Fri Dec 14, 2007 12:07 pm
Reply with quote

Suppose i have one program and i needs to find out 'abc' in this program.
and there are so many strings with name abc ...so please guide me...what is command to find it out..

I tried for F '"abc'' Command ...but its not working..

Find the below example as tested...

PU9361A.AMOL.TESTONE(TEST4) - 01.00 No CHARS '"ABC'' found
**************************** Top of Data ***************
000100 AMOL DATTATRAY LONDHE
000200 FIND OUT THE KEYS MENTIONED BELOW:
000300 'ABC'AAAAAAAAA'ABC'AAAAAAAAAAAAAAAAAAAAAAA
000400 BBBBBBVVVVVABCAASSCSCDCFJDFJJJALDFJLADJJADFJAD
000500 'ABC'DF;DLFJSDABCSDJFABCFJSDFJSLJFSD'ABC'
000600 DJFG'SJDGFLSJFGJSLDFJABCKLSJABCFJDFJJSDFJ
000700 DFGJSDFJSLDFSLDFJSSDFSFGJSFJJSFJ'ABC'SDFASD
000800 PLEASE CLOSE THIS TEXT
********************* Bottom of Data*********************

Please let me know any solution for this...

Thanks,
Amol
Be happy always!!!
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Dec 14, 2007 12:14 pm
Reply with quote

Amol,

Quote:
I tried for F '"abc'' Command ...but its not working..

Did you try this? (with wrong combination of double and single quotes)
Back to top
View user's profile Send private message
Amolondhe007
Warnings : 1

New User


Joined: 16 Apr 2007
Posts: 49
Location: Pune

PostPosted: Fri Dec 14, 2007 12:34 pm
Reply with quote

Murali,

its mistake...I tried with '"abc"'..please find testing as below:

EDIT PU9361A.AMOL.TESTONE(TEST4) - 01.00
No CHARS '"ABC"' found
Command ===> Scroll ===> CSR
************************* Top of Data ***********************
000100 AMOL DATTATRAY LONDHE
000200 FIND OUT THE KEYS MENTIONED BELOW:
000300 'ABC'AAAAAAAAA'ABC'AAAAAAAAAAAAAAAAAAAAAAA
000400 BBBBBBVVVVVABCAASSCSCDCFJDFJJJALDFJLADJJADFJAD
000500 'ABC'DF;DLFJSDABCSDJFABCFJSDFJSLJFSD'ABC'
000600 DJFG'SJDGFLSJFGJSLDFJABCKLSJABCFJDFJJSDFJ
000700 DFGJSDFJSLDFSLDFJSSDFSFGJSFJJSFJ'ABC'SDFASD
000800 PLEASE CLOSE THIS TEXT
****** ****************** Bottom of Data **********************
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Dec 14, 2007 12:38 pm
Reply with quote

Amol,

Try -

Code:
 f ''abc''


Note: 4 'single' quotes used.
Back to top
View user's profile Send private message
Amolondhe007
Warnings : 1

New User


Joined: 16 Apr 2007
Posts: 49
Location: Pune

PostPosted: Fri Dec 14, 2007 12:48 pm
Reply with quote

Thanks...YES...its working..
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top