Well 65535 is not really a CCSID - it really says not to use a CCSID. It means treat the data as a binary stream - so the answer in SQL is "CHAR(16) FOR BIT DATA"

I didn't know the syntax so I took the and pointed ACS at the DDS described file and had it generate the SQL definition.

Jon Paris


On Jan 5, 2019, at 6:02 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:

How do I show the CCSID of 65535 for this line:

A IV 16 TEXT('Initialization vector')
A CCSID(65535)
This does not work:
IV char(16), ccsid 65535, not null,

This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com

This thread ...


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

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