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 / jyotiprakash8
a is write ans
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
explain sorting techniques in cobol program?
What rules are to be followed while using the corresponding options?
what is the difference between COBOL2 AND COBOL390?
How arrays can be defined in COBOL?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
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 there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
In COBOL, what is the different between index and subscript?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the utilization of copybook in cobol?
What are the different rules for performing sort operation?
State the various causes of s0c1, s0c5 and s0c7.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the difference between binary search and sequential search?
What is the compute verb? How is it used?