PL/I

Expand all | Collapse all

Why is IDz zUnit failing with error: AZU1001S An invalid value of "171220" was specified to API "AZUTCINI"

  • 1.  Why is IDz zUnit failing with error: AZU1001S An invalid value of "171220" was specified to API "AZUTCINI"

    Posted Tue June 16, 2020 09:56 AM
    Edited by Di Hu Wed June 17, 2020 03:31 AM

    In IBM Developer for z Systems (IDz/RDz), attempts to run a zUnit PLI testcase fails with the following error:

    AZUTSTRN::loadAndRunTestCase: calling Test Case module (TMXXXX) AZUTCINI: ->enter AZUTSTRN_CEEUserHandler: ->enter AZUTSTRN_CEEUserHandler: current condition (AZU1001S An invalid value of "171220" was specified to API "AZUTCINI" in parameter "test _case_name_len".) AZUTSTRN_CEEUserHandler: current Test Case () AZU1001S An invalid value of "171220" was specified to API "AZUTCINI" in parameter "test_case_name_len". AZUTSTRN_CEEUserHandler: <-return AZUTSTRN::loadAndRunTestCase: <-return


    (Disclaimer: This post is migrated from IBM Developer Answers that is no longer in use. Its original author is Olivier Gauneau, posted on 7 Feb 2018)


  • 2.  RE: Why is IDz zUnit failing with error: AZU1001S An invalid value of "171220" was specified to API "AZUTCINI"

    Posted Wed June 17, 2020 05:12 AM
    Edited by Di Hu Wed June 17, 2020 05:13 AM
    Error can happen when PLI compiler option DEFAULT(LINKAGE(SYSTEM)) is used.

    When calling C programs like zUnit AZUTSTRN, PLI compiler documentation indicates to use DEFAULT(LINKAGE((OPTLINK)).

    You can use compiler option OPTIONS(ALL) to print all options used in the listing file.



    (Disclaimer: This answer is migrated from IBM Developer Answers that is no longer in use. Its original author is Olivier Gauneau.)