File1 has 100 records and file2 has 200 records i want to
copy 50 records which r in both file into file3
Answer Posted / kamaldeep
We can't use SUM FIELDS=NONE,XSUM as mentioned by Harsha.
if we merge 2 files then it may be the case that input file already has duplicate records, so it will not give required output.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can I send output of job to my remote device careerride123?
Matching Logic in Jcl not in cobol.Could any one please answer this question
What do you know about jcl?
Explain how can return codes be tested before execution of a job step?
What parameter of the job statement is used to limit the cpu time consumed by the job?
What is job control language?
a dd statement has 2 types of parameters. Name them?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What are the 4 fields in dd statement?
which parameter is use to declare the name of dataset in dd statement?
what is the use of JCL?
In job processing, what happens in execution stage?
what JCL Procedures?
What is the function of job statement in jcl?
What is the purpose of the dd keylen parameter?