Submitting UBEs via iSeries CLs sometimes fail
Ever since we converted from Tools 8.96 to 8.97 (and now 8.98) we have had intermittent problems executing UBEs from an iSeries CL program. The UBEs will run fine from a command line and will run fine in a CL (most of the time). However, every so often the UBE will fail and will be put into an Error status in WSJ. I have not been able to capture logs since it's so intermittent. The UBE will fail and when I run the CL again it will work normally.
I have noticed that most of the time when a UBE fails, it is a UBE that updates tables. But I can just rerun the CL and the UBE will work just fine. As a workaround for CLs that had many update UBEs in the CL (that needed to run in a specific order), I have created "driver" UBEs that call the "update" UBEs and that seems to work most of the time too.