Bruce wrote:

> *DTAQs do not have a CCSID associated with them as there is no
> external definition of the messages that the system is aware of.

Thanks for that, Bruce.  But here's what I'm doing.  I'm writing a Java
application which reads and writes data queues using the toolbox
classes.  In the testing I'm doing at the moment, I changed my job CCSID
to 500 and sent a data queue entry with some data from outside the
invariant character set.  In my Java class I used an AS400Text object to
convert the received data to a Java format.

If I created the AS400Text object without specifying a CCSID, the data
came through correctly.  If I created it with a CCSID of 500, the data
was garbled.  This is exactly the opposite of what I had expected.  Even
though the data queue has no CCSID associated with it, surely the data I
wrote would be encoded in the appropriate code page for the sending job?
So the data would "have" CCSID 500, even if it didn't know it?

I'm clearly misunderstanding something here.

Let me know if you think I should take this to JAVA400-L.  However, I
think it's a general data queue and CCSID question, rather than
specifically a Java one.

Cheers,

Martin.

--
Martin McCallion
Senior Technical Consultant
Work:  martin.mccallion@misys.com
Home: martin.mccallion@ukonline.co.uk
Misys International Banking Systems
1 St George's Road, London, SW19 4DR, UK
T +44 (0)20 8486 1951
F +44 (0) 20 8947 3373
www.misys.com
This email message is intended for the named recipient only. It may be
privileged and/or confidential. If you are not the  intended named
recipient of this email then you should not  copy it or use it for any
purpose, nor disclose its contents to any other person. You should
contact Misys International Banking Systems as shown below so that we
can take appropriate action at no cost to yourself.
Misys International Banking Systems Ltd,1 St
George's Road, London, SW19 4DR, UK. Email: ibs.postmaster@misys.com.
Tel: +44 (0) 20 8879 1188 Fax: +44 (0) 20 8947 3373
Misys International Banking Systems Ltd is
registered in England and Wales under company no. 971479


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.