Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us