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


Please Help Members By Posting Answers For Below Questions

can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1944


Describe the cobol database components?

669


Give some examples of command terminators?

749


How are the next sentence and continue different from each other?

753


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

619






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

1757


Can you please let me know the centre name of INS certification in Kolkata.

1708


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

2716


How to know whether the module is dynamical or statistical?

648


What are literals?

622


What rules are followed by the search verb.

629


What is the Purpose of POINTER Phrase in STRING command in COBOL?

709


What is the difference between Call and a Link?

690


When is inspect verb is used in cobol?

666


What is the difference between perform … with test after and perform … with test before?

865