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


Please Help Members By Posting Answers For Below Questions

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?

685


In COBOL, what is the different between index and subscript?

745


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

846


Why did you choose to work with ibm mainframe cobol programming?

619


What is rmode(24)

669






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?

6776


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1010


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8585


example for sub strings ? and refernce modifications whit output pls

1829


A table has two indexes defined. Which one will be used by the SEARCH?

738


what is the use of outrecord?

1759


How do get the result of your program directly on your pc?

1868


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

694


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

698


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2711