how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
what will happen if i give program name and member name as different? program runs successful or w'll abend?
what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?
how would you resolve sb37 and SE37?
Why would you use find and get rather than to obtain?
hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful or not in the program.? i gave rewrite, the rewrite code is executing and maxcc=0 but updation doenot happen in the file?
What is rmode(any) ?
Explain how you can characterize tables in cobol?
What is difference between COBOL and VS COBOL II?.
how do you reference the esds vsam file formats from cobol programs
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
copy 100 records without using ibm utilities
If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value