accessing vsam and db2 data from a windows sharepoint (moss
TRANSCRIPT
Accessing VSAM and DB2 data from a Windows SharePoint (MOSS) Web Portal
Stan (Stawsh) Murawskimailto:[email protected]
Session 5826Share in San Jose, California10 August 2008
2
Session Topics forAccessing VSAM and DB2 data from a Windows SharePoint (MOSS) Web Portal
• Accessing VSAM and DB2 data• DB2
• VSAM, SAM and PDS• and SAM
• and PDS
• Windows SharePoint Services• SharePoint basics
• MOSS – (Microsoft Office SharePoint Server)• Enterprise scale SharePoint for the Enterprise
• Web Portal
3
Accessing VSAM and DB2 Data
• Access• Subtopic One
• Subtopic Two• Sub-subtopic
• Transactional Access• VSAM
• DB2
• Network Access• IBM provided network data access protocols
• Microsoft implementation to those protocols
• Microsoft HIS and BizTalk data adapters• HIS is Host Integration Server
• BizTalk incorporates all of HIS and a lot more.
HIS Data Provider for DB2
• Managed Provider for DB2• Updated to .NET Framework 2.0• Supports common provider factory• Exposes DB2 schema
• Visual Studio 2005 • Server explorer and data sources integration• Data designer, wizards, data bound controls
• Static SQL for DB2• Create package sections• Execute statements in existing packages
• Schema for DB2• Increased performance (generic consumers)
HIS Data Provider for VSAM and more(VSAM, SAM, PDS, AS/400 too)
• Managed Provider for Host Files• Works with .NET Framework 2.0
• Supports common provider factory
• Exposes host file schema
• Managed code data conversion library• Converts to/from mainframe/midrange data types
• Creates relationships between tables
• Supports REDEFINES and OCCURS
• Visual Studio 2005 • Server explorer and data sources integration
• Custom design tool• Import COBOL or RPG source code
• Export assembly with metadata maps
Microsoft Data Access Technology Stack
6
OLE DB Provider for DB2
ODBC Consumers,
(Office Access)
ADO and OLE DB Consumers
(Office Excel and SQL Server)
ADO and OLE DB
(UDLs, Pooling, Txns, Cursors)
DRDA Application Requester
ODBC Driver for DB2
ODBC
(DSNs, Pooling, Txns, Tracing)
Host Integration
Server 2006
Host Integration
Server 2006
DRDA Application Requester
WinAPPC over
SNA LU6.2
WinSock over
TCP/IP
WinAPPC over
SNA LU6.2
WinSock over
TCP/IP
.NET Data Provider for DB2
ADO.NET Consumers
(Smart Clients, ASP.NET,
Office InfoPath, SQL Server)
ADO.NET
(UDLs, Txns, Cursors)
DRDA Application Requester
WinAPPC over
SNA LU6.2
WinSock over
TCP/IP
Host Integration
Server 2006
.NET Framework (ADO.NET)COM+ (ADO and OLE DB)ODBC
HIS Access to DB2 on z/OS
7
ASP.NET
Microsoft
Host Integration Server
z/OS Data Center
z/OS
IBM zSeries Mainframe
DB2
Dynamic SQL
Static SQL
Tables, Views, Packages,
Stored Procedures
Windows Server System
ADO.NET Consumer
XML Web Service
.NET Data Provider for DB2
DRDA Application Requester
WinAPPC over
SNA LU6.2
WinSock over
TCP/IP
ADO.NET
TCP/IP for z/OSCommunications Manager for z/OS
DLC HPR/IP-DLC IP
Distributed
Data
Facility
DDM DRDA
over SNA LU6.2 or TCP/IP
RACF, Top Secret, ACF/2 Security
Visual Studio Data Services for DB2
• MsDb2Client extends
Visual Studio‟s
Server Explorer
• Offers a uniform way
to view, and use
DB2 data sources in
customer applications.
• Based on standard
Visual Studio
extensibility interfaces.
Host File Designer
• Allows mapping between Host and Windows data types• Called „Schemas‟
• Creates aliases for host files
• Import COBOL Wizard• Generates schema
from COBOL copybooks
• Import RPG Wizards• Creates schema
from RPG code
Windows SharePoint Services
• SharePoint Services 3.0• http://office.microsoft.com/en-
us/sharepointtechnology/FX100503841033.aspx
• http://technet.microsoft.com/en-us/windowsserver/sharepoint/
• Download for Windows Server 2003• http://technet.microsoft.com/en-us/windowsserver/sharepoint/bb400747.aspx
• SharePoint Pages and Parts• A Page Zones contains a Web Part
• Stock Parts, Custom Parts• Lists, Libraries, More specialized calendars, task lists, etc.
• Your own parts specific to your business
• SharePoint Designer and SharePoint Developer SDK• http://office.microsoft.com/en-
ca/sharepointdesigner/FX100487631033.aspx
• http://msdn.microsoft.com/en-us/office/bb421303.aspx
• http://msdn.microsoft.com/en-us/office/aa905503.aspx
10
MOSS –Microsoft Office SharePoint Server
• MOSS is Enterprise Industrial Strength SharePoint• Manageability
• Availability
• Security
• Scale
• Many Enterprise Portal Features• Privacy, Mobility, Office Integration, colleagues/membership, Rights Management, etc.
• Form Driven Policies and Document Driven Workflow
• Collaboration Goodies:• Wiki‟s, Social Networking,
• SharePoint & MOSS Technology Feature Matrix• http://office.microsoft.com/en-
us/sharepointtechnology/FX101758691033.aspx
11
Microsoft SharePoint Products and Technologies
12
NOTE: Graphic taken from http://msdn.microsoft.com/en-us/library/cc537498.aspx on 30Jul08
Mainframe data in a Web Portal
• Portal?
• A class of web site, or web site usage
• Portal
• Parts• Custom and business specific Data Parts
• Inventory data from VSAM
• Customer data from DB2
• Historical data from Sequential files
• Control data from a PDS member
• Application data from an AS/400
13
Some Other Options
• DB2 tables as “foreign tables” in SQL Server.
• Transaction Integration in addition/alternate to Data Integration• Calling IMS Transactions
• Calling CICS Transactions
• (AS/400 programs too)
• Session Integration to get data from 3270 Screens• Screen Scraping in .NET
• Data from 3270 screens in a Web Service
• Web Service data in a Web Part
• Host some of the business logic in the Portal • Write new code or run COBOL in a Web Part
• Reduce mainframe resource usage
• Improve application agility
14
IBM Platform Interoperability
Windows Applications
TCP/IP or
IPX/SPX
ADO.NET, ADO,
OLE DB, ODBC.NET, COM+, MSMQ
SNA or
SNA/IP
DDM
(DRDA and RLIO)
DPL, RPC,
APPC, MQI
DB2, VSAM, SAM,
AS/400 Records
IBM z/OS or iSeries OS
CICS, IMS,
AS/400, MQSeries
Programs
RACF,
Top Secret,
ACF/2,
OS/400
Security
References
• Host Integration Server (Data and Transactions)• http://www.Microsoft.com/HIS/
• BizTalk Server data adapters
• http://www.microsoft.com/biztalk/en/us/adapters-host.aspx
• Integration of DB2 data into SQL Server tables• OLEDB Provider for DB2 at
http://www.microsoft.com/downloads/details.aspx?FamilyID=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&DisplayLang=en
• SharePoint - MOSS• http://www.Microsoft.com/MOSS/
• Microsoft and Mainframe Modernization
• http://www.Microsoft.com/Mainframe/
16