Indexer file problem.

Previous topic - Next topic

pankaj.puranik

Hi

I get the following error while loading a BMP file just for test purposes.
I am using generic indexer.
Below is the indexer file and the error message I get.

COMMENT: input file number 1
GROUP_FIELD_NAME:First_Name
GROUP_FIELD_VALUE:Pankaj Puranik
GROUP_FIELD_NAME:Date_Load
GROUP_FIELD_VALUE:01/01/01
GROUP_OFFSET:0
GROUP_LENGTH:0
GROUP_FILENAME:C:\LoadFolder\TestFile.bmp



C:\Program Files\IBM\OnDemand for WinNT\bin>arsload -h 10.242.29.211 -u admin -p
password -n -g TestAG -a TestA C:\LoadFolder\TestFile
arsload: Processing file >C:\LoadFolder\TestFile<

arsload: 09/20/10 16:54:25 -- Loading started, --UNKNOWN-- bytes to process
Invalid generic index file format: >GROUP_FIELD_NAME:First_Name<
Loaded 0 rows into the database
arsload: 09/20/10 16:54:25 Loading failed
arsload: Processing failed for file >C:\LoadFolder\TestFile<
An unexpected error occurred.  Contact your System Administrator and/or consult
the System Log.  File=arsadmin.c, Line=1793

arsload: Unable to log load information
arsload: Processing has stopped.  The remaining files will NOT be processed.

Justin Derrick

You're missing the code page ID.  ARSLOAD probably isn't complaining about the GROUP_FIELD_NAME parameter as much as it's complaining that you didn't specify a Code Page for the generic index data. 

Good luck!
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

pankaj.puranik


Oh yes I missed the CODEPAGE.
The file loaded and I am able to retrieve it.

But there's this message below that I get. Not sure what this signifies?

C:\Program Files\IBM\OnDemand for WinNT\bin>arsload -h 10.242.29.211 -u admin -p
password -g TestAG -a TestA C:\LoadFolder\test -nvf
arsload: Processing file >C:\LoadFolder\test<

arsload: 09/21/10 11:18:55 -- Loading started, --UNKNOWN-- bytes to process
OnDemand Load Id = >5001-1-0-21FAA-6244-6244<
Loaded 1 rows into the database
Document compression type used - OD77.  Bytes Stored = >20188< Rows = >1<
arsload: 09/21/10 11:18:56 Loading completed
arsload: Processing successful for file >C:\LoadFolder\test<
An unexpected error occurred.  Contact your System Administrator and/or consult
the System Log.  File=arsadmin.c, Line=1793

arsload: Unable to log load information
arsload: Processing has stopped.  The remaining files will NOT be processed.

Cheers
Pankaj.

Justin Derrick

Check your other thread regarding the System Log for a solution...
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