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
 

 

I have to find 'abc' in the program.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Amolondhe007
Warnings : 1

New User


Joined: 16 Apr 2007
Posts: 50
Location: Pune

PostPosted: Fri Dec 14, 2007 12:07 pm    Post subject: I have to find 'abc' in the program.
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: 1439
Location: Bangalore,India

PostPosted: Fri Dec 14, 2007 12:14 pm    Post subject:
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: 50
Location: Pune

PostPosted: Fri Dec 14, 2007 12:34 pm    Post subject: Reply to: I have to find 'abc' in the program.
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: 1439
Location: Bangalore,India

PostPosted: Fri Dec 14, 2007 12:38 pm    Post subject:
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: 50
Location: Pune

PostPosted: Fri Dec 14, 2007 12:48 pm    Post subject: Reply to: I have to find 'abc' in the program.
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm


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