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


Please Help Members By Posting Answers For Below Questions

How can you get the ksds file records into your cobol program?

636


what happens if parmparameter passes zero bytes to the program

1653


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1921


Can a Search can be done on a table with or without Index?

798


When is inspect verb is used in cobol?

669






How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

558


Explain what you understand by passing by value.

688


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1642


What do you understand by psb and acb?

659


what is amode(24), amode(31), rmode(24) and rmode(any)?

688


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17024


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

639


What are 77 levels used for?

652


What is the Purpose of POINTER Phrase in STRING command in COBOL?

711


) how do u code after getting data?

1578