I am trying to transfer a file (PDS member) from z/OS to windows, so this shouldn't be an issue.
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Steve Comstock Sent: Monday, March 26, 2012 3:37 PM To: [email protected] Subject: Re: z/OS ftp and Unicode On 3/26/2012 7:27 AM, גדי בן אבי wrote: > The last message I got said: > 504 MULTI-BYTE ENCODING NOT SUPPORTED FOR RECFM=FB > > Does anyone know of a limitation like this? Well, UTF-8 is a variable byte system: some characters take one byte, some two, some three, and some four. For RECFM=FB it might be hard to settle on a record size (although I would just go with 4 * max number of characters and pad with UTF-8 spaces (x'20') ). But it looks like the ftp is not set up that way. Maybe your best bet is to define the target as VB. > > Gadi > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Steve Comstock > Sent: Monday, March 26, 2012 3:18 PM > To: [email protected] > Subject: Re: z/OS ftp and Unicode > > On 3/26/2012 7:12 AM, McKown, John wrote: >> I don't know if this will help, but I did the following (but I don't >> have anything actually in IBM-424) >> >> Microsoft Windows XP [Version 5.1.2600] >> (C) Copyright 1985-2001 Microsoft Corp. >> >>> ftp lih1 >> Connected to lih1.uicnrh.dom. >> 220-FTP 08:07:14 on 2012-03-26. >> 220-This is HealthMarkets. >> 220-Unauthorized access is strictly prohibited. >> 220 Connection will close if idle for more than 50 minutes. >> User (lih1.uicnrh.dom:(none)): tsh009 >> 331 Send password please. >> Password: >> 230-You have successfully logged on to the LIH1 ftp server. >> 230 TSH009 is logged on. Working directory is "TSH009.". >> ftp> quote site sbdataconn=(IBM-424,UTF-8) >> 200-Some characters cannot be translated between UTF-8 and IBM-424 > > Whoa! That's startling. I thought Unicode encompassed all the world's > character sets; how can a character not translate? > > >> 200 SITE command was accepted >> ftp> cd /home/tsh009 >> 250 HFS directory /home/tsh009 is the current working directory >> ftp> get crontab.txt >> 200 Port request OK. >> 125-Tagged EBCDIC file translated with table built using file system >> cp=IBM-1047 , network transfer cp=UTF-8 >> 125 Sending data set /home/tsh009/crontab.txt >> 250 Transfer completed successfully. >> ftp: 40 bytes received in 0.00Seconds 40000.00Kbytes/sec. >> ftp> >> >> -- >> John McKown >> Systems Engineer IV >> IT >> >> Administrative Services Group >> >> HealthMarkets® >> >> 9151 Boulevard 26 • N. Richland Hills • TX 76010 >> (817) 255-3225 phone • >> [email protected] • www.HealthMarkets.com >> >> Confidentiality Notice: This e-mail message may contain confidential >> or proprietary information. If you are not the intended recipient, >> please contact the sender by reply e-mail and destroy all copies of >> the original message. HealthMarkets® is the brand name for products >> underwritten and issued by the insurance subsidiaries of >> HealthMarkets, Inc. –The Chesapeake Life Insurance Company®, Mid-West >> National Life Insurance Company of TennesseeSM and The MEGA Life and >> Health Insurance Company.SM >> >> >> >>> -----Original Message----- >>> From: IBM Mainframe Discussion List >>> [mailto:[email protected]] On Behalf Of ??? ?? ??? >>> Sent: Monday, March 26, 2012 7:23 AM >>> To: [email protected] >>> Subject: Re: z/OS ftp and Unicode >>> >>> I'm not sure what you mean buy CCSID, but the data is encoded in >>> IBM-424 EBCDIC - Hebrew New Code. >>> >>> -----Original Message----- >>> From: IBM Mainframe Discussion List >>> [mailto:[email protected]] On Behalf Of McKown, John >>> Sent: Monday, March 26, 2012 2:20 PM >>> To: [email protected] >>> Subject: Re: z/OS ftp and Unicode >>> >>> What is CCSID of the data on z/OS? By Unicode, do you mean UTF-8, >>> UTF-16, or UTF-32 on Windows? The basic command is the SBDATACONN >>> >>> http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/f1a >>> 1b4b0/18.109 >>> >>> -- >>> John McKown >>> Systems Engineer IV >>> IT >>> >>> Administrative Services Group >>> >>> HealthMarkets® >>> >>> 9151 Boulevard 26 • N. Richland Hills • TX 76010 >>> (817) 255-3225 phone • >>> [email protected] • www.HealthMarkets.com >>> >>> >>> Confidentiality Notice: This e-mail message may contain confidential >>> or proprietary information. If you are not the intended recipient, >>> please contact the sender by reply e-mail and destroy all copies of >>> the original message. >>> HealthMarkets® is the brand name for products underwritten and >>> issued by the insurance subsidiaries of HealthMarkets, Inc. –The >>> Chesapeake Life Insurance Company®, Mid-West National Life Insurance >>> Company of TennesseeSM and The MEGA Life and Health Insurance >>> Company.SM >>> >>> >>> >>>> -----Original Message----- >>>> From: IBM Mainframe Discussion List [mailto:[email protected]] >>>> On Behalf Of ??? ?? ??? >>>> Sent: Monday, March 26, 2012 3:49 AM >>>> To: [email protected] >>>> Subject: z/OS ftp and Unicode >>>> >>>> Can anyone show me how to transfer a file from z/OS to windows >>>> using the windows ftp client so that the resulting file on windows >>>> is Unicode. >>>> >>>> The source file on z/OS will be EBCDIC. >>>> >>>> We are using z/OS v1.11. >>>> >>>> Unicode services are enabled on z/OS. >>>> >>>> Thanks >>>> >>>> Gadi >>>> -- Kind regards, -Steve Comstock The Trainer's Friend, Inc. 303-355-2752 http://www.trainersfriend.com * To get a good Return on your Investment, first make an investment! + Training your people is an excellent investment * Try our tool for calculating your Return On Investment for training dollars at http://www.trainersfriend.com/ROI/roi.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN לשימת לבך, בהתאם לנהלי החברה וזכויות החתימה בה, כל הצעה, התחייבות או מצג מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשי החתימה של החברה, הנושא את לוגו החברה או שמה המודפס ובצירוף חותמת החברה. בהעדר מסמך כאמור (לרבות מסמך סרוק) המצורף להודעת דואר אלקטרוני זאת, אין לראות באמור בהודעה אלא משום טיוטה לדיון, ואין להסתמך עליה לביצוע פעולה עסקית או משפטית כלשהי. Please note that in accordance with Malam's signatory rights, no offer, agreement, concession or representation is binding on the company, unless accompanied by a duly signed separate document (or a scanned version thereof), affixed with the company's seal. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

