how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?
Answer Posted / 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 |
Post New Answer View All Answers
Difference between array and sub-script ?
What are the different data types in cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What are the different types of condition in cobol and write their forms.
What is an in line perform? When would you use it? Anything else you wish to say about it.
Difference between cobol and cobol-ii?
What is the difference between goback, stop run and exit program in cobol?
When is inspect verb is used in cobol?
Which Search verb is equivalent to PERFORM…VARYING?
Which division and paragraphs are mandatory for a COBOL program?
What rules are followed by the search verb.
What is the difference between PIC 9.99 and 9v99 in COBOL?
how to convert the recors form vsam file to db2 table tru file aid
What is cobol?
) how do u code after getting data?