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


I'm not very expert at FTP but, as I see it, the CRTCCSID(*CALC) seems to
imply that the system tries to assign the CCSID according to the received
data (special characters and so on). Maybe you would like to specify
CRTCCSID(*SYSVAL) instead...

Regards,

Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--



On Fri, Aug 26, 2011 at 9:46 AM, sjl <sjl_abc@xxxxxxxxxxx> 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



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