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

I don't think I can use a particular LANGID because I need to be able to 
write to the file with no conversion 
taking place as I do not necessarily know what language the user is going 
to be using. (It's a web app)

My problem is that I will need one application to write to different files 
with different CCSIDs.

When I try to use a CCSID other than 65535, some characters may not be 
found
in the CCSID table and these seem to get written out as hex 3F  which 
consequently 
causes other problems.

I did try changing the LANGID of the user profile but I think this was 
overriden by the CCSID of the user
profile UNLESS it was 65535, in which case the QZDASOINIT job did seem to 
get the CCSID for that 
particular LANGID. eg. if LANGID was set to SVE then it would set the job 
to 278 + Swedish.

Best regards,
Eric Lee
DCS Transport & Logistics Solutions




Franco Biaggi <fbiaggi@xxxxxxxxxx> 
Sent by: java400-l-bounces@xxxxxxxxxxxx
28/02/2005 16:51
Please respond to
Java Programming on and around the iSeries / AS400 
<java400-l@xxxxxxxxxxxx>


To
Java Programming on and around the iSeries / AS400 
<java400-l@xxxxxxxxxxxx>
cc

Subject
Re: setting CCSID of QZDASONIT jobs






Hi,
basically its wrong that you use this CCSID, the system cannot translate 
to a client application, you may see other related problems.
Java on AS/400 "seem" to use the LANGID variable to make the conversion.

Hope this helps-

Eric Lee wrote:

>Hi All,
>
>I need to set the ccsid of the QZDASONIT job started by a JDBC connection 

>to 65535. 
>
>I've tried changing the ccsid of the iSeries user profile that the JDBC 
>connection uses - but that does not work 
>with 65535 - it takes the sysval if you try to use 65535. (The ccsid of 
>the qzdasonit job is set correctly if you use another value that forces 
>conversion)
>
>Does anyone know of another way I can achieve this (without changing the 
>sysval)?
>
>My problem is to do with the jobs writing a hex '3F' for certain accented 

>characters which is causing problems when the character is read in.
>
>When the job is 65535 - (when I change the job's ccsid manually) the 
>characters are written with a valid hex code.
>
>Best regards,
>Eric Lee
>DCS Transport & Logistics Solutions
>
>******************************************************************************************
>'This e-mail message is intended solely for the person to whom it is 
addressed and may contain confidential
>or privileged information. If you have received it in error, please 
notify postmaster@xxxxxxxxxxxx and 
>destroy this e-mail and any attachments. In addition, you must not 
disclose, copy, distribute or take any
>action in reliance on this e-mail or any attachments. Any views or 
opinions presented in this e-mail are 
>solely those of the author and do not necessarily represent those of the 
company. When addressed to our
>customers, any quotations contained in this e-mail are subject to 
contract and are on the terms of The
>Company's standard Conditions, a copy of which is available on request. 
Any errors or omissions in any
>quotations or other information issued by The Company shall be subject to 
correction without any liability
>on the part of The Company. Due to the nature of Internet communications, 
DCS cannot guarantee that this
>communication, or any attachments, do not contain software viruses. We 
have taken every precaution to
>minimize this probability but cannot accept any liability for damage 
which you may sustain as a result of
>software viruses. We recommend you carry out your own virus checks before 
opening attachments.'
>
>DCS Transport & Logistics Solutions Ltd.
>Registered office: Newstead House, Lake View Drive, Sherwood Park, 
Annesley, Nottinghamshire, NG15 0DT
>Registered in England no: 3373490
>******************************************************************************************
>
> 
>


-- 
-----------------------------------------------------------------------------
*** This messages was scanned for malicious contents ***
-----------------------------------------------------------------------------
Franco Biaggi
CH-6807 Taverne


-- 
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.




******************************************************************************************
'This e-mail message is intended solely for the person to whom it is addressed 
and may contain confidential
or privileged information. If you have received it in error, please notify 
postmaster@xxxxxxxxxxxx and 
destroy this e-mail and any attachments. In addition, you must not disclose, 
copy, distribute or take any
action in reliance on this e-mail or any attachments. Any views or opinions 
presented in this e-mail are 
solely those of the author and do not necessarily represent those of the 
company. When addressed to our
customers, any quotations contained in this e-mail are subject to contract and 
are on the terms of The
Company's standard Conditions, a copy of which is available on request. Any 
errors or omissions in any
quotations or other information issued by The Company shall be subject to 
correction without any liability
on the part of The Company. Due to the nature of Internet communications, DCS 
cannot guarantee that this
communication, or any attachments, do not contain software viruses. We have 
taken every precaution to
minimize this probability but cannot accept any liability for damage which you 
may sustain as a result of
software viruses. We recommend you carry out your own virus checks before 
opening attachments.'

DCS Transport & Logistics Solutions Ltd.
Registered office: Newstead House, Lake View Drive, Sherwood Park, Annesley, 
Nottinghamshire, NG15 0DT
Registered in England no: 3373490
******************************************************************************************


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.