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



>Sub Fields from file ARACCT
>I            DS
>I                                        1 130 AR
>I                                        1  130AAACT1
>C           #ARACT    CHAINARACCT               85
>C           *IN85     IFEQ *ON
>C                     Z-ADD0         AR
><<<<<<<<<<<<<<<<
>???? What's up with this?
>C                     END
>
>C                     Z-ADDAR,2      #ACCT0 130
><<<<<<<<<<<<<<<< Boom on
>when no hit on ARACCT
>
>When no hit AR  DS has blanks.
> So AR,2 has blanks.
>So Data decimal error when z-add AR,2 to #ACCTO
>
>Anyone suggested fixes/better way This is in alot
>of code just been lucky till now..

Data structures are initialised to *BLANK when the program starts.  You can
override this with an I in the 'type of data structure' column.  This
doesn't help with 'stale' values left after a good CHAIN.  The Z-ADD0 AR is
good practise after a 'no hit' scenario; why do you feel this is a lot of
code?

  --buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.