Hello Philippe,
Well I don't know z/OS, but in the Unix realm, I would do something like:
Generic indexer only.
- In a config file I will save the different application group / application that I need to use
- When a file arrive, then I create a generic index with the index I need
- Archive the document with generic index
- Put the archived file in a DONE folder (or delete it if it was correctly archived)
- Put the archived file in FAILED folder if it was not correctly archived.
If you need to use ACIF / PDF indexer (I have never used that suggestion!)
- In a config file I will save the different application group / application that I need to use
- When a file arrive, then I create an index with the option -i from arsload
- Add the index you want in this index.
- Archive the document with the new index.
- Put the archived file in a DONE folder (or delete it if it was correctly archived)
- Put the archived file in FAILED folder if it was not correctly archived.