On 2024-07-11 12:57 p.m., x y wrote:
ctl-opt copyright((C) '1990-2024')
bnddir('QC2LE')
datedit(*mdy/)
datfmt(*iso-)
cursym('$')
debug(*constants:*dump:*input:*retval)
decedit('.')
expropts(*resdecpos)
option(*nodebugio:*srcstmt)
truncnbr(*yes);

/if defined(*CRTRPGMOD)
ctl-opt nomain;
/elseif defined(*CRTBNDRPG)
ctl-opt dftactgrp(*NO);
/endif


I would add CCSID(*CHAR:*JOBRUN) to the list of standard options.

https://www.ibm.com/support/pages/node/1119345

That page only talks about having x'0e' in your data, but in general, it's better to have RPG assume that your job CCSID is your actual job CCSID.


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