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



The CCSID you specify must be either EBCDIC-based or Unicode-based. 819 and 1252 are both ASCII-based. All however is not necessarily lost... CCSID 1208 is UTF-8, and UTF-8 is the same as 819 and 1252 so long as you stay within the context of 7-bit ASCII -- that is, no Latin 1 extensions. Just good old a-z, A-Z, 0-9, punctuation, etc.

Bruce
----- Original Message ----- From: "Peter Dow" <maillist@xxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Wednesday, May 06, 2009 1:05 PM
Subject: SQL CREATE TABLE with CCSID gets SQL0189


Hi Everyone,

I'm trying to create a file with a single field with a CCSID of 1252 (or
819). System value QCCSID is 37, my job CCSID is 37 and when I use
interactive SQL:

CREATE TABLE QTEMP/TEST03P
(INPUTDATA CHAR (30) CCSID 1252 NOT NULL WITH DEFAULT)

I get error SQL0189: "Coded Character Set Identifier 1252 not valid."

Same thing for CCSID 819. When I specify 37 or 65535 for the CCSID, the
table is created.

I don't see anything in the manual or the second-level text for SQL0189
that explains this (at least not to me).

*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> /

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

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.