DDP021,
CMOD is a structure archiving system, meaning that you MUST provide an index with your file.
If your user don't provide an index, then you must provide a mechanism that will create the generic index that Russel provided as an example.
What I do sometimes with my customer is create a script that at the end launch "arsload" manually.
And before launching arsload, it will create an index automagically for the files that doesn't have indexes. But to create such index, then you must have some naming convention, index convention, etc... and then you can create your script that create the index for you.
But basically, no index, no archiving of documents.
The ONLY thing I might imagine is that, with the explanation I gave you (APP with User Type : xls + Generic Index)
Then you give default values for "Report Type" like "Excel report"
and for the date you give the value "t" <- not a typo, really the letter "t", which means "today"
If you want for the date, you might set it up in the application group as a date/time... so it might be easier to find the document you want.
1) create a script that check every minute if a file is in the input directory.
2) check if this is a .xls
3) create a index with that template:
CODEPAGE:923
GROUP_OFFSET:0
GROUP_LENGTH:0
GROUP_FILENAME:<your_file_that_you_have_found_in_the_input_directory.xls>
Name it for example: myfile-xls-20120618221902.ind
4) call arsload:
arsload -I archive -u admin -p password -g myAG-XLS -a myAPP-XLS -nvf myfile-xls-20120618221902
it will archive automatically without any index, because they are automatically generated in the application with default values.
But again, you need something... without anything it won't work.
If it's not clear (it could be... It's quite late for me right now!!) tell me, and I will do a full explanation with all details.
Sincerely yours,
Alessandro