File1 has 100 records and file2 has 200 records i want to
copy 50 records which r in both file into file3
Answer Posted / muttaiah
Hi Ayusman,
I hope u didn't get the question properly.
Question.
file1: (3 records assumption)
100 ayusman
200 muttaiah
300 allinterview
File 2: (3 records
400 google
500 yahoo
100 ayusman
File3:
100 ayusman
This is what the question is, they want all the duplicates
in both file1 & file2 in file3(first 50 records).
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how to compare two datasets without using superce because output is limited to 133 bytes
Must tape dataset definitions include vol=ser specifications?
How can a stopped job be started again?
Explain the purpose of dd * statement in jcl?
Explain in DD statement what is the use of DCB parameter?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
What does a disposition of (MOD,DELETE,DELETE) mean ?
which utility is used to run a cobol-db2 program?
what is “Cond= even” and “Cond=only”?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Explain the function of a dd statement?
Where can program checkpoints be stored for use in a restart?
In sms datasets, what is the function of the dd avgrec keyword?
How does jcl act on code(if you take a cobol program)?
What is the purpose of dd dummy statement?