a pic s9(4) comp
b pic s9(4) comp-3
c ????????????????
d ????????????????
move a to c
add a+B giving d.
what is ur declaration for c,d?
Answer Posted / abhay
C should be declared as S9(04)
D should be declared as s(05)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Explain what you understand by passing by value.
What is the usage of comp fields in cobol?
what is the use of outrecord?
In COBOL, what is the different between index and subscript?
What is the difference between next sentence and continue in cobol programing language?
Which Search verb is equivalent to PERFORM…VARYING?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What the difference is between continue and next sentence?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
how to refer the data field?
Differentiate between structured cobol programming and object-oriented cobol programming.
Write the code implementing the perform … varying.
When is inspect verb is used in cobol?