80 likes | 369 Views
IBM i Remote Database Access. DB-Gate vs. RDB Connect. Compiled on June 27, 2012. Comparison: DB-Gate vs. RDB Connect. 2. ProData’s RDB Connect. Does not work in Start SQL (STRSQL) Based on APIs
E N D
IBM i Remote Database Access DB-Gate vs.RDB Connect Compiled on June 27, 2012
ProData’s RDB Connect • Does not work in Start SQL (STRSQL) • Based on APIs • New API-based language that requires special, non standard, programming to include it in RPG, COBOL • Must handle each column individually • No high-level activity log • Not integrated with i5/OS Server Authentication System (this is a method that eliminates repetitive use of User/Password) Example of RDB Connect in RPGLE: C Eval Id = RdbConnect('SQLSVR': :'me':'mypass') C Eval rc = RdbExec(Id:'Select * from [dbo].[Orders]') C Eval rc = RdbFetchNxt(Id) C Eval Field1 = RdbGetParmNum(Id:1) <- get numeric field C Eval Field1 = RdbGetParmStr(Id:1) <- get char field C Eval Field1 = RdbGetParmDate(Id:1) <- get date field 3
Raz-Lee’s DB-Gate • Enables IBM i to initiate a connection, for SQL access, natively to Oracle, Microsoft SQL Server, PostgreSQL, MySQL, SQLite… • Uses standard SQL statements (no API required) • Works interactively in Start SQL (STRSQL) • Works with standard SQL in RPG, Cobol, C • Agent-less, Automatic handling of columns, supports F4=Prompt for remote table column names • Includes high-level activity log • Integrates i5/OS Server Authentication System • Patent Pending technology 4
DB-Gate Examples Example of DB-Gate in RPGLE: C/EXEC SQL C+ DECLARE C1 CURSOR FOR C+ SELECT * FROM CORPDATA.DEPT WHERE JOB = ‘MANAGER’ C/END-EXEC Example of DB-Gate in STRSQL: > SELECT * FROM PROD.CUST > CREATE VIEW CORPDATA.MANAGERS AS SELECT LASTNAME, DEPT FROM CORP.EM WHERE JOB = ‘MANAGER’ > DELETE FROM PROD.CUST WHERE ID = 78 5
Comparison of Products The information in this presentation is based on owner’s websites: http://www.prodatacomputer.com/rdbConnect.shtml http://www.razlee.com/products/security/dbgate/dbgate.php Notes: • Coloring and statements made by Raz-Lee Security in this comparison presentation may be considered subjective • RDB Connect and ProData are trademarks of ProDataComputer Services 7
Thank You! Please visit us at www.razlee.com marketing@razlee.com