Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

how can i see junk values in dclgen or in hostvariable of comp ?

3049


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1218


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

1263


What rules are to be followed while using the corresponding options?

1125


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

2395


What is the problem of ordered sequential files access?

1207


Difference between cobol and cobol-ii?

1343


What is a report item?

1194


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

3317


What is static and dynamic call in cobol?

1115


i need a small 3d program using inline and outline.

2262


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

1159


how do you reference the ksds vsam file formats from cobol programs

1245


What are literals?

1184


What are the different rules to perform a Search?

1141