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 / devraj pradhan
as per my knowledge this problem can be solve by STRING AND
UNSTRING COMMAND as in that there is REPLACING option is
there by which any string can be replace in reverse order
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
what is amode(24), amode(31), rmode(24) and rmode(any)?
Explain the configuration section of a cobol program with examples of syntax.
Mention the guidelines to write a structured cobol program?
what is the use of outrecord?
how to access the file from prodution from changeman tool and to submit a file to production
What is the difference between structured cobol programming and object alternativelyiented cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is perform what is varying?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
For rewrite, why is it mandatory that file needs to be opened?
What are the pertinent COBOL
What are the pertinent COBOL commands?
Difference between cobol and cobol-ii?
Can a Search can be done on a table with or without Index?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.