Skip to content

VSCode plugin hangs on setting up a connection to IBM i #2869

@andreasweller

Description

@andreasweller

Bug description
While connecting to IBM i the login script gets stuck while copying from Temp file to ifs:

/home/WELLER: LC_ALL=EN_US.UTF-8 system "call QSYS/QZDFMDB2 PARM('-d' '-i' '-t')"
CREATE TABLE QTEMP.O_FQS9Y AS (select cast(LONG_COMMENT as VarChar(200)) LONG_COMMENT from qsys2.sysroutines where routine_schema = 'ILEDITOR' and routine_name = 'CHECKSTMTWRAPPED') WITH DATA;
Call QSYS2.QCMDEXC('CPYTOIMPF FROMFILE(QTEMP/O_FQS9Y *FIRST) TOSTMF(''/tmp/vscodetemp-O_ZgMO1PfL'') MBROPT(*REPLACE) STMFCCSID(1208) RCDDLM(*CRLF) DTAFMT(*DLM) RMVBLANK(*TRAILING) ADDCOLNAM(*SQL) FLDDLM('','') DECPNT(*PERIOD) STRDLM(*DBLQUOTE) STRESCCHR(*STRDLM)')
{
    "code": 0,
    "signal": null,
    "stdout": "",
    "stderr": ""
}

{
    "code": 0,
    "signal": null,
    "stdout": "DB2>",
    "stderr": ""
}

Expected behavior
Connection to system established and ready to work with.

Environment (please complete the following information):

  • Extension version 2.17.0
  • IBM i OS version V7R4M0

Additional context
This is running on a German system.
We are using CCSID 1141 at job level and DE_DE as locale. in .bashrc we defined:

export LC_ALL=DE_DE
system "chgjob ccsid(1141)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions