Wrete a JCL to compare two files and mached records move to
onc file & un mached rows wants to another file?
Answer Posted / rams
Read one file sequentially and load the other file in
table.For every record in the file search Table for the
match.
Tips - Load the small fine in table. If you load then in
ascending/descending order, you can use Binay search (
Search All ) which is faster than sequential search.
| Is This Answer Correct ? | 6 Yes | 10 No |
Post New Answer View All Answers
Is automatic restart possible in jcl?
List the different components of jcl statement?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
How can a jobs execution priority be modified?
in ways data can be passed to a COBOL program from JCL?
Explain how can return codes be tested before execution of a job step?
how do you code a null statement?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What is the function of the dd mgmtclas keyword in sms datasets?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Is it possible to code instream data in a PROC?
What are steplib and joblib? What for they are used?
Explain the function of job statement in jcl?
Is there any command to check wether the ps file is in sorted order?