Author Topic: AFP with TLE's  (Read 3168 times)

DDP021

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
AFP with TLE's
« on: September 15, 2016, 03:39:39 AM »
We are having an issue with a true AFP file.  It appears when the input file has multiple TLE's (used for indexing) with same name on the first page group the file fails to load. BUT if they occur AFTER the first page group, the file will load successfully..the 88 msg indicates,.

Here is a screen shot of input file showing where multiple TLE's exist for ACCOUNT. When this occurs at start of file, process fails with 88 msg of  2 fields submitted by the indexer, 5 expected.

 DOC CNTL....NOOP: B0204000001200013247300000003. 
REPORT ID....I203                                 
BANK NUMBER....47086                             
ACCOUNT NUMBER....2000132473                     
ACCOUNT NUMBER....2000132465
                     
DUPLICATE FLAG....Y                               
ADDR TYPE IND....D                               
PRINT FLAG....N                                   


Please
see below detailed explanation of the issue from the AFP programmer.

They correctly failed the load when these multiple indexed page groups were the first page group in the AFP file but not when it occurred after the first page group; that is when the indexes were created with incorrect values.

1)   It seems from what we observed that the problem we had with the loads is related to how the index rows appear to be created.
-   The process respects the page groups and the correct pages are always indexed.
o   Though the index values seem to be available across the page groups; i.e. the index values from a previous page group would be used in a subsequent page groups index row.
o   It does not seem to clear out TLE's at the point is moves to a new page group
o   Once it finds a duplicate TLE Name it tries to create a new index row; and with the report requiring a specific set of TLE's the duplicate ACCOUNT on the first page group in the load file the set of TLE's failed as it had not yet found all the required TLE's.
o   When the duplicate ACCOUNT TLE's are encountered after the first account the index row is created with the last value from each of the other required TLE's; and as they are not cleared across a page group then it picked up the previous values of DUPLICATE FLAG and PRINT FLAG (we found specific case for both of these situations)
o   Clearing the TLE's after each page group would have prevented the invalid index row's;  though it would likely have also produced the failed test loads from the start of our testing..
o   It seems as though the load and index process currently does not enforce the integrity if the TLE's to be from the same page group currently being processed
« Last Edit: September 21, 2018, 01:04:52 PM by Justin Derrick »

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1204
    • View Profile
Re: AFP with TLE's
« Reply #1 on: September 16, 2016, 08:41:48 AM »
The ODNewsletter2011Q4.pdf has a section "Problems Caused by Repeating TLE Index Names".

It's available here:

Quote
http://www.odusergroup.org/forums/index.php?topic=685.0

Ed



#zOS #ODF

DDP021

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
Re: AFP with TLE's
« Reply #2 on: September 19, 2016, 03:45:04 AM »
Thanks Ed....Attempted to open PDF from link provided and received this error:

There was an error opening this document.  the file is damaged and could not be be repaired.  Are you able to attach the document to this forum?  Appreciate the help!!!

Take care

Dave

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1204
    • View Profile
Re: AFP with TLE's
« Reply #3 on: September 19, 2016, 10:53:50 AM »
Here are links to all of the newsletters:

http://www-01.ibm.com/support/docview.wss?uid=swg27024130

I verified that I could open the newsletter of interest from that site.

Ed
#zOS #ODF