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
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.
How to know whether the module is dynamical or statistical?
How you can characterize tables in cobol?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Can a Search can be done on a table with or without Index?
Write the code to count the sum of n natural numbers.
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
example for sub strings ? and refernce modifications whit output pls
What is a scope terminator give example?
What is comp-1 and comp-2?
A table has two indexes defined. Which one will be used by the SEARCH?
Name the divisions, which are available in a cobol program?
How many sections are there in data division in COBOL?
What is the compute verb? How is it used?
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