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 / ravi
Answer to first question is -000123
and answer to second question is -abc
Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
how do you reference the rrds file formats from cobol programs
IF I mention stop run in CICS what happens?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Which mode is used to operate the sequential file?
What is rmode(any) ?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is the difference between comp and comp-3 usage?
In COBOL programming, what is PERFORM? What is VARYING?
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
) How do u handle errors in BMS macro?
What are the different rules to perform a Search?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is amode(31)
What is the difference between comp and comp-3?