I googled
Trapping errors in qsh
And got some nice hits. Such as
https://www.code400.com/forum/forum/iseries-programming-languages/rpg-rpgle/7142-qsh-error-trapping
and more. The first hit was 10 years old. The next few were about 7 years old.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Chrism Hayden via MIDRANGE-L
Sent: Wednesday, March 13, 2019 8:49 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: Chrism Hayden <chrismhayden@xxxxxxxxx>
Subject: qshell
IBMiqsh
/QOpenSys/usr/bin/ssh-vvv xx400@xxxxxxxxxx'c:\transfer\bill.bat'
Ifthe command is run interactive from qsh receive error objectc:\transfer\bill.bat not found
F1help on the error not available, job log no error message id
Ifthe command is run from SBMJOB no errors, job log exit status zero
Anysuggestions on trapping the error for SBMJOB
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.