COMP field occupy ?

Answer Posted / anil prajapati

internally it will store space like as
s9(n) comp where n is as
0-4 --->2 bytes
5-9 --->4 bytes
10-18 ---> 8 bytes

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the local-storage section?

672


What the difference is between continue and next sentence?

651


How to print 10 to 1 if the input have only 10 digit number?

804


how do you reference the variable unblock file formats from cobol programs

735


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

625






i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

885


What rules are followed by the search verb.

629


Define cobol?

854


Give some examples of command terminators?

749


Difference between array and sub-script ?

1155


) How do u handle errors in BMS macro?

1418


IF I mention stop run in CICS what happens?

1886


What is the use of intialize verb?

738


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

923


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

408