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 / shan
A.50
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is rmode(24)
Can we redefine the field of x(200) to less than 200?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What are the rules of the move verb?
Can we change the password using ALTER? anyone tried and changed?
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 difference between Global and External Variables?
what happens if parmparameter passes zero bytes to the program
What are the pertinent COBOL
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is the Purpose of Pointer in the string?
How are the next sentence and continue different from each other?
How do you define a variable of comp-1 and comp-2?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?