Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program to eliminate duplicate records in a input file
and send them to output file.

Answer Posted / naidu sekhar yandrapu

We can use JCL SORT utility using SYSIN DD * SUM fields =
none, will eliminate duplicate and store in a different dataset.


e.g
//SORTXSUM DD DSN=... Output eliminated by the SUM stm

//SYSIN DD *
SORT FIELDS=(1,3,CH,A)
SUM FIELDS=NONE , XSUM
/*

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are decleratives in cobol?

2251


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1157


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4161


What is the difference between external and global variables in COBOL?

1449


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2459


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1142


How can you get the ksds file records into your cobol program?

1091


how do you reference the fixed unblock file formats from cobol programs

1223


How do you differentiate between cobol and cobol-ii?

1198


What are declaratives and what are their uses in cobol?

1194


When is inspect verb is used in cobol?

1243


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5800


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2570


Which Search verb is equivalent to PERFORM…VARYING?

1037


What is the LINKAGE SECTION used in COBOL?

1522