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

Answer Posted / rammateti

By using DFSORT we can eliminate the duplicates

//Sysin dd *
sort fields=(1,5,ch,A)
sum fields=
/*
//
in the above dfsort we use sum fields= empty then it
eliminate the duplicates

if u want all dupli.in one file u can use
sum fields = xsum........
by (prathap)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when can a job time-out occur? How to overcome that?

753


What are steplib and joblib? What for they are used?

697


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

616


is there any way to execute more than one proc in the same exec statement at the same time..?

2113


Which dd parameters are required?

697






What is one line to pass PARM from JCL to COBOL?

902


Explain the function of the dd dcb keyword?

706


What does a disposition of (MOD,DELETE,DELETE) mean ?

668


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?

2223


When space is allocated for an output dataset, what units can be used?

757


Name the parameters which can be used to limit the number of records written to a sysout dataset?

658


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

740


How can return codes be tested before execution of a job step?

929


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

726


How to pass data to a program that is coded in an exec statement?

835