Author Topic: AFP files won't load  (Read 2870 times)

fnb4321

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
AFP files won't load
« on: December 12, 2019, 06:50:13 AM »
  We are in the process of upgrading from 9.5.0.11 to 10.1.0.5 and are currently testing sending different report formats to the 10.1 cert server.

  Line mode reports are loading with no issue but AFP files are failing with the APK448S error (indexing was requested but no trigger info was found, etc..). I verified the trigger info is there and the same files load into the same version of the app group/application on our 9.5 CMOD server with no issue.

  I am basically doing a dual load - sending the file(s) to both the 9.5 server and the other to the new 10.1 cert server.  The files load on the 9.5 server but fail on the 10.1 server.  The app groups/applications were copied from the 9.5 server to the 10.1 server so they are identical.
  I am stumped..  Anyone ever ran into this issue ?

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1199
    • View Profile
Re: AFP files won't load
« Reply #1 on: December 12, 2019, 07:46:37 AM »
Could this be your situation?

PH18294 - V10.1 ANYEXIT is not called when INDEXSTYLE=AFP

The APAR is still open but there is a ++APAR test fix available.

Ed
#zOS #ODF

fnb4321

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: AFP files won't load
« Reply #2 on: December 12, 2019, 08:17:03 AM »
Thanks Ed - I don't think it is related to that but I will look into it.  Below are the actual indexer parameters being used - I do not see any exit or INDEXSTYLE=AFP reference.

cc = yes
cctype = a
convert = yes
cpgid = 500
field1 = 0,18,7                     
field2 = 0,25,5                     
field3 = 0,30,17                   
field4 = 0,47,40                   
field5 = 0,87,8                     
field6 = 0,87,8                     
fileformat = record
imageout = asis
index1 = X'E2E3A89785',field1                               
index2 = X'C2819592D596',field2                             
index3 = X'C18383A3D596',field3                             
index4 = X'C3A4A2A3D5819485',field4                     
index5 = X'E2C481A385',field5                               
index6 = X'E2D78599899684',field6                       
indexstartby = 99
formdef=F1CSFCRE                   
reslib = /arscfg/resources:/arscfg/fonts
restype  = fdef,pseg,ovly
trigger1 = *,1,X'5A008AD3EEEE000000'
INDEXOBJ=ALL

fnb4321

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: AFP files won't load
« Reply #3 on: January 06, 2020, 12:20:09 PM »
  So I have a little more info.

When attempting to load/index the AFP files on Linux server (using version 10.1.0.5) it is not recognizing the AFP NO-OP records that we are using as the base trigger info.

  The arsafpd command shows that the NO-OP records are there.  If I change the trigger to something other than the X'5A' NO-OP then the files load with no issue.

 The same exact files loading on to current prod AIX server (using version 9.5.0.11) load with no issues.

Could there be some difference between AIX and Linux servers in regards to codepage that would cause the NO-OP records not to be recognized on the Linux server ?

frasert

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: AFP files won't load
« Reply #4 on: January 13, 2020, 08:33:36 AM »
Quote
The app groups/applications were copied from the 9.5 server to the 10.1 server so they are identical

I've seen instances where "copying" the application group and application objects can produce discrepancies between the copies.  I haven't really nailed this down as to exactly how and when this happens but I've seen "Date(old)" fields change to "Date" fields just from doing a copy, for example.

So I would run an 'arsxml export' on your original App Group and compare that with another 'arsxml export' of the copied App Group to see if there are any differences.

I know this has surprised me before!

frasert

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: AFP files won't load
« Reply #5 on: January 13, 2020, 08:39:14 AM »
With that 'arsxml export' make sure to use the '-r a' parameter to include application objects.

frasert

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: AFP files won't load
« Reply #6 on: January 14, 2020, 02:01:43 PM »
Found this from the Help pages of the Administrator Client.  Apparently changing Date(old style) to Date is normal behavior, or at least called out in the Help:

Content Manager OnDemand Version 9.0 introduced a new style for Date, Date/Time, or Date/Time (TZ) fields that increases the range of dates. An application group cannot contain Date, Date/Time, or Date/Time (TZ) fields of both styles; those fields in an application group must use one style or the other. When you copy or export application groups, Content Manager OnDemand changes Date, Date/Time, or Date/Time (TZ) fields from the old style to the new style. If you do not want to use the new style when you copy an application group, you can change those fields to the old style before adding the application group.

Anyways, this is likely not even your issue.  Just wanted to call that out in case folks were not aware.

Lars Bencze

  • Full Member
  • ***
  • Posts: 116
  • CMOD Expert at Skandia
    • View Profile
    • INACTIVE - Bezland Consulting
Re: AFP files won't load
« Reply #7 on: January 15, 2020, 04:00:29 AM »
Quote
The app groups/applications were copied from the 9.5 server to the 10.1 server so they are identical

I've seen instances where "copying" the application group and application objects can produce discrepancies between the copies.  I haven't really nailed this down as to exactly how and when this happens but I've seen "Date(old)" fields change to "Date" fields just from doing a copy, for example.

So I would run an 'arsxml export' on your original App Group and compare that with another 'arsxml export' of the copied App Group to see if there are any differences.

I know this has surprised me before!

If you don't feel like comparing XML files, you could also use the "Compare" functionality in the OD Administrator tool. It highlights any differences found, which makes them super easy to spot.
OnDemand for MP expert. #Multiplatforms #Admin #Scripts #Performance #Support #Architecture #PDFIndexing #TSM/SP #DB2 #CustomSolutions #Integration #UserExits #Migrations #Workflow #ECM #Cloud #ODApi

fnb4321

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: AFP files won't load
« Reply #8 on: January 15, 2020, 07:51:21 AM »
OK - finally figured out what the issue was in case anyone else runs into.

For this upgrade we will be moving from AIX to Linux servers.

The reason the AFP files would not load on the Linux servers is because AIX is big endian and Linux is little endian.

So - I have to change the NO-OP trigger so that the least significant value in the sequence is stored first at the lowest storage address.

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: AFP files won't load
« Reply #9 on: January 15, 2020, 12:12:14 PM »
Wow.  That's the first time I've seen that be an issue in relation to CMOD.

Sounds like that should be a bug report to IBM for improvement -- either identifying BE/LE data in AFP files, or offering the option to correct the interpretation of those records on the way in. 

Would you consider posting to the Enhancements Forum?

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR