consider the following piece of code
01 GROUP-ITEM
05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50
05 AMOUNT-2 PIC 9(4)V99 USAGE COMP
MOVE ZERO TO GROUP-ITEM
ADD 50 TO AMOUNT-1
what will be the content of AMOUNT-1?
a.50
b.100
c.0
d.unpredictable

Answer Posted / man

d. unpredictable

GROUP-ITEM is considered as alphanumeric. You can only
initialise a group item.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between PIC 9.99 and 9v99 in COBOL?

987


What is the difference between goback, stop run and exit program in cobol?

1238


How to remove 2 duplicate records and copy only one using job control language?

971


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

1058


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.

6098


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

912


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

972


What is the difference between next sentence and continue in cobol programing language?

958


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1893


What is the local-storage section?

892


Give some examples of command terminators?

953


how do you define single dimensional array and multidimensional array in your cobol?

868


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

949


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2215


How many bytes S(8) comp field occupy and its maximum value?

1859