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 / lu

before answering this questions, i say "you need to code
PROPERLY, CORRECTLY" ok ....you add S9() comp to S9() comp.
comp-3 with comp-3...ok...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which division and paragraphs are mandatory for a COBOL program?

701


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1892


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

619


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

631


how do you reference the ksds vsam file formats from cobol programs

645






What guidelines should be followed to write a structured cobol prgm?

659


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

696


Can we redefine the field of x(200) to less than 200?

805


Name the sections present in data division.

691


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2713


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

689


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5652


Can we change the password using ALTER? anyone tried and changed?

1533


What is the difference between perform … with test after and perform … with test before?

863


Can a Search can be done on a table with or without Index?

795