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
What are the rules of the move verb?
What is report-item in COBOL?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
IF I mention stop run in CICS what happens?
What are different data types in cobol?
What are the different types of condition in cobol and write their forms.
how to refer the data field?
Write a program that uses move corresponding.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Write a program to explain size error.
what happens if parmparameter passes zero bytes to the program
Which mode is used to operate the sequential file?
Write the code implementing the perform … varying.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there