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

  • 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.

  • #2
    Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

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

    Comment


    • #3
      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

      Comment


      • #4
        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.

        Comment


        • #5
          Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

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

          Comment


          • #6
            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

            Comment


            • #7
              Specifying ACTGRP when using CRTSQLRPGI with OBJTYPE(*SRVPGM)

              example:
              Code

              Comment

              Working...
              X