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



Art,
You can use CHGPF to change the CCSID of that file to 37, without hurting anything.  Since it was created as 65535, as most likely the "data" in there is in reality already in EBCDIC ...  :-)
    CHGPF FILE(mylib/TEST) CCSID(37) 
unless the file was created with RCDLEN(nnn), e.g. "program described" (flat file).
You can also do it using CHGPF or SQL ALTER TABLE ...
HTH,
Mark S. Waterbury

On Sunday, October 29, 2023 at 02:52:21 PM EDT, Art Tostaine, Jr. <atostaine@xxxxxxxxx> wrote:

Thank Buck.  Other files are working. The "bad" file CCSID is *HEX. It's
our menu file.

Art

On Sun, Oct 29, 2023 at 12:08 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

It uses the ODBC driver via an SSH connection.

It works perfectly for me - in fact I prefer it to Run SQL Scripts for
most stuff.


Jon P.

On Oct 28, 2023, at 10:43 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:

On Sat, 28 Oct 2023 at 20:49, Art Tostaine, Jr. <atostaine@xxxxxxxxx>
wrote:

It’s one of the first tables I ever created on V2R3. It only has
character
and packed fields. I’ll try another one though. Thanks

Is it possible that it was created CCSID 65535?
DSPFFD and look at the columns you're interested in.

I haven't tried to use VS Code for SQL work; if it uses JDBC, the
connector should have a setting for CCSID 65535 which would
effectively  let it pretend that the columns are really US English.

  --buck
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.


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