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



Hi Michael,

DELTREER4 calls an API (Qp0lProcessSubtree) to get a list of files. The API outputs the filenames in Unicode (UTF-16, which is CCSID 1200). when DEBUG(*YES) is given, the program then tries to copy the filename to an EBCDIC field in order to print it.

When it does that, RPG automatically translates it from UTF-16 (CCSID 1200) to an EBCDIC CCSID, apparently 937 in your case? (It should be the mixed CCSID associated with the job CCSID.)

I'm not sure why it would fail with regard to CCSID 937, or why yours would be 937 to begin with. (937 = Chinese?) and I haven't encountered this error myself.

Hopefully with the explanation I've given you here, you'll have an idea of what to look at next?

Michael Smith wrote:
Scott;


I receive the following error when executing the DELTREE command.... I
am not very familiar with CCSID's, what they do and how this might
impact this program.


This error occurs only when DEBUG(*YES) is specified.


Any help you can provide would be appreciated.


Michael Smith



DELTREE PATH('/home/msmith/pgmr') DATE('08/24/2009') TYPE(*MODIFY)
DEBUG(
*YES)


Conversion between CCSID(1200) and CCSID(937) is not supported.



Additional Message Information




Message ID . . . . . . : RNX0451


Date sent . . . . . . : 08/24/09 Time sent . . . . . . :
13:13:40


Message . . . . : Conversion between CCSID(1200) and CCSID(937) is
not
supported.




Cause . . . . . : In RPG procedure DELTREER4 in program


JHFPRODOBJ/DELTREER4, a conversion is being done which requires
conversion
from CCSID(1200) to CCSID(937), but this conversion is not supported.


Recovery . . . : Use command DSPJOB to find the CCSID of your job,
then
contact the person responsible for program maintenance to determine
the
cause of the problem.


Technical description . . . . . . . . : For conversion between
character
values and graphic values, the character value is assumed to be in
the
graphic CCSID related to the job CCSID. For conversion between
graphic
literals and graphic fields, the CCSID of the literal is assumed to
be the




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.