Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: ISSUE with FTP'ing UTF-8 file from Mainframes to Windows box
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: 7935
Location: Bellevue, IA

PostPosted: Thu Sep 18, 2008 5:51 pm    Post subject:
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 FTP.DATA 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

Moderator Team Head


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

PostPosted: Thu Sep 18, 2008 6:04 pm    Post subject: Reply to: ISSUE with FTP'ing UTF-8 file from Mainframes to W
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: 7935
Location: Bellevue, IA

PostPosted: Thu Sep 18, 2008 7:14 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Are there any Freeware utilties for i... johnmull IBM Tools 2 Wed Dec 21, 2016 8:29 am
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us