Given a input file with duplicates how to remove the
duplicate records from the file using JCL?
Answer Posted / tidda
This can be done by using Sort.
1) If the first duplicate is to be kept, we use SUM
FIELDS=NONE
2) If none of the duplicates are to be kept, using SYNCTOOL
or ICETOOL, use the NODUPS option.
| Is This Answer Correct ? | 16 Yes | 6 No |
Post New Answer View All Answers
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
What is the function of job statement in jcl?
How do you create a temporary dataset?
What does a disposition of (new,catlg,keep) for a dsn mean?
Is their any set of rules for dd? Explain.
Explain the function of dd name parameter with a 2 part structure; audit.report?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
when can a job time-out occur? How to overcome that?
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?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
List the various advantages of using jcl language?
What is the function of the dd avgrec keyword in sms datasets?
what is SOC4 error?
Is there any command to check wether the ps file is in sorted order?