Hi, can any one tell about " How do u eliminate the
duplicates "

Answer Posted / bhaskar reddy

//Sysin dd *
sort fields=(1,5,ch,A)
sum fields= none
/*
//

if u want all dupli.in one file u can use
//Sysin dd *
sort fields=(1,5,ch,A)
sum fields =none, xsum
/*
//
XSUM is the output file name. all duplicate records moved to
this file

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which dd parameters are required?

686


Name a few IBM utility programs, and explain its function.

4432


Explain the function of //cntl statement?

653


what is SOC4 error?

732


Can we call instream to catalog and catalog to instream?

681






How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

856


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


How to submit jcl through a cobol program?

676


Where & How Do You Code Identifier In Jcl?

692


What is the use of disp parameter?

649


Is automatic restart possible in jcl? If yes, how?

655


How do you submit a job for execution?

638


what are the various stages of job processing?

736


What do you understand by jcl?

625


How can unused space allocation be returned to the system when a dataset is closed?

806