Let me introduce my scenario and the problem I am having.
I am reading a host file, using FTP Enteprise stage. At the moment I a just performing a test: reading a file with FTP enteprise, pass it thorugh other FTP enterprise to write to same host. Result should be an exact copy from the source.
Project NLS is defined as UTF-8, and I can perfectly read special Spanish characters.
But there is a slight difference in the result file: a name field (read as char) contians binary separators (to stablish cuts between name and surname). These separators are not being written in the same way in destination.
When reading/writting this particular field as binary format, I get same result in destination than read from source. Problem comes when read the field as character.
Char field is NOT defined as Unicode (if so, I get reading errors)
I just made a final test: read with FTP and write to a sequential file, coded as EBCDIC. Downloaded this text file to local computer, opened with UltraEdit and checked hexadecimal character for this separator, code was '1A'
We asked for mainframers for host codepage, they answered it was 1145.
I tried to read with FTP enterprise change its particular NLS to IBM001145. Stage failed to read, as the file did not exist in the host anymore. Returned message was:
Same error message for NLS = ibm-1145_P100-1997wrong uri syntax for the file ....
Changing back to UTF8, the stage read again.
My main objective is to be able to read the field as char, write as char and get same value that I have in source.
Any suggestions?