Delete/keep document after loading

Previous topic - Next topic

Daniel

Hi everyone

Can I control whether a document gets deleted after being loaded into OnDemand ?  Can I leave the original document in place ?

I actually have two issues:

1. User want to delete documents after loading into CMOD.
2. User wants to keep original document after loading into CMOD.

Thanks

jsquizz

Look into the -n flag of arsload:

-n Do not remove files
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

Heh.  Jeff beat me to it.

Just a word of warning though...  If you restart arsload, you're going to end up with duplicates.  And if you don't clean out that directory regularly, you're going to end up with a LOT of duplicates.

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Daniel

Thanks for the help.  I will give it a try

jsquizz

Quote from: Daniel on September 14, 2017, 04:42:37 PM
Thanks for the help.  I will give it a try

Just as a tip from a bunch of CMOD installs I've seen..

All the times that arsload is ran as a deamon, or even when it's called programmatically, ive always seen -nvf.

Whenever I am doing my own unit testing, messing around with CMOD, or just trying something, I just got in the habit of typing -nvf as a flag.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING