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
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
In COBOL programming, what is PERFORM? What is VARYING?
) how do u code after getting data?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is a scope terminator give example?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Explain how you can characterize tables in cobol?
Write the code implementing the perform … varying.
What are all the divisions of a COBOL program?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are the pertinent COBOL
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is the difference between Call and a Link?