01 a pic 9(3) value is 123
01 b pic 9(6)
move a to b
wht will be the value ? and
01 a pic x(6) value is abc
01 b pic x(3)
move a to b
wht will be the value ?
Answer Posted / pradip
1.
000123
2.
abc---
Well arthi, here - stands for blank space, correct me if am
wrong
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
what is the difference between COBOL2 AND COBOL390?
How arrays can be defined in COBOL?
What are all the divisions of a COBOL program?
What are the various section in data division and briefly explain them.
In which area will you utilize 88 level items in cobol?
What the difference is between continue and next sentence?
What are the different open modes available in cobol?
Difference between array and sub-script ?
Can we redefine the field of x(200) to less than 200?
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.
How do define dynamic array in cobol.
What is difference between static and dynamic call in cobol?
What is the difference between perform … with test after and perform … with test before?
Mention the guidelines to write a structured cobol program?
What is a scope terminator give example?