IBM DB400 Question: Download Questions PDF
Maximum how many fields we can create under a record format of PF?
![IBM DB400 Interview Answer IBM DB400 Interview Question](https://globalguideline.com/public/images/interview/2.png)
Answer:
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)
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)
Download IBM DB400 Interview Questions And Answers
PDF
Previous Question | Next Question |
How many max. Record format a logical file have? | Last statement of any RPG pgm is LR? |