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
Describe the cobol database components?
How do you get the data to code the BMS macro?
What is Pic 9v99 Indicates in COBOL?
What is the usage of comp fields in cobol?
Define cobol?
How do we get current date from system with century in COBOL?
What are the different types of condition in cobol and write their forms.
What rules are followed by the search verb.
What kind of error is trapped by on size error option?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How many sections are there in data division in COBOL?