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
Differentiate between addressing mode and run mode.
Explain how can the attributes of one sms dataset be copied to another dataset?
how to do automated restart when a job abends?
Is it possible to left uncode disp?
how you can direct the data to spool using SYSOUT option?
How can the attributes of one sms dataset be copied to another dataset?
Brief description of inline procedure of jcl.
Is it possible to left uncode disp? If yes, how?
what JCL Procedures?
how you will the direct the data to spool using sysout option?
How do you overcome this limitation ?
what is SOC4 error?
What are the rules employed while naming the steps in a job?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What is the function of dd name parameter with a 2 part structure; audit.report?