Author Topic: PDF Index from FileName  (Read 1786 times)

MHassan

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
PDF Index from FileName
« 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 ?
« Last Edit: March 21, 2022, 01:01:16 PM by MHassan »

Greg Ira

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: PDF Index from FileName
« Reply #1 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.

MHassan

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Re: PDF Index from FileName
« Reply #2 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 ?

Greg Ira

  • Full Member
  • ***
  • Posts: 240
    • View Profile
Re: PDF Index from FileName
« Reply #3 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.

Steve Bechtolt

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Re: PDF Index from FileName
« Reply #4 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)

Steve Bechtolt
IBM Certified Solutions Expert - IBM Content Management - OnDemand Multiplatform
ERM as a Service - DXC Technology

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1199
    • View Profile
Re: PDF Index from FileName
« Reply #5 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
« Last Edit: November 03, 2022, 10:44:50 AM by Ed_Arnold »
#zOS #ODF