PL/I

Expand all | Collapse all

Why is IDz zUnit failing with error: IEW2456E 9207 SYMBOL AZUATFM UNRESOLVED

  • 1.  Why is IDz zUnit failing with error: IEW2456E 9207 SYMBOL AZUATFM UNRESOLVED

    Posted Mon July 13, 2020 03:54 AM
    Edited by Di Hu Mon July 13, 2020 03:55 AM

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

    IEW2456E 9207 SYMBOL AZUATFM UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM DESIGNATED CALL LIBRARY. IEW2456E 9207 SYMBOL AZUATFA UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM DESIGNATED CALL LIBRARY. IEW2456E 9207 SYMBOL AZUTINI UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM DESIGNATED CALL LIBRARY. IEW2456E 9207 SYMBOL AZUTADD UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM DESIGNATED CALL LIBRARY. IEW2456E 9207 SYMBOL ZUNIPLI UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM DESIGNATED CALL LIBRARY.


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


  • 2.  RE: Why is IDz zUnit failing with error: IEW2456E 9207 SYMBOL AZUATFM UNRESOLVED

    Posted Mon July 13, 2020 03:57 AM
    Edited by Di Hu Mon July 13, 2020 04:02 AM

    zUnit include file SFELSAMP(AZUTSTRX) contains the following declaration:
    IMPORT CODE 'AZUTSTRN' AZUASTFA IMPORT CODE 'AZUTSTRN' AZUASTFM IMPORT CODE 'AZUTSTRN' AZUTCADD IMPORT CODE 'AZUTSTRN' AZUTCINI IMPORT CODE 'AZUTSTRN' AZUASTFC

    Which are 8 characters length while the error shows similar names but with only 7 characters.

    A possible cause for this is that compiler option LIMITS(EXTNAME(7)) instead of LIMITS(EXTNAME(8)).

    When using EXTNAME(8), the following error might happen which may led to usage of EXTNAME(7):
    IBM2165I S 0 4.0 PRV support is provided only if the LIMITS(EXTNAME(7)) option is in effect

    To solve both issues, use options:

    - LIMITS(EXTNAME(8)) - and either NOWRITABLE(FWS) - or set back to default WRITABLE


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