Re: 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 / praveen ellur
Reverse function in Cobol will do this for u.
Here is the syntax.
FUNCTION REVERSE ('COBOL PROGRAMMING')
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How you can read the file from bottom?
What is the difference between binary search and sequential search?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What are the different rules of SORT operation?
For rewrite, why is it mandatory that file needs to be opened?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What do you understand by psb and acb?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What are the different types of condition in cobol and write their forms.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is rmode(any) ?
Discuss about changing dataset name in proc.
how do you reference the rrds file formats from cobol programs
how to move the records from file to array table. give with code example