consider the following piece of code

01 GROSS-PAY
05 BASIC-PAY PIC 9(5)
05 ALLOWENCES PIC 9(3)
if BASIC-PAY has a value 1000 and ALLOWENCES has a value
of 250,what will be
displayed by the statement
DISPLAY GROSS-PAY
a.1250
b.01000250
c.01250
d.1.250

Answer Posted / ajith

(b)

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2120


What are the different types of condition in cobol and write their forms.

659


What are the pertinent COBOL

2045


What is the difference between PIC 9.99 and 9v99 in COBOL?

732


Write a program that uses move corresponding.

673






What is the difference between binary search and sequential search?

643


What is a scope terminator give example?

657


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825


how to convert the recors form vsam file to db2 table tru file aid

2763


How arrays can be defined in COBOL?

664


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

423


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

859


What is static and dynamic call in cobol?

597


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2661


Explain what you understand by passing by value.

702