OnDemand User Group

Support Forums => Report Indexing => Topic started by: MHassan on March 21, 2022, 12:21:12 PM

Title: PDF Index from FileName
Post by: MHassan on March 21, 2022, 12:21:12 PM
Hello,

I am trying to index my fields from the filename so I have done the below but I am getting an error :

1- I created an application group and defined 1 parameter BranchCode
2-I Created an application with Datatype : PDF & Indexer : PDF but without provide any indexer information included,
3-I provide in my configurator in arsload service parameter -b 1,BranchCode -B "AG.APP.1FLD.EXT"
4- I renamed my pdf file with ApplicationgroupName.ApplicationName.001.PDF & put it into the arsload folder for automatic loading
So what i was expecting that 001 is indexed from file name and stored in the field BranchCode which i created in my application

But I am still getting an error  ARS4910E Incomplete indexing parameters supplied

So anyone have idea why i am getting this error ?
Title: Re: PDF Index from FileName
Post by: Greg Ira on March 22, 2022, 08:58:21 AM
Did you try double quotes around the parameters in the -b parameter?  -b "1,BranchCode"   
That's how we have ours working.
Title: Re: PDF Index from FileName
Post by: MHassan on March 22, 2022, 10:09:11 AM
Hello Greg,

Yes I  tried -b "1,BranchCode" but still the same error ARS4910E Incomplete indexing parameters supplied
I renamed my pdf file to FileName.FileName.001.pdf  (FileName : is the name of my application group & application )
should I add anything in my indexer information tab in the application because I think this error is appearing because that I am leaving my indexer information tab blank without anything ?
Title: Re: PDF Index from FileName
Post by: Greg Ira on March 22, 2022, 12:03:47 PM
All ours have indexing of some sort defined.  If you can it probably wouldn't hurt defining a Trigger1 at the very least.
Title: Re: PDF Index from FileName
Post by: Steve Bechtolt on November 02, 2022, 11:41:15 AM
You need to setup some dummy index parameters:
CC=NO
CONVERT=NO
CPGID=850
FILEFORMAT=STREAM,(NEWLINE=X'0A')
FIELD1='Dummy'
INDEX1='DUMMY',FIELD1,(TYPE=GROUP,BREAK=YES)

Title: Re: PDF Index from FileName
Post by: Ed_Arnold on November 03, 2022, 10:42:13 AM
My test case parms look like this

[other parms]
-b
"1,JOBNAME"
-B
WRI.MVS.1JOB.DAT.FOR.YY.HH.EXT
-d
blah blah blah

So that's my combination of quotes and things without quotes.

Ed