Suppose i want to declare a binary comp fild of 7 byte .how
to write?

Answer Posted / ankit

hi i think you cannot declare binary comp of 7 bytes
exactly as the comp variable are fixed to half(2 bytes)
word,full word(4 bytes) and double word(8 bytes), so you
need to choose the paricular comp variable to use ok
correct me if i am wrong

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the code implementing the perform … varying.

822


Explain the configuration section of a cobol program with examples of syntax.

865


Describe the cobol database components?

889


What is the difference between binary search and sequential search?

854


Whats the difference between search & search ALL?

5882


What type of SDLC u followed? Why?

1728


what is search and searchall?what is the diffrence between them?give an best example?

6184


What are the different data types in cobol?

1044


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1075


what is the use of outrecord?

1970


What is the compute verb? How is it used?

852


In COBOL programming, what is PERFORM? What is VARYING?

869


What is inspect in cobol ?

1010


What is the difference between Call and a Link?

891


For rewrite, why is it mandatory that file needs to be opened?

839