01 x pic s9(8) comp.
How will the following value be internally allocated
'18787'
Answer Posted / sheeba
hey acording to me...its 4 bytes.... if we convert the
above value to binary format dats how it stores rite
so...2power4(1
)+2p3(8)+2p2(7)+2p1(8)+2p0(7)=131....so 3 bytes...and 1
unused... totally 4 bytes......
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is the usage of comp fields in cobol?
What is the local-storage section?
What is the difference between PIC 9.99 and PIC9v99?
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 print 10 to 1 if the input have only 10 digit number?
Whats the difference between search & search ALL?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What do you understand by psb and acb?
Write a program to enter and display the names of students in a class using the occurs clause.
what is the use of outrecord?
What is a scope terminator give example?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is the difference between binary search and sequential search?
What are different data types in cobol?
What is the compute verb? How is it used?