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



Have you read the manual? I haven't used this feature but it seems pretty clear that you can control the ccdid via a Process option.

Extract (from V7.4 manual)

If identifier-1 references a data item of category alphanumeric, the generated XML document is encoded with the CCSID specified by the PROCESS statement CCSID option d - XML GENERATE single-byte data CCSID in effect when the source code was compiled. If the CCSID in effect is 65535, the job default CCSID at run time will be used. If identifier-1 references a data item of category national, the generated XML document is encoded in UCS-2. If PROCESS statement CCSID option d specifies a National CCSID, that CCSID is used. Otherwise, the CCSID specified by the NTLCCSID PROCESS option is used. A byte order mark is not generated.


Jon P

On Dec 6, 2022, at 3:07 PM, Sergio Luis Puentes-Valladares <spuentes@xxxxxxxxx> wrote:

I am trying to generate an IFS XML file in COBOL ile using XML GENERATE but
I have a problem with the ENCODING!!
How and where do I define the encoding to use? In FREE RPG I have no problem

Regards

Sergio Luis Puentes Valladares
Developer SR IBM i RPG/COBOL
MOBIL/Whatsapp +54 9 223 530 0358
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-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 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-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.