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...

How to retain the Duplicates in the one records?

Answer Posted / kk

Hi,

Using sort Utilities,
some fields=None,xsum
//STEP010 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTIN DD DSN=TEST.XSUM.INPUT,DISP=SHR
//SORTOUT DD DSN=TEST.XSUM.OUTPUT,DISP=SHR
//SORTXSUM DD DSN=TEST.XSUM.OUTPUT.XSUM,DISP=SHR
//SYSIN DD *
SORT FIELDS=(2,10,CH,A)
SUM FIELDS=NONE,XSUM

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between binary search and sequential search?

1128


how do you reference the variable block file formats from cobol programs

1307


What are the different open modes available in cobol?

1239


What is an in line perform? When would you use it? Anything else you wish to say about it.

1138


Describe the cobol database components?

1215


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

2268


How to remove 2 duplicate records and copy only one using job control language?

1257


What is the usage of comp fields in cobol?

1222


i want a program using by if, evaluate , string, unstring, perform, occurs?

4795


What is static and dynamic call in cobol?

1113


Write a program to explain size error.

1238


) How do u handle errors in BMS macro?

2010


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

1300


Why did you choose to work with ibm mainframe cobol programming?

1154


Are you comfortable in cobol or jcl?

1088