-
Notifications
You must be signed in to change notification settings - Fork 125
Mapepire as SQL runner #2940
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
base: master
Are you sure you want to change the base?
Mapepire as SQL runner #2940
Conversation
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
|
👋 A new build is available for this PR based on a651d6f. |
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
|
@codefori/core I pushed a few changes:
|
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
…lways upload member in UTF-8 Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
|
@sebjulliand happy to see test cases are passing. My user testing, which includes opening sources from the Object Browser, and running Actions, works as expected. I did note this to do item in the PR:
And the database extension still works as expected. So.... what's left? 😄 |
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
@worksofliam not much, really. There are two things coming to my mind though:
It's not a big deal, but I had a 7.4 LPAR with which I was unable to use which Code for i. I know one has to keep their LPAR updated, but that makes me think we'll need to update the prerequisites; or remove that column from the query on the server side.
That's all I have in mind for now...after that, I guess we can build a v3 pre-release so this can be tested at a larger scale 😁 |
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>


Changes
Rips out the legacy SQL runner with Mapepire, which is bundled in the VSIX and installed as a component.
ILE command improvements
runCommandhas a lot of new logic. We now we should do all compiles with SQL. This means no moresystem, no more standard in or standard out fromsystem. Due to that, we no longer have access to the job log or spool file generated by the executed command.runCommandhas four steps now:qcmdexc- if required)qcmdexc)qsys2.joblog_info('*'))ORDINAL_POSITIONand I believe there are some instances where it is not updated correctly from prior commands. The only way to get around that is to always fetch the job log even if it's not needed (skipDetail)Due to this implementation,
runCommandcannot really run asynchronously likesystemallowed. At therunCommandlevel, I have had to implement a queue system so that these sequence of events can only happen one at a time. This ensures the right job log and spool file is returned for the correct command.To do
npm run dscas part of VSIX buildliblistusageHow to test this PR
Checklist
console.logs I added