This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const db = require('/QOpenSys/QIBM/ProdData/OPS/Node6/os400/db2i/lib/db2a') | |
const body_parser = require('body-parser') | |
const express = require('express') | |
const app = express() | |
const dbconn = new db.dbconn() | |
dbconn.conn("*LOCAL") | |
const stmt = new db.dbstmt(dbconn) | |
const schema = 'NODELIB' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var db = require('idb-connector') | |
var body_parser = require('body-parser') | |
var express = require('express') | |
var app = express() | |
var dbconn = new db.dbconn() | |
dbconn.conn("*LOCAL") | |
var stmt = new db.dbstmt(dbconn) | |
var schema = 'NODELIB' |