×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Nathan,
Kelly, just curious what made you think it was a "database connection"?
The developerWorks tutorial creates a node app that lets you do two things:
1. Run a SQL statement against a DB2 file entered into a text box (e.g., SELECT * FROM MYLIB.MYFILE)
2. Run a CL command entered into a text box (e.g., DSPSYSSTS)
Code in the node app sets a variable as follows:
var DBname = "*LOCAL";
The code to perform the SQL statement establishes a database connection as follows:
db.conn(DBname);
The tutorial talks about this being a database connection. The tutorial says, " When using the *LOCAL database on db.conn(), the non-server mode does not require or authenticate the user ID and password."
The code to perform the CL command also establishes a connection using the same DBname variable:
var conn = new xt.iConn(DBname);
I assume this is also a database connection due to the same DBname parameter and the impromptu naming convention of conn (for connection) used by the individuals who developed the tutorial.
Thanks,
Kelly
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.