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 to execute 2nd and 4th steps among 5 steps in jcl proc?
What is catelog procedure and how many catelog procedure to use in one job?
How would you understand error(execution phase)?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
what are the various stages of job processing?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
Explain dfsort utility?
which utility is used to sort a file in jcl?
How can the attributes of one sms dataset be copied to another dataset?
Can an individual step be restricted from using all the jobs allowed cpu time?
When output dataset space is required, what quantity categories are used?
Explain dd statement in jcl?
What is timing concept in mainframe?
I need exexution process for JCL programs
How can return codes be tested before execution of a job step?