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

What are the pertinent COBOL

2041


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

672


how do you reference the esds vsam file formats from cobol programs

627


IF I mention stop run in CICS what happens?

1891


What is redefines clause in COBOL?

844






Mention the guidelines to write a structured cobol program?

614


What are the different rules of SORT operation?

693


Name the sections present in data division.

697


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

800


what is the use of outrecord?

1768


how to access the file from prodution from changeman tool and to submit a file to production

6680


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

853


What is the difference between Global and External Variables?

660


What are the access modes of START statement?

716


What are the different rules to perform a Search?

613