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 occurs cannot be used in 01 level in COBOL?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is perform what is varying?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
how do you reference the printer file formats from cobol programs
How to know whether the module is dynamical or statistical?
Can you please let me know the centre name of INS certification in Kolkata.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
how to move the records from file to array table. give with code example
HOw can I get the negative sign while deduct high value from low value
What is the difference between Global and External Variables?
Name the sections present in data division.
Write the code to count the sum of n natural numbers.