ims application development and simplification - ims ug june 2012 phoenix

58
© 2012 IBM Corporation IMS Regional User Groups Phoenix, June 20th 2012 Dennis Eichelberger IT Specialist

Post on 21-Oct-2014

652 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Regional User GroupsPhoenix, June 20th 2012

Dennis EichelbergerIT Specialist

Page 2: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

2 © 2012 IBM Corporation

IMS Development Modernization

Integrated IMS Development Tools

Dennis [email protected]

Page 3: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

Agenda

• User interface strategy

• Web based IMS Database Administration Console

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

– IMS Explorer for Development

– IMS Batch Terminal Simulator Eclipse interface

– Rational Developer for System z

– Debug Tool for z/OS

• Demo

• Q&A

3

Page 4: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

User Interface Strategy

4

Eclipse(development)

Web browser(administration)

TCP/IP

ISPF

AdministratorsDevelopers

Page 5: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

User Interface Strategy - Administration

5

Provide a holistic view of your IMS databases from a single web interface. Dynamic, interactive graphs and charts provide you with a visual

representation of your sensor data. Integration with the Autonomics Director provides a list of policy

exceptions and recommended resolutions for all of your monitored databases.

All IMS Tools reports stored in the IMS Tools Knowledge Base can be searched, retrieved, and viewed as needed.

Prepare for the next generation of IMS DBAs. Uses the current web technologies. Access from anywhere via the Internet using popular web browsers. Includes a help system that serves as a learning aid for new IMS

DBAs.

Page 6: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

IMS Automation …from Various HP Tools…from Autonomics Director

…from Sensors

…from Auto Discovery

Page 7: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

User Interface Strategy - Administration

7

Integrated help educates new and experienced DBAs on database concepts and how to interpret charts

Page 8: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 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

Page 9: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation9

• 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

Page 10: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for DevelopmentView physical IMS database structure

10

A concatenated segment and its

underlying source segments

A concatenated segment and its

underlying source segments

Page 11: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for DevelopmentView logical IMS database structure

11

Logical relationship

between databases

Logical relationship

between databases

Additional properties of a

segment or field

Additional properties of a

segment or field

Page 12: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

12

Right click to pull down menu, then click on IMPORT

Page 13: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

13

Click on IMS Resources

Page 14: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

14

Make sure your project name correct

Click NEXT to move forward

Page 15: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

15

Select mainframe resources

Page 16: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

16

Add a DBD

Page 17: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

17

Enter the High Level Qualifier of the dataset to access

Here I've scrolled to the DBD I want to work with

Page 18: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

18

High light the DBD then Click Finish to import the DBD source

Page 19: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

19

Double click under Imported Source to see the actual DBD source

Double click on the DBD name under the Imported Source to see the DBD source to generate the DBD to IMS

Page 20: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

20

Double click under Generated Source to see the GUI representation of the DBD

Double click on the DBD name under the Generated Source to see the GUI representation of the DBD

Page 21: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

21

Explorer knows there are some, but any DBDs of them is not imported here

Click on the Database Relationships button to see indexed of logical databases connected to this DBD

Now we want to see if there are any relationships to another DBD. We click on the DBD Relationship button to show those relationships. IMS Explorer can identify that there is a relationship, and can not display it because the DBD with the external relationship to be displayed is not available.

Page 22: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

22

Explorer has found related Databases that may also need to be imported to allow a full view of related databases

After initially selecting the DBD to be Imported IMS Explorer will identify any related DBD and recommend they be selected to be Imported also

Page 23: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

23

Click on the Database Relationships button to see indexed of logical databases connected to this DBD

Now we can see rated databases and how they are related

After Imported the rest of the related DBDs from the IMS Source dataset, we can now click on the DBD relationship button and see the related Database and how it is related.

Page 24: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for DevelopmentBuild PCB definition

24

Point and clickto select

SENSEGs

Point and clickto select

SENSEGs

GeneratedPSB sourceGeneratedPSB source

Page 25: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for Development

25

Page 26: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation26

• IMS Explorer Installation

– Download the software

https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-imsentersuite&lang=en_US&S_PKG=dl4&cp=UTF-8

Installation Manager for Windows

The installation repository file for IMS Explorer

– UnZIP both files

– Install the Installation Manager

• Run Setup from its UnZIPped folder

• Add the repository (e.g.)

C:\Documents and Settings\Administrator\Desktop\IMSExplorer211

• Return to top panel and ADD the IMS Explorer

• IMS Explorer Configuration

– System name e.g. demomvs.demopkg.ibm.com

– FTP Port The usual default is 21

IMS Explorer for Development

Page 27: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation27

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

Page 28: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Explorer for DevelopmentQuery IMS database with Universal JDBC driver

28

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

Page 29: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation29

IMS Explorer for DevelopmentQuery IMS database with Universal JDBC driver (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

Page 30: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation30

IMS Explorer for DevelopmentQuery IMS database with Universal JDBC driver (Continued)

Browsedata setsBrowse

data sets

Edita data set member

Edita data set member

ViewJES output

ViewJES output

Page 31: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation31

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

Page 32: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 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 calls

Unit / Function TestSystem Test / Production

IMS

AppDatabase

BTS

DD Card

MFS Terminal

BTSIN

Driven through BTSIN control statements or interactively using 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 and time by extracting data from BTSOUT

32

IMS Batch Terminal Simulator

Page 33: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal Simulator Modernization

33

Unit / Function TestSystem Test / Production

IMS

AppDatabase

DAIBTS

Eclipse Brings IMS Application development and Test to the programmers Desktop

RDz Integration

Debug Tool Integration

Supports end-to-end testing driven by distributed client applications Supports low cost host simulation for client application development

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

WAS

App

IMSTMRA

BTSTMRA

DD Card

MFS Terminal

BTSIN

OTMA

IMSConnect

Page 34: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 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

34

Page 35: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorAdd BTS server

35

Servers View:Add a newBTS server

Servers View:Add a newBTS server

Page 36: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

Integrated Eclipse Environment for IMS Development, Testing, and Debugging

36

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

Page 37: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorDefine BTS server using the step-by-step wizard

37

Use the step-by-step wizard to

define a new BTS configuration

Use the step-by-step wizard to

define a new BTS configuration

Page 38: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorCreate new or import existing server runtime configuration

38

Create a new configuration

or import an existing

configuration

Create a new configuration

or import an existing

configuration

Page 39: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSpecify BTS options

39

Specify BTS options forDLI, DBB,

BMP, or JBP

Specify BTS options forDLI, DBB,

BMP, or JBP

Page 40: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorUse embedded assistance

40

Context-sensitiveHelp

Context-sensitiveHelp

Field labels with equivalent

BTS PROC option names

Field labels with equivalent

BTS PROC option names

Page 41: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSpecify libraries

41

Specify DFSRESLB,

STEPLIB, PSBLIB, DBDLIB,

and ACBLIB

Specify DFSRESLB,

STEPLIB, PSBLIB, DBDLIB,

and ACBLIB

Page 42: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSpecify additional data sets

42

Specify additional data sets

Specify additional data sets

Page 43: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorCreate launch configuration

43

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

Page 44: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSelect BTS server

44

Select theBTS serverSelect theBTS server

Page 45: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSpecify BTSIN

45

SpecifyBTSINSpecifyBTSIN

Page 46: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorSpecify program libraries

46

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

Page 47: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorRun program

47

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

Page 48: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

IMS Batch Terminal SimulatorExamine BTS output

48

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

Page 49: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation49

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

Page 50: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

Rational Developer for System zRemotely code and build

50

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++

Page 51: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation51

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

Page 52: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation52

Debug Tool for z/OSDebug runtime configuration

SpecifyDebug Tool

data sets

SpecifyDebug Tooldata sets

Page 53: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation53

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

Page 54: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation54

Debug Tool for z/OSDebug and step through code

Debug to step through the code

Debug to step through the code

Page 55: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

Thank you!

55

Page 56: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

Questions?

• Contact:

– Dennis Eichelberger, IT [email protected]

56

Page 57: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation

BTS Resource Adapter Functions

57

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.

Page 58: IMS Application Development and Simplification - IMS UG June 2012 Phoenix

© 2012 IBM Corporation58

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