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

input:-AABBCCDDEFGHIIJ
output:- ABCDEFGHIJ
Here in input we hav the duplicate characters i.e repeating
characters.SO we should eliminate the duplicate characters
and should display the output in ascending order.

Answer Posted / adithya

//job card
//step1 exec pgm=sort
//sortin dd dsn=adi.in
//sortout dd sysout=*
//sysout dd sysout=*
//sysin dd *

sort fields=(1,15,ch,a)
sum fields=none
/*

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How arrays can be defined in COBOL?

1160


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1971


what are decleratives in cobol?

2223


) how do u code after getting data?

2103


Difference between array and sub-script ?

1623


Which Search verb is equivalent to PERFORM…VARYING?

1010


What is report-item in COBOL?

1120


what is search and searchall?what is the diffrence between them?give an best example?

6701


How to print 10 to 1 if the input have only 10 digit number?

1232


What is the utilization of copybook in cobol?

1137


In COBOL, what is the different between index and subscript?

1206


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

1035


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1313


IF I mention stop run in CICS what happens?

2319


What do you understand by psb and acb?

1080