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
What are the access modes of START statement?
i want a program using by if, evaluate , string, unstring, perform, occurs?
) what is the difference between AID and HANDLE AID?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the difference between structured cobol programming and object alternativelyiented cobol?
How do get the result of your program directly on your pc?
How do we get current date from system with century in COBOL?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Write the code to count the sum of n natural numbers.
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What rules are to be followed while using the corresponding options?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the difference between external and global variables in COBOL?
What is the difference between goback, stop run and exit program in cobol?