Professional Documents
Culture Documents
Deepak Kohli
IMS SOA Solutions Support
deepakk@us.ibm.com
Important Disclaimer
p. 2
IMS Challenges
Connectivity
– Need a way for both transactions and data to be exposed for
integration into enterprise applications
– Bi-directional access between IMS and distributed platforms
Data Representation
– Need to be able to easily share IMS data despite language,
platform dependencies
– No change (or small change) to existing assets
Application Development
– Mainframe skills (e.g. COBOL and PL/I) are becoming increasingly
harder to find
– Need to keep up with industry languages and support emerging
application development tools
p. 3
IMS SOA solutions
Leverage on standards
– SOAP, HTTP, XML, XQuery, WS-*, Java EE/JCA
Enable our customers to continue to leverage IMS as an integral part of their enterprise in the evolving
business world through the addition of support for complimentary standards surrounding IMS
connectivity, data representation, and application development
p. 4
Banking Center of Excellence
IMS TM IMS DB
COBOL PL/I C Java MFS DLI Data XML Data
IMS DLIModel
Utility
IMS
SOAP
Gateway *IMS Open DB
IMS IMS TM IMS DB
MFS Web And Universal
Web 2.0 Resource Resource
Solutions JDBC Drivers
*IMS Connect
Solutions Adapter Adapter
API IMS XQuery
WebSphere
p. 6
Architecture Foundation – IMS Connect
A capability that provides connectivity support between TCP/IP
applications and IMS transactions – Integrated into IMS V9
– Configured on a z/OS server
Benefits and Value
– Supports TCP/IP sockets access to IMS transactions and commands
– Provides a general purpose and structured interface
– Provides a strategic base for new IMS SOA technologies
IMSB
Web Server program
Cobol
COMTI
Assembler TCP/IP
Visual Basic
PowerBuilder
C/C++ IMS Connect IMSA
Java
Java Applet
...
BROWSER
Web VTAM
Websphere
Server
p. 7
Customer example – IMS Connect
Who?
– One of the world’s largest package companies
Situation
– Wanted to enable web access to their IMS systems to track
packages
Solution
– Leveraged IMS Connect and created server programs that issued
direct TCP/IP calls send/receive messages from IMS
– 50 – 110 million transactions a day through IMS Connect
p. 8
IMS TM Resource Adapter
(previously known as IMS Connector for Java)
WebSphere-based, Java Connector Architecture (JCA/J2C) Resource
Adapter that allows IMS connect to external systems
– Enable J2EE application, Web Service, SCA, SOA Composite
application/Choreographed service (BPEL process) to access existing IMS
transactions
IMS and SEPA compliance
– Integrate with WebSphere Transformation Extender support complex data
formats, e.g. SEPA, SWIFT (financial services), HIPAA (healthcare), and
EDI (cross-industry), etc.
WebSphere Transformation
IMS TM
Extender (WTX) or
resource IMS
WebSphere Message
adapter
Broker (WMB)
TCP/IP
WebSphere Application Server / IMS
WebSphere Process Server IMS App
Connect
Web
Service IMS TM IMS DB
Enterprise
Web Bean resource (includes
XML data)
Component adapter
p. 9
Banking Center of Excellence
Web Service
IMS IMS App
(WSDL File)
Connect
Web Service
Rational Application Developer IMS DB &
XML DB
p. 11
Customer example – IMS TM Resource Adapter
Banking
– Large Canadian Bank
• 3 IMS sysplexes in production, processing 50 million transactions a day
– Situation
• Needed to reuse the bank's extensive IMS assets as components to
deliver new financial services and extend client reach
• Needed to maintain high availability and throughput in the new IMS
profile
– Solution
• Evolving IMS in a growing portfolio of new applications for the branch
platform and mission-critical "e" channels since 2002
– 18 IMS Connect instances, and growing IMS TM Resource Adapter
applications in 3 WebSphere Application server for z/OS sysplexes in
production now
– Rational Application Developer for Java development
p. 12
IMS SOAP Gateway
A direct Web Service solution for IMS
– Light-weight web service support
• No not need Java EE server (e.g. WebSphere Application Server)
– Integrate IMS assets into SOA using Web Service and SOAP interface
– XML transformation in IMS Connect
• Handles XML data with no change in IMS application
– Supports industry web service standards
• HTTP(S), SSL, SOAP 1.1, WSDL 1.1, WS-I BP 1.0
Generates
p. 13
XML Conversion Support
COBOL
– Compiled and bound into file that is Converters
p. 14
IMS SOAP Gateway Example
<?xml version=“1.0”?>
<INPUTMSG><in_ll>32</in_ll><in_zz>0</in_zz>
<in_trcd>IVTNO</in_trcd><in_cmd>DISPLAY<in_cmd> ….IVTNO DISPLAY LAST1
01 INPUT-MSG.
<in_name1>LAST1</in_name1></INPUTMSG> 02 IN-LL PIC S9(3) COMP.
02 IN-ZZ PIC S9(3) COMP.
02 IN-TRCD PIC X(10).
02 IN-CMD PIC X(8).
IMS SOAP Gateway IMS Connect …
XML XML
XML IMS
Appl format Adapter
GU. IOPCB
Appl format …
ISRT, IOPCB
Appl format
Appl format
XML
XML XML Adapter 01 OUTPUT-MSG.
02 OUT-LL PIC S9(3).
02 OUT-ZZ PIC S9(3)..
02 OUT-MSG PIC X(40).
<cbl:OUTPUTMSG xmlns:cbl= 02 OUT-CMD PIC X(8).
…
“http://www.XCNVI.com/schemas/XCNVIInterface”>
….ENTRY WAS DISPLAYED
<out_ll> 093</out_ll><out_zz> 000</out_zz> DISPLAY LAST1
<out_msg> ENTRY WAS DISPLAYED</out_msg> FIRST1
<out_cmd>DISPLAY</out_cmd> 8-111-11111D01 / R010001
<out_name1>LAST1</out_name1>
p. 15
Customer – IMS SOAP Gateway
Who?
– A global car and equipment manufacturing company
Situation
– Allow their factory devices to send status to IMS
– Direct access from Microsoft .NET applications to IMS applications
Solution
– IMS SOAP Gateway on z to provide direct Microsoft .NET access
to IMS transaction
p. 16
IMS MFS Web Solutions
Modernize MFS-based IMS transactions
Revitalize existing assets with total cost reduction
– 3270 emulator and VTAM are no longer required
MFS SOA Support
– Transform MFS based IMS transactions as Web services via
Rational Application Developer (RAD) & WebSphere Application
Server (WAS)
MFS Web Enablement
– Render displays on new modern devices, extending the use of
MFS without modifying existing applications
– Web browser & WebSphere Application Server
– Cell phones (requirement)
– PDAs (requirement)
p. 17
IMS MFS SOA Support
Message Formatting Service SOA is designed to provide a
systematic approach of transforming existing MFS-based
IMS application into MFS J2C Services
Enables MFS-based IMS transaction to be accessed from
the web and reusable for many B2B scenarios
WebSphere
Application MFS SOA Services IMS IMS
Server CONNECT
MFS Source
MFS SOA
EMD Wizard
DEPLOY
JSP E
XML
XML WSDL A
MFS Reverse schema
schema
(XSD) R
Utility Tool (XSD) EJB
(optional)
p. 18
IMS MFS Web Enablement
Provide B2C solution to web-enable existing MFS-based
IMS business logic.
Maintain conversational iterations.
Render displays on new modern devices, e.g. browsers
VTAM IMS
MFS
Online MPP/IFP/
Processor BMP/JMP
MFS-based
Transactional
MFS WEB MFS Web Enablement Adapter IMS IMS O Application
Enablement Resource T
servlets Input adapter Connect Program
Record
M
A
Byt
DEV MSG stream
e Output
Record
loads Stylesheet
p. 19
Customer example – MFS web services
Avnet
– Electronics distributor
• Mainly MFS-based with IMS and Oracle DB installations
– Situation
• Had to independently access their Oracle and MFS-based transactions
• Needed an integrated Web services-based application to access both
– Solution
• MFS SOA support
p. 21
IBM Mashup Center
IMS and Web 2.0 – Unleash and Reshape IMS
GA
06/30/2008
Integrate your existing IMS assets into Web 2.0 mashup solutions
Contains InfoSphere MashupHub and Lotus Mashups
– Transform IMS Cobol and PL/I transactions into REST services/feeds
– Mashup maker with many built-in widgets (e.g. URL/XML/RSS Viewer, Google Map,..)
p. 22
Upcoming IMS V10 SPE - IMS Connect API
Provide API to simplify use of IMS Connect by RYO applications
– Currently, RYO client developers must understand intricacies of IMS
Connect headers (IRM, CSM, RSM, etc.) and message protocols
– Intended for all customers who write client applications that interact
directly with IMS Connect (IMS Connect clients that do NOT use IMS
TM Resource Adapter or IMS SOAP Gateway)
p. 23
Other Solutions
for accessing IMS TM
p. 24
3270 Emulation
Benefits and value
– Straightforward and simple
• Traditional IMS communication model
– Leverages standard TCP/IP Telnet (TN3270) capabilities
IBM’s Host Integration Solution - Host Access Transformation Server
(HATS)
– Out of the box - transforms 3270 data streams to HTML
• Provides customization and access to multiple hosts
– Access provided as Java Applets or as Host Servlets
– Supports the creation of Web Services
WebSphere Studio
/ RAD
TCP/IP VTAM
Telnet
IMS
p. 25
Messaging and Queuing
WebSphere MQ (MQSeries)
– Supports the use of MQ API
• Remote program is not sensitive to the network type
– MQ provides its own high-level standard API
– Same applications can be deployed on TCP/IP or SNA
– Supports the use of JMS (Java Message Service) API
• Messaging standard that allows application components based
on J2EE to create, send, receive, and read messages
p. 26
And then there is DataPower
IBM SOA appliances are purpose-built hardware that simplify, accelerate
and help secure XML Web services for SOA
OTMA
IMS
– An MQ client MQ client
IMS application
(Cobol,, etc.)
OTMA
IMS
Connect IMS
IMS Connect
client
IMS application
(Cobol,, etc.)
IRM
Request
ftp://ftp.software.ibm.com/software/websphere/integration/datapower/WSB11353-USEN-00.pdf
p. 28
All in All
Many vendors, many solutions - Good News for IMS !!!
• Crossplex e3270 Emulation - SofTouch Systems Inc. • Attachmate - Synapta Services Builder for IMS
http://www.softouch.com/cpx_prod/index.html# http://www.attachmate.com/NR/rdonlyres/2FFC7D0A-9744-4996-
• HOBLink TE - https://webshop.hob.de/scripts/produkte.php 95CE-18AFCEC0B4F7/0/tp_ssb_transactionaccess.pdf
• Host Access Transformation Services – IBM • Comporsys Connector for IBM IMS
http://www.ibm.com/software/webservers/hats/ http://www.comporsys.de/pdf/connector,ims,datasheet(en).pdf
• Jacada - http://www.jacada.com • Microfocus Mainframe Express (MFE) IMS Connect interface
• Resqnet - http://www.resqnet.com http://www.microfocus.com/mfnewsletter/20040601_004.asp
• Web 390 for OS/390 and MVS - Information Builders • MicroSoft Transaction Integrator
http://www.informationbuilders.com/products/web390/pdf/web390.pdf http://msdn.microsoft.com/library/default.asp?url=/library/en-
• IONA Mainframe Integrator for IMS - http://www.iona.com us/his_2004main/htm/his_planning_for_transaction_integrator
• iWay Adapter for IMS/TM _node_gphi.asp
http://www.egeneration.com/iwaydocs/iway55/5.5.001/iw55_ims.pdf • NetManage OnWeb Connectors
• Sybase XJS 390 Enterprise Integrator 3.8 http://www.ftp.com/products/pdf/datasheets/OnWeb_Connectors2_3- 05.pdf
http://www.sybase.com/detail?id=1018620 • SeeBeyond e*Way Intelligent Adapter for IMS
• webMethods 6 Mainframe Integration - http://www.webmethods.com http://goldstar.seebeyond.com/support/support/docs/4.5.4/e
• BMC Energizer for IMS Connect - http://www.bmc.com/ Way_Intelligent_Adapters/IMS_eWay_Monk.pdf
• IMS Connect Extensions - http://www.fundi.com.au/pr_ims_ce.html
• Oracle Access Manager for IMS
• Seagull LegaSuite for IMS http://www.wisc.edu/drmt/am4ims.html
http://www.seagullsoftware.com/products/ims/runtime- http://www.oracle.com/technology/products/gateways/pdf/amims.pdf
architecture.html • MQ offerings -
• IBM – IMS Connect http://www-306.ibm.com/software/integration/mqfamily/directory/
http://www-306.ibm.com/software/data/ims/connect/index.html bridges.html11
• IBM – MQ Bridge - http://www-306.ibm.com/software/integration/wmq/ • Attunity Connect – http://www.attunity.com/Products/AttunityConnect.Asp
• BEA eLink Adapter for Mainframe TCP - BEA Systems • eWay™ Intelligent Adapters 5 - SeeBeyond
http://e-docs.bea.com/elink/mainfram/tcp/v32/pdf/tuxug.pdf http://www.seebeyond.com/software/eway.asp
• NEON Systems Shadow Interface™ for IMS/TM - Neon Systems Inc. • GT Software - Ivory Data Access
http://www.neonsys.com http://www.gtsoftware.com/content.asp?page=IMS%20or%20DL/1%
• IMS Server Adapter OTMA Plug-IN – IONA (uses OTMA C/I) 20Data%20
http://www.iona.com/support/docs/orbix/mainframe/6.0/ims_admin/ • AccessIMS Adapter for Sonic ESB - Sonic Software
OTMAConfig2.html#302847 http://www.sonicsoftware.com/products/docs/adapter_esb_ims.pdf
• Informatica PowerExchange for IMS
http://www.informatica.com/products/powerexchange/supported_platforms/
ims/infa_px_ims_120204.pdf … and many more
p. 29
IMS Access to SOA
IMS as a Service Consumer to access
external resources
p. 30
IMS V10 – IMS as an Integration Focal Point
IMS applications can access other
environments and data
p. 31
IMS V10 Asynchronous Callout
Enables IMS application to act as a client to asynchronously
invoke J2EE applications and Web Services
– Callout to J2EE apps (e.g. EJB) and Web Services using WebSphere
Application Server and IMS TM resource adapter
– Callout to Web services using IMS SOAP Gateway
– Callout to other apps
IMS z/OS
WebSphere Application Initiating
Server Client
Descriptors
OTMA Routing
Web EJB IMS IMS
Service TM RA Connect
Hold IMS App 1
Q (ISRT ALTPCB)
Web XML Request
SOAP Adapter
Service
Gateway
IMS App 2
Other Response
Apps
p. 32
IMS 10 SPE - Synchronous Callout
Enables IMS application to act as a client to invoke Web Services provider,
Java EE (e.g. MDB/EJB) and RYO (e.g. SAP) applications
Synchronously receive output back in the same IMS transaction instance
p. 33
Synchronous Callout Highlights
New IMS DLI ICAL call for synchronous callout request and
response
p. 34
And.. other Solutions
for calling out from IMS
p. 35
Other Solutions
Websphere MQ/MB/ESB
– MQ API calls in IMS applications can participate in solutions
provided by WebSphere Message Broker and the ESB (enterprise
service bus)
• Transforms messages formats between MQ applications and web
services
IMS/ COBOl pgm WebSphere MQ WebSphere WebSphere
Message Broker V6x Application Server
MQPUT MQ
MSG XML
Web service
Transformation
MQGET engine
p. 36
Other Solutions …
“SQL CALL” to DB2 stored procedures
– IMS application program must include logic to
• Set the host variables prior to executing the CALL
• Handle any error conditions returned by the stored procedure
IMS application
DB2 WebSphere
01 aaa PIC X(30). Application Server
01 bbb…
….
Stored
EXEC SQL: procedure Web service
CALL MYPROC ( :aaa
, : bbb
)
END_EXEC.
– References
• SG24-7083 DB2 for z/OS Stored Procedures: Through the CALL and Beyond
– Chapter 24.4 - Accessing DB2 stored procedures from IMS
• SG24-7064 WebSphere for z/OS V6 Connectivity Handbook
– Chapter 13.2 - Calling a web service from DB2
p. 37
Other Solutions …
IMS Java application capabilities
– Java applications can directly invoke a web service
• JAX-WS
• Direct socket connection to machine hosting the service
IMS JMP
WebSphere
Application Server
Java
program Web service
– References
• SC18-7821 IMS Java Guide and Reference
• SG24-7064 WebSphere for z/OS V6 Connectivity Handbook
– Chapter 14 - Connecting to WebSphere from IMS using SOAP
p. 38
IMS and IBM SOA Foundation
IMS and WebSphere/Rational development family
p. 39
IMS & the IBM SOA Foundation
Rational Application Developer
WebSphere Integration Developer
Rational Developer for System z1
IMS TM Resource Adapter IMS SOAP Gateway IMS MFS Web Enablement IMS Info 2.0
IMS DB Resource Adapter IMS MFS SOA IMS DLI Model Utility3 F - Future Requirement
p. 40
IBM Rational Application Developer (RAD)
IMS App Source
(COBOL, PLI, MFS, C)
Easy-to-use application
development tool
Graphical and source
editors
Modernize your IMS
IMS*PL/I
*MFS,
application
Source
application
IMS TM – Parse existing IMS
IMS
ResourceC application source and
Adapter
Source
application generates Web app,
EJB and Web Service
IMS
COBOL
Copybook
application – No need to change
IMS application
p. 41
IBM WebSphere Integration Developer (WID)
Simplify and accelerate the
development of integrated
IMS TM
Resource applications
Adapter
Implements Service
Component Architecture
(SCA) technology and
business process
choreography
Industry-standard service-
oriented architecture
p. 42
Rational Developer for System z (RDz)
Application development tool for modernizing and developing
System z application
Support for IMS SOAP Gateway
– Web Service Provider scenario
• Generate WSDL, XML converters
and correlator files from
COBOL/PLI source files
– Web Service Consumer scenario
• Generate XML converters,
correlator files from COBOL source
and Web Service WSDL files
IMS TM IMS DB
COBOL PL/I C Java MFS DLI Data XML Data
IMS DLIModel
Utility
IMS
SOAP
Gateway *IMS Open DB
IMS IMS TM IMS DB
MFS Web And Universal
Web 2.0 Resource Resource
Solutions JDBC Drivers
*IMS Connect
Solutions Adapter Adapter
API IMS XQuery
WebSphere
p. 45
Access to Data
Direct Connection (database) interfaces
– DRA interface (Database Resource Access)
• Traditional DBCTL interface
– ODBA interface (Open DataBase Access)
• Callable interface to IMS DB
IMS SOA Integration Suite
– Java support in IMS, IMS DB Resource Adapter, DLI Model Utility,
IMS XML DB, etc..
EJB
Stored IMS DB Resource Adapter
Proc
IMS DB Resource Adapter Java Virtual Machine
Java Virtual Machine
z/OS
ODBA JMP JBP
JCICS
IMS DB Resource Adapter DRA
IMS DB Resource Adapter
Java Virtual Machine IMS DB
Java Virtual Machine
p. 46
Java support in IMS
Write IMS application in Java and more…
IMS dependent regions for Java (JMP and JBP)
– JMP access to IMS message queues, IMS and DB2 databases
– JBP access to IMS, DB2 as well as GSAM databases
Access from IMS database from
– IMS dependent regions, WAS z/OS and distributed, CICS, DB2 stored
procedures
Language interoperability
– Ability for Java and OO COBOL to invoke one another within the same
transaction
DB2 interoperability
– Allow the use of either the DB2 JDBC or SQLJ
– DB2 and IMS activity in the same unit of work
– Return IMS data to a DB2 Java stored procedure encapsulated in a DB2
result set
Java TM and DB API
– IMS message queue processing, program switching, etc
JDBC driver for IMS
– SQL access to IMS Data
p. 47
Customer example – IMS Java API
Who?
– German bank
• Mainly PL/I based with conversational transactions
Situation
– Purchased 3rd party credit checking technology as part of a Java
package
• Replaced existing PL/I-based transaction
– Wanted to deploy this in a Java Dependent Region and integrate
with existing PL/I applications
• Just another service…
Solution
– Leverage the deferred program switching support already in IMS
(and supported within the Java class libraries) to switch
conversation iterations from MPP to JMP regions and back
– In production within a month with this solution
p. 48
JDBC (Java Database Connectivity)
Defines a standard Java API for accessing databases
p. 49
SQL and IMS
p. 50
IMS DB Resource Adapter
IMS provides a JCA resource adapter for deployment in a
WebSphere Application Server runtime
– There is also an IMS TM resource adapter that provides J2EE
platform access to existing IMS transactions
p. 51
Features
Supports J2EE Connector Architecture (JCA) 1.0
Connection Management
– Connection pooling
Supports various types of interactions and programming models
– JDBC
• SQL and XQuery support
– Java for DLI
Security Management
– RACF for authentication
– ODBA does additional check for PSB (database) authorization
Transaction Management
– Global z/OS RRS transaction support
Multi-platform support
– Runs in WebSphere family of 31 and 64 bit application servers
p. 52
JDBC access to IMS DB with DB Resource Adapter
WebSphere z/OS and IMS Java support
WAS for z/OS
IMS IMS
IMS
HTTP IMSDB
DB
EJB
EJB Resource
Resource
DB
DB
Server (JDBC
(JDBCcalls)
calls) adapter
adapter (ODBA)
(ODBA)
z/OS
Support with IMS V9 – IMS Java Remote Data Services
WAS Distributed WAS for z/OS
Client Distributed EJB
Clientside
side Distributed
IMS
EJB
(CM) IMS
IMSDB
DB IMS
IMSDB
DB
EJB
EJB IMSDB DB (CM) Resource (ODBA)
Resource Resource (ODBA)
application Resource adapter
application adapter
adapter EJB
EJB
adapter
(BM)
(BM) z/OS
Support with IMS V11 – IMS Open Database and Universal JDBC Driver
p. 53
CM: container managed (supports global transaction semantics)
BM: bean managed (supports local transaction semantics)
IMS V11 IMS Open Database
Leverage and expose IMS data in a distributed topology
– Enable creation of services that expose IMS data to distributed
platforms
• PSB authorization still applies!
p. 54
IMS V11 Open Database
z/OS LPAR A
Final ODB
Current Solution
Solution
Evolution of ODB IMS
ODBM
WAS z/OS
Distributed T
C
O
S
D
PC S O
D
PC CTL
P C C IMS DB
I B B
P I
A I A
IIOP
WebSphere
S
J T LPAR B IMS
C C
O
A P IIOP WAS z/OS
A
XCF S O
I PC
P T D CTL
1.5 P C
S C IMS DB
B
P C I
I
A
TCP/IP P I
LPAR C
IMS
TCP/IP IMS Connect
JDBC O
S PC
T S D CTL
C C IMS DB
TCP/IP P
B
C
Roll Your Own I
I A
P I
p. 55
Customer example – IMS DB RA
Who?
– One of the world’s largest public corporations by revenue
Situation
– Wanted to move to a web-based J2EE model in order to manage
internal inventory across their 4 regions in the United States
Solution
– Leveraged the IMS DB resource adapter in order to develop
Enterprise JavaBeans that could access the target IMS databases
directly
– WebSphere Application Server for z/OS V5
p. 56
IMS XML Database Support
Introduces a way to view/map native IMS hierarchical data to XML
documents
– Aligns IMS Database (DBD) with XML Schema
Allows the retrieval and storage of IMS Records as XML
documents with no change to existing IMS databases
Enables query of IMS data using XQuery
PCB: BIB21
@year seq
BOOK
p. 57
IMS XML Database Support
Storage and retrieval of XML Documents
– Composition of XML documents from existing IMS databases
– Creation of IMS segments from XML documents (decomposition)
– Intact storage of XML Documents (without decomposition)
IMS Java IMS DB
XML Document Application
<?xml version=‘1.0’?>
<customer xmlns=
‘http://www…/PSB/PCB’>
<cust> … XML Schema
<name> … </name> <?xml version=“1.0”’
</cust> encoding=“UTF-8”?>
<xsd:schema xmlns:xsd= …
…
<xsd:element name=“cust”>
…
p. 58
XQuery support in IMS V10
Further aligns IMS with industry direction Information
as a Service
– XML, SOA, Web Services, etc.
Content
More natural fit for hierarchical data querying
Data
Enables customers to leverage emerging standard
skill set
p. 59
IMS DB XML APIs
IMS V9 XML API <xsd:annotation>
<xsd:appinfo>
XML CLOB <ims:DLI mode="store"
<B> PSB=“MYPOPSB"
<f1> </f1>
SELECT retrieveXML( B)
FROM PCB C PCB=“MYPOPCB"
<f2> </f2>
<xsd:element name=“A”>
<f3> </f3> WHERE C.FIELD….
<xsd:element name=“field1"
<B>
…
DLIModel Generated
XML schema
XML document IMS V10 XQUERY API
A
Af1(x)
SELECT retrieveXML( B,
<B>
<f1> </f1>
‘for $x in /B BBB1 B2 D1 D2
where $x/@f1 = z
<f2> </f2> C1 C2f6(Y)
<f3> </f3>
return <namelist>
<xsd:annotation> IMS DB
<B> {$x/B/f4}
</namelist>’) <xsd:appinfo>
Note: Segment Names ~ Table Names <ims:DLI mode="store"
FROM PCB C
Segment Instances ~ Table Rows PSB=“MYPOPSB"
WHERE C.FIELD…
Field Names ~ Column Names PCB=“MYPOPCB"
<xsd:element name=“A”>
XQUERY - an evolving <xsd:element name=“field1"
standard API designed to query and format XML data …
DLIModel Generated
IMS XQUERY processor XML schema
- Extends IMS XML DB
- Uses XML schemas generated by DLIModel
p. 60
V10 SPE IMS DB web services
Provide ability to expose a database query as a
callable web service
– Tooling support generates
• Deployable ear file
• WSDL WebSphere Application
Server
DLIModel Utility
Config
EAR
WSDL
Types
Interface
Binding
Service
p. 61
DLIModel Utility
IMS database visualization tool
– Visualize an entire IMS PSB
– Can view each PCB individually
• Hierarchy, segments, fields, types, etc
IMS database metadata generation tool
– Generates the necessary metadata that
is consumed at runtime by IMS DB
Resource Adapter, XML-DB support
• Database metadata
• XML schema
Bottom up tooling approach
– Parses PSB and DBD source
– Optionally COBOL copybook
definitions of segments
An Eclipse 3.x plug-in
p. 62
Database Visualization (UML View of the Database
Metadata)
p. 63
AND …
p. 64
Information Integration
Websphere Classic Federation Server for z/OS
– Integrates access to a variety of resources
• ODBC, JDBC access to IMS data
– Read and update access to IMS DB using JDBC and ODBC
• Access to IMS transactions
AIX, HP-UX, Portal ASP BI Tool Servlet Servlet Client
Solaris, Class
Linux, Wintel ODBC client EJB JDBC Client
•http://www-306.ibm.com/software/data/integration/iicf/support.html
p. 65
Pushing Data Out
IBM solutions
– IMS Architecture capability – Data Capture Exit
• Supports
– Synchronous capability
• Extension to the IMS application as an exit routine (no change to
application)
• ISRTs ALTPCB, db calls, MQ calls, Socket calls, etc.
– Asynchronous capability
» Data Capture Log records – x’99’
– WebSphere Classic Event Publisher for IMS (5655-M38)
• Leverages the IMS Data Capture architecture
– Captures changes made to IMS files using an IMS logger exit
• Captured changes are reformatted into a relational data format
– The relational format data is packaged as a self-describing XML
message
– The XML messages are published to WebSphere MQ
p. 66
No additional cost
IMS SOA solutions - Summary for IMS licensed users
Web Direct
service Solutions Database
clients Solutions access
WID RAD Developers
DLI
Model
Java/J2EE Utility
Client WebSphere
Java
dev IMS TM
Resource
IMS WebSphere
Java /J2EE
Developer
Web Service
Adapter
IMS DB
.NET MFS Web Transaction Database Resource
Services Adapter
Client SOAP manager manager
ODBA /DRA
IMS Connect
Java
Client class
Direct
SQL
Developer TCP Library
SOAP IMS DL/I XQuery CICS
/IP
APP DL/I
SAP IMS SOAP Developer
Gateway
Client Java
DB2
Application class
SP/CICS
RDz Database
developer Java Library Java
class class
REST Service
Library Library
WebSphere
p. 67
Final Thoughts
With SOA you are looking to build a reuse culture
All roads lead to the people
– Everybody gets involved in SOA – need to work across
organizations
SOA is a journey, not a one-time project that a single
department implements
Corporate-wide process
– Leverage technology in a way that reflects the business’s
key business processes
– Enable business to change when needed without being
constrained by IT
IBM (and IMS) are here to support you every step of the
way
p. 68
How Do I Get It?
IMS SOA Integration Suites
– http://www.ibm.com/software/data/ims/toolkit/
• IMS TM resource adapter
• IMS DB resource adapter and JDBC driver (information)
• IMS XML DB (information)
• IMS DLIModel utility
• IMS MFS Web support
• IMS SOAP Gateway
IMS
– FMID for DB resource adapter, JDBC driver, and XML-DB support
• IMS V8 (JMK8806)
• IMS V9 (JMK9906), also includes XML-DB support
• IMS V10 (JMK1016), also includes XQuery support
IMS Info 2.0
– IBM Mashup Starter Kit is available on both IMS and IBM Alphaworks
website
• http:/www.alphaworks.ibm.com/tech/ibmmsk
– IMS Info 2.0 demo video on YouTube
• http://www.youtube.com/watch?v=BWJGSC-RyXQ
p. 70
How Do I Get It? …
Rational Application Developer
http://www.ibm.com/software/awdtools/developer/application/index.html
WebSphere Integration Developer
http://www.ibm.com/software/integration/wid/about
Rational Developer for System z
http://www.ibm.com/software/awdtools/rdz
p. 71