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


Please Help Members By Posting Answers For Below Questions

What is perform what is varying?

701


What is the LINKAGE SECTION used in COBOL?

885


How do you reference the fixed block file formats from cobol programs

699


Define cobol?

856


Write a program to explain size error.

669






i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1765


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1912


What is redefines clause in COBOL?

844


What are all the divisions of a COBOL program?

660


Write the code to count the sum of n natural numbers.

697


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

670


How do you differentiate between cobol and cobol-ii?

651


What is amode(31)

716


HOw can I get the negative sign while deduct high value from low value

1784


How do you define a variable of comp-1 and comp-2?

701