Compiled programs target release instead of *CURRENT
search cancel

Compiled programs target release instead of *CURRENT

book

Article ID: 99224

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

Where can the compiled programs target release produced by 2E be changed to use Target Release other than*CURRENT?  

Is this done in CRTCLPRG and if so, how to change it?

Environment

CA 2E 8.7.x

Resolution

Regarding CRTCLPGM, this has never been in the *Messages in CA 2E.

There is no way to store a default for customer CL programs in CA 2E since CA 2E models do not have a *CRTCLPGM message to allow for it.

Customers would need to compile CL programs outside the CA 2E model.

One other option is to place the following pre-processor statement at the top of the required CL source: /*Z: CRTCLPGM TGTRLS(*PRV) */

This will cause the compile time pre-processor to append the TGTRLS parameter. 

Another possible workaround is to copy the CRTCLPGM into a user library and do a CHGCMDDFT on this and put this user library higher in the library list.