Thanks a lot for your Swift reply
For the 1query, I tried Comma it didn't work but as you suggested additional -n parameter worked.
For the 2nd Query, How to DELETE/EXPIRE the DOCUMENT from TSM if we don't set the EXPIRATION TYPE as LOAD. As TSM is waiting for the Event based Trigger Ondemand(ARCHIVE RENTENTON ON).
As our requirement
1) Archive the Customer document for as many years
2) When the Customer is Inactive set the Expiration date for the Documents related to that Customer and delete it when the Expiration is reached.
How this requirement can be achieved with LOAD expiration type.
Could you Please help, it will be so helpful/
You simply cannot out of the box... you need to script something. Either you use the help of the CMOD module called ERM (Enhanced Retention Management), or you do something totally custom.
Here are possible implementation, one with ERM, and one without:
1) With ERM
a) Put the documents you want to keep, with a hold (either implicit hold or explicit hold)
b) when the documents needs to expire (you need to do a search for all impacted documents), then you remove the holds for these documents, and here you can use ODWEK Java API (method: ODFolder.HoldReleaseHits(...) or ODFolder.ImpliedHoldReleaseHits(...)) or you can use the command arsdoc -> arsdoc hold_release ...
c) let arsadmin -d run
2) without ERM
a) you need to have a technical field for it. something like "status" and the default could be 0 (= do not delete), and 1 is to be deleted.
b) the day you want to delete documents, you put 1 in the field of the document to be deleted (with a arsadmin update command for example).
c) then per loadID, in your AG, you need to check if you have documents that contains at least one 1 in your technical field, or a percentage high enough of 1 (maybe 80+%)
d) when you have the list of load id that needs to be handled, then you loop through them and do the following:
A) export all documents for that loadID that contains 0 in the technical field (arsdoc get -c -gN ...)
B) do a arsload from the document you got in A)
C) when A) and B) are successfull, then do an unload of the LoadID
e) take a cup of coffee, because it might take a while :-D