Hope I understood your question correctly.
The way I've archived text files with the generic indexer is to place the files, both the text file and the index paramater file in USS. I seem to recall the generic indexer will only work against files in USS.
The index parm file contains the path and filename for the text file as GROUP_FILENAME.
Example for a single text file. The file name is bldparms.ind :
CODEPAGE:500
GROUP_FIELD_NAME:Report_Title
GROUP_FIELD_VALUE:Install OnDemand client
GROUP_FIELD_NAME:Report_Date
GROUP_FIELD_VALUE:5/18/2011
GROUP_FIELD_NAME:Author
GROUP_FIELD_VALUE:Smith
GROUP_FIELD_NAME:Subject
GROUP_FIELD_VALUE:CMOD
GROUP_OFFSET:0
GROUP_LENGTH:0
GROUP_FILENAME:/etc/ond/32P/pcfile.input
The directory /etc/ond/32P would contain
.
..
pcfile.input
bldparms.ind
When I execute the command:
arsload -u smith -p xxxxx -h archive -a TEXTDOC -g PCDOCS -c /etc/ond/32P/temp /etc/ond/32P/bldparms
the text file will get loaded.
I do have a setup that would allow me to modify the parm file in z/OS and upload it to USS.
One member contains the parm file, lets say it's called PCDOCS:
CODEPAGE:500
GROUP_FIELD_NAME:Report_Title
GROUP_FIELD_VALUE:Install OnDemand client
GROUP_FIELD_NAME:Report_Date
GROUP_FIELD_VALUE:5/18/2011
GROUP_FIELD_NAME:Author
GROUP_FIELD_VALUE:Smith
GROUP_FIELD_NAME:Subject
GROUP_FIELD_VALUE:CMOD
GROUP_OFFSET:0
GROUP_LENGTH:0
GROUP_FILENAME:/etc/ond/32P/pcfile.input
My JCL will then copy it to the ZFS:
//COPYSTEP EXEC PGM=IKJEFT01
//OUTHFS DD PATH='/etc/ond/32P/bldprms.ind',
// PATHDISP=(KEEP,DELETE)
//* PATHOPTS=(OWRONLY,OCREAT,OEXCL),
//* PATHMODE=(SIRWXU,SIRWXG,SIRWXO)
//* if bldnprms.tmp does not exist uncomment the previous 2 lines
//* PATHMODE=(SIRUSR,SIWUSR,SIRGRP,SIWGRP)
//INMVS DD DISP=SHR,DSN=HLQ.ONDEMAND.PCLOAD.JCL(PCDOCS)
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
OCOPY INDD(INMVS) OUTDD(OUTHFS) TEXT CONVERT(NO) PATHOPTS(USE)
/*
One major "gotcha" I've discovered with this method is that the process pads the parmfile with blanks which causes the load process fail. I had to create a rexx exec on the USS that would strip the blanks.
Hope this helps some