Folks:

I'm trying to write a program that will initiate a FTP session with a
Japanese system and then parse the results of the ftp session (using
ovrdbf of output).

The problem is, when I connect to the remote ftp server with a user
profile that has it's CCSID set to 5026 (customers directive, not ours),
the lower case characters of the messages are being translated into
substitution characters.

Thus, for a session that would result in this (in English) ...
quot rcmd crtlib deleteme
  550-Error occurred on command crtlib deleteme.
  550 Library DELETEME already exists..

... I'm getting this ...
quot rcmd crtlib deleteme
  550-E                         crtlib deleteme.
  550 L       DELETEME               ..

I've determined that the ftp messages are coming from message file
QTCP/QTCPMSGF, which are in english (even on other multinational
systems) ... and the message file has a ccsid of 65535.

Does anyone know if there is a way I can tell the remote ftp server, in
a ftp session, to send me the messages with a different ccsid or even in
all caps?

I've tried issuing a 'QUOT RCMD CHGJOB CCSID(37)' in the ftp session,
but it doesn't seem to have any effect.

Thanks!

david


This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.