×
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.
I have a code file that we use for lots of things like customer xxxxxx
requires printed invoice, print special pick ticket format for store, etc.
The code file is keyed by group#, code. It has several fields, including
one numeric.
We always code chains and updates in every program. I'd like to be able to
do something like this instead:
If checkCodeExists(145'INVOICES');
Dostuff;
Endif;
Or
Next# = GetNextNumber(155:'INVOICE_NUMBER');
This program should chain, add 1, update, return the value.
I tried to code the PR/PI in my first RPG and it says I can't return a
value. Do I need something different? Sorry I'm so vague. I'm still not
where I need to be on procedures/service programs, etc.
Thanks, Jack
As an Amazon Associate we earn from qualifying purchases.
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.