View previous topic :: View next topic
|
Author |
Message |
vatish
New User
Joined: 23 Jun 2007 Posts: 6 Location: Pune
|
|
|
|
Hi,
I want to FTP a file containing Greek data,encoded in ANSI format to mainframes. I am using standard FTP load module for same but data is being replaced by some junk characters, please tell me options to be used in SYSFTPD parameter for correct migration.
Regards,
Vatish |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
After the data is on the mainframe, look at the "received" data in hex and post what is in some of the "junk" characters. |
|
Back to top |
|
|
vatish
New User
Joined: 23 Jun 2007 Posts: 6 Location: Pune
|
|
|
|
Hi,
Actually I want to migrate some data containing English as well as Greek characters from AS400 to mainframes. I have downloaded data from AS400 using standard 'Data Transfer From AS400' utility provided with 'IBM AS400 Client Access Express' in ANSI format and then I am using FTP job with SYSFTPD parameters as :
DBSUB FALSE
ENCODING MBCA
MBDATACONN (UTF-8,UTF-8)
UNICODEFILESYSTEMBOM NEVER
UCSHOSTCS IBM-939
UCSSUB FALSE
UCSTRUNC TRUE
English characters are being migrated properly but not Greek data.
I have attached screen shot of data as is visible in AS400 and mainframes.
Regards,
Vatish |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello Vatish,
Your attachments are not in your post. . . .
Bummer |
|
Back to top |
|
|
vatish
New User
Joined: 23 Jun 2007 Posts: 6 Location: Pune
|
|
|
|
oops....
I have attached this time... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Is there some way that you can show the hex from the AS400?
Also, the 2 sets of data do not appear to be aligned - for example, the AS400 data shows the complete date while the mianframe data only shows the first part of the date.
If you can show the exact same positions in bots data, it should help. |
|
Back to top |
|
|
Vishwamurthy
New User
Joined: 11 Mar 2008 Posts: 57 Location: India
|
|
|
|
Vatish,
Did you get a way around this?
I have to convert a file from ANSI to UTF-8 so that the Spanish characters in the file are accepted by the vendor software.
Is there a way to do it either before the FTP or in the FTP step itself?
All the records with only English characters are being accepted even now..
I'm sorry I can't get the screenshots for you because it is a little of a confidential data, but it has ü, ñ in them.. |
|
Back to top |
|
|
Naish
New User
Joined: 07 Dec 2006 Posts: 82 Location: UK
|
|
|
|
Another resurrection!!!
Vatish, please respond... |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Quote: |
I want to FTP a file containing Greek data,encoded in ANSI format to mainframes. I am using standard FTP load module for same but data is being replaced by some junk characters |
Greek data and junk? We in Europe know everything about that.
Same with all countries below the Dutch river Rhine. |
|
Back to top |
|
|
Vishwamurthy
New User
Joined: 11 Mar 2008 Posts: 57 Location: India
|
|
|
|
I'm sorry I couldn't make sense of that Peter.
Can you be specific if you have a way to convert a file to UTF-8 from ANSI so as to retain the value in it, and not replace it with anything unreadable?
I remember seeing commands like locsite or ASCII etc., but don't have any clue if any of their variants would help and need help fixing it before it's too late.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Vishwamurthy, after almost FIVE YEARS, do you REALLY expect an answer to your question?
You probably need to change the default translation table used by FTP to something else. What do you need to change it to? Look in the Communciations Server bookshelf and figure it out -- I have no idea which code page is used for the Spanish (or Greek or ....) alphabet.
Hint: start with the Communications Server IP User's Guide manual section 4.5 titled FTP Data Conversion. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
PeterHolland wrote: |
Quote: |
I want to FTP a file containing Greek data,encoded in ANSI format to mainframes. I am using standard FTP load module for same but data is being replaced by some junk characters |
Greek data and junk? We in Europe know everything about that. |
Timeo Danaos data ferentes |
|
Back to top |
|
|
|