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
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Explain how can return codes be tested before execution of a job step?
Explain the purpose of dd * statement in jcl?
which utility is used to run a cobol-db2 program?
Explain how can the submitting users racf authority be overridden in a job stream?
How does jcl act on a cobol code?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Explain how can values be passed from the job stream to an executable program?
how can the same proc be re-used and called by many jobs?
how you will the direct the data to spool using sysout option?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
What are the rules employed while naming the steps in a job?
What is catelog procedure and how many catelog procedure to use in one job?