Top Banner
Introduction Installation of ArdGate Configuration of ArdGate Usage of ArdGate ArdGate the Bridge from DB2 on i to all SQL Databases Dieter Bender Dieter Bender ArdGate
73
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

ArdGatethe Bridge from DB2 on ito all SQL Databases

Dieter Bender

Dieter Bender ArdGate

Page 2: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

Who is Dieter Bender

WWW.BENDER-DV.DE - [email protected] Bender, 35435 Wettenberg, GermanyAS/400* consultant

Java, SQL, ILE RPG, COBOLApplication integration, Database

Training: Java, SQL, ILE RPGOpen source components

ArdGate: access any database from i with SQLAppServer4RPG: stable, scalable and fast RPG to Javaintegrationsome RPG components

*) AS/400 := AS/400 and all compatible systems

Dieter Bender ArdGate

Page 3: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

Problem to Solve

easy to go: access DB2/i from other platformsuse ODBC from Windows, Mac or Linuxuse DRDA inside the DB2 familyuse JDBC and Java from any platformdrivers and middleware are available as part of OS or freeware

easy to go: access other DB2 from ibut what about accessing other databases from i?

unload routines, ftp and CPYFRMIMPFremote callsthe handmade way

Dieter Bender ArdGate

Page 4: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

Problem to Solve

easy to go: access DB2/i from other platformsuse ODBC from Windows, Mac or Linuxuse DRDA inside the DB2 familyuse JDBC and Java from any platformdrivers and middleware are available as part of OS or freeware

easy to go: access other DB2 from ibut what about accessing other databases from i?

unload routines, ftp and CPYFRMIMPFremote callsthe handmade way

Dieter Bender ArdGate

Page 5: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

Problem to Solve

easy to go: access DB2/i from other platformsuse ODBC from Windows, Mac or Linuxuse DRDA inside the DB2 familyuse JDBC and Java from any platformdrivers and middleware are available as part of OS or freeware

easy to go: access other DB2 from ibut what about accessing other databases from i?

unload routines, ftp and CPYFRMIMPFremote callsthe handmade way

Dieter Bender ArdGate

Page 6: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

And Some Workarounds

needingadditionalserversproprietarycall interfacesno support ofquery toolsno supportfor RPG andprogrammingnot scalableand hard todo

Dieter Bender ArdGate

Page 7: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

The Hammerfest Project

Requirementsenable standard SQL interfaceslimited ressourcesOpen sourcefast, scalable and stable Javacalls from rpgno embedded Java in RPGrunning on a single boxextendablecould be monitored

Conclusionsimplement *ARDPGMuse Java where possibleuse JDBC driversone prestarted JVM servesmultiple clientsuse AppServer4RPGuse Java Version 1.5external configurationuse log4j

Dieter Bender ArdGate

Page 8: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

The Hammerfest Project

Requirementsenable standard SQL interfaceslimited ressourcesOpen sourcefast, scalable and stable Javacalls from rpgno embedded Java in RPGrunning on a single boxextendablecould be monitored

Conclusionsimplement *ARDPGMuse Java where possibleuse JDBC driversone prestarted JVM servesmultiple clientsuse AppServer4RPGuse Java Version 1.5external configurationuse log4j

Dieter Bender ArdGate

Page 9: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

The Hammerfest Project

Requirementsenable standard SQL interfaceslimited ressourcesOpen sourcefast, scalable and stable Javacalls from rpgno embedded Java in RPGrunning on a single boxextendablecould be monitored

Conclusionsimplement *ARDPGMuse Java where possibleuse JDBC driversone prestarted JVM servesmultiple clientsuse AppServer4RPGuse Java Version 1.5external configurationuse log4j

Dieter Bender ArdGate

Page 10: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

The Hammerfest Project

Requirementsenable standard SQL interfaceslimited ressourcesOpen sourcefast, scalable and stable Javacalls from rpgno embedded Java in RPGrunning on a single boxextendablecould be monitored

Conclusionsimplement *ARDPGMuse Java where possibleuse JDBC driversone prestarted JVM servesmultiple clientsuse AppServer4RPGuse Java Version 1.5external configurationuse log4j

Dieter Bender ArdGate

Page 11: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

The Hammerfest Project

Requirementsenable standard SQL interfaceslimited ressourcesOpen sourcefast, scalable and stable Javacalls from rpgno embedded Java in RPGrunning on a single boxextendablecould be monitored

Conclusionsimplement *ARDPGMuse Java where possibleuse JDBC driversone prestarted JVM servesmultiple clientsuse AppServer4RPGuse Java Version 1.5external configurationuse log4j

Dieter Bender ArdGate

Page 12: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

The Hammerfest Project

Requirementsenable standard SQL interfaceslimited ressourcesOpen sourcefast, scalable and stable Javacalls from rpgno embedded Java in RPGrunning on a single boxextendablecould be monitored

Conclusionsimplement *ARDPGMuse Java where possibleuse JDBC driversone prestarted JVM servesmultiple clientsuse AppServer4RPGuse Java Version 1.5external configurationuse log4j

Dieter Bender ArdGate

Page 13: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

The Hammerfest Project

Requirementsenable standard SQL interfaceslimited ressourcesOpen sourcefast, scalable and stable Javacalls from rpgno embedded Java in RPGrunning on a single boxextendablecould be monitored

Conclusionsimplement *ARDPGMuse Java where possibleuse JDBC driversone prestarted JVM servesmultiple clientsuse AppServer4RPGuse Java Version 1.5external configurationuse log4j

Dieter Bender ArdGate

Page 14: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

The Hammerfest Project

Requirementsenable standard SQL interfaceslimited ressourcesOpen sourcefast, scalable and stable Javacalls from rpgno embedded Java in RPGrunning on a single boxextendablecould be monitored

Conclusionsimplement *ARDPGMuse Java where possibleuse JDBC driversone prestarted JVM servesmultiple clientsuse AppServer4RPGuse Java Version 1.5external configurationuse log4j

Dieter Bender ArdGate

Page 15: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Who is Dieter BenderProblem to SolveThe Hammerfest Project

Why Hammerfest Project?

northernmost city of Europemidsummer nightfrom 19/5 to 26/73300 km from my home3 weeks time to think about

Dieter Bender ArdGate

Page 16: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

sourceforge.net/projects/appserver4rpg/

distributed withAppServer4RPGavailable versions:simply take thenewest!the ZIP file contains(nearly) all you need

Dieter Bender ArdGate

Page 17: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

sourceforge.net/projects/appserver4rpg/

distributed withAppServer4RPGavailable versions:simply take thenewest!the ZIP file contains(nearly) all you need

Dieter Bender ArdGate

Page 18: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

sourceforge.net/projects/appserver4rpg/

distributed withAppServer4RPGavailable versions:simply take thenewest!the ZIP file contains(nearly) all you need

Dieter Bender ArdGate

Page 19: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Installation of JVAGATE.LIB

unzip to a workingdirectorybring savefile toQSYS.LIBhave a first lookrestore the library

Dieter Bender ArdGate

Page 20: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Installation of JVAGATE.LIB

unzip to a workingdirectorybring savefile toQSYS.LIBhave a first lookrestore the library

Dieter Bender ArdGate

Page 21: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Installation of JVAGATE.LIB

unzip to a workingdirectorybring savefile toQSYS.LIBhave a first lookrestore the library

Dieter Bender ArdGate

Page 22: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Installation of JVAGATE.LIB

unzip to a workingdirectorybring savefile toQSYS.LIBhave a first lookrestore the library

Dieter Bender ArdGate

Page 23: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

all user need execute access to the programmsall user need authority to add objects (DTAQs) to the librarythe system user needs acces to all objects in the libyou don’t need the library in any liblthe library could be renamed without problemsdon’t rename or change objects inside the librarythe library contains all sourcesthe distribution contains some programming examples

Dieter Bender ArdGate

Page 24: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

all user need execute access to the programmsall user need authority to add objects (DTAQs) to the librarythe system user needs acces to all objects in the libyou don’t need the library in any liblthe library could be renamed without problemsdon’t rename or change objects inside the librarythe library contains all sourcesthe distribution contains some programming examples

Dieter Bender ArdGate

Page 25: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

all user need execute access to the programmsall user need authority to add objects (DTAQs) to the librarythe system user needs acces to all objects in the libyou don’t need the library in any liblthe library could be renamed without problemsdon’t rename or change objects inside the librarythe library contains all sourcesthe distribution contains some programming examples

Dieter Bender ArdGate

Page 26: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

all user need execute access to the programmsall user need authority to add objects (DTAQs) to the librarythe system user needs acces to all objects in the libyou don’t need the library in any liblthe library could be renamed without problemsdon’t rename or change objects inside the librarythe library contains all sourcesthe distribution contains some programming examples

Dieter Bender ArdGate

Page 27: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

all user need execute access to the programmsall user need authority to add objects (DTAQs) to the librarythe system user needs acces to all objects in the libyou don’t need the library in any liblthe library could be renamed without problemsdon’t rename or change objects inside the librarythe library contains all sourcesthe distribution contains some programming examples

Dieter Bender ArdGate

Page 28: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

all user need execute access to the programmsall user need authority to add objects (DTAQs) to the librarythe system user needs acces to all objects in the libyou don’t need the library in any liblthe library could be renamed without problemsdon’t rename or change objects inside the librarythe library contains all sourcesthe distribution contains some programming examples

Dieter Bender ArdGate

Page 29: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

all user need execute access to the programmsall user need authority to add objects (DTAQs) to the librarythe system user needs acces to all objects in the libyou don’t need the library in any liblthe library could be renamed without problemsdon’t rename or change objects inside the librarythe library contains all sourcesthe distribution contains some programming examples

Dieter Bender ArdGate

Page 30: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

all user need execute access to the programmsall user need authority to add objects (DTAQs) to the librarythe system user needs acces to all objects in the libyou don’t need the library in any liblthe library could be renamed without problemsdon’t rename or change objects inside the librarythe library contains all sourcesthe distribution contains some programming examples

Dieter Bender ArdGate

Page 31: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Installing the Java Application

remember thecontents of theZipfileput the jar and thedirectories lib andconf to the IFS(default/JVAGATE)be sure that confand lib containwhat they should

Dieter Bender ArdGate

Page 32: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Installing the Java Application

remember thecontents of theZipfileput the jar and thedirectories lib andconf to the IFS(default/JVAGATE)be sure that confand lib containwhat they should

Dieter Bender ArdGate

Page 33: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Installing the Java Application

remember thecontents of theZipfileput the jar and thedirectories lib andconf to the IFS(default/JVAGATE)be sure that confand lib containwhat they should

Dieter Bender ArdGate

Page 34: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

the system user needs access to the directoryyou may change the install locationdon’t change the structure of the installationprerequesite is Java 1.5 or betteryou don’t need the savf and the src folderyou could install the Java part to any other box, but then youwould need to change the startup process

Dieter Bender ArdGate

Page 35: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

the system user needs access to the directoryyou may change the install locationdon’t change the structure of the installationprerequesite is Java 1.5 or betteryou don’t need the savf and the src folderyou could install the Java part to any other box, but then youwould need to change the startup process

Dieter Bender ArdGate

Page 36: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

the system user needs access to the directoryyou may change the install locationdon’t change the structure of the installationprerequesite is Java 1.5 or betteryou don’t need the savf and the src folderyou could install the Java part to any other box, but then youwould need to change the startup process

Dieter Bender ArdGate

Page 37: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

the system user needs access to the directoryyou may change the install locationdon’t change the structure of the installationprerequesite is Java 1.5 or betteryou don’t need the savf and the src folderyou could install the Java part to any other box, but then youwould need to change the startup process

Dieter Bender ArdGate

Page 38: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

the system user needs access to the directoryyou may change the install locationdon’t change the structure of the installationprerequesite is Java 1.5 or betteryou don’t need the savf and the src folderyou could install the Java part to any other box, but then youwould need to change the startup process

Dieter Bender ArdGate

Page 39: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: Get the SoftwareSecond Step: Install a LibraryThird Step: Install the Java Part

Some Hints

the system user needs access to the directoryyou may change the install locationdon’t change the structure of the installationprerequesite is Java 1.5 or betteryou don’t need the savf and the src folderyou could install the Java part to any other box, but then youwould need to change the startup process

Dieter Bender ArdGate

Page 40: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: The Native PartSecond Step: The DatabaseThird Step: The Java Part

JVAGATE.LIB Configuration

contents ofJVAGATE.LIBtell the native part,where the Java partis sitting- be carefull! Java iscase sensitive/JVAGATE is thepreconfigureddefault location

Dieter Bender ArdGate

Page 41: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: The Native PartSecond Step: The DatabaseThird Step: The Java Part

JVAGATE.LIB Configuration

contents ofJVAGATE.LIBtell the native part,where the Java partis sitting- be carefull! Java iscase sensitive/JVAGATE is thepreconfigureddefault location

Dieter Bender ArdGate

Page 42: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: The Native PartSecond Step: The DatabaseThird Step: The Java Part

The Remote Database Directory

adding an entrywithADDRDBDIREmultiple entrieswith diffrent namescould register thesame *ARDPGM

Dieter Bender ArdGate

Page 43: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: The Native PartSecond Step: The DatabaseThird Step: The Java Part

The Remote Database Directory

adding an entrywithADDRDBDIREmultiple entrieswith diffrent namescould register thesame *ARDPGM

Dieter Bender ArdGate

Page 44: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: The Native PartSecond Step: The DatabaseThird Step: The Java Part

global.properties

where to findglobal.propertieshow to reach nativepartcopy exampleadjustdatabasenameadjust url

Dieter Bender ArdGate

Page 45: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: The Native PartSecond Step: The DatabaseThird Step: The Java Part

global.properties

where to findglobal.propertieshow to reach nativepartcopy exampleadjustdatabasenameadjust url

Dieter Bender ArdGate

Page 46: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: The Native PartSecond Step: The DatabaseThird Step: The Java Part

global.properties

where to findglobal.propertieshow to reach nativepartcopy exampleadjustdatabasenameadjust url

Dieter Bender ArdGate

Page 47: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: The Native PartSecond Step: The DatabaseThird Step: The Java Part

global.properties

where to findglobal.propertieshow to reach nativepartcopy exampleadjustdatabasenameadjust url

Dieter Bender ArdGate

Page 48: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

First Step: The Native PartSecond Step: The DatabaseThird Step: The Java Part

global.properties

where to findglobal.propertieshow to reach nativepartcopy exampleadjustdatabasenameadjust url

Dieter Bender ArdGate

Page 49: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Life Cycle of ArdGate

startingverifyendinghanging jobs

Dieter Bender ArdGate

Page 50: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Life Cycle of ArdGate

startingverifyendinghanging jobs

Dieter Bender ArdGate

Page 51: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Life Cycle of ArdGate

startingverifyendinghanging jobs

Dieter Bender ArdGate

Page 52: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Life Cycle of ArdGate

startingverifyendinghanging jobs

Dieter Bender ArdGate

Page 53: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Life Cycle of ArdGate

startingverifyendinghanging jobs

Dieter Bender ArdGate

Page 54: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Life Cycle of ArdGate

startingverifyendinghanging jobs

Dieter Bender ArdGate

Page 55: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

select * from myJDBCDB

server is started?connectingselectprompter issupportedresultsdisconnecting

Dieter Bender ArdGate

Page 56: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

select * from myJDBCDB

server is started?connectingselectprompter issupportedresultsdisconnecting

Dieter Bender ArdGate

Page 57: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

select * from myJDBCDB

server is started?connectingselectprompter issupportedresultsdisconnecting

Dieter Bender ArdGate

Page 58: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

select * from myJDBCDB

server is started?connectingselectprompter issupportedresultsdisconnecting

Dieter Bender ArdGate

Page 59: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

select * from myJDBCDB

server is started?connectingselectprompter issupportedresultsdisconnecting

Dieter Bender ArdGate

Page 60: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

select * from myJDBCDB

server is started?connectingselectprompter issupportedresultsdisconnecting

Dieter Bender ArdGate

Page 61: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

select * from myJDBCDB

server is started?connectingselectprompter issupportedresultsdisconnecting

Dieter Bender ArdGate

Page 62: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Possibilities

STRQMQRY incl.to local outfilesupports DDL,DML, commitembedded SQLdynamic sqlcursor

Dieter Bender ArdGate

Page 63: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Possibilities

STRQMQRY incl.to local outfilesupports DDL,DML, commitembedded SQLdynamic sqlcursor

Dieter Bender ArdGate

Page 64: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Possibilities

STRQMQRY incl.to local outfilesupports DDL,DML, commitembedded SQLdynamic sqlcursor

Dieter Bender ArdGate

Page 65: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Possibilities

STRQMQRY incl.to local outfilesupports DDL,DML, commitembedded SQLdynamic sqlcursor

Dieter Bender ArdGate

Page 66: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Possibilities

STRQMQRY incl.to local outfilesupports DDL,DML, commitembedded SQLdynamic sqlcursor

Dieter Bender ArdGate

Page 67: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Aadvanced Topics

add or replacedriversreplaceAppServer4RPG.jarfor upgradebug informationmore infobug report:uncomment last line

Dieter Bender ArdGate

Page 68: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Aadvanced Topics

add or replacedriversreplaceAppServer4RPG.jarfor upgradebug informationmore infobug report:uncomment last line

Dieter Bender ArdGate

Page 69: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Aadvanced Topics

add or replacedriversreplaceAppServer4RPG.jarfor upgradebug informationmore infobug report:uncomment last line

Dieter Bender ArdGate

Page 70: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Aadvanced Topics

add or replacedriversreplaceAppServer4RPG.jarfor upgradebug informationmore infobug report:uncomment last line

Dieter Bender ArdGate

Page 71: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Aadvanced Topics

add or replacedriversreplaceAppServer4RPG.jarfor upgradebug informationmore infobug report:uncomment last line

Dieter Bender ArdGate

Page 72: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Summary

ArdGate enables real time access to all SQL Databases withembedded SQL in RPG at record level.ArdGate is installed and configured in less than 1 day.

Outlook (Nice to have!)Completing support of SQL features (positioned updates etc.).(I’m dreaming of) a DRDA based Bridge.

Dieter Bender ArdGate

Page 73: Ard gate - English

IntroductionInstallation of ArdGate

Configuration of ArdGateUsage of ArdGate

Starting and Ending ArdGateFirst Interactive SQLWhat is SupportedAdvanced Topics

Questions?

Dieter Bender ArdGate