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
What is NOTCAT ?
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.
Name the statement which can be used to send data to another mvs jes3 node?
List the various advantages of using jcl language?
What is the syntax of JCL statement?
In sms datasets, what is the function of the dd avgrec keyword?
in ways data can be passed to a COBOL program from JCL?
What is notcat 2 - gs?
How is the record format of an output dataset specified?
a dd statement has 2 types of parameters. Name them?
Suppose I have five jobs to do. But I want to hold one?
Does jcl support automatic restart?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
Where can program checkpoints be stored for use in a restart?
What is the function of dd disp parameter?