|
ours),-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: Monday, April 02, 2007 1:37 PM
To: Midrange Systems Technical Discussion
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
inthe 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 deleteme550-Error occurred on command crtlib deleteme.
550 Library DELETEME already exists..
... I'm getting this ...
quot rcmd crtlib deleteme550-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,
ina ftp session, to send me the messages with a different ccsid or even
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 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.