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
What is the purpose of disp parameter?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
Explain the function of the steplib dd statement?
In job processing, what happens in execution stage?
In sms datasets, what is the function of the dd mgmtclas keyword?
Explain the jcl exec statement?
What does a disposition of (MOD,DELETE,DELETE) mean ?
Is condition checking possible in jcl? If yes, how?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Where can program checkpoints be stored for use in a restart?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
when does a dataset go uncataloged?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
How does the jcl specify the job to os?
How do you access an uncatalogued dataset in a jcl?