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 124 forks source link

SDSNEXIT required to prepare Db2 programs #395

Closed FALLAI-Denis closed 9 months ago

FALLAI-Denis commented 11 months ago

Hi,

To prepare a Db2 program (create the DBRM), you must use the DSNHDECP table which declares the codepage / ccsid of the target Db2 system.

The DSNHDECP table must be built and stored in the SDSNEXIT library when Db2 is installed.

It is therefore necessary to reference the SDSNEXIT library by means of the build of the Db2 programs, either in the Db2 preprocessor, or in the compilation of the program if the compiler has a Db2 coprocessor (as is the case for COBOL).

It would therefore be advisable to add an SDNSEXIT property in the datasets.properties file of zAppbuild.

SDSNEXIT should also be referenced by DDStatement TASKLIB in langage.groovy, before SDSNLOAD.

Thanks.

dennis-behm commented 9 months ago

@FALLAI-Denis Would you please have a look into #437 - if this is addressing your issue? Merci :-)

FALLAI-Denis commented 9 months ago

Hi @dennis-behm ,

This seems ok to me.