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.
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
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)).
LIMITS(EXTNAME(7))
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
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