Author Topic: ARSLOAD Return Codes  (Read 695 times)

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
ARSLOAD Return Codes
« on: October 04, 2022, 08:21:41 AM »
I am creating a script that loads some files, and moves things around after load.

I was tinkering around with a basic rc=$?; echo $rc after arsload and heres what I am seeing:

Code: [Select]
ARS1609W Specifying passwords on the command line is not secure due to the text being visible. See the Installation and Configuration Guide for your platform for information about the arsstash command or using Unified Login.
ARS1106E Connection cannot be established for the >wrongserver< server
2

so based on this, I'd assume that rc2 = connection issue

And then of course - here's the winner.

Code: [Select]
ARS1609W Specifying passwords on the command line is not secure due to the text being visible. See the Installation and Configuration Guide for your platform for information about the arsstash command or using Unified Login.
0
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: ARSLOAD Return Codes
« Reply #1 on: October 04, 2022, 08:48:05 AM »
Here's a little more documentation on CMOD Return Codes for arsload:

https://cmod.wiki/index.php?title=Collecting_Return_Codes_from_CMOD_utilities#IBM_CMOD_arsload_Return_Codes

-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

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: ARSLOAD Return Codes
« Reply #2 on: October 04, 2022, 10:09:02 AM »
Here's a little more documentation on CMOD Return Codes for arsload:

https://cmod.wiki/index.php?title=Collecting_Return_Codes_from_CMOD_utilities#IBM_CMOD_arsload_Return_Codes

-JD.

perfect. Thanks. I can also add more of these if needed.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING