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
What is concatenating?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
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?
What is the function of //cntl statement?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
What is the function of the steplib dd statement?
How to alter the parameters for the existing gdg?
Explain the purpose of the dd keylen parameter?
How do you submit a job for execution?
Matching Logic in Jcl not in cobol.Could any one please answer this question
which utility is used a dummy utility?
How do you create a temporary dataset?
is there any way to execute more than one proc in the same exec statement at the same time..?