Author Topic: Loading AFP document using Generic Indexer  (Read 2355 times)

nikeshpj

  • Newbie
  • *
  • Posts: 9
    • View Profile
Loading AFP document using Generic Indexer
« on: March 01, 2019, 09:20:34 AM »
Hi,
I am trying to load a line data (EBCDIC) report file as AFP using Generic Indexer.

I have these files.
report.out        - Actual report file in EBCDIC format
report.out.ind  - Index file with all the indexes and values
report.out.res  - Resource file, extracted from already loaded document using arsdoc get -a

I am able to load the document using 

/opt/ibm/ondemand/V9.5/bin/arsload -h U3AE21 -u user -p pwd -g <AG> -a <APP> -n -X G report.out

But the AFP document doesn't look as it should.
It doesn't look like the document loaded using ACIF  :(

Please help me here. What am I missing here ?

-Nikesh PJ

Darrell Bryant

  • Full Member
  • ***
  • Posts: 104
  • Sed fugit interea fugit inreparabile tempus-Virgil
    • View Profile
Re: Loading AFP document using Generic Indexer
« Reply #1 on: March 01, 2019, 12:18:54 PM »
The generic indexer will not convert line data to AFP.  For that, you need to use ACIF.
#IBMi #iSeries #PDF #XML #400 Indexer #ASM

nikeshpj

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Loading AFP document using Generic Indexer
« Reply #2 on: March 02, 2019, 02:18:41 AM »
Thank you.