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

hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..

1 Answers   CTS,


How to run cobol program using jcl?

0 Answers  


What is the difference between joblib and jcllib statements

7 Answers   IBM, Maples,


in my jcl have 20 steps step1,step2,.... step20.and i have to execute step1,step2,..and skip the step3 and remaing step4,step5 are execute? i want skip step3 only? what code u can write?

3 Answers   Patni,


What is default if we don't specify RD parameter at all ?

1 Answers   IBM,






What u mean by include statement in JCL ?

3 Answers  


How different is the JCL executing a COBOL program? 1) if the program is using VB file as input. 2) if the program is using FB file as input.

1 Answers   HSBC,


If I update one or more members in a pds in the step 1, how can I reach these new contents to be used in the step 2 of the same job? To start a new job via intrdr is not satisfactory, because I must solve this problem in one job.

2 Answers   IBM,


what JCL Procedures?

0 Answers  


if the submitter of a job wants to inform another user about the job completion, how can it be done?

0 Answers   IBM,


if we give two job cards in a single what happens

3 Answers   IBM,


how would you create a temporary dataset? And where will you use them?

0 Answers  


Categories