ims open database, odbm, ims explorer ims ug jan 2014 emeeting east

21
© 2012 IBM Corporation IMS e-User Group IMS Continued Modernization: IMS Open Database, ODBM, IMS Explorer IMS e-User Group Meeting – January 23, 2014 Nancy Stein - IBM IMS ATS - [email protected]

Upload: ibm-ims

Post on 20-May-2015

859 views

Category:

Technology


7 download

DESCRIPTION

IMS Open Database, ODBM and IMS Explorer What is it? Why should I set it up? What is it good for? How can I use it?

TRANSCRIPT

Page 1: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation

IMS e-User Group

IMS Continued Modernization:IMS Open Database, ODBM, IMS Explorer

IMS e-User Group Meeting – January 23, 2014

Nancy Stein - IBM IMS ATS - [email protected]

Page 2: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation1

IMS – from Apollo to XRF

IMS

360

1972 - 2.2 + 2.3

1968 - 1.0

Multi-region

architecture

1971 - 1.2 + 2.0

Scheduling by

intent on

segment type

1973 - 2.4.1

MFS

3270s

IMS VSVSAM

Secondary Index

Program

Isolation

1974 – 1.01975 – 1.1

Parallel DLI

GSAM

Appl. Chk/Restart

VSAM Buffer Pools

1975 – 1.1.3

MSC

SMP

1977 – 1.1.4

Fast Path

DBRC

1978 – 1.1.5

FP Mixed Mode

AOI and CMD calls

IMS VS

1980 – 1.1.6

31 Dependent regions

ISC

MSC VTAM

1981– 1.2

Data Sharing

IRLM

PROCOPT GON/GOT

1984 – 1.3

DASD Logging

DLI SAS

1986 – 2.1

VSCR

1987 – 2.2

XRF

1970 - 1.1

Scheduling by

intent on

database

Page 3: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation2

IMS – from DBCTL through the present day

IMS ESA

1989 - 3.1

DBCTL

1995 - 5.1

Parallel Sysplex

OTMA

1998 - 6.1

Shared Queues

999 Dependent

Regions

IMSHALDB

2000 – 7.1 2002 – 8.1

Common Service

Layer

Global Online

Change

2004 – 9.1

HALDB OLR

Integrated

IMS Connect

2007– 10

DRD

MSC Bandwidth

Global Status

Management

2009 – 11

Open DB

DB Quiesce

ACBLIC Dynamic

Allocation

Transaction Expiration

IMS Web 2.0 Solutions

1993 - 4.1

APPC

ETO

1998 - 4.9

PRPQ for Y2K

Support

2011 – 12

IMS Catalog

64-bit FP Buffer

Management

IMS-to-IMS TCPIP Support

Fast Path Secondary Index

IMS Enterprise Suite

Sync PG-PG Switch

DB Versioning

HALDB & DEDB

Alter COBOL SQL

2013 – 13

Page 4: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation3

Compatibility

• Application compatibility

– Programs written in 1969 still run in IMS 13

– IMS does not require recompiles for new IMS releases

• Database compatibility

– IMS does not require database conversions for new IMS releases

• Customers have been able to grow their IMS systems without major

application conversions for 45 years !!!

Page 5: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation4

Adaptability

• IMS keeps up with technological trends

– Provides a TCP/IP socket server – IMS Connect

• Access to both IMS transactions and databases

– Allows IMS applications to be both web clients or servers

– Delivers adapters that run in JEE, SOAP, etc. environments

• Pluggable components that provide easy interfaces to IMS resources

– Supports type-2 and type-4 Universal Drivers for access to IMS DB

• Provides application programming interfaces

– Unique to IMS

• DL/I calls to access IMS resources: message queues and databases

• IMS applications can be written in: COBOL, PL/I, Assembler, C/C++,

Pascal, ADA, REXX, Java

– Portable – Java classes and JDBC

Page 6: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation5

And …

• That is why IMS continues to be current

– Application programs that were written for IMS 5, 10, 15, 20, 40…

years ago continue to run today

• Even when they are now invoked from the web

– Or continue to be executed via 3270 devices or emulators

• The same application, without change, can be accessed from any type

of connection or network interface that can access IMS

• The IMS architecture allows communication components and even

database components to be easily exchanged or replaced

– Without affecting the IMS application programs

Page 7: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation6

15 million gigabytes of production data managed by IMS

$3.0 trillion ($US) per day transferred through IMS, by one customer

200+ million users served every day

375 million accounts…..for one customer

117,292 transactions per second…..on a single IMS system

Page 8: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation7

IMS Evolution Strategy

IMS interfaces IMSNew IMS interfaces

and models

Installation and

Operations

Installation and

Operations

Application

Development

Application

Development

Reporting and

Analysis

Reporting and

Analysis

Reduce the need for special, in-depth IMS skills

JCL

ISPF

SDSF

JES

User Mods

User Exits

DBDGEN

PSBGEN

ACBGEN

OLC

DRD

DLI

SQL / JDBC

IMS Tools

Rational

Optim

Cognos

QMF

InfoSphere

J2EE

pureQuery

IMS TM

and

DB

Databases

Catalog

Page 9: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation8

IMS Evolution / Simplification

• Deliver more intuitive UIs and interfaces to talk to IMS

– Eclipse-based tooling for Application Development – IMS Explorer

– SQL support from Java with Open Database in IMS 11

– SQL support from COBOL in IMS 13

– More operational consistency with z/OS, CICS, DB2, RDz, and

Omegamon for IMS

• Reduce planned outages and manual tuning

– Dynamic Database Buffer Pools – IMS 12

– Database Quiesce – IMS 11

– Dynamic allocation of ACBLIB data sets – IMS 11

– Dynamic Resource Definition – IMS 10

– HALDB Online Reorganization – IMS 9

– Database Versioning – IMS 13

– HALDB and DEDB Alter – IMS 13

Page 10: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation9

Rapid IMS Application Development

• Extending IMS Application Development to Business Analysts– Make decisions based on up-to-the-minute data

• Business Rules– Operational Decision Mgmt support – code generation

• Mashups– IMS Web 2.0 Solutions for Mashup Center

– Available in V10 for IMS TM feeds, IMS 11 for IMS Data feeds

– Ability to easily integrate multiple RESTful services, widgets, data

– DataPower support for REST services

• COGNOS– Real time query of IMS data

– Business analyst with no IMS skill can make decisions based on data supplied by IMS

• QMF

– Real time query and reporting of IMS data

– Extended for business intelligence and analytics

– SPSS

– Statistical, realtime rating

Page 11: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation10

IMS 11: Distributed Access to IMS Data

• IMS Open Database enables access to IMS databases anywhere in the

IMSplex, directly from z/OS and distributed Java clients !!!

– Using industry standard Distributed Relational Database Architecture

to communicate with IMS Connect

– Universal DB Resource Adapter

• JEE environments (e.g. WebSphere Appl. Server) - JCA 1.5

• SQL Calls

– Universal JDBC Driver

• Non-JEE and JEE environments

• SQL Calls

– Universal DLI Driver

• Non-JEE and JEE environments

• DL/I call concepts (SSA, command codes)

– RYO (Roll Your Own)

• Program sends DRDA commands directly to IMS Connect

IMS Connect becomes the gateway to IMS transactions and data !

Makes Application development and Connectivity much simpler !

Page 12: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation11

IMS JDBC Support

• JDBC 3.0

• Standard SQL implementation for the SQL subset

– Keys of parent segments are included in tables as foreign keys

• Updatable results set

• Local commit/rollback support

• Metadata discovery API implementation

– Uses metadata stored in the IMS Catalog

– Enables JDBC tooling to work with IMS DBs as with DB2 DBs

Page 13: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation12

IMS Open Database and DRDA

ODBM

IMS Universal DB Drivers

ApplicationRequestor

TCP/IPClient

z/OS

TCP/IP

DDMIMS Connect

TCPIP

DRDA

PORT

IMSSCI

DRDA DLICalls

DRA or

ODBA

DRDAIMS Application Server

IMS

DB’s

� IMS Connect and Open Database Manager work together as a DRDA server for

IMS data

� Allows distributed access to IMS databases via TCP/IP using the IMS Universal

Database Drivers

� Enables use of SQL database query language for access to IMS databases

IMS

CAT

Page 14: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation13

Open Database Manager - ODBM

• z/OS address space

– Common Service Layer component

• Functions

– Receives database connection requests from IMS Connect

– Translates incoming database requests from DDM protocol to DL/I calls

– Manages ODBA or DRA interface to IMS

– Sends/receives byte string to/from IMS

– Translates responses into DDM protocol for the client

– Send results set back to client

• Provides isolation of application containers from IMS

– Abend of container during DL/I call does not cause IMS U0113 abend

• Distributed Syncpoint (global transaction) requires RRS on z/OS

• Use of z/OS Resource Recovery Services with ODBM is optional

– If RRS=Y (default), ODBM uses ODBA interface

– If RRS=N, ODBM uses DRA interface (like the DBCTL interface)

Page 15: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation14

IMS Open Database

IMS

WAS for z/OS

Traditional ODBAODBA S

CI

Appl.Java Appl.

DR

A

DB

ODBM

SC

I

OD

BA

or D

RA

Traditional ODBA

Java Appl.

JEE

Java Appl.

Non-JEE

IMS

IMS

ConnectS

CI

DR

A

DBODBM

SC

I

TC

P/IP

LPAR

ODBA

SC

I

TC

P/IP

LPARRYO DRDA Appl. RYO DRDA Appl. TCP/IP

OD

BA

or D

RA

CICS

CCTL

Appl.Java Appl. Traditional DRA

DR

A

CICSCICS

Appl.Java Appl.

TC

P/IP

CCTL

WAS WAS

Appl.Java Appl.

JEE

z/OS or distributed

TC

P/IP

OD

BA

OD

BA

TC

P/IP

Assembler Macro Appl. Assembler Macro Appl.

Non-JEE (DB2 SP) CAT

CAT

Page 16: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation

IMS 12: IMS CATALOG

• Metadata about IMS database and program resources, and application information stored in an IMS PHIDAM/OSAM HALDB database

• Database Metadata

– describes a physical database (ie. organization, segments, keys)

• Program Metadata

– describes a programs view of the database (ie. access, authority)

• Application Metadata

– describes an applications view of the data in the database

• Fields not defined in DBD

• Arrays and Structures

• Field data types and data type conversion

• Field redefines

• Alternative Field maps for a segment

• New ACBGEN

– Generates ACB member & populates the catalog metadata in a single UOW

15

Page 17: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation

IMS Catalog

• The IMS catalog is a key component of the IMS growth strategy:

– Trusted IMS source for IMS database, program and application information

– All Universal drivers leverage the IMS catalog

• Direct access to IMS metadata in the catalog

• No need for separate Java metadata classes on client platforms

• Metadata no longer file-system dependent

• Catalog metadata is kept up-to-date via new ACBGEN

– Scalable Open Database solutions

– Metadata discovery and exchange via IMS Open Database and

the IMS Explorer for Development

– Broad IMS integration with the IBM and ISV portfolio of tools (Optim Development Studio, QMF, Rational Asset Analyzer, InfoSphere Data Architect, etc)

16

Page 18: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation

IMS Enterprise Suite 3.1

• IMS Enterprise Suite is a product within the IMS SOA Integration Suite

– IMS Enterprise Suite DLIModel utility plug-in (retired ???)

– IMS Enterprise Suite SOAP Gateway

– IMS Connect APIs

– Java Message Service (JMS) API

– IMS Enterprise Suite Explorer for Development

• IMS Explorer V2.2.0.1 download available as of 11-02-2012

• IMS Explorer V2.2.0.2 download available as of 07-25-2013

• IMS Explorer V3.1 download available as of 10-25-2013

• Supported with SMP/E and the IBM Installation Manager

• Supports IMS 11, 12 and 13

17

Page 19: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation

IMS Enterprise Suite Explorer for Development

• Visualization and editing of IMS DBD and PSB definitions

– Provides graphical editors to:

• Display IMS database hierarchical structures

• Display/create/edit PSBs

• Change/add fields on a DBDs

– Import Cobol CopyBooks and PL/I Structures to a database segment*

– Generate DBD and PSB source

• Easily access IMS data using SQL statements

– Leveraging IMS Universal JDBC driver

• Access the IMS Catalog for metadata discovery

• Connectivity to the z/OS system

– Browse a Data Set and submit JCLs

– Import / export DBD and PSB source from a data set to IMS Explorer

• Supports cross-product integration:

– IBM® Rational® Developer for System z®

– IBM Optim™ Development Studio

– IBM Problem Determination Tools Plug-ins for Eclipse

Simplify IMS application development tasks

*Requires IMS-ES 2.2 or RDz 818

Page 20: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation19

IMS Explorer: Revolutionizing IMS application development

Graphical interface

to easily access and

manipulate IMS

data using standard

SQL

Graphically-driven

editors to display and

update IMS program

and database definitions

Generate SQL

to access IMS

data

See database

relationships

Change DBD and

PSB definitions

Page 21: IMS Open Database, ODBM, IMS Explorer IMS UG Jan 2014 eMeeting East

© 2012 IBM Corporation

IMS EXPLORER

HANDS-ON LAB

20