IMS Development Modernization - IMS UG Mar 2012 Peoria

Preview:

DESCRIPTION

 

Citation preview

© 2012 IBM Corporation

The future runs on System z

IMS Development Simplification and Modernization

Christopher HoltzIMS Tools Modernization Architect

© 2012 IBM Corporation

© Copyright IBM Corporation 2012. All rights reserved.U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN ADDITION, THIS INFORMATION IS BASED ON IBM’S CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM WITHOUT NOTICE. IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY OTHER DOCUMENTATION. NOTHING CONTAINED IN THIS PRESENTATION IS INTENDED TO, NOR SHALL HAVE THE EFFECT OF, CREATING ANY WARRANTIES OR REPRESENTATIONS FROM IBM (OR ITS SUPPLIERS OR LICENSORS), OR ALTERING THE TERMS AND CONDITIONS OF ANY AGREEMENT OR LICENSE GOVERNING THE USE OF IBM PRODUCTS AND/OR SOFTWARE.

IBM, the IBM logo, ibm.com, IMS, and z/OS are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml

Disclaimer

© 2012 IBM Corporation

Agenda

• User interface strategy

• Integrated Eclipse environment for IMS development, testing, and debugging

– IMS Explorer for Development

– Rational Developer for System z

– IMS Batch Terminal Simulator Eclipse interface

– Debug Tool for z/OS

• Demo

• Q&A

3

© 2012 IBM Corporation

User Interface Strategy

4

Eclipse(development)

Web browser(administration)

TCP/IP

ISPF

AdministratorsDevelopers

© 2012 IBM Corporation5

Integrated Eclipse Environment for IMS Development, Testing, and Debugging

Visualizedatabases

Definequeries

Code+ Build

Unittest

Debug

IMS Explorerfor Development

IMS Explorerfor Development

Debug Toolfor z/OS

IMS BatchTerminalSimulator

RationalDeveloper

for System z

© 2012 IBM Corporation6

• Visualize and change IMS database (DBDs) and program definition sources (PSBs)

– View IMS database hierarchical structures

– View, create, and edit PSBs

– Change/add fields in DBDs

– Import COBOL copybooks and PL/I structures to a database segment

– Generate DBD source and PSB source

• Access IMS data using SQL statements– Leverage IMS V11 Universal JDBC driver

• Connect to the z/OS system– Browse data sets

– Submit JCL and inspect the output in JES

– Import and export DBD and PSB source files from a data set to the IMS Explorer, and vice-versa

IMS Explorer for Development

© 2012 IBM Corporation7

IMS Explorer

© 2012 IBM Corporation8

Integrated Eclipse Environment for IMS Development, Testing, and Debugging

Visualizedatabases

Definequeries

Code+ Build

Unittest

Debug

IMS Explorerfor Development

IMS Explorerfor Development

Debug Toolfor z/OS

IMS BatchTerminalSimulator

RationalDeveloper

for System z

© 2012 IBM Corporation

Integrated Eclipse Environment for IMS Development, Testing, and Debugging

9

Remote zOS JESMVS files

TSO Emulator

Remote zOS JESMVS files

TSO Emulator

Programoutline

Programoutline

Errors and warnings

Errors and warnings

Code editorCode editor

DebugDebug TestTest

© 2012 IBM Corporation

Tool for Unit Testing and Debugging IMS applications

Runs in TSO, IMS Batch (DL/I DBB) or IMS Online (BMP/JBP)

Simulates IMS DC calls

Unit / Function TestSystem Test / Production

IMS

AppDatabase

BTS

DD Card

MFS Terminal

BTSIN

Driven through BTSIN control statements or interactive full screen TSO simulation

Playback utility

Generates BTSIN with the corresponding MFS associated with the MOD name from IMS transaction log records ('01'X, '03'X).

Prints containing screen images of transactions including data, USER/LTERM identification, time by extracting from BTSOUT

10

IMS Batch Terminal Simulator Modernization

© 2012 IBM Corporation

IMS Batch Terminal Simulator Modernization

11

Unit / Function TestSystem Test / Production

IMS

AppDatabase

OTMA

IMSConnect

DAIBTS

Eclipse Brings IMS App Dev / Test to Desktop

RDz Integration

Debug Tool Integration

Supports end-to-end testing driven by distributed client side app Supports low cost host simulation for client app development / test

Utilizes IMS Tools Distributed Access Infrastructure (DAI) as a TCP endpoint

WAS

App

IMSTMRA

BTSTMRA

DD Card

MFS Terminal

BTSIN

© 2012 IBM Corporation

Application Development Modernization with BTS

XML System Programmer defines common datasets, attributes, etc(similar to PROC) and exports as XML

Developers import XML anduse to create Launch Configuration…to test applications

DAI

BTS BTS BTS

WAS

App

BTSTMRA

XML

Export Launch Configuration asXML for BTSRA

1

2

3

12

© 2012 IBM Corporation13

BTS / RDz / Debug Tool

© 2012 IBM Corporation

Questions?

• Thank you!

• Feel free to contact me:

– Chris Holtz, IMS Tools Modernization Architectholtz@us.ibm.com

14

© 2012 IBM Corporation15

Back-up

© 2012 IBM Corporation

IMS Explorer for DevelopmentView physical IMS database structure

16

Logical relationship

between databases

Logical relationship

between databases

Additional properties of a

segment or field

Additional properties of a

segment or field

© 2012 IBM Corporation

IMS Explorer for DevelopmentView logical IMS database structure

17

A concatenated segment and its

underlying source segments

A concatenated segment and its

underlying source segments

© 2012 IBM Corporation

IMS Explorer for DevelopmentBuild PCB definition

18

Point and clickto select

SENSEGs

Point and clickto select

SENSEGs

GeneratedPSB sourceGenerated

PSB source

© 2012 IBM Corporation

IMS Explorer for DevelopmentQuery IMS databases

19

Create a new connection

Create a new connection

IMS Connectaddress and

port

IMS Connectaddress and

port

Point to an IMS Explorer project

and PSBto connect to the IMS

database

Point to an IMS Explorer project

and PSBto connect to the IMS

database

© 2012 IBM Corporation20

IMS Explorer for DevelopmentQuery IMS databases (Continued)

Create SQL scripts with Select, Update, Delete, and Insert

statements

Create SQL scripts with Select, Update, Delete, and Insert

statements

Build a SQL statementusing the SQL Builder

with content assistance

Build a SQL statementusing the SQL Builder

with content assistance

Viewthe SQL results

Viewthe SQL results

PSB =schemaPSB =

schema

DB PCB = database

DB PCB = database

Database segments =

tables

Database segments =

tables

© 2012 IBM Corporation21

IMS Explorer for DevelopmentQuery IMS databases (Continued)

Browsedata setsBrowse

data sets

Edita data set member

Edita data set member

ViewJES output

ViewJES output

© 2012 IBM Corporation

Rational Developer for System zRemotely code and build

22

COBOL application defined with RDz

Property Group for syntax highlighting and

remote compile

COBOL application defined with RDz

Property Group for syntax highlighting and

remote compile

COBOL application defined with RDz

Property Group for syntax highlighting and

remote compile

COBOL application defined with RDz

Property Group for syntax highlighting and

remote compile

COBOL, PL/I, Assembler, Java,

C/C++

COBOL, PL/I, Assembler, Java,

C/C++

© 2012 IBM Corporation

IMS Batch Terminal SimulatorAdd BTS server

23

Servers View:Add a newBTS server

Servers View:Add a newBTS server

© 2012 IBM Corporation

IMS Batch Terminal SimulatorDefine BTS server

24

Use the step-by-step wizard to

define a new BTS configuration

Use the step-by-step wizard to

define a new BTS configuration

© 2012 IBM Corporation

IMS Batch Terminal SimulatorRuntime configuration

25

Create a new configuration

or import an existing

configuration

Create a new configuration

or import an existing

configuration

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSpecify BTS options

26

Specify BTS options forDLI, DBB,

BMP, or JBP

Specify BTS options forDLI, DBB,

BMP, or JBP

© 2012 IBM Corporation

IMS Batch Terminal SimulatorUse embedded assistance

27

Context-sensitiveHelp

Context-sensitiveHelp

Field labels with equivalent

BTS PROC option names

Field labels with equivalent

BTS PROC option names

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSpecify libraries

28

Specify DFSRESLB,

STEPLIB, PSBLIB, DBDLIB,

and ACBLIB

Specify DFSRESLB,

STEPLIB, PSBLIB, DBDLIB,

and ACBLIB

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSpecify additional data sets

29

Specify additional data sets

Specify additional data sets

© 2012 IBM Corporation

IMS Batch Terminal SimulatorCreate launch configuration

30

IMS Batch Terminal Simulator server

IMS Batch Terminal Simulator server Next: Create a

launchconfiguration for

your program

Next: Create a launch

configuration for your program

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSelect BTS server

31

Select theBTS serverSelect theBTS server

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSpecify BTSIN

32

SpecifyBTSINSpecifyBTSIN

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSpecify program libraries

33

HOLTZ.IMS.LOAD

SpecifyProgram libraries and additional data sets

SpecifyProgram libraries and additional data sets

Specifyprogram libraries and additional data sets

Specifyprogram libraries and additional data sets

HOLTZ.IMS.LOAD

SpecifyProgram libraries and additional data sets

SpecifyProgram libraries and additional data sets

Specifyprogram libraries and additional data sets

Specifyprogram libraries and additional data sets

© 2012 IBM Corporation

IMS Batch Terminal SimulatorRun program

34

The BTS server has started

The program now runs on z/OS in the BTS region

The BTS server has started

The program now runs on z/OS in the BTS region

Run programRun program

© 2012 IBM Corporation

IMS Batch Terminal SimulatorExamine BTS output

35

Make code changes

RDz automatically compiles the code

Run the program again

Make code changes

RDz automatically compiles the code

Run the program again

Examine the BTS outputExamine the BTS outputExamine the BTS outputExamine the BTS output

© 2012 IBM Corporation36

Debug Tool for z/OSDebug runtime configuration

SpecifyDebug Tooldata sets

SpecifyDebug Tooldata sets

© 2012 IBM Corporation37

Debug Tool for z/OSDebug launch configuration

SpecifyDebug Tool

program libraries and additional data sets

SpecifyDebug Tool

program libraries and additional data sets

SpecifyDebug Tool

program libraries and additional data sets

SpecifyDebug Tool

program libraries and additional data sets

© 2012 IBM Corporation38

Debug Tool for z/OSDebug and step through code

Debug to step through the code

Debug to step through the code

© 2012 IBM Corporation

BTS Resource Adapter Functions

39

TM Resource Adapter functionTM Resource Adapter function Supported inSupported inBTS Resource AdapterBTS Resource Adapter

SendRecv

SendOnly

SendOnly with ACK

Commit Mode 0

Commit Mode 1

Sync Level NONE

Sync Level CONFIRM/ACK/NAK

SSL

Socket Timeout *

Old-style conversations (same socket)

* BTS RA does not distinguish between Execution Timeout and Socket Timeout.BTS RA has a single timeout, which should be set to the lower of Execution Timeout or Socket Timeout.

© 2012 IBM Corporation40

TM Resource Adapter functionTM Resource Adapter function VeryVeryimportantimportant

ImportantImportant NeutralNeutral NotNotimportantimportant

Not at allNot at allimportantimportant

Execution Timeout

New-style conversations(different sockets with convToken)

Sync Level SYNCPOINT

Two-Phase Commit/Global Transaction

Resume Tpipe

Reroute

Async Callout

Sync Callout

IMS Connect PING support

RACF Password Change support from client application

Return multiple output messages as a single multiple-segment message

Transaction Expiration

Importance of Other Functions for BTS Resource Adapter

Recommended