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
Can I share my data with other jobs? How?
Can we use DISP=SHR in output file in JCL
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
what are the various stages of job processing?
Is it possible to left uncode disp?
What is condition checking in jcl? Is this possible?
how to run batch program without jcl?
What do you understand by jcl?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
When output dataset space is required, what quantity categories are used?
what is the purpose of coding class parameter in job statement?
List the different components of jcl statement?
What is multithreading in jcl?
Is condition checking possible in jcl? If yes, how?
What is NOTCAT ?