-
Notifications
You must be signed in to change notification settings - Fork 122
Description
I've just got back from a 4-week break and am noting that my VSCode compiles are "failing".
Which is to say the actual compile works fine and I even get to see the compile listing, but it ends with the following messages:
Fetching errors for QGPL/WRKQB.
Error: Failed fetching table: CPC2206: Ownership of object QCPEXTEMPS in QTEMP type *USRSPC changed.
CPF4102: File EVFEVENT in library QGPL with member WRKQB not found.
CPF2803: To-file EVFEVENT in QGPL not allowed.
CPF2817: Copy command ended because of error.
CPC2206: Ownership of object QZSHSYSTEM in QTEMP type *USRSPC changed.
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
I believe this is why the VSCode notification marks the compile as failed. I've seen a couple of similar issues but not quite the same. Note that this was working four weeks ago. I can't imagine much has changed on the server in that time except for PTFs.
I checked the QGPL/EVFEVENT file authority, and my group profile has *ALL. I changed *PUBLIC from *CHANGE to *ALL just in case, but it made no difference.
But I think the issue is that it thinks I was compiling QGPL/WRKQB.
My compile command is a custom one.
FMCMPSRC2 STMF('/home/T816416/builds/system-tools/fmlcl/wrkqb.clle') SBMJOB(*NO) /* OPTION(*EVENTF) */
In this case it translates to and runs...
CRTBNDCL PGM(FMLCL/WRKQB) SRCSTMF('/home/T816416/builds/system-tools/fmlcl/wrkqb.clle') DBGVIEW(*ALL) OPTION(*EVENTF)
...which, as I mentioned, successfully compiles the object. I get all of the output from our compile tool, plus the full compile listing, then the above errors.
So how is VSCode showing me the compile listing on the one hand but then failing to 'fetch errors' from the same? Or am I misunderstanding how it fits together?
I would appreciate any help getting to the bottom of this. It doesn't stop me compiling, but it makes it so I have to double check every listing to see whether it actually worked.