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
What type of SDLC u followed? Why?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
how to access the file from prodution from changeman tool and to submit a file to production
In which area will you utilize 88 level items in cobol?
Can you please let me know the centre name of INS certification in Kolkata.
How many bytes S(8) comp field occupy and its maximum value?
Which division and paragraphs are mandatory for a COBOL program?
Difference between array and sub-script ?
how do you reference the variable unblock file formats from cobol programs
What the difference is between continue and next sentence?
How are the next sentence and continue different from each other?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is perform what is varying?
What is the compute verb? How is it used?