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
What is perform what is varying?
What is the LINKAGE SECTION used in COBOL?
How do you reference the fixed block file formats from cobol programs
Define cobol?
Write a program to explain size error.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is redefines clause in COBOL?
What are all the divisions of a COBOL program?
Write the code to count the sum of n natural numbers.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How do you differentiate between cobol and cobol-ii?
What is amode(31)
HOw can I get the negative sign while deduct high value from low value
How do you define a variable of comp-1 and comp-2?