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 / satya
As per my knowledge we can solve this problem with use of
STRING AND UNSTRING commands,first UNSTRING the give string
and add all the characters according to our choice by using
STRING COMMAND.
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What is cobol?
What are the different rules of SORT operation?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What are various search techniques in cobol? Explain.
How you can read the file from bottom?
Can we change the password using ALTER? anyone tried and changed?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
how do you reference the fixed unblock file formats from cobol programs
Write a program to explain size error.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
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?
Why occurs cannot be used in 01 level in COBOL?
) How do u handle errors in BMS macro?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?