You cannot join TO a defined field. You must join to a real field in the cross-reference (i.e. joined TO) file. Some DBs allow for joining to the first part of an alpha key field so you don't have to match the whole key value. Other than that, you have to do all your defining in the host file. Ginny has given you the best way to do what you seem to need.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat