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

Answers were Sorted based on User's Feedback



consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05..

Answer / 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

consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05..

Answer / 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

consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05..

Answer / ajith

(b)

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More COBOL Interview Questions

What does the initialize statement do ?

2 Answers  


Q:what is the difference between the variable length and fixed lenght.how it varies in the cobol.

12 Answers   CTS, Wipro,


77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?

9 Answers   TCS,


which generation language is cobol

4 Answers   Kanbay,


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

0 Answers  


If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?

2 Answers  


What is the difference between Call and a Link?

0 Answers  


Which is the best IBM mainframe Training Institute in Ameerpet, Hyderabad

35 Answers  


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

0 Answers  


What is different between variable length and fixed length?

2 Answers   TCS,


What is the difference between comp and comp-3?

0 Answers  


wht is packed decimal in cobol

2 Answers  


Categories