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


Please Help Members By Posting Answers For Below Questions

what is the resolution for sb37 error

7700


Is it possible to code instream data in a PROC?

748


how to compare two datasets without using superce because output is limited to 133 bytes

1478


What are the 2 types of parameters in dd statement?

642


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2261






Explain how can values be passed from the job stream to an executable program?

615


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

741


What is the significance of addrspc parameter in the exec statement?

616


Can we use DISP=SHR in output file in JCL

951


what is the purpose of coding class parameter in job statement?

716


Explain how can the disposition of sysout datasets be set for an entire jobstream?

634


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

778


Is their any set of rules for dd? Explain.

657


how do you code a null statement?

773


what is use of disp parameter in dd statement?

659