I am getting the following error when trying to rebuild a file from vision version 5 to version 3 - "Invalid function parameter"
We are using runtime version 9.1.2.
Here is more info on the file :
ASSIGN TO RANDOM MIS2NAME
WITH ENCRYPTION COMPRESSION
COMPRESSION CONTROL VALUE 70
ORGANIZATION IS INDEXED
ACCESS MODE IS DYNAMIC
LOCK MODE IS AUTOMATIC
FILE STATUS IS DSTAT
RECORD KEY IS MIS2KEY-NEW.
*(( XFD FILE = MIS2FL ))
FD MIS2FL EXTERNAL
RECORD IS VARYING IN SIZE FROM 610 TO 29689 CHARACTERS.
The FD consists of multiple record layouts.
Does anybody know why this happens?
I have now realized that the record length of one of the records is really > 32767 bytes which is the limit. The compiler does not complain but I guess the big record is breaking the rebuild to vision version 3.
What would be the best way to address this problem?
I can define the size > 32767 when not using the bench designer and using the -ZI compiler option.
I can however still not rebuild the file to vision version 3. Still get the message "Invalid function parameter"
"Invalid function parameter"