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
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Explain how you can characterize tables in cobol?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
When is inspect verb is used in cobol?
Difference between array and sub-script ?
How do we get current date from system with century in COBOL?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
) what is the difference between AID and HANDLE AID?
What are the cobol coding sheets?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
how do you reference the variable block file formats from cobol programs
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there