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

Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2245


How to know whether the module is dynamical or statistical?

882


How you can characterize tables in cobol?

935


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

925


Can a Search can be done on a table with or without Index?

1058


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

940


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

992


example for sub strings ? and refernce modifications whit output pls

2080


What is a scope terminator give example?

844


What is comp-1 and comp-2?

948


A table has two indexes defined. Which one will be used by the SEARCH?

1030


Name the divisions, which are available in a cobol program?

934


How many sections are there in data division in COBOL?

902


What is the compute verb? How is it used?

858


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2884