IBM / zOS-Client-Web-Enablement-Toolkit

Apache License 2.0
38 stars 15 forks source link

Gracefully cope with negative return codes #22

Closed ian-burnett closed 3 years ago

ian-burnett commented 3 years ago

Tidy up the ShowError procedure to cope correctly when the supplied ReturnCode is negative.

The D2X function requires a zero or positive value. If ReturnCode was negative, a fatal error of "Invalid call to function" would be generated.