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

What is the Purpose of Pointer in the string?

1120


Which is not true about evaluate statement

2510


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

2520


Which Search verb is equivalent to PERFORM…VARYING?

1102


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

1147


How do you differentiate between cobol and cobol-ii?

1273


What is the difference between Global and External Variables?

1430


Which division and paragraphs are mandatory for a COBOL program?

1325


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1688


Difference between cobol and cobol-ii?

1338


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

2268


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3276


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

1133


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1380


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

2528