Author Topic: Successful Load Fails to Unload  (Read 78 times)

JFHall

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Successful Load Fails to Unload
« on: June 20, 2022, 11:00:10 PM »
A group of reports with the load id below loaded successfully a few days ago.  Today I get an error when trying to unload this load.  Same load id.  I've verified in the System Log that it has not been unloaded since being loaded.  I can also view the load's reports in the client.  Only thing slightly different is this is our test environment, which I don't believe we've ever run an unload against.  I've probably run at least a dozen such unloads in our prod environment.  Anyone ever run across such a thing?

arsadmin unload -g ApplGroup -u admin -p xxxxxxxx -h testsrvr -L 13031-46-0-57FAA-20220616000000-20220616000000-13032
The option >-L< argument >13031-46-0-57FAA-20220616000000-20220616000000-13032< is invalid
« Last Edit: June 20, 2022, 11:03:50 PM by JFHall »

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2119
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Successful Load Fails to Unload
« Reply #1 on: June 21, 2022, 07:01:48 AM »
Try adding the -Q parameter...

Code: [Select]
-Q Continue if unable to find LoadId in System Log
If that doesn't work, consider removing everything after 57FAA and trying again.

-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

JFHall

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: Successful Load Fails to Unload
« Reply #2 on: June 21, 2022, 02:12:34 PM »
Thanks for the suggestions Justin.   I should have mentioned I had also tried with the -Q and -N options yesterday, to no help.  I just tried your other suggestion, running with -L 13031-46-0-57FAA and unfortunately still got the same result.  I always thought the load id had to match exactly but your last suggestion leads me to believe that CMOD looks for load IDs starting with the value after the -L parm.

Darrell Bryant

  • Jr. Member
  • **
  • Posts: 88
  • Sed fugit interea fugit inreparabile tempus-Virgil
    • View Profile
Re: Successful Load Fails to Unload
« Reply #3 on: June 22, 2022, 04:12:43 AM »
When specifying the load id you can always specify the dates as 0.  The application id is also optional.

For example, you could use either of these formats:

13031-46-0-57FAA-0-0-0
or
13031-46-0-57FAA-0-0

See the documentation of arsadmin parameters here:
https://www.ibm.com/docs/en/cmofm/10.5.0?topic=arsadmin-parameters
#IBMi #iSeries #PDF #XML #400 Indexer #ASM