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 / subbu

We can eliminate the duplicates using sort.

please find the control card for sort.

sort fields = (starting position of field,length of the
field,data type,ascending or descending order)

sum fields=none

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1262


how do you reference the esds vsam file formats from cobol programs

1224


What is inspect in cobol ?

1312


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1304


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17887


Difference between array and sub-script ?

1671


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1233


How do you reference the fixed block file formats from cobol programs

1237


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2285


Have you used comp and comp-3 in your project? And how?

2488


What is the difference between binary search and sequential search?

1099


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1572


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

1179


Mention the guidelines to write a structured cobol program?

1103


What are all the divisions of a COBOL program?

1220