vscode-ibmi: compiling command (action) does not respect library list

Hi! I am struggling with my own compiling command and found that the library list is obviously not used when the command run. First it did not find the command. Then i qualified the command with the library, which results in pgm behind not found. Then i added prodlib to the command that results in compile is missing copy and file references.

In the output it looks good… Current library: QGPL Library list: QGPL QTEMP $ISDSO $ISDSD $ISDSS $IS $ISTOOLS Commands: $IS/CRTSKYPGM DEBUG(‘*YES’) SRCLIB($ISDSS) PGM(R1SB6000R) TYPE(SQLRPGLE) LANG(‘EN’) OPTION(*EVENTF)

  • QCCSID: 273
  • Features:
    • git: false
    • grep: false
    • tn5250: false
    • setccsid: true
    • GENCMDXML.PGM: false
    • QZDFMDB2.PGM: true
    • iconv: true
    • attr: true
  • SQL enabled: false
  • Source dates enabled: true

Variants

{
  "american": "%23@$",
  "local": "%23§$"
}

Errors:

[
  {
    "command": "system \"CRTLIB LIB(CODE4IAG) TEXT('Code for i temporary objects. May be cleared.')\"",
    "code": 255,
    "stderr": "CPF2111: Bibliothek CODE4IAG bereits vorhanden.",
    "cwd": "/home/ag"
  },
  {
    "command": "system \"CHKOBJ OBJ(QSYS/QCPTOIMPF) OBJTYPE(*DTAARA)\"",
    "code": 255,
    "stderr": "CPF9801: Objekt QCPTOIMPF in Bibliothek QSYS nicht gefunden.",
    "cwd": "/home/ag"
  },
  {
    "command": "system \"CHKOBJ OBJ(QSYS/QCPFRMIMPF) OBJTYPE(*DTAARA)\"",
    "code": 255,
    "stderr": "CPF9801: Objekt QCPFRMIMPF in Bibliothek QSYS nicht gefunden.",
    "cwd": "/home/ag"
  }
]

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

Terrific! It is working fine!! Thank you so much!