VSCode plugin hangs on setting up a connection to IBM i
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)"
Additional info: .vscode/cqsh_1 contains:
Nachrichten-ID . . . . : CPF9897 Bewertung . . . . . . : 40
Nachrichtenart . . . . : Information
Sendedatum . . . . . . : 01.09.25 Sendezeit . . . . . . : 15:55:05
Nachricht . . . : 3 INVALID CHARCTERS FOR CCSID 01208 ENCOUNTERED IN DISPLAY
RECORD 1. IF THE RECORD IS CHANGED, THEY WILL BE REPLACED WITH BLANKS.
Ursache . . . . : Es ist kein zusätzlicher Online-Hilfetext verfügbar.
@andreasweller Can you share the entire Code for IBM i log?