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
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Describe the cobol database components?
Which is not true about evaluate statement
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Name some of the examples of COBOl 11?
How do we get current date from system with century in COBOL?
What are declaratives and what are their uses in cobol?
What are the different data types in cobol?
Explain what you understand by passing by value.
What are the pertinent COBOL commands?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
) what is the difference between AID and HANDLE AID?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Mention the guidelines to write a structured cobol program?