Answers

Question and Answer:

  Home  IBM DB400

⟩ Maximum how many fields we can create under a record format of PF?

We can give max of 8000 fields in rec format of a PF.But it

also depend on the no. of bytes occupied by the record

formate.Because rec. format of PF may occupy atmax 32766

bytes.ie if there is only one field which occupy 32766

bytes then we can't define a new field in record format.

so it depend on the no. of bytes occupied by the field

defined in the record format.

Ex.

Char field - max value(32766 bytes)

variable length field - max value(32740 bytes)

allow null field - max value(32765)

variable & allownull field - max value(32739)

 117 views

More Questions for you: