COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'
Answer Posted / randy
Hi,
We can use Reverse function.
MOVE FUNCTION REVERSE(WS-STRING) TO WS-REV-STRING
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How to print 10 to 1 if the input have only 10 digit number?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What rules are to be followed while using the corresponding options?
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?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Which mode is used to operate the sequential file?
What are the access modes of START statement?
What are different data types in cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is amode(24)?
Define static linking and dynamic linking.
What is a report item?
What is the difference between external and global variables in COBOL?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?