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
In which area will you utilize 88 level items in cobol?
Mention the guidelines to write a structured cobol program?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Write the code to count the sum of n natural numbers.
how do you reference the fixed unblock file formats from cobol programs
What are the access modes of START statement?
What are the different types of condition in cobol and write their forms.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What are the cobol coding sheets?
i need a small 3d program using inline and outline.
Discuss about changing dataset name in proc.