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
how do you reference the esds vsam file formats from cobol programs
For rewrite, why is it mandatory that file needs to be opened?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
how do you reference the ksds vsam file formats from cobol programs
What is inspect in cobol ?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the difference between Global and External Variables?
IF I mention stop run in CICS what happens?
What are the different rules of SORT operation?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
) how do u code after getting data?
How to print 10 to 1 if the input have only 10 digit number?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are the different open modes available in cobol?
What guidelines should be followed to write a structured cobol prgm?