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 / devraj pradhan

as per my knowledge this problem can be solve by STRING AND
UNSTRING COMMAND as in that there is REPLACING option is
there by which any string can be replace in reverse order

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between external and global variables in COBOL?

1073


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9279


Can you please let me know the centre name of INS certification in Kolkata.

1969


What are the pertinent COBOL

2259


how do you reference the rrds file formats from cobol programs

1179


What is the difference between PIC 9.99 and 9v99 in COBOL?

1006


Can we redefine the field of x(200) to less than 200?

1135


How many bytes S(8) comp field occupy and its maximum value?

1876


how do you reference the fixed unblock file formats from cobol programs

956


how do you reference the variable unblock file formats from cobol programs

1037


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2996


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.

1203


Discuss about changing dataset name in proc.

982


IF I mention stop run in CICS what happens?

2122


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2211