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 / rajul
just define
01 name2 picX(13) right justified.
and then use move stmt
move name1 to name2.
| Is This Answer Correct ? | 2 Yes | 13 No |
Post New Answer View All Answers
how do you reference the variable block file formats from cobol programs
Can you please let me know the centre name of INS certification in Kolkata.
how to move the records from file to array table. give with code example
Name the divisions, which are available in a cobol program?
Explain how to differentiate call by context by comparing it to other calls?
For rewrite, why is it mandatory that file needs to be opened?
Name the sections present in data division.
What is the difference between external and global variables in COBOL?
What is an in line perform? When would you use it? Anything else you wish to say about it.
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Describe the cobol database components?
Can a Search can be done on a table with or without Index?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?