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
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Write the code implementing the perform … varying.
How you can characterize tables in cobol?
How are the next sentence and continue different from each other?
How do get the result of your program directly on your pc?
What is the Purpose of Pointer in the string?
How do you get the data to code the BMS macro?
Write the code to count the sum of n natural numbers.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
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
What guidelines should be followed to write a structured cobol prgm?
how do you reference the fixed unblock file formats from cobol programs
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
Explain about different table spaces.
What is a report item?