T4z CLI Test build fails to link, IEW2456E member could not be included from call library
search cancel

T4z CLI Test build fails to link, IEW2456E member could not be included from call library

book

Article ID: 398301

calendar_today

Updated On:

Products

Test4z

Issue/Introduction

 While running tests using T4Z sample programs, the build of program ZTPPROGR fails to find ZTPCALLD. 

 IEW2456E 9207 SYMBOL ZTPCALLD UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM
          THE DESIGNATED CALL LIBRARY.

Environment

T4Z CLI

Resolution

The source cobol program ZTPPROGR has CALL 'ZTPCALLD' which is a static call.

The project.config.json will need to have the following defined for binding the statically called module.

  "optionGlobs": [
    {
      "//": "Statically link ZTPCALLD into ZTPPROGR",
      "globs": [
        "src/ZTPPROGR.cbl"
      ],
      "bindDeps": [
        "src/ZTPCALLD.cbl"
      ]
    }
  ]