× 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.



Depends on how the file is transferred...  I know you say the DOS copy
command, but you don't specify what method DOS is using to access your
IFS!

If you're using NetServer, you can change the default codepage in
Ops Nav, under "Network/Servers/TCPIP"  right click on "AS/400 Netserver"
and choose properties.  Go to the ADVANCED tab.   If NetServer is already
running, you'll need to click "Next Start" to change the settings for the
next time it starts, since you can't change them while it's active.

You can also override the default NetServer on a per-share basis in Ops
Nav by going under "File Systems/File Shares", right-clicking the share
name, and choosing properties, and then going to the "Text Conversion"
tab.

If you're using FTP, you can change the server's default CCSID
with the CHGFTPA command.   For the client, you can specify the default
CCSID using the CCSID() keyword to the FTP (or STRTCPFTP) command.

The server's property is used when the server writes data to disk (such as
when you do a PUT subcommand) and the client's property is used when the
client writes the data to disk (such as with the GET subcommand)

example:

          ENDTCPSVR *FTP
          CHGFTPA CCSID(1234)
          STRTCPSVR *FTP

or
          FTP ftp.example.com CCSID(1234)



On Tue, 18 Jun 2002, Robin Coles wrote:

> Hi,
>
> We're receiving a file via email and copying it to the root file system
> on the IFS just using the DOS copy command.  When I try it to our local
> AS/400, the file becomes code page 1252 and everything is OK.  If I copy
> the same file from the same PC to the live AS/400 (in Sweden) the file
> becomes code page 865 and some special characters are corrupted.
>
> I can't see anywhere to tell the 400 what the code page should be.  Any
> ideas?
>
> Cheers
> Robin
>



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.