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



"A followup question - and I need the answer yesterday! (nach) Steve, what do
you do about creating the transaction numbers? If you leave the field blank,
does TRDATA processing generate the "next" number needed, or do you have a
number series that you use to populate the transaction number as you
populate the TRDATA records?"

Yes; on your program, you need to read a data area called ZNXTRN and maybe do
something like (somebody from the list helped me once):
C     Pull_Trans#   Begsr
C                   Clear                   znxtrn
C                   Clear                   *In91
C     *Dtaara       Define                  ZNXTRN
C                   Dou       *In91 = *Off
<-----|
C     *Lock         In        ZNXTRN                               91
|
C                   Enddo
<-----|
C                   Dou       *In91 = *Off
<-----|
C                   Eval      ZNXTRN = ZNXTRN + 1
|
|
C                   If        ZNXTRN = 0
|
C                   Eval      ZNXTRN = 1
|
C                   Endif
|
|
C     ZNXTRN        setll     TRDataz0                               91
|
C                   Enddo
<-----|
C                   Out       ZNXTRN
C                   Endsr

You will get the idea.  HTH!
Peter Vidal
Pall Aeropower Corp.
SR Programmer Analyst
WWW.Pall.com / 727-539-8448, x2414

"A good player makes himself look good; a great player makes the team look
good."
Author unknown



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.