IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP Unicode Text File To MF


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
meykh2014

New User


Joined: 03 Jul 2014
Posts: 29
Location: munich

PostPosted: Wed Nov 12, 2014 10:30 pm
Reply with quote

Hi every body,
Im trying to put a text file from pc to main frame but in special state:
My text file have a unicode format with 2 byte(its containing arabic or persian words and im thinking its have a utf16 = unicode format).
how can i put it to mainframe with ftp?
i tryed to put it with sbdataconn=(?,?) but i dont sure which code page must be ? and ?
can any body help me to solve this problem?
is necessary that i create translation table for this?

thanks! icon_neutral.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8578
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 13, 2014 4:24 am
Reply with quote

Since you apparently have a multi-byte code page, SBDATACONN will not do anything for you. Look at MBDATACONN and ENCODING=MBCS in the Communications Server IP User's Guide manual. One code page could be utf-16, but you need to research and find out which code page you want to use on the mainframe. (A Google search with z/OS Arabic code page returns 187,000 hits).

It probably won't require you to build a translation table unless you are using unusual character mappings.
Back to top
View user's profile Send private message
meykh2014

New User


Joined: 03 Jul 2014
Posts: 29
Location: munich

PostPosted: Mon Dec 22, 2014 6:02 pm
Reply with quote

thanks Robert !
sorry for late to response
i try to do any things that you tell me but i dont have any growth in progress. icon_sad.gif
i think its better to simple this problem (step by step):
how can i transmit .txt file (that saved in windows unicode format and not utf-8 or utf-16) to ebcdic (mainframe) under ftp protocol?
thank you a lot
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts To pull the file with Date and Time u... TSO/ISPF 17
No new posts regarding COBOL WRITE verb (VB File H... COBOL Programming 6
No new posts COBOL Table data to a flat file with ... COBOL Programming 8
No new posts Compare 2 files replace data in 1st f... DFSORT/ICETOOL 4
No new posts Merging 2 files but ignore duplicate... DFSORT/ICETOOL 1
Search our Forums:

Back to Top