OnDemand User Group

Support Forums => Content Navigator => Topic started by: JMichael on February 11, 2022, 08:34:30 AM

Title: ARSDOCGET Command scripts
Post by: JMichael on February 11, 2022, 08:34:30 AM
Hi all,
Just a question here.  I have an "arsdocget" command script to pull back report files from CMOD archives based on load id & rpt name.  However is there a known arsdocget command script that includes a date range parameter to pull multiple report files at once?  An example of a command is shown below that pulls on one report file.

arsdoc get -vh localhost -u CMODLOAD -p /export/home/cmod/loaddstash -G MLICA_AG5_DF -X 88162-1-0-37348FAA-20210722000000-20210722000000-148004 -caN -d /cmod/Mike -o /MLICA_AG5_DF.ML000019-DF.20210722204524097590.ARD
Title: Re: ARSDOCGET Command scripts
Post by: Justin Derrick on February 22, 2022, 09:48:04 AM
Your best bet in this case is to perform a search in the client software that matches what you want to extract, then save the results as a 'Named Query', then specify the Named Query on CMOD's arsdoc get command line with the '-q' parameter.

-JD.