4.7.1 Activation Group
The JSMDIRECT program has been compiled with Activation group attribute *NEW, this means a new activation group is created when the JSMDIRECT program is called.
Do not use the CRTCLPGM command to create the CL exit programs. You will create an OPM program which runs in the OPM *DFTACTGRP activation group.
The JSMDRTEXT and JSMLSAEXT CL programs should be compiled with Activation group attribute *CALLER, so LANSA and RPG programs run in the new activation group.
CRTBNDCL PGM(JSMLIB/JSMDRTEXT) SRCFILE(JSMLIB/QCLSRC) DFTACTGRP(*NO) ACTGRP(*CALLER)
CRTBNDCL PGM(JSMLIB/JSMLSAEXT) SRCFILE(JSMLIB/QCLSRC) DFTACTGRP(*NO) ACTGRP(*CALLER)
CRTBNDCL PGM(JSMLIB/JSMPXYEXT) SRCFILE(JSMLIB/QCLSRC) DFTACTGRP(*NO) ACTGRP(*CALLER)
CRTBNDCL PGM(JSMLIB/JSMADMEXT) SRCFILE(JSMLIB/QCLSRC) DFTACTGRP(*NO) ACTGRP(*CALLER)
Refer to CGI programs and activation groups on the IBM Knowledge Center website.