vscode-ibmi: Unable to open rpgle files from some locations (due to ASP)

Firstly, thanks so much for your work on this extension, I am not native to as400 programming but this extension makes it a breeze to review code already written.

I am having difficulties opening files from some locations, they simply do not open. I took the liberty to run this extension locally and console.log the ssh commands to get an understanding of what exactly is failing and why:

Here is what I can provide, hopefully it helps illustrate my problem.

When double clicking on a file I receive these logs in the extension: image

Specifically I see the command to be

system "CPYTOSTMF FROMMBR('/QSYS.lib/WLIB.lib/QRPGLESRC.file/CFCRTGCDS.mbr') TOSTMF('/tmp/vscodetemp-oiZyUiJVC3') STMFOPT(*REPLACE) STMFCCSID(1208)"

and the result to be:

stderr:'CPFA0A9: Object not found.  Object is /QSYS.lib/WLIB.lib/QRPGLESRC.file/CFCRTGCDS.mbr.\nCPFA097: Object not copied.  Object is /QSYS.lib/WLIB.lib/QRPGLESRC.file/CFCRTGCDS.mbr.'

Compared to a different directory, which is successful as follows:

image

Any thoughts on how I might be able to debug this further?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20 (10 by maintainers)

Most upvoted comments

Wooohoo @worksofliam !!! it totally works!

image

for reference, it looks like there is a property “default coded character set identifier” maybe you can fallback to that if that is available as a property to you in some way if you find 65535.

This is so awesome!

If there is anyway that I can contribute to the ongoing development of this extension please do let me know. I will be keeping an eye on enhancement issues to see where I might be able to help out. Most immediately maybe I can help out in the UI settings editor, but it’s tricky for me to know what is important to be editable ( maybe you can sketch something out? ) 😅

Anyways, really looking forward to working with you more 🥇