acif indexer for CSV file

Previous topic - Next topic

kader

Hi folks,

I have an issue to index csv file using ACIF indexer. I have constant header that I use as trigger however since the columns has variable lengths I'm not able to figure out how to use kind of counter to pickup the value of column1, column3, column8 for example.
I look also at ACIF user programming exit, but all code is in C language, is it possible to use Perl for instance?

Thanks for input,


Abdel

Justin Derrick

You would be better off writing your own indexer.  If you're familiar with Perl, it will be trivial to create an indexer that reads your specially formatted CSV files, and creates a text file in the Generic Index format that CMOD likes.

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

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

kader

Thanks Justin. It seems your suggestion is the only option I have.

Kader

Justin Derrick

Yeah, ACIF is really for AFP and line data reports -- its limitations become quickly apparent when trying to do anything else.  :)

Let us know how it turns out.

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

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