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




Hello,

I'm not going to pretend that I understand why you're getting a file marked with CCSID 500.

However, the info from CHGFTPA that you posted isn't relevant to this transfer, is it? Didn't you say the server was running Sterling Integrator?!

If you are using the IBM FTP *client*, then the relevant settings are specified on the FTP (or STRTCPFTP) command.

CHGFTPA designates the settings for the IBM-supplied FTP *server*, not the client.

Also, please be aware that if the file already exists, it'll retain it's CCSID. If you're letting FTP create a new file (not recommended for physical files) then it should assign the job's CCSID (which would be 37 in your case, which is why I said I don't pretend to understand.)


On 8/26/2011 9:16 AM, sjl wrote:
Background:

=======================================
System is Power 6, V5R4, QCCSID = 65535
=======================================

PC 5250 5.9 session configured to use Host code-page 37:

Display Job Definition Attributes
Job: XXXXXXXXXX User: WINBLOWS Number: 161946

Job switches . . . . . . . . . . . . . . . . . . : 00000000
Inquiry message reply . . . . . . . . . . . . . . : *SYSRPYL
Accounting code . . . . . . . . . . . . . . . . . :
Print text . . . . . . . . . . . . . . . . . . . : ' '
DDM conversation . . . . . . . . . . . . . . . . : *KEEP
Break message handling . . . . . . . . . . . . . : *NORMAL
Status message . . . . . . . . . . . . . . . . . : *NORMAL
Device recovery action . . . . . . . . . . . . . : *ENDJOBNOLIST
Time slice end pool . . . . . . . . . . . . . . . : *NONE
Print key format . . . . . . . . . . . . . . . . : *PRTHDR
Sort sequence . . . . . . . . . . . . . . . . . . : *HEX
Library . . . . . . . . . . . . . . . . . . . . :
Language identifier . . . . . . . . . . . . . . . : ENU
Country or region identifier . . . . . . . . . . : US
Coded character set identifier . . . . . . . . . : 65535
Default coded character set identifier . . . . . : 37
Character identifier control . . . . . . . . . . : *DEVD
Job message queue maximum size . . . . . . . . . : 64
Job message queue full action . . . . . . . . . . : *PRTWRAP
Allow multiple threads . . . . . . . . . . . . . : *NO
Auxiliary storage pool group . . . . . . . . . . : *NONE
Spooled file action . . . . . . . . . . . . . . . : *KEEP

=======================================
When prompting the CHGFTPA command, I see:

Change FTP Attributes (CHGFTPA)
Type choices, press Enter.

Autostart servers . . . . . . . AUTOSTART> *YES
Number of initial servers . . . NBRSVR> 3
Inactivity timeout . . . . . . . INACTTIMO 300
Coded character set identifier CCSID 00819
Outgoing EBCDIC/ASCII table: TBLFTPOUT
Outgoing EBCDIC/ASCII table . *CCSID
Library . . . . . . . . . .
Incoming ASCII/EBCDIC table: TBLFTPIN
Incoming ASCII/EBCDIC table . *CCSID
Library . . . . . . . . . .
Initial name format . . . . . . NAMEFMT *LIB
Initial directory . . . . . . . CURDIR *CURLIB
Initial list format . . . . . . LISTFMT *DFT
New file CCSID . . . . . . . . . CRTCCSID *CALC
Subsystem description . . . . . SBSD QSYSWRK
Library . . . . . . . . . . . QSYS

=======================================

Question:

When I interactively run an FTP script from the Power system to do an MGET
from a Sterling Integrator FTP server, I notice that the file(s) received
get tagged with CCSID(500).

Given the above information, why is the system determining that CCSID(500)
is the correct CCSID to use? I would expect CCSID(37)...

Regards,
sjl





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.