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

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

1100


) what is the difference between AID and HANDLE AID?

2159


Write down the divisions of cobol program?

1258


What is the difference between binary search and sequential search?

1091


what is the use of outrecord?

2222


how do you reference the rrds file formats from cobol programs

1581


What is the difference between Global and External Variables?

1377


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.

4173


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1242


What are the various section in data division and briefly explain them.

1185


What is a scope terminator give example?

1114


Name some of the examples of COBOl 11?

3143


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1249


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1300


What is report-item in COBOL?

1156