View previous topic :: View next topic
|
Author |
Message |
paulo sampaio viola
New User
Joined: 19 Aug 2009 Posts: 7 Location: lisboa, portugal
|
|
|
|
Hi!
This is my fisrt post so please bear with me if anything is unclear.
Here is my question:
I am transfering data from an IBM Mainframe to a server via IBM FTP CS V1R8
the file is
Record format . . . : VB
Record length . . . : 32756
Block size . . . . : 32760
the caracter in question is "Ç" X'68'
The FTP translates this into a "Ã" ASCII --> 199
If I use a record format FB it translates ok "Ç" ASCII --> 128
This site is in Portugal.
Thanks for any help. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
1. ASCII technically only has x'00' to x'7F' (128) characters, so saying x'C7' (199) is ASCII is incorrect -- there is no x'C7' in ASCII. There are extensions to ASCII, such as the PC 8-bit version, but terminology is extremely important here and if you mean that character set you need to say so.
2. What do you want the character to translate to?
3. My z/Architecture Reference Summary, SA22-7871, lists ISO-B character set x'C7' as being the character "Ç", while the PC-850 character set translated x'C7' to "Ã". Perhaps you need a different PC character set? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
One issue he mentions is that the translation is different depending on whether the dataset is FB or VB. I think he wants the translation done to VB dataset to behave like a FB translation. |
|
Back to top |
|
|
notonly4u
New User
Joined: 26 Apr 2005 Posts: 87 Location: Hyderabad
|
|
|
|
Have you tried with XLATE translate table for the FTP?
Regards
Tanden |
|
Back to top |
|
|
paulo sampaio viola
New User
Joined: 19 Aug 2009 Posts: 7 Location: lisboa, portugal
|
|
|
|
About the command
Site Xlate
Do you know how to define a xlate table
Thanks
About ASCII
I want to translate X'68' to Ç
Check out
slayeroffice.com/tools/ascii/
Ç correspond to 199
there is 255 ascii codes if you consider ascii extended codes |
|
Back to top |
|
|
paulo sampaio viola
New User
Joined: 19 Aug 2009 Posts: 7 Location: lisboa, portugal
|
|
|
|
!!
The files are now transferring correctly. We connot understand why.
Perhaps some changes done by the systems department worked but not sure wich one did the job.
Perhaps only that file had some special charcteristics that do not transfer correctly. I still have a copy of the file and it does not transfer correctly. other files produced by the same job now transfer ok with the x'68' converted to 'Ç'.
I will report back if we find what the problem was.
Thank you for you time. |
|
Back to top |
|
|
|