OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: jsquizz on October 04, 2022, 03:21:41 PM

Title: ARSLOAD Return Codes
Post by: jsquizz on October 04, 2022, 03:21:41 PM
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:

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.

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

Title: Re: ARSLOAD Return Codes
Post by: Justin Derrick on October 04, 2022, 03:48:05 PM
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.
Title: Re: ARSLOAD Return Codes
Post by: jsquizz on October 04, 2022, 05:09:02 PM
Quote from: Justin Derrick on October 04, 2022, 03:48:05 PM
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.