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 / tarun nigam
Since the over all PIC of Gross-Pay is 9(8). The value of
Gross Pay would be 01000250 i.e. the answer (B) is correct
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Why would you use find and get rather than to obtain?
What are the different open modes available in cobol?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
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 utilization of copybook in cobol? Could we utilize a similar copybook?
What are various search techniques in cobol? Explain.
how do you reference the fixed unblock file formats from cobol programs
What is difference between static and dynamic call in cobol?
In which area will you utilize 88 level items in cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the difference between perform … with test after and perform … with test before?
How do get the result of your program directly on your pc?
Difference between cobol and cobol-ii?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Have you used comp and comp-3 in your project? And how?