After adding a Dataview to the resource section of a program, compiling the CA IDEAL program gives following error:
#0-1-IDADERRP99E - INTERR: Internal system error
LOGMSG: Not preceded by ENDBLK, blk# 00010
1-IDADERRP99E - INTERR: Internal system error
Block len exceeds max 32100, TYPE "D", blk# 00018
The LOGMSG: Not preceded by ENDBLK, blk#00010 can mean of 4 things:
- The limit of 1600 data items has been exceeded.
- One data item exceeds 32K
- The request area of 1 FOR construct exceeds 32K or
- The QQQTMP has exceeded 32K. Request areas of FOR constructs are added to the QQQTMP control block. This control block cannot exceed 32K. The limit on the total size of ALL qualifications in a single program is 32K.
The way to get around this is to split up this program so the FOR constructs are spread over multiple subprograms.