While VARCHAR
Infomix type is limited to 255 chars I would use LVARCHAR
type which is limited to 32,739 bytes.
The 2nd problem is (1024 char)
which means that Oracle can save 1024 chars. In encoding like UTF-8 this is not equal to 1024 bytes. For example Polish letters: ąęćŃŻŚ are saved with 2 bytes so text with 1024 Polish letters will use 2048 bytes.
Informix uses bytes length so you must know your encoding and data. For Polish text in UTF8 encoding I would translate varchar2(1024 char)
into lvarchar(2048)
.