Author Topic: ACIF Indexer loads report multiple times (number of pages)  (Read 1321 times)

johnnoel

  • Jr. Member
  • **
  • Posts: 35
    • View Profile
ACIF Indexer loads report multiple times (number of pages)
« on: April 27, 2021, 11:12:58 PM »
I am at my whits end here. We had a report in EBCDIC format and loading fine. Source migrated off the mainframe zOS and is now generating same report in ASCII. I made the necessary conversions from OS390 to ACIF indexer and now the report indexes and loads fine with one exception.... if the report is 6 pages, it loads 6 rows, each row is the same 6 page report. If it's 50 pages, it loads 50 rows of the same index data and 50 page document!

Anyone ever seen this before?

CC=YES
CCTYPE=Z
CONVERT=NO
CPGID=850
MCF2REF=CPCS
TRC=NO
FILEFORMAT=STREAM,(NEWLINE=X'0A')
TRIGGER1=*,1,X'31',(TYPE=GROUP)                                 /* 1           */
TRIGGER2=*,6,X'53445F5250',(TYPE=FLOAT)                         /* SD_RP       */
FIELD1=1,6,6,(TRIGGER=1,BASE=0)
FIELD2=0,12,10,(TRIGGER=2,BASE=0)
FIELD3=2,11,10,(TRIGGER=1,BASE=0)
FIELD4=1,59,18,(TRIGGER=1,BASE=0)
FIELD5=1,77,16,(TRIGGER=1,BASE=0)
INDEX1=X'425245414B5F5331',FIELD1,(TYPE=GROUP,BREAK=YES)        /* BREAK_S1    */
INDEX2=X'5245504F52545F4944',FIELD2,(TYPE=GROUP,BREAK=NO)       /* REPORT_ID   */
INDEX3=X'5245504F52545F44415445',FIELD3,(TYPE=GROUP,BREAK=NO)   /* REPORT_DATE */
INDEX4=X'5449544C455F31',FIELD4,(TYPE=GROUP,BREAK=NO)           /* TITLE_1     */
INDEX5=X'5449544C4532',FIELD5,(TYPE=GROUP,BREAK=NO)             /* TITLE2      */
DCFPAGENAMES=NO
UNIQUEBNGS=YES
IMAGEOUT=ASIS
INDEXOBJ=GROUP
INDEXSTARTBY=1
INSERTIMM=NO
RESTYPE=NONE
« Last Edit: April 27, 2021, 11:44:25 PM by johnnoel »

johnnoel

  • Jr. Member
  • **
  • Posts: 35
    • View Profile
Re: ACIF Indexer loads report multiple times (number of pages)
« Reply #1 on: April 28, 2021, 07:43:20 AM »
Update.....

So I removed TRIGGER2 and changed the FIELD2 for TRIGGER1 and the multiple loading issue went away. Go figure.

Thanks all!