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 / ashok
i have tried it, the answer is D unpredictable
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Write the code to count the sum of n natural numbers.
When is inspect verb is used in cobol?
Describe the cobol database components?
What are the different data types in cobol?
What are the rules of the move verb?
) How do u handle errors in BMS macro
What is the compute verb? How is it used?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
How to know whether the module is dynamical or statistical?
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.
how do you reference the fixed unblock file formats from cobol programs
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
what are decleratives in cobol?