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

1.find most occurrences of a character.

for exm: input:aaabbbbdddddyyy
output: d 5 times
how can i get that?


Answer Posted / raja

Dstring S 20A Inz ('aaabbbbdddddyyy')


Do 5

String Dsply

Enddo
eval *inlr = '1'

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do I declare a table or array in rpg iv?

1180


What are the types of identifiers?

1020


How to call one program from another program in RPG? please help me with the code

1732


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

951


what are the key words you must use when using a subfile?

1186


How can we know running job is batch or interactive?

1124


When it is desirable to describe files Internally?

1714


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

2013


What is ment by record level identifier?

1143


How to handle duplicate error handling in RPG?

2311


how can I tell when to replace the array?

1214


what is kids-rpg?

1127


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

3002


what do you mean by an input subfile, what are the keywords required?

1261


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

1223