1.find most occurrences of a character.
for exm: input:aaabbbbdddddyyy
output: d 5 times
how can i get that?
Answer Posted / manish dwivedi
By using SCAN OP- Code we can find out the most occurrences
of a character.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How Chain operation copies the record's data to the input buffer for the program?
what are the key words you must use when using a subfile?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
What are the types of identifiers?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
what is program status data structure?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
what is the procedure and explain about real time scenario.
Interviewer asked me write down DDS for load all subfile .can anybody write dds
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is a rpg?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
what is the rpg system?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?