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
declare
01 NAME2 PIC X(13) RIGHT JUSTFIED.
MOVE NAME1 TO NAME2.
DISPLAY NAME2.
| Is This Answer Correct ? | 1 Yes | 13 No |
Post New Answer View All Answers
Define cobol?
Give some examples of command terminators?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
explain sorting techniques in cobol program?
What rules are followed by the search verb.
What is a SSRANGE and NOSSRANGE?
Define static linking and dynamic linking.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
how to convert the recors form vsam file to db2 table tru file aid
What is the difference between Global and External Variables?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Can we redefine the field of x(200) to less than 200?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How do define dynamic array in cobol.
What guidelines should be followed to write a structured cobol prgm?