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
just define
01 name2 picX(13) right justified.
and then use move stmt
move name1 to name2.
| Is This Answer Correct ? | 2 Yes | 13 No |
Post New Answer View All Answers
Difference between array and sub-script ?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
what is amode(24), amode(31), rmode(24) and rmode(any)?
) how do u code after getting data?
Define cobol?
how to move the records from file to array table. give with code example
What is report-item in COBOL?
What are the access modes of START statement?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is inspect in cobol ?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What is a scope terminator give example?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How many bytes S(8) comp field occupy and its maximum value?