Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSPFD fails for FILE(WDSCTEST/"%QUOTEST") #1825

Closed
jonnyz32 opened this issue Feb 2, 2024 · 8 comments
Closed

DSPFD fails for FILE(WDSCTEST/"%QUOTEST") #1825

jonnyz32 opened this issue Feb 2, 2024 · 8 comments

Comments

@jonnyz32
Copy link
Contributor

jonnyz32 commented Feb 2, 2024

Save us time! Click 'Report an Issue' from the Help and Support panel inside of VS Code after you have connected to a system.

Describe the bug
When trying to expand the file WDSCTEST/"%QUOTEST", no members are shown and there is an error notification thrown
image

I see the following in the output log

/home/WDSCTEST: /QOpenSys/usr/bin/qsh
system  "DSPFD FILE(WDSCTEST/"%QUOTEST") TYPE(*MBR) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/O_cX5Gu5eK)"
{
    "code": 1,
    "signal": null,
    "stdout": "",
    "stderr": "CPD0105:  Built-in function not allowed for parameter FILE.\nCPF0001:  Error found on DSPFD command."
}

/home/WDSCTEST: /QOpenSys/usr/bin/qsh
system  "QSYS/CPYTOIMPF FROMFILE(ILEDITOR/O_cX5Gu5eK O_cX5Gu5eK) TOSTMF('/tmp/vscodetemp-O_1MRfXCUB') MBROPT(*REPLACE) STMFCCSID(1208) RCDDLM(*CRLF) DTAFMT(*DLM) RMVBLANK(*TRAILING) ADDCOLNAM(*SQL) FLDDLM(',') DECPNT(*PERIOD)"
{
    "code": 1,
    "signal": null,
    "stdout": "",
    "stderr": "CPF5715:  File O_CX5GU5EK in library ILEDITOR not found.\nCPF2817:  Copy command ended because of error."
}

To Reproduce
Steps to reproduce the behavior:

  1. Connect to roma system, with user WDSCTEST
  2. Add WDSCTEST, to library list
  3. Click on "%QUOTEST".FILE to expand it

Expected behavior
It should show the two members of this file.
image

Environment (please complete the following information):

  • Extension version 2.6.5
  • IBM i OS version 7.4

Additional context
Add any other context about the problem here.

@worksofliam
Copy link
Contributor

@jonnyz32 SQL enabled or disabled?

@sebjulliand
Copy link
Collaborator

@worksofliam this is partially fixed by #1780; but then this happens.
image

@worksofliam
Copy link
Contributor

@sebjulliand Was just recreating this on main myself.

@jonnyz32 What CCSID is your user profile? DSPUSRPRF to find out. Thanks!

@jonnyz32
Copy link
Contributor Author

jonnyz32 commented Feb 2, 2024

This was with sql disabled. With sql enabled, I get the same error as @sebjulliand
My user ccsid is set to *sysval, and system ccsid is 65535

@sebjulliand
Copy link
Collaborator

This is the member text causing the issue.
It's VARGRAPHIC in UTF-16.
image

@worksofliam
Copy link
Contributor

@sebjulliand I am thinking this will be closed since of the CCSID work you've put in. Thoughts?

@sebjulliand
Copy link
Collaborator

@worksofliam agreed

@sebjulliand
Copy link
Collaborator

Even though opening the member may not work, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants