Hello Siva,
Well now I've understood what you are trying to do :-D before it was a bit not really clear (or maybe I've not read correctly...) sorry.
Well, I think you are going to be desapointed...
Here is what the arsload documentation says: (
http://publib.boulder.ibm.com/infocenter/cmod/v8r5m0/topic/com.ibm.ondemand.administeringmp.doc/dodlo003.htm)
The IDX value works with the IBM Content Manager OnDemand PDF Indexer for Multiplatforms only. It does not work with the OS/400 indexer or the generic indexer.
so if you are trying to use the option -b and -B with ACIF indexer, you're out of luck. Since that option works ONLY with PDF Indexer.
In addition to that, in the same documentation page as before:
You can use the -B parameter or the -g and -a parameters combined but cannot use all three of them together. If you specify the -B parameter, you identify the application group name and the application name as parts of the filename.
Meaning that either you use the -B option, or (exclusive or) you use -g & -a. But not at the same time.
So in your case, you want to use that format of arsload:
arsload -u name -p passwd -h server -b "workload" -B AG.APP.IDX.IGN.EXT APPG.APP.A123.C120202.TXT
What you could do (I've done it a couple of times), is to write a small script and extract your IDX from the filename, and write it in a file (eg: index-param.prm) with the following format:
FIELD32=A123 <- value of the IDX from the filename
INDEX32=workload,FIELD32
and then call the arsload command like that:
arsload -u name -p password -h server -g APPG -a APP -j index-param.prm APPG.APP.A123.C120202.TXT
Just take care to use an INDEX/FIELD number that is high enough not to have the same number as your actual Acif Indexer.
I hope that would help a bit.
Sincerely yours,
Alessandro