File1 has 100 records and file2 has 200 records i want to
copy 50 records which r in both file into file3
Answer Posted / ayusman
First you have to join the two files with help of JOJNKEYS
in jcl sort . after that copy first 50 records by using
sort utility
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how would you create a temporary dataset? And where will you use them?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What is the function of dd disp parameter?
Is automatic restart possible in jcl?
Is it possible to left uncode disp?
what is the JCL statement consists of?
which parameter is use to declare the name of dataset in dd statement?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
Which dd parameters are required?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
define cond parameter in jcl?
What is Cataloged Procedures?
What is the maximum length of a single line of jcl?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Explain how can an in-stream dataset be terminated?