01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING".
01 NAME2 PIC X(13).
now I want to display the value of NAME1 in reverse order
i.e value should be displayed as "GNIMMARGORP LOBOC"
HOW can I do that ??? please let me know if any one knows
it.
Answer Posted / elizabeth
Using reference modification each character can be
extracted and placed in the next string in any order
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What are all the divisions of a COBOL program?
What is the difference between Call and a Link?
Whats the difference between search & search ALL?
How do you reference the following file formats from cobol programs?
Why would you use find and get rather than to obtain?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What are the different rules for performing sort operation?
How do you differentiate between cobol and cobol-ii?
How are the next sentence and continue different from each other?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What are the pertinent COBOL commands?
Write down the divisions of cobol program?