ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Work with Compile Commands - Multiple Commands

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

  • Work with Compile Commands - Multiple Commands

    Hello all,

    I am trying to compile my .SQLRPGLE program from the i Project section in RDI. The only issue I am running into is that I need to add my library before it compiles otherwise it fails to compile because my library list is not in the default library list.

    The default CRTSQLRPGI command is

    CRTSQLRPGI OBJ(&O/&N) SRCFILE(&L/&F) SRCMBR(&N) OPTION(*EVENTF) REPLACE(&R) DBGVIEW(*SOURCE)

    I have tried multiple ways to add my library list before this, but it doesn't seem to work. It seems like it should be something like

    ADDLIBLE mylib
    CRTSQLRPGI OBJ(&O/&N) SRCFILE(&L/&F) SRCMBR(&N) OPTION(*EVENTF) REPLACE(&R) DBGVIEW(*SOURCE)


    Any ideas?

    Thanks!

  • #2
    I'd simple add your LIB in the RDi connection properties --> Subsystem --> LIBL.

    Comment


    • #3
      Wow, that worked perfectly. Thank you!!!

      I didn't realize you could do it that way. I always add my library temporarily by right clicking on the drop-down "Library List" and "Add Library List Entry...". This should save me some clicks as well!

      Thank you again!

      Comment

      Working...
      X