Can i apply LOGICAL AND OR to SRCHFOR <string> function



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Can i apply LOGICAL AND OR to SRCHFOR <string> function

Postby srikkanth.lovable » Thu Mar 31, 2011 12:33 am

Folks

I need to run JCL using SRCHFOR '<search String>' function or 3.14

I need to perform search in the following way.

Usually we write the SRCHFOR as below
-----------------------------
----------------------------
--------------------------
//OUTDD DD SYSOUT=(A)
//SYSIN DD *
SRCHFOR '<search String>'
/*
Now iam intrested to search both strings.
SRCHFOR '<search String>' AND <STRING2>

Pls suggest
srikkanth.lovable
 
Posts: 12
Joined: Wed Mar 16, 2011 12:34 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can i apply LOGICAL AND OR to SRCHFOR <string> function

 

Re: Can i apply LOGICAL AND OR to SRCHFOR <string> function

Postby BillyBoyo » Thu Mar 31, 2011 2:45 am

Suggest you ask in the TSO/ISPF forum. This one is for Cobol questions.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Can i apply LOGICAL AND OR to SRCHFOR <string> function

Postby NicC » Thu Mar 31, 2011 9:28 am

Also suggest you press the F1 key while in option 3.14
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post