Author Topic: ARSDOCGET Command scripts  (Read 580 times)

JMichael

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
ARSDOCGET Command scripts
« 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

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: ARSDOCGET Command scripts
« Reply #1 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.

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

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