A TDQ was newly created in Test (new mainframe), but it works successfully in Production. The data set the TDQ is based on has data; all lengths match. However, when a READQ TD is performed it returns only the first six characters in the data set record with the rest of the record incorrectly populated with spaces. The program abends with a LENGERR on the READQ. The mainframe personnel confirmed that everything between test and production are the same. However, using TSO and the CICS Debug Tool I can visually see that the program is not returning the data correctly. What can explain this? Thank you for any assistance you can give me.