Hi
I am getting this error Internal error: function 'utf_to_row()' failed when executing the job which was designed to read a dataset from Mainframe server to unix with ascii mode in 8.1. any help is appreciated. Thanks
FTP - Internal error: function 'utf_to_row()' failed
Moderators: chulett, rschirm, roy
I'm completely guessing here (hopefully an educated guess). It sounds like you aren't using a CFF (Complex Flat File) stage to read the data. The error message is somewhat NLS related (UTF8 is an NLS Map). It is complaining that it can't convert the row to UTF8.
My best guess is that you are using a sequential file stage to read the file. Could you confirm what stage you are using?
Because files from the mainframe are typically in EBCDIC, they need to be read using a CFF stage. If this is the case, I'd also recommend loading your CFF column definitions from a COBOL Copy Book (ask the Mainframe developer for it). That will insure the columns are mapped 100% correctly. You can import the copy book by right clicking on DS table definitions in the developer tool and selecting Cobol import. That puts the definitions under a COBOL sub-heading. These can then be loaded into your CFF stage from the columns tab.
If my assumptions aren't correct, please post more details. If they are, please let us know if this fixed the problem.
My best guess is that you are using a sequential file stage to read the file. Could you confirm what stage you are using?
Because files from the mainframe are typically in EBCDIC, they need to be read using a CFF stage. If this is the case, I'd also recommend loading your CFF column definitions from a COBOL Copy Book (ask the Mainframe developer for it). That will insure the columns are mapped 100% correctly. You can import the copy book by right clicking on DS table definitions in the developer tool and selecting Cobol import. That puts the definitions under a COBOL sub-heading. These can then be loaded into your CFF stage from the columns tab.
If my assumptions aren't correct, please post more details. If they are, please let us know if this fixed the problem.