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 / satya
As per my knowledge we can solve this problem with use of
STRING AND UNSTRING commands,first UNSTRING the give string
and add all the characters according to our choice by using
STRING COMMAND.
Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is perform what is varying?
How do you define a variable of comp-1 and comp-2?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Which division and paragraphs are mandatory for a COBOL program?
what are decleratives in cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the problem of ordered sequential files access?
how do you define single dimensional array and multidimensional array in your cobol?
How many bytes S(8) comp field occupy and its maximum value?
What is cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
what is the difference between COBOL2 AND COBOL390?
In COBOL, what is the different between index and subscript?