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
which parameter is use to declare the name of dataset in dd statement?
What are some jcl statements that are not allowed in procedures?
I need exexution process for JCL programs
List in order the hierarchical levels of jcl?
What is the maximum length of a single line of jcl?
How jcl is used for testing batch programs?
How can the disposition of sysout datasets be set for an entire jobstream?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
When space is allocated for an output dataset, what units can be used?
What is the function of job statement in jcl?
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
a dd statement has 2 types of parameters. Name them?
How to do automated restart when a job abend?
Explain in DD statement what is the use of DCB parameter?
what is a jcl?