1.find most occurrences of a character.

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


Answer Posted / prasanna

You can find it with opcode scan and in the result field we
should have an array

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what was the robotech rpg?

848


How to write record if no field or the field are different in physical file in rpgle ?

677


What is the difference between copybooks and subprocedures in as400?

1057


how do I declare a minor?

878


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.

960






thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

2059


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

903


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

914


How to declare the pull button in AS/400..

2088


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

703


how does the rpg element work?

910


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

996


How to select highest score of each subject or how to select highest income of every month?

1483


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

926


What is the purpose of record level identifier?

879