Download presentation
Presentation is loading. Please wait.
Published byRodger Barrett Modified over 9 years ago
1
ViaSQL Transfer
2
Viaserv, Inc. Transfer – 2 The ViaSQL Transfer n Available only with ViaSQL Integrator n Move data between OS/390 and a LAN database –Sybase, MS SQL Server, Oracle, ODBC –either direction –one-step data extraction, movement, format, load n Useful for data staging, reporting databases, data warehousing, data migration n ViaTransit utility (optional) –transfer building –transfer scheduling and automatic execution –pre- and post-transfer processing
3
Viaserv, Inc. Transfer – 3 Transfer Architecture OS/390 CICS Legacy Data Server DB2 VSAM IMS Seq. RSP Other ViaSQL Access Server ViaSQL Gateway Open Server Windows NT/2000 OCI DB-Library ODBC Sybase Oracle MS SQL Server ODBC Bulk Copy Transfers Destination Template Transfers Client Application
4
Viaserv, Inc. Transfer – 4 Transfer Terms OS/390 CICS ViaSQL Access Server ViaSQL Gateway Windows NT/2000 Primary Database Secondary Database Transfer TO secondary_database Transfer FROM secondary_database Source Database Target Database Source Database
5
Viaserv, Inc. Transfer – 5 Transfer Syntax n Bulk copy TRANSFER TO | FROM "secondary_database userid password"; WITH INSERT | REPLACE target_table; SELECT select_list FROM table_list WHERE... ; n Destination template TRANSFER TO | FROM "secondary_database userid password"; SELECT select_list FROM table_list WHERE...; destination_template;
6
Viaserv, Inc. Transfer – 6 Data Retrieval n Anything valid in source database –SQL SELECT –stored procedure –ViaSQL RSP n Subset data — no need for full refresh –select columns/fields –select records
7
Viaserv, Inc. Transfer – 7 Transfer Types n Bulk copy –simple insert (bcp, etc.) into target table may append records to existing records or replace existing records n Destination template –data is “applied” to target –using anything valid in target database SQL statement (e.g., UPDATE, DELETE) ViaSQL RSP stored procedure
8
Viaserv, Inc. Transfer – 8 Transfer Requirements n Working ViaSQL Gateway system –valid CICS ID and password –appropriate privileges on OS/390 tables or RSPs n Access to secondary database –required API (Open Client, OCI, DB-Library, ODBC) –network connectivity defined –valid ID and password –appropriate privileges on DBMS table(s) or objects
9
Viaserv, Inc. Transfer – 9 Secondary Database APIs n Open Client shipped with ViaSQL Gateway –just define a DSEDIT entry for secondary database –in SQL.INI that ViaSQL Gateway uses n DB-Library and OCI –require separate installation of client software –and appropriate network definitions –on the ViaSQL Gateway platform n ODBC –requires third-party ODBC driver for secondary database –and DSN definition on ViaSQL Gateway platform
10
Viaserv, Inc. Transfer – 10 Testing Transfer Setup n Connect to ViaSQL Gateway using convenient tool (e.g., ISQL, SQLAdvantage) n Issue appropriate test statement TRANSFER TESTCONN "syb_alias syb_userid syb_password"; TRANSFER TESTCONN MSSQL "ms_alias ms_userid ms_password"; TRANSFER TESTCONN ORACLE "ora_alias ora_userid ora_password"; TRANSFER TESTCONN ODBC "odbc_alias odbc_userid odbc_password";
11
Viaserv, Inc. Transfer – 11 Transfer Miscellany n Client application –issues transfer statement –does not touch data during transfer –can be a stored procedure inside a LAN DBMS –can be a ViaSQL CSA n Transferred data flows through ViaSQL Gateway –is not “staged” on Gateway platform n Transfer statements do not create target table n Datatype conversions –default conversions applied during transfer –a variety of touch-ups available for datatype conversion problems
12
Viaserv, Inc. Transfer – 12 Transfer Applications n Data staging n Data warehousing n Reporting and decision-support databases n Data consolidation n Data synchronization n Near-real-time data replication –run at regular intervals –combine with trigger
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.