× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi David,

FTP doesn't recognise CCSIDs as far as I remember! Had a lot of fun (not) in France trying to use FTP with a different keyboard....

cheers,

Clare

----- Original Message ----- From: "David Gibbs" <david@xxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Monday, April 02, 2007 7:36 PM
Subject: FTP commands to Japanese system


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

--
Check out the midrange.com System i Wiki: http://wiki.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.