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
Explain how you can characterize tables in cobol?
What is an in line perform? When would you use it? Anything else you wish to say about it.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
Have you used comp and comp-3 in your project? And how?
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.
For rewrite, why is it mandatory that file needs to be opened?
What is redefines clause in COBOL?
What are the different types of condition in cobol and write their forms.
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the compute verb? How is it used?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
explain sorting techniques in cobol program?
What are the pertinent COBOL commands?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How do u write test cases?