Columns of BYTE and TEXT types cannot be compared. Therefore, they cannot be used in joining tables, and they cannot be named as join columns or in a COMPOSITES statement. Check that the table and column names are as you intended, and verify the current definition of the table in the database that the DATABASE statement names.