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

ISSUE with FTP'ing UTF-8 file from Mainframes to Windows box


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

New User


Joined: 08 Sep 2008
Posts: 4
Location: Chennai

PostPosted: Thu Sep 18, 2008 2:57 pm
Reply with quote

Hi all,

I have a requirement where in a UTF-8 file should be ftp'ed to a windows machine. This file will be used by the third party for loading into their data base tables.

Issue:
The file received by third party is not readable.

Note: -
We are converting an ebcdic file to UTF-8 on mainframes itself.

I have used the TYPE as A and I to ftp the file.

If any one has any information, please post it.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Thu Sep 18, 2008 5:51 pm
Reply with quote

If the data is UTF-8 on the mainframe, and you want it in UTF-8 on the PC, you need to specify binary transfer, not ASCII. TYPE A will convert characters from EBCDIC to ASCII as the transfer proceeds, so you'll wind up with garbage data on the PC.

Depending on exactly how the environment is set up, you may need to read the Communications Server User's Guide on Use [URL] BBCode for External Links SBTRANS and SBDATACONN, as well as translate tables. But first try a binary transfer.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Sep 18, 2008 6:04 pm
Reply with quote

Robert, I believe that the poster mentioned that he'd tried both TYPE A and TYPE I and neither worked.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Thu Sep 18, 2008 7:14 pm
Reply with quote

Kevin: I didn't spot that in the original ... sigh. Okay, Hari, you'll need to look up the manual and do some reading if you're insisting on transferring the file as UTF-8.
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 FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SH256/MD5 Checksum in Mainframes JCL JCL & VSAM 14
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top