How to search strings in multiple dataset with
conditions 'string1 & string2'?



How to search strings in multiple dataset with conditions 'string1 & string2'?..

Answer / rajesh_m13

//STEP1 EXEC PGM=ISRSUPC,PARAM=(SRCHCMP,'IDPFX')
//DD1 DD DSN=SOURCE DSN,DISP=SHR
//..2 , , , , , , , ,
//,,3 ,,, , , ,,,,,,,
//.................
//,,,
//OUTDD DD SYSOUT=*
//SYSIN DD *
SRCHFOR 'STRING1 STRING2'
/*

Is This Answer Correct ?    2 Yes 13 No

Post New Answer

More JCL Interview Questions

Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?

2 Answers  


How to ALTER the name of a GDG ?

2 Answers   IBM,


What does the keyword DCB mean and what are some of the keywords associated with it?

3 Answers   ITC Infotech,


Give the syntax of job specifying jcl statement.

0 Answers  


How to copy VSAM files without using REPRO

3 Answers   ADP,


how JCL works?

0 Answers  


Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?

8 Answers   Saggezza,


AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS

3 Answers  


Can we call instream to catalog and catalog to instream?

0 Answers  


How do you submit a JCL under CICS environment ?

5 Answers   Wipro,


Is condition checking possible in jcl? If yes, how?

0 Answers  


what is the compile process of cobol program expalin with code

0 Answers   IBM,


Categories