SlideShare a Scribd company logo
Enterprise NodeJS
Connecting IBM DB/2 on PowerLinux
Installing ibm_db npm
Installing ibm_db npm
Directory Structure node-modulesibm_db
Accessing IBM DB/2 Table on PowerLinux
var ibmdb = require('ibm_db');
ibmdb.open("DRIVER={DB2};DATABASE=‘database’;HOSTNAME=‘hostname’;UID=‘userid’;PWD=‘password’;PORT=50000;PROTOCOL=TCPIP", function
(err,conn) {
if (err) return console.log(err);
conn.query("select ACCT_YEAR,JOURNAL_DETAIL.GENERAL_ACCOUNT,GENERAL_ACCOUNT.GENERAL_ACCOUNT_NAME,SUM(DEBIT_AMOUNT) AS
DEBIT,SUM(CREDIT_AMOUNT) AS CREDIT from JOURNAL_DETAIL INNER JOIN GENERAL_ACCOUNT ON
JOURNAL_DETAIL.GENERAL_ACCOUNT=GENERAL_ACCOUNT.GENERAL_ACCOUNT AND GENERAL_ACCOUNT.LANGUAGE_CODE='ENG' WHERE
JOURNAL_DETAIL.ACCT_YEAR=2015 GROUP BY ACCT_YEAR,JOURNAL_DETAIL.GENERAL_ACCOUNT,GENERAL_ACCOUNT_NAME", function (err, data) {
if (err) console.log(err);
else {
console.log('YeartAccount ttAccount NametttttttttAmount');
for(var i in data)
console.log(data[i].ACCT_YEAR,data[i].GENERAL_ACCOUNT,data[i].GENERAL_ACCOUNT_NAME,data[i].DEBIT,data[i].CREDIT)
}
conn.close(function () {
console.log('End of File');
});
});
});
Accessing IBM DB/2 Table on PowerLinux
Accessing IBM DB/2 Table on PowerLinux
Ready to build NodeJS Enterprise Application
• Preparing for Internet of Things
• Client and Server Side Javascript
• Javanese speaks Javascript ………. LOL

More Related Content

Similar to Enterprise NodeJS

Nko workshop - node js crud & deploy
Nko workshop - node js crud & deployNko workshop - node js crud & deploy
Nko workshop - node js crud & deploy
Simon Su
 
Projet d'accès aux résultats des étudiant via client mobile
Projet d'accès aux résultats des étudiant via client mobile Projet d'accès aux résultats des étudiant via client mobile
Projet d'accès aux résultats des étudiant via client mobile
Patrick Bashizi
 
ZF2 for the ZF1 Developer
ZF2 for the ZF1 DeveloperZF2 for the ZF1 Developer
ZF2 for the ZF1 Developer
Gary Hockin
 
Zend Framework 2 - Basic Components
Zend Framework 2  - Basic ComponentsZend Framework 2  - Basic Components
Zend Framework 2 - Basic Components
Mateusz Tymek
 
Nagios Conference 2012 - Dave Josephsen - Stop Being Lazy
Nagios Conference 2012 - Dave Josephsen - Stop Being LazyNagios Conference 2012 - Dave Josephsen - Stop Being Lazy
Nagios Conference 2012 - Dave Josephsen - Stop Being Lazy
Nagios
 
[PHP] Zend_Db (Zend Framework)
[PHP] Zend_Db (Zend Framework)[PHP] Zend_Db (Zend Framework)
[PHP] Zend_Db (Zend Framework)
Jun Shimizu
 
Redux. From twitter hype to production
Redux. From twitter hype to productionRedux. From twitter hype to production
Redux. From twitter hype to production
FDConf
 
Symfony2 - from the trenches
Symfony2 - from the trenchesSymfony2 - from the trenches
Symfony2 - from the trenches
Lukas Smith
 
Redux. From twitter hype to production
Redux. From twitter hype to productionRedux. From twitter hype to production
Redux. From twitter hype to production
Jenya Terpil
 
How To Control IO Usage using Resource Manager
How To Control IO Usage using Resource ManagerHow To Control IO Usage using Resource Manager
How To Control IO Usage using Resource Manager
Alireza Kamrani
 
Dont break the glass
Dont break the glassDont break the glass
Dont break the glass
John Kinsella
 
Code Igniter 2
Code Igniter 2Code Igniter 2
Code Igniter 2
Nitin Reddy Katkam
 
Doctrine with Symfony - SymfonyCon 2019
Doctrine with Symfony - SymfonyCon 2019Doctrine with Symfony - SymfonyCon 2019
Doctrine with Symfony - SymfonyCon 2019
julien pauli
 
Symfony2 from the Trenches
Symfony2 from the TrenchesSymfony2 from the Trenches
Symfony2 from the Trenches
Jonathan Wage
 
Building Apps with Flutter - Hillel Coren, Invoice Ninja
Building Apps with Flutter - Hillel Coren, Invoice NinjaBuilding Apps with Flutter - Hillel Coren, Invoice Ninja
Building Apps with Flutter - Hillel Coren, Invoice Ninja
DroidConTLV
 
MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8
Frederic Descamps
 
Dropwizard with MongoDB and Google Cloud
Dropwizard with MongoDB and Google CloudDropwizard with MongoDB and Google Cloud
Dropwizard with MongoDB and Google Cloud
Yun Zhi Lin
 
A Node.js Developer's Guide to Bluemix
A Node.js Developer's Guide to BluemixA Node.js Developer's Guide to Bluemix
A Node.js Developer's Guide to Bluemix
ibmwebspheresoftware
 
REST API for your WP7 App
REST API for your WP7 AppREST API for your WP7 App
REST API for your WP7 App
Agnius Paradnikas
 
Doctrine on IBMi
Doctrine on IBMiDoctrine on IBMi
Doctrine on IBMi
GuidoFaecke1
 

Similar to Enterprise NodeJS (20)

Nko workshop - node js crud & deploy
Nko workshop - node js crud & deployNko workshop - node js crud & deploy
Nko workshop - node js crud & deploy
 
Projet d'accès aux résultats des étudiant via client mobile
Projet d'accès aux résultats des étudiant via client mobile Projet d'accès aux résultats des étudiant via client mobile
Projet d'accès aux résultats des étudiant via client mobile
 
ZF2 for the ZF1 Developer
ZF2 for the ZF1 DeveloperZF2 for the ZF1 Developer
ZF2 for the ZF1 Developer
 
Zend Framework 2 - Basic Components
Zend Framework 2  - Basic ComponentsZend Framework 2  - Basic Components
Zend Framework 2 - Basic Components
 
Nagios Conference 2012 - Dave Josephsen - Stop Being Lazy
Nagios Conference 2012 - Dave Josephsen - Stop Being LazyNagios Conference 2012 - Dave Josephsen - Stop Being Lazy
Nagios Conference 2012 - Dave Josephsen - Stop Being Lazy
 
[PHP] Zend_Db (Zend Framework)
[PHP] Zend_Db (Zend Framework)[PHP] Zend_Db (Zend Framework)
[PHP] Zend_Db (Zend Framework)
 
Redux. From twitter hype to production
Redux. From twitter hype to productionRedux. From twitter hype to production
Redux. From twitter hype to production
 
Symfony2 - from the trenches
Symfony2 - from the trenchesSymfony2 - from the trenches
Symfony2 - from the trenches
 
Redux. From twitter hype to production
Redux. From twitter hype to productionRedux. From twitter hype to production
Redux. From twitter hype to production
 
How To Control IO Usage using Resource Manager
How To Control IO Usage using Resource ManagerHow To Control IO Usage using Resource Manager
How To Control IO Usage using Resource Manager
 
Dont break the glass
Dont break the glassDont break the glass
Dont break the glass
 
Code Igniter 2
Code Igniter 2Code Igniter 2
Code Igniter 2
 
Doctrine with Symfony - SymfonyCon 2019
Doctrine with Symfony - SymfonyCon 2019Doctrine with Symfony - SymfonyCon 2019
Doctrine with Symfony - SymfonyCon 2019
 
Symfony2 from the Trenches
Symfony2 from the TrenchesSymfony2 from the Trenches
Symfony2 from the Trenches
 
Building Apps with Flutter - Hillel Coren, Invoice Ninja
Building Apps with Flutter - Hillel Coren, Invoice NinjaBuilding Apps with Flutter - Hillel Coren, Invoice Ninja
Building Apps with Flutter - Hillel Coren, Invoice Ninja
 
MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8
 
Dropwizard with MongoDB and Google Cloud
Dropwizard with MongoDB and Google CloudDropwizard with MongoDB and Google Cloud
Dropwizard with MongoDB and Google Cloud
 
A Node.js Developer's Guide to Bluemix
A Node.js Developer's Guide to BluemixA Node.js Developer's Guide to Bluemix
A Node.js Developer's Guide to Bluemix
 
REST API for your WP7 App
REST API for your WP7 AppREST API for your WP7 App
REST API for your WP7 App
 
Doctrine on IBMi
Doctrine on IBMiDoctrine on IBMi
Doctrine on IBMi
 

More from Herry Atwar

ERPNext_Inventory.pptx
ERPNext_Inventory.pptxERPNext_Inventory.pptx
ERPNext_Inventory.pptx
Herry Atwar
 
WORLD DIGITAL INFO - Starting Odoo Studio
WORLD DIGITAL INFO - Starting Odoo StudioWORLD DIGITAL INFO - Starting Odoo Studio
WORLD DIGITAL INFO - Starting Odoo Studio
Herry Atwar
 
IBM Partner Solutions Summit 2020 - Inodesain
IBM Partner Solutions Summit 2020 - InodesainIBM Partner Solutions Summit 2020 - Inodesain
IBM Partner Solutions Summit 2020 - Inodesain
Herry Atwar
 
IBM Partner Solutions Summit 2020 - Inodesain
IBM Partner Solutions Summit 2020 - Inodesain IBM Partner Solutions Summit 2020 - Inodesain
IBM Partner Solutions Summit 2020 - Inodesain
Herry Atwar
 
MSE Asia - Bangkok 2018
MSE Asia - Bangkok 2018MSE Asia - Bangkok 2018
MSE Asia - Bangkok 2018
Herry Atwar
 
Agrobusiness 4.0
Agrobusiness 4.0Agrobusiness 4.0
Agrobusiness 4.0
Herry Atwar
 
IBM BP Solution Summit 2018 - Inodesain
IBM BP Solution Summit 2018 - Inodesain  IBM BP Solution Summit 2018 - Inodesain
IBM BP Solution Summit 2018 - Inodesain
Herry Atwar
 
Learn Google's Angular
Learn Google's AngularLearn Google's Angular
Learn Google's Angular
Herry Atwar
 
Inodesain's Company Profile
Inodesain's Company ProfileInodesain's Company Profile
Inodesain's Company Profile
Herry Atwar
 
MSE Asia 2018 - Double Tree by Hilton, Bangkok, Thailand
MSE Asia 2018 - Double Tree by Hilton, Bangkok, ThailandMSE Asia 2018 - Double Tree by Hilton, Bangkok, Thailand
MSE Asia 2018 - Double Tree by Hilton, Bangkok, Thailand
Herry Atwar
 
Knowage manual
Knowage manualKnowage manual
Knowage manual
Herry Atwar
 
Blockchain distributed ledger
Blockchain distributed ledgerBlockchain distributed ledger
Blockchain distributed ledger
Herry Atwar
 
Agrobusiness ERP Modules
Agrobusiness ERP ModulesAgrobusiness ERP Modules
Agrobusiness ERP Modules
Herry Atwar
 
Go Language by Google
Go Language by GoogleGo Language by Google
Go Language by Google
Herry Atwar
 
Inodesain jayautama mandiri, ibm mte bandung
Inodesain jayautama mandiri, ibm mte bandungInodesain jayautama mandiri, ibm mte bandung
Inodesain jayautama mandiri, ibm mte bandung
Herry Atwar
 
Ibm solution connect_11_june_2015
Ibm solution connect_11_june_2015Ibm solution connect_11_june_2015
Ibm solution connect_11_june_2015
Herry Atwar
 
Inodesain Jayautama Mandiri
Inodesain Jayautama MandiriInodesain Jayautama Mandiri
Inodesain Jayautama Mandiri
Herry Atwar
 

More from Herry Atwar (17)

ERPNext_Inventory.pptx
ERPNext_Inventory.pptxERPNext_Inventory.pptx
ERPNext_Inventory.pptx
 
WORLD DIGITAL INFO - Starting Odoo Studio
WORLD DIGITAL INFO - Starting Odoo StudioWORLD DIGITAL INFO - Starting Odoo Studio
WORLD DIGITAL INFO - Starting Odoo Studio
 
IBM Partner Solutions Summit 2020 - Inodesain
IBM Partner Solutions Summit 2020 - InodesainIBM Partner Solutions Summit 2020 - Inodesain
IBM Partner Solutions Summit 2020 - Inodesain
 
IBM Partner Solutions Summit 2020 - Inodesain
IBM Partner Solutions Summit 2020 - Inodesain IBM Partner Solutions Summit 2020 - Inodesain
IBM Partner Solutions Summit 2020 - Inodesain
 
MSE Asia - Bangkok 2018
MSE Asia - Bangkok 2018MSE Asia - Bangkok 2018
MSE Asia - Bangkok 2018
 
Agrobusiness 4.0
Agrobusiness 4.0Agrobusiness 4.0
Agrobusiness 4.0
 
IBM BP Solution Summit 2018 - Inodesain
IBM BP Solution Summit 2018 - Inodesain  IBM BP Solution Summit 2018 - Inodesain
IBM BP Solution Summit 2018 - Inodesain
 
Learn Google's Angular
Learn Google's AngularLearn Google's Angular
Learn Google's Angular
 
Inodesain's Company Profile
Inodesain's Company ProfileInodesain's Company Profile
Inodesain's Company Profile
 
MSE Asia 2018 - Double Tree by Hilton, Bangkok, Thailand
MSE Asia 2018 - Double Tree by Hilton, Bangkok, ThailandMSE Asia 2018 - Double Tree by Hilton, Bangkok, Thailand
MSE Asia 2018 - Double Tree by Hilton, Bangkok, Thailand
 
Knowage manual
Knowage manualKnowage manual
Knowage manual
 
Blockchain distributed ledger
Blockchain distributed ledgerBlockchain distributed ledger
Blockchain distributed ledger
 
Agrobusiness ERP Modules
Agrobusiness ERP ModulesAgrobusiness ERP Modules
Agrobusiness ERP Modules
 
Go Language by Google
Go Language by GoogleGo Language by Google
Go Language by Google
 
Inodesain jayautama mandiri, ibm mte bandung
Inodesain jayautama mandiri, ibm mte bandungInodesain jayautama mandiri, ibm mte bandung
Inodesain jayautama mandiri, ibm mte bandung
 
Ibm solution connect_11_june_2015
Ibm solution connect_11_june_2015Ibm solution connect_11_june_2015
Ibm solution connect_11_june_2015
 
Inodesain Jayautama Mandiri
Inodesain Jayautama MandiriInodesain Jayautama Mandiri
Inodesain Jayautama Mandiri
 

Recently uploaded

一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
slg6lamcq
 
原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理 原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
tzu5xla
 
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
eoxhsaa
 
Building a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdfBuilding a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdf
cjimenez2581
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
Social Samosa
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
mkkikqvo
 
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
taqyea
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .
NABLAS株式会社
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
nuttdpt
 
Template xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptxTemplate xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptx
TeukuEriSyahputra
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
Timothy Spann
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
Vietnam Cotton & Spinning Association
 

Recently uploaded (20)

一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
 
原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理 原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
原版一比一爱尔兰都柏林大学毕业证(UCD毕业证书)如何办理
 
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
 
Building a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdfBuilding a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdf
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
 
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(harvard毕业证书)哈佛大学毕业证如何办理
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .社内勉強会資料_Hallucination of LLMs               .
社内勉強会資料_Hallucination of LLMs               .
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
 
Template xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptxTemplate xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptx
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics March 2024
 

Enterprise NodeJS

  • 1. Enterprise NodeJS Connecting IBM DB/2 on PowerLinux
  • 5. Accessing IBM DB/2 Table on PowerLinux var ibmdb = require('ibm_db'); ibmdb.open("DRIVER={DB2};DATABASE=‘database’;HOSTNAME=‘hostname’;UID=‘userid’;PWD=‘password’;PORT=50000;PROTOCOL=TCPIP", function (err,conn) { if (err) return console.log(err); conn.query("select ACCT_YEAR,JOURNAL_DETAIL.GENERAL_ACCOUNT,GENERAL_ACCOUNT.GENERAL_ACCOUNT_NAME,SUM(DEBIT_AMOUNT) AS DEBIT,SUM(CREDIT_AMOUNT) AS CREDIT from JOURNAL_DETAIL INNER JOIN GENERAL_ACCOUNT ON JOURNAL_DETAIL.GENERAL_ACCOUNT=GENERAL_ACCOUNT.GENERAL_ACCOUNT AND GENERAL_ACCOUNT.LANGUAGE_CODE='ENG' WHERE JOURNAL_DETAIL.ACCT_YEAR=2015 GROUP BY ACCT_YEAR,JOURNAL_DETAIL.GENERAL_ACCOUNT,GENERAL_ACCOUNT_NAME", function (err, data) { if (err) console.log(err); else { console.log('YeartAccount ttAccount NametttttttttAmount'); for(var i in data) console.log(data[i].ACCT_YEAR,data[i].GENERAL_ACCOUNT,data[i].GENERAL_ACCOUNT_NAME,data[i].DEBIT,data[i].CREDIT) } conn.close(function () { console.log('End of File'); }); }); });
  • 6. Accessing IBM DB/2 Table on PowerLinux
  • 7. Accessing IBM DB/2 Table on PowerLinux
  • 8. Ready to build NodeJS Enterprise Application • Preparing for Internet of Things • Client and Server Side Javascript • Javanese speaks Javascript ………. LOL