how to eliminate the duplicates in sorting
Answer Posted / muttaiah
use the Sort utility, In the instream data of the sort card
Specify.
//sysin dd *
sort fields=copy
sum fields=none,xsum
/*
for this you need to have a dd stmt as
//sortxsum dd dsn=datasetname, disp=(createnew, share)
Now, the output file will have the records without
duplicates & the duplicates will be captured in the above
dsn of the sortxsum dd.
Correct me if i'm wrong
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What parameter of the job statement is used to limit the cpu time consumed by the job?
Is automatic restart possible in jcl? If yes, how?
Mention the types of job control statements?
Explain about LMFREE�free data set from its association with data ID
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
which utility is used a dummy utility?
What is NOTCAT ?
what is the difference between JES3 and JES2?
How to run cobol program using jcl?
What is the purpose of dd?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
In job processing, what happens in conversion stage?
Explain how can a jobs execution priority be modified?
how you can direct the data to spool using SYSOUT option?