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



Hello Mike,



It is a little bit complicated, but you can definitely get the
information you need form the XA database.



First, query the AMTLIBx/RPTRNC file (Note that this file resides
in the AMTLIBx libray, not the AMFLIBx library). This is the header
file for all the REP transaction batches. There is a field in each
RPTRNC record called "BERRS" which contains the "Error Record Count" for
each batch. This will tell you which batches contain error
transactions.



Taking the Batch Number from the RPTRNC record (the Batch Number in
RPTRNC is in the field called "BATCH"), you can deduce the name of the
member of the RPTRAN file which contains the actual transactions.
Simply append the batch number to the letters "BCH" and you have the
member name that you will need to query in RPTRAN. You will need to run
a query for each member that contains transactions which are in error.
For example, if Batch Numbers 345 and 350 contain error transactions,
you would want to query file AMTLIBx/RPTRAN, member BCH345 and file
AMTLIBx/RPTRAN, member BCH350 (Again, note that RPTRAN resides in the
AMTLIBx library).



For Batch Numbers between 1 and 99, be sure to include zero(es).
For example, if batch number 25 contains error transactions, you will
want to query file AMTLIBx/RPTRAN, member BCH025. If batch number 8
contains error transactions, you will want to query file AMTLIBx/RPTRAN,
member BCH008.



Special Note - REP transactions that came from PM&C will reside in
the special batch BCH00J (that is BCH, then two zeroes, then the letter
J).



Look for IP transactions with a 'U' in the UASTS field ("Unapplied
Status Code"). The MICNO field ("Message Number") field will contain
the error message that was generated which caused the IP to be
unapplied.



I hope this is helpful.



CISTECH, Inc.
Charles Hood, Sr. Programmer/Analyst, CPIM
phone 803.649.5962
mobile 803.295.8213


The XA Experts
For free education and extensive XA resources go to:
www.CISTECH.net <http://www.cistech.net/>





2/5
Using the REP module, we have unapplied IP transactions. I would like
to create a query report of these unapplied transactions. What file are

these transaction in?
In advance, thanks


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 copyright@midrange.com.

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.