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 / rama krishna

b. since PIC 9(5) = 01000
and PIC 9(3) = 250

Hence the result is 01000250

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1221


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2482


What is the difference between Global and External Variables?

1293


Whats the difference between search & search ALL?

6364


How do you define a variable of comp-1 and comp-2?

1135


What are the access modes of START statement?

1187


Explain about different table spaces.

1047


What is rmode(24)

1099


State the various causes of s0c1, s0c5 and s0c7.

1026


What kind of error is trapped by on size error option?

1176


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

1230


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

1016


Write down the divisions of cobol program?

1149


what is amode(24), amode(31), rmode(24) and rmode(any)?

1092


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

1142