Gen COBOL/DB2 compile specifying Version for DB2 precompiler
search cancel

Gen COBOL/DB2 compile specifying Version for DB2 precompiler

book

Article ID: 187961

calendar_today

Updated On:

Products

Gen Gen - Host Encyclopedia

Issue/Introduction

When compiling COBOL/DB2 programs in Gen, how can the Version parameter in DB2 precompiler DSNHPC be used so there can be multiple versions of the package?   

Environment

Gen Host Construction

Resolution

Gen uses the same DB2 load lib that is specified in PARMLIB(TIRHE) to execute the precompiler program DSNHPC.
To specify DBRM Version, that is done on the Application System Menu option 5 Bind options.
VERSION(AUTO) puts the timestamp in the DBRM but can set as desired from model level down through to individual action block members.

Additional Information