Message DB004045 can be misleading.
Attempting to define an INDEX SYMBOLIC may return a DB004045 message.
When defining a physical area in a segment, the following message is possible:
*+ DB004045 T89 C-4M6016: SYMBOLIC INDEX TEST1 Page Count is invalid
What this really means is that the DISPLACEMENT figure on the index symbolic TEST1 is greater than 32767. The field is a halfword and cannot be greater than 2 ** 15 – 1.
Note: If a similarly invalid DISPLACEMENT is specified directly on a schema SET definition, the following message is issued:-
*+ E DC601025 INVALID INTEGER WORD 9