Answer Posted / sravani
using strings we can move a value from one variable to one or more variables.
01 a pic a(3) value 'new'.
01 b pic a(3).
p.division
string a delimited by size to b.
display b.
ans: new
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How to know whether the module is dynamical or statistical?
What is comp-1 and comp-2?
What is the problem of ordered sequential files access?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How do you differentiate between cobol and cobol-ii?
Can we redefine the field of x(200) to less than 200?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
) what is the difference between AID and HANDLE AID?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Explain the configuration section of a cobol program with examples of syntax.
what are decleratives in cobol?
What rules are followed by the search verb.
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Give some examples of command terminators?