Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
FTP - Special characters are converted into DBCS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Chinnadu

New User


Joined: 05 Mar 2009
Posts: 46
Location: Hyderabad

PostPosted: Tue Nov 12, 2019 6:01 pm    Post subject: FTP - Special characters are converted into DBCS
Reply with quote

Hi,

Whie FTPing the data from windows to mainframes, some special characters (Looks like they belong to European language character set) are getting replaced with two new characters in mainframes. Can somebody tell me how to FTP the data into mainframes as is in Windows system.

Ex:

Data in source file: RÓDRO
Data after FTPed into mainframes : RC DRO.

Character "Ó" in source file is replaced with "C " in mainframes.
Back to top
View user's profile Send private message

prino

Senior Member


Joined: 07 Feb 2009
Posts: 1168
Location: Vilnius, Lithuania

PostPosted: Tue Nov 12, 2019 8:19 pm    Post subject:
Reply with quote

You cannot squash the way more than 256 characters that Windoze can handle into the 256 EBCDIC ones. Period. Full stop. End of story.
Back to top
View user's profile Send private message
hankoerlemans

New User


Joined: 25 Jan 2018
Posts: 20
Location: Australia

PostPosted: Tue Nov 19, 2019 9:30 am    Post subject: Reply to: FTP - Special characters are converted into DBCS
Reply with quote

Garbage in garbage out.
Welcome to the world of character translation.

Binary transfer followed by iconv....provided you know the source codepage for the offending character.

Enjoy.
Back to top
View user's profile Send private message
Cameron Conacher

New User


Joined: 11 Dec 2019
Posts: 8
Location: Canada

PostPosted: Wed Dec 11, 2019 7:49 pm    Post subject: Reply to: FTP - Special characters are converted into DBCS
Reply with quote

Agree with Hank.
Send the file in binary using FTP, and then run an iconv to transform the data from what ever CCSID you had on the windows box (ASCII or UTF-8 or UTF-16 or whatever), into whatever EBCDIC CodePage you wanted.
Keep in mind that when you browse the transformed mainframe data, you should also have the host codepage value of your emulator set to the EBCDIC CodePage value you transformed the data into.
For example, do not convert the data to EBCDIC CodePage 500 and then use an emulator with a host codepage setting of 291.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts File transfer issue with end of line ... VINAY PALLELA TSO/ISPF 4 Thu Nov 14, 2019 12:01 am
No new posts SARBCH PRINTJOB option not Works with... Gepinheim CA Products 4 Mon Sep 02, 2019 9:26 pm
No new posts Convert VB file to FB plus special fo... cz016m SYNCSORT 15 Fri Oct 19, 2018 7:26 pm
No new posts how to display APL characters? Pedro TSO/ISPF 7 Wed Mar 14, 2018 5:07 am
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us