Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Thos.Sullivan
    replied
    Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

    example:
    Code

    Leave a comment:


  • DaveZ
    replied
    Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

    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

    Leave a comment:


  • DaveZ
    replied
    Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

    Thanks. Nothing is ever as easy as I would like...

    Leave a comment:


  • B.Morris
    replied
    Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

    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.

    Leave a comment:


  • DaveZ
    replied
    Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

    I'm interested in finding out if you can use the COMPILEOPT parameter. My guess is, not. Thanks

    Leave a comment:


  • DaveZ
    replied
    Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

    I can do that, but if I can do it with one command... Thanks

    Leave a comment:


  • Guest's Avatar
    Guest started a topic Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

    Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

    Compiling it as a module and then use CRTSRVPGM to build the service program with the appropriate options.
Working...
X