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



The QPRCRTPG API documentation shows the colon before the op code, but I never 
use relative branch targets anyway, out of native paranoia.  Seems too easy 
to get screwed up if you add or remove instructions later, so I just avoid 
the problem by using explicit tags.

--Dave

On Friday 20 February 2004 13:39, Paul Jackson wrote:
> or maybe the colon on the end of the ADDN line? Not sure which is the
> preferred style.
>
> -----Original Message-----
> From: Dave McKenzie [mailto:davemck@xxxxxxxxxxxxx]
> Sent: Friday, February 20, 2004 1:34 PM
> To: MI Programming on the AS400 / iSeries
> Subject: Re: [MI400] OK I give up - can't compile this MI source
>
>
> I forgot to say:
>
> ...so it should look like this:
>
>   CPYNV(B)  THE-OFFSET, H'0300'/POS(=+2);  /* first entry */
>
> NEXT-WCTBL-ENTRY:
>   ADDN(S)   THE-OFFSET, H'0400';    /* size of entry */
>
> : CMPNV(B)  THE-OFFSET, WCBTBL-SIZE/NLO(NEXT-WCB-TABLE);
>
> --Dave


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.