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.
Answers were Sorted based on User's Feedback
Answer / rajul
declare
01 NAME2 PIC X(13) RIGHT JUSTFIED.
MOVE NAME1 TO NAME2.
DISPLAY NAME2.
| Is This Answer Correct ? | 1 Yes | 13 No |
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
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How you can read the file from bottom?
What does MAXCC 3 means? It is used in one my codes.
can i use multiple when statements in search & search all ? justify ur answer?
What is the difference between Structured COBOL Programming and Object Oriented COBOL ?
where will u code file status ?
Explain call by context by comparing it to other calls.
What is difference between static and dynamic call in cobol?
consider the following PROCEDURE DIVISION entry OPEN EXTEND IN-FILE identify the correct statement a.organization of IN-FILE is sequential and records can be added in the beginning b.organization of IN-FILE is sequential and records can be added in the end c.organization of IN-FILE is indexed and records can be added in the beginning d.organization of IN-FILE is indexed and records can be added in the end
How can you display the SPOOL information ?
) How do you access the migrate the data from production region to development region