On 6/12/06, Alan Altmark <[EMAIL PROTECTED]> wrote:
On Monday, 06/12/2006 at 05:37 AST, Yu Safin <[EMAIL PROTECTED]> wrote:
> I apologize if I misunderstood your question. When you FTP to zOS you
> have to deal with EBCIDIC. Quite often, end-of-line gets
> misinterpreted or blanks end-up with funny characters. Turn-on HEX on
> your TSO editor and you will see what I am talking about. The WEB
> servers under Unix Services / zOS is sensitive to the content of the
> files. I ran this set up for a while until I got Linux on the
> Mainframe.
> If you want to automate your pages to be synchronized accross
> different WEB servers you will find that it is a challenge. The
> problem is that FTP does a poor job with some of the conversions to
> EBCIDIC. I always had to go into the pages and do some final touches.
> Now, if you are not in need to syn with a zOS based WEB servers, the
> story is very different. Take a look at Unison, you can have the same
> web pages served under different WEB servers as long as the pages are
> not dynamically built.
If you're going to serve the data from USS, be sure to use the POSIX
translation table, which translates ASCII LF to EBCDIC NL instead of
EBCDIC LF. That should result in proper operation of Java and other POSIX
apps. (POSIX assumes ISO 8859-1 on both sides.)
IIRC: "site xlate posix". If FP or other publishing tool doesn't have
the ability to put in arbitrary ftp client startup commands, then you will
need to reconfigure the default translation table on z/OS. Or set up
another FTP server listening on some other port.
Alan Altmark
z/VM Development
IBM Endicott
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
Alan,
I need to point this out to our zOS guy. Where do you stipulate
"EBCDIC NL"? I suspect it is under the zOS USS and not on the FTP
client, correct?
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390