×
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.
I found it.
It seems that if you don't specify an explicit "conversion CCSID" (by
using the CCSID flag and a fourth parameter with the desired target
CCSID, presumably 37 for most of us), and the file CCSID isn't strictly
single-byte, it doesn't like it (no matter what the job CCSID is).
Solution is to go from
EVAL FD = OPEN(%TRIM(PATH):MODE)
(where MODE is the open-mode, or OFlags, NOT the file permissions mode!)
to
EVAL FD = OPEN(%TRIM(PATH):MODE:0:37)
giving 0 as a placeholder for the (ignored) permissions mode, and 37 for
the conversion CCSID.
Once in a great while, the Knowledge Center actually lives up to its
name, imparting knowledge instead of heartburn.
--
JHHL
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.