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
Name the sections present in data division.
) what is the difference between AID and HANDLE AID?
What is the difference between external and global variables in COBOL?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the LINKAGE SECTION used in COBOL?
Explain the configuration section of a cobol program with examples of syntax.
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
Which division and paragraphs are mandatory for a COBOL program?
How can you get the ksds file records into your cobol program?
Mention the guidelines to write a structured cobol program?
What is comp-1 and comp-2?
how do you define single dimensional array and multidimensional array in your cobol?
Are you comfortable in cobol or jcl?
What is the difference between Call and a Link?