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 / rajul
declare
01 NAME2 PIC X(13) RIGHT JUSTFIED.
MOVE NAME1 TO NAME2.
DISPLAY NAME2.
| Is This Answer Correct ? | 1 Yes | 13 No |
Post New Answer View All Answers
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
Write the code implementing the perform … varying.
What is rmode(24)
How do you differentiate between cobol and cobol-ii?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
State the various causes of s0c1, s0c5 and s0c7.
how do you define single dimensional array and multidimensional array in your cobol?
how do you reference the variable block file formats from cobol programs
What is static and dynamic call in cobol?
what is search and searchall?what is the diffrence between them?give an best example?
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 we sort two input files based on a common column and giving one o/p file please send me the coding logic?
When is inspect verb is used in cobol?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are the different types of condition in cobol and write their forms.