Hi, Erik:

You *cannot* create a working prototype for CPYBRAP _because it is *not supported* as a built-in (in ILE)_.

versus, for example:


Do you see the box that says "Bound program access" on the above page?

If the instruction does not have that, you cannot use it as a "built-in" in ILE.

(You could still use it in an OPM MI *PGM.)

Mark S. Waterbury

> On 3/30/2011 4:22 PM, Erik Olsson wrote:
Has anyone managed to prototype the CPYBRAP MI instruction? I have
tried a number of different approaches, even using the similar CPYBLAP
file from QSYSINC but so far no success.
(For the record, I have to populate a zoned decimal field that's 13, 0
so I can't use QXXITOZ as it only takes ints, ie not long long int and
I was thinking that CPYBRAP would be neater than a snprintf).

Best wishes,

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].