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...


how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?

Answers were Sorted based on User's Feedback



how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?..

Answer / rana

COMP1 and COMP2 are the Single precision (Full word - 4
bytes) and Double precision (Double word - 8 bytes)
respectively.
They don't contain the Picture Clause.

COMP-3 will contain 8 Bytes.

Is This Answer Correct ?    30 Yes 4 No

how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?..

Answer / shiva

COMP1-IT OCCUPIES 4 BYTES TO STORE UP TO 18 CHARACTERS
COMP2-IT OCCUPIES 8 BYTE TO STORE UP TO 18 CHARACTERS
COMP3-IT OCCUPIES HALF BYTE FOR EACH CHARACTER AND HALF BYTE
FOR SIGN...FOR ODD DATA LENGTH SO IT OCCUPIES
(15/2=7.5)+(1/2)=7.5+0.5=8 BYTES.

Is This Answer Correct ?    21 Yes 1 No

how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?..

Answer / srinivasa yadav

COMP1 : IT TAKES 4 BYTES OF MEMORY.
COMP2 : IT TAKES 8 BYTES OF MEMORY.
COMP3 : IT TAKES 8 BYTES OF MEMORY.

Is This Answer Correct ?    18 Yes 2 No

how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?..

Answer / raghunathareddy

3bytes

Is This Answer Correct ?    3 Yes 28 No

Post New Answer

More COBOL Interview Questions

How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB

6 Answers   Polaris,


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

0 Answers  


why we are using picture clause in the cobol programs?

2 Answers  


consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.

5 Answers  


what is meant by binary search?

4 Answers  


diffrence between z(2) and z9(2)

4 Answers   Cap Gemini,


What are the divisions in a cobol program? Which one is the mandatory division among them?

1 Answers  


i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."

4 Answers   CSC,


What is "Call by content" and "call by reference"?

4 Answers   ADP, Syntel,


) how do u code after getting data?

0 Answers   IBM,


how we can edit records in vsam data set and non vsam data sets

2 Answers   ACS,


in the TIME parameter we r giving hours r minutes

4 Answers   IBM,


Categories