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 / jyoti prakash
Ans is D and this 100% proof i have tested
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
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?
In COBOL, what is the different between index and subscript?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Why did you choose to work with ibm mainframe cobol programming?
What is rmode(24)
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
I have a File that has duplicate records. I need only those records that occur more than thrice.?
example for sub strings ? and refernce modifications whit output pls
A table has two indexes defined. Which one will be used by the SEARCH?
what is the use of outrecord?
How do get the result of your program directly on your pc?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)