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 |
Is it possible to left uncode disp?
what is the function of spool command?
I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.
Explain how can an in-stream dataset be terminated?
what is a steplib
How to ALTER the name of a GDG ?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
what is a jcl?
I have two input files i/p1 name id-key flag date i/p 2 name id-key date if id-key matches in the both the files then it should write the output file from i/p1 with flag 'Y'. It should be done thru JCL sort card ,Please provide the info on this. ---Note : output file should have all records from i/p1 with proper Flag.
What do you do if you do not want to keep all the space allocated to a dataset?
What are the default system and catalog libraries in JCL?
Explain the function of the steplib dd statement?