IBM / dbb-zappbuild

zAppBuild is a generic build solution for building z/OS applications using Apache Groovy build scripts and IBM Dependency Based Build (DBB) APIs.
Apache License 2.0
40 stars 123 forks source link

Binder control card lookup capability #501

Open dennis-behm opened 3 months ago

dennis-behm commented 3 months ago

This is implementing the reported issue #500 to locate existing binder control statement members within the repository.

if a binder control member is found, it will be added to the SYSLIN concatenation:

*** Link-Edit parms for MortgageApplication/cobol/epscmort.cbl = MAP,RENT,COMPAT(PM5),SSI=12d45452
*** Generated linkcard input stream: 
  IDENTIFY EPSCMORT('MortgageApplication/12d45452')
*** Appending binder control card DBEHM.DBB.BUILD.BND(EPSCMORT)

if no binder control member is found, we will print a message:

*** Link-Edit parms for MortgageApplication/cobol/epscsmrd.cbl = MAP,RENT,COMPAT(PM5),SSI=12d45452
*** Generated linkcard input stream: 
  IDENTIFY EPSCSMRD('MortgageApplication/12d45452')
*** No binder control card (/u/dbehm/test-zapp/dbb-zappbuild/samples/MortgageApplication/binderControlCards/epscsmrd.bnd) found for build file MortgageApplication/cobol/epscsmrd.cbl.

These are file properties, so the user can configure for which build files a binder control statement member should be looked up