Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / sudheer
COmp will take 2byte pic size-1-4
4byte pic size 5-9
8byte pic size 10-18
if we use comp-3 it will take n/2+1/2 byte extra for sign if
pic is odd no.if it is even it will take n/2.
my answer is 8 bytes
pls let me know if any thng wrong
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Which mode is used to operate the sequential file?
i need a small 3d program using inline and outline.
What are the pertinent COBOL
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
how to convert the recors form vsam file to db2 table tru file aid
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How do you reference the following file formats from cobol programs?
what is difference between cobol and cobol/400
How to print 10 to 1 if the input have only 10 digit number?
how do you reference the ksds vsam file formats from cobol programs
What is the problem of ordered sequential files access?
In COBOL, what is the different between index and subscript?
What is the difference between PIC 9.99 and PIC9v99?
What is the difference between comp and comp-3 usage?
What guidelines should be followed to write a structured cobol prgm?