Skip to content

Instantly share code, notes, and snippets.

View index.js
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'
@masmithrpg
masmithrpg / index.js
Created Oct 3, 2018
node.js crud HY010 error
View index.js
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'
You can’t perform that action at this time.