|
On Thu, Apr 22, 2021 at 7:37 PM Art Tostaine, Jr. <atostaine@xxxxxxxxx>
wrote:
open.
If I specify codepage=1208 I can open the file, but the data is garbage.
If I try anything else like ccsid=1208, or my job ccsid=37, it won't
I take it you are trying those as part of the open mode. I'll throw
this out there, just in case: You are defining OpenMode to be long
enough, right? (Some examples out there, including that one from
Simon, and your original version that only had the 'r' and a null
byte, define it to be 5 characters.)
Have you really been having this problem since September of last year?
If you can open the file but get garbage, that's promising. It means
that you just have to figure out the proper code page to use. I'm sure
you can get help with that, especially if you can tell us a few of the
hex values at the beginning of the file (as viewed by EDTF or DSPF
with hex display enabled), and what characters they correspond to.
John Y.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
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.