Why does it look like Toolkit for i is establishing a database connection
in order to execute a CL command?
I don't have node.js running to confirm this, but the link which you
provided in your original post implies that node.js runs under PASE, which
is an AIX emulation environment which runs side-by-side with the SLIC upon
which IBM i runs.
You could probably confirm that node.js is running under PASE by examining
the call stack of the main JOB and look for "pase" references.
Aside from some low-level "kernel" and SLIC code shared by PASE and IBM i,
they are really separate and distinct virtual machine environments.
It appears to me, that it is not really a matter of the "toolkit"
connecting to the "database". Rather it's a matter of PASE connecting to
the "database" in order to access the "toolkit", which then may access
"programs" which run under the "native" virtual machine.
The same would be true for all the other scripting environments which run
under PASE (PHP, Ruby, Python, Perl) as well as true for MS .Net
applications which might wish to connect to the "toolkit". They would first
connect to "database" server jobs (QZDASOINIT or QSQSRVR), then one of
those jobs would load the "toolkit". Then "native" IBM i programs could be
called by the "toolkit".
Nathan.
As an Amazon Associate we earn from qualifying purchases.