Compiling it as a module and then use CRTSRVPGM to build the service program with the appropriate options.
Compiling it as a module and then use CRTSRVPGM to build the service program with the appropriate options.
I can do that, but if I can do it with one command... Thanks
I'm interested in finding out if you can use the COMPILEOPT parameter. My guess is, not. Thanks
Dave Zastrow wrote: > > I'm interested in finding out if you can use the COMPILEOPT parameter. My guess is, not. > No, the COMPILEOPT is for the command that compiles the module (CRTRPGMOD). I don't think there's a way to specify the extra command parameters for the CRTSRVPGM part. The H spec won't work either; you can't code the ACTGRP keyword on the H spec for CRTRPGMOD.
Thanks. Nothing is ever as easy as I would like...
Does anyone know (and will you share) how to specify the activation group name when creating a *SRVPGM using CRTSQLRPGI? When creating a *PGM the COMPILEOPT parameter can be used, but I get the "keyword DFTACTGRP not valid for this command" error. Thanks, Dave
example:
Code