× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Barbara,

Thank you for the test case. Cool idea to call a bad program. Short and
simple.

I added it to the RPGUNIT library.

Thomas.

Am 25.03.2019 um 15:54 schrieb Barbara Morris:
**free
ctl-opt option(*srcstmt);
ctl-opt nomain;
/copy rpgunit/rpgunit1,testcase

dcl-proc Test_BadCall export;
   dcl-pr bad_pgm extpgm;
   end-pr;
   bad_pgm();
   assert (%status() = 0 : 'Expect status <> 0');
end-proc;


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.