© 2012 IBM Corporation
Evénement IMS TMLa plateforme de développement idéale
Isabelle Bruneel & Véronique Quiblier
SWG France
© 2012 IBM Corporation
IMS Application Development Challenges
Difficult to test and deploy applications
Lack of integrated development solutions and tools
Difficult to find DLI programmers
Shrinking knowledge base around IMS &
hierarchical data base model
Fewer experienced COBOL and PL/I programmers
© 2012 IBM Corporation
JCLISPFSDSFJESUser ModsUser ExitsDBDGENPSBGENACBGENOLCDRDDLI
IMS interfaces
IMS TM/DB
Database
IMSNEW IMS interfaces
DDL
Restful
Schemas
Dynamic
Point and Click
Drag and Drop
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
IMS AD Simplification Strategy
© 2012 IBM Corporation
3 Separate Solutions or One Bundle
IMS Explorer – offers valuable functions to
modernize the database view – Free of charge
Debug Tool to make the application debugging
much more easier
Batch Terminal Simulator to let you debug in
your isolated world without disturbing anybody
RDz to integrate everything of this in only one
interface.
© 2012 IBM Corporation
First solution : IMS Explorer
� Free and easy to download from IBM.COM/IMS
� Last version from DECEMBER 2011
� Some functions can be used with IMS V10
� Fully compatible with IMS 12
© 2012 IBM Corporation
IMS Explorer … two offerings
� Stand-alone offering
� Shell-sharing offering for use with RDz 8.0 or Optim Development Studio 2.2.1.1 or later
© 2012 IBM Corporation
Software Requirements
� The IMS Explorer supports IMS Version 10 and later
� To import COBOL and PL/I data structures, the IMS Explorer must be installed into Rational Developer for System z Version 8.0 or later
� For SQL access to an IMS database from IMS Explorer, you must have IMS Version 11 or later on your host system– Your host environment must be configured to support the Open Database enhancements
� If you have a Technology Preview version of the IMS Explorer installed, you must uninstall it prior to installing Version 2.1
� The IMS Explorer supports cross-product integration (shell-sharing) with the following products:– Rational Developer for System z Version 8.0.3 or later– IBM® Optim™ Development Studio Version 2.2.1.1 or later– IBM Problem Determination Tools Plug-ins for Eclipse
XXXXImport source from Catalog (when Catalog-enabled)
XXXXCobol and PLI import
XXXXXXSQL access
XXDownload & Upload PSB & DBD from z/OS
X (through FTP)X (through RDz's native function)Access z/OS system - Files & Sysouts
XXVisualization/editing of PSB, DBD
WITHOUTWITHWITHOUTWITHWITHOUTWITHWITHOUTWITH
IMS CatalogOpen DatabaseIMS CatalogOpen Database
non-RDz environmentRDz shell-sharing environmentIMS Explorer for Developers
© 2012 IBM Corporation
Introducing IMS Explorer for Developers…
� Easier visualization and editing of IMS Database and Program (PSB) Definitions
– Provide graphical editors to: *• Display IMS database hierarchical structures• Display/create/edit PSBs• Change/add fields on a DBD
– Import COBOL copybooks and PL/I data structures to a database segment *– Generate DBD and PSB source
– Generate metadata needed by Java applications and for SQL access from Explorer
� Ability to easily access IMS data using SQL statements *– Leveraging IMS 11 Universal JDBC driver and Open Database
� Connectivity to the z/OS system *– Browse a Data Set and submit JCL
– Import and export DBD and PSB source files from a Data Set to the IMS Explorer, and
vice-versa
From
IMS
V10
RDz
8.0.x
From
IMS
V11
© 2012 IBM Corporation
Displaying an IMS Database Structure with IMS Explorer
Much easier
to
understand
the database
structure
© 2012 IBM Corporation
Displaying an IMS Database Structure with IMS Explorer…
Much easier to
understand the
hierarchy &
related
databases
© 2012 IBM Corporation
Displaying an IMS Database with IMS Explorer
View w/ the SQL results
SQL Builder with content assistance to build a SQL statement
Here you can create SQL scripts with
Select, Update,
Delete, Insert statements
© 2012 IBM Corporation
Browsing Data Sets and Submitting JCL with IMS Explorer
JES output is displayed
here
Browse data sets
Edit a data set member
© 2012 IBM Corporation
Second Solution : IBM Debug Tool (DT) for z/OS
� Program product - PID : 5655-W45
� Help developers debug applications running in a variety of environments, such as batch, TSO, CICS, IMS, DB2, DB2 Stored Procedures, and UNIX System Services.
� Provides an interactive, full-screen, IBM 3270 system-based terminal interface with four windows that enable single-step debugging, dynamic patching and breakpoints.
� Also provides a plug-in GUI interface provides a debugging capability similar to thatthe ISPF interface
� Visit http://www.ibm.com/software/awdtools/debugtool/
© 2012 IBM Corporation14
Debug Tool – General functions
� Characteristic– Go back and execute again– Automatic monitoring of COBOL and PL/I
variables – Fault Analyzer Interface – Code coverage utility– Identification and conversion to COBOL
(ANSI 85) from OS/VS COBOL– Programs preparation and compilation
utilities
� Supported environments :– CICS, TSO, JES/Batch, IMS including
IMS/TM, DB2 including stored procedures, Unix System Services, Websphere MQ
� Supported languages:– COBOL, C, C++, PL/I, Assembler
� Interfaces :– Terminal Interface Manager (TIM)– VTAM terminals (MFI)– Eclipse (Rdz or Explorer)– Batch
Step by step debugging at the source applicationMultiple breakpoints:
• instruction• changes on a storage address or variable• call or routine entry point
Start debugging mode after an AbendDynamic modification of intructionsInstuctions execution frequency counterInteractive debugging support for disassembled code
DebugApplication in
supportedenvironments
3270
DebugTool
BATCH CICSIMS DB2TSO USSWeb
Sphere
Language Environment Application Languages
COBOL, PL/I, ASSEMBLER, C/C++
Eclipse
Common User Interface
across systemsand
subsystems
© 2012 IBM Corporation15
Customized 3270 Interface
© 2012 IBM Corporation
Debug Tool Eclipse GUI
© 2012 IBM Corporation
Breakpoints, Monitors and Modules view
© 2012 IBM Corporation
Third Solution : IMS Batch Terminal Simulator
� Program product - pid 5655-BT4
� Testing and debugging tool for IMS applications– Runs in TSO like an IMS Batch (DL/I or DBB) or IMS Online (BMP or JBP)
– Transparent testing of application programs
– No changes to IMS code, control blocks, libraries, or application load
modules are required
� Input message sent from : – BTS 3270 console running in TSO foregroung
– Batch
– BTS eclipse interface if integrated with RDz
� 3270 input message with formats sent without using any VTAM terminals• Simulating through control statements or interactive TSO full screen • Recording the terminal output image
� Visit http://www-01.ibm.com/software/data/db2imstools/imstools/imsbts/
© 2012 IBM Corporation
Debug Tool with IMS/TM
IMS
SubsystemIMS MPR
Databases
IMS libraries
Logs Application
program (MPP) IMS and program libraries
3270
Debug Tool
VTAM terminalGUI
Debug Tool terminal
( Eclipse: IMS Explorer or RDz or other ! )
&userid.DBGTOOL.EQAOPTS
IMS Terminal
IMS input msg
© 2012 IBM Corporation
Debut Tool and BTS
TSOBTS
Application
program (MPP) IMS and program libraries
Databases
IMS libraries
Logs
A MPR application program can be tested under BTS in BMP mode under IMS Control
Region with private PGMLIBs. It is being executed in your TSO address space.
A MPR application program can be tested under BTS in DLI batch mode.
Possibility to have a private environment outside DBRC with private databases and load
modules.
IMS
SubsystemBMP
connection
TSODatabases
IMS libraries
Logs
BTS
IMS and program libraries
Application
program (MPP)
Debug Tool / BTS can also be executed in batch mode.
© 2012 IBM Corporation
IMS Batch Terminal Simulator process flow
BTS simulation language./T TC=IVTNO MBR=DFSIVP1 LANG=ASM PLC=99
BTS Playback Utility
OLDS / SLDS
© 2012 IBM Corporation
Application Development Modernization with BTS
XMLSystem Programmer defines
common datasets, attributes, etc
(similar to PROC) and exports
as XML
Developers import XML and
use to create Run Configuration…
to test applications
DAI
BTS BTS BTS
WAS
App
BTSTMRA
XML
Export Run Configuration as
XML for BTSRA
1
2
3
App App App
© 2012 IBM Corporation
Distributed architecture for the BTS Eclipse interface and resourceadapter
© 2012 IBM Corporation
One bundle : Everything integrated in RDz
� Try it ! 2 free licences for IMS customers :
� http://www-01.ibm.com/software/data/ims/soa-integration-suite/
� And click on to get RDz 8.0x ( and not 7.6 )
� Debug Tool, BTS and IMS Explorer can be integrated in RDz. Everything in on screen
© 2012 IBM Corporation
Integrated Environment for IMS Dev, Test, and Debugging
25
Remote zOS JESMVS files
TSO Emulator
Remote zOS JESMVS files
TSO Emulator
Programoutline
Programoutline
Errors and
warnings
Errors and
warnings
Code editor
Code editor
DebugDebug TestTest
© 2012 IBM Corporation
BTS server in RDz
© 2012 IBM Corporation
BTSout example
© 2012 IBM Corporation
� Questions?