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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

918


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

675


Explain the job statement in jcl?

653


what is the difference between JES3 and JES2?

686


what is use of disp parameter in dd statement?

667






what is the use of JCL?

666


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2269


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

616


what are JCLLIB and STEPLIB in JCL?

684


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

862


what happens in conversion stage in job processing?

734


What do you know about jcl?

651


What is the function of the dd dcb keyword?

832


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

811


How do you access an uncatalogued dataset in a jcl?

731