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 / arthi
1.
000123
2.
abc
Ravi, I guess you didnt mean the '-' as a minus sign in front of 000123, and abc. your answer is not clear enough.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
Which mode is used to operate the sequential file?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Which division and paragraphs are mandatory for a COBOL program?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
how do you define single dimensional array and multidimensional array in your cobol?
How do u write test cases?
What is Pic 9v99 Indicates in COBOL?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to print 10 to 1 if the input have only 10 digit number?
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
What are different data types in cobol?
Discuss about changing dataset name in proc.
Write a program to explain size error.
what are decleratives in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?