Without using move verb how to move one variable to another.
Answer Posted / bala
We can do this in multiple ways.
1) Using UNSTRING
2) COMPUTE
3) Also, REFERENCE MODIFICATION i.e, if XYZ is a variable with value 'all interview' then
A = XYZ(1:3) moves the first 3 characters of XYZ variable to A.
i.e, A value will be 'all'
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
what is difference between cobol and cobol/400
What is the usage of comp fields in cobol?
) How do u handle errors in BMS macro
What are various search techniques in cobol? Explain.
How arrays can be defined in COBOL?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is the compute verb? How is it used?
Name some of the examples of COBOl 11?
What is Pic 9v99 Indicates in COBOL?
Name the divisions, which are available in a cobol program?
Which division and paragraphs are mandatory for a COBOL program?
what are decleratives in cobol?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Write some characteristics of cobol as means of business language.
How are the next sentence and continue different from each other?