study the following
01 A PIC 99V0 VALUE 5
01 B PIC 9V9 VALUE 6
01 C PIC 99V9 VALUE 2.5
01 D PIC 99 VALUE 3
COMPUTE A ROUNDED B C = A+B*C/D
ON SIZE ERROR PERFORM PRINT-ERROR
the comments of A.B.C after execution of the above
statement are
a.A=10 B=0 C=10
b.A=10 B=9.9 C=9.9
c.A=10 B=0 C=9.9
d.A=10 B=6 C=10
Post New Answer View All Answers
What is rmode(any) ?
how do you reference the printer file formats from cobol programs
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is static and dynamic call in cobol?
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
State the various causes of s0c1, s0c5 and s0c7.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is link edit in cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is difference between static and dynamic call in cobol?
How are the next sentence and continue different from each other?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between next sentence and continue in cobol programing language?
Can you please let me know the centre name of INS certification in Kolkata.