IMS Regional User Groups  Phoenix, June 20th 2012          Dennis Eichelberger                  IT Specialist             ...
IMS Development Modernization     Integrated IMS Development ToolsDennis Eichelbergerdeichel@us.ibm.com2                  ...
Agenda      • User interface strategy      • Web based IMS Database Administration Console      • Integrated Eclipse envir...
User Interface Strategy          Eclipse                                                      Web browser         (develop...
User Interface Strategy - Administration     Provide a holistic view of your IMS databases from a single web interface.  ...
IMS Automation                    …from Autonomics Director   …from Various HP Toolsom Auto Discovery …from Sensors
User Interface Strategy - Administration                           Integrated help educates new and                       ...
Integrated Eclipse Environment for IMS Development,    Testing, and Debugging                               IMS Explorer  ...
IMS Explorer for Development    • Visualize and change IMS database (DBDs) and program definition     sources (PSBs)      ...
IMS Explorer for Development View physical IMS database structure                                         A concatenated  ...
IMS Explorer for Development View logical IMS database structure                                          Logical         ...
IMS Explorer for Development                                Right click to pull                                down menu, ...
IMS Explorer for Development                                Click on IMS                                Resources13       ...
IMS Explorer for Development                                Make sure your                                project name cor...
IMS Explorer for Development                                Select                                mainframe               ...
IMS Explorer for Development                                Add a DBD16                                          © 2012 IB...
IMS Explorer for Development                                                            Enter the High Level              ...
IMS Explorer for Development                                High light the DBD then                                Click F...
IMS Explorer for Development Double click on the DBD name under the Imported Source to see the DBD source to generate the ...
IMS Explorer for Development Double click on the DBD name under the Generated Source to see the GUI representation of the ...
IMS Explorer for Development Now we want to see if there are any relationships to another DBD. We click on the DBD Relatio...
IMS Explorer for Development     After initially selecting the DBD to be Imported IMS Explorer will identify     any relat...
IMS Explorer for Development     After Imported the rest of the related DBDs from the IMS Source dataset,     we can now c...
IMS Explorer for Development Build PCB definition     Point and click        to select      SENSEGs                       ...
IMS Explorer for Development25                              © 2012 IBM Corporation
IMS Explorer for Development • IMS Explorer Installation     – Download the software     https://www14.software.ibm.com/we...
Integrated Eclipse Environment for IMS Development, Testing, and Debugging                            IMS Explorer        ...
IMS Explorer for Development Query IMS database with Universal JDBC driver            Create a new             connection ...
IMS Explorer for Development Query IMS database with Universal JDBC driver       (Continued) Create SQL scripts with Selec...
IMS Explorer for Development Query IMS database with Universal JDBC driver   (Continued)                       Browse     ...
Integrated Eclipse Environment for IMS Development, Testing, and Debugging                            IMS Explorer        ...
IMS Batch Terminal Simulator      Tool for Unit Testing and Debugging       IMS applications           Runs in TSO, IMS ...
IMS Batch Terminal Simulator Modernization                                                    O      WAS        IMS       ...
Application Development Modernization with BTS                                      XML       1 System Programmer defines ...
IMS Batch Terminal Simulator Add BTS server                                Servers View:                                 A...
Integrated Eclipse Environment for IMS Development, Testing, and Debugging                 Debug      Test                ...
IMS Batch Terminal Simulator Define BTS server using the step-by-step wizard       Use the step-by-        step wizard to ...
IMS Batch Terminal Simulator Create new or import existing server runtime configuration     Create a new     configuration...
IMS Batch Terminal Simulator Specify BTS options       Specify BTS        options for        DLI, DBB,       BMP, or JBP39...
IMS Batch Terminal Simulator Use embedded assistance                                Context-sensitive                     ...
IMS Batch Terminal Simulator Specify libraries         Specify       DFSRESLB,        STEPLIB,     PSBLIB, DBDLIB,       a...
IMS Batch Terminal Simulator Specify additional data sets     Specify additional        data sets42                       ...
IMS Batch Terminal Simulator Create launch configuration      IMS Batch Terminal        Simulator server    Next: Create a...
IMS Batch Terminal Simulator Select BTS server             Select the             BTS server44                            ...
IMS Batch Terminal Simulator Specify BTSIN                 Specify                 BTSIN45                              © ...
IMS Batch Terminal Simulator Specify program libraries                Specify                Specify        program librar...
IMS Batch Terminal Simulator Run program         Run program                                The BTS server has            ...
IMS Batch Terminal Simulator Examine BTS output                                Make code changes                          ...
Integrated Eclipse Environment for IMS Development, Testing, and Debugging                            IMS Explorer        ...
Rational Developer for System z Remotely code and build        COBOL application                application         define...
Integrated Eclipse Environment for IMS Development, Testing, and Debugging                           IMS Explorer         ...
Debug Tool for z/OS Debug runtime configuration          Specify        Debug Tool         data sets52                    ...
Debug Tool for z/OS Debug launch configuration                  Specify              Debug Tool               Debug Tool  ...
Debug Tool for z/OS Debug and step through code        Debug to step      through the code54                             ©...
Thank you!55                © 2012 IBM Corporation
Questions? • Contact:     – Dennis Eichelberger, IT Specialist       deichel@us.ibm.com56                                 ...
BTS Resource Adapter FunctionsTM Resource Adapter function                                                            Supp...
Importance of Other Functions for BTS Resource AdapterTM Resource Adapter function              Very      Important   Neut...
Upcoming SlideShare
Loading in …5
×

IMS Application Development and Simplification - IMS UG June 2012 Phoenix

685 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
685
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
25
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

IMS Application Development and Simplification - IMS UG June 2012 Phoenix

  1. 1. IMS Regional User Groups Phoenix, June 20th 2012 Dennis Eichelberger IT Specialist © 2012 IBM Corporation
  2. 2. IMS Development Modernization Integrated IMS Development ToolsDennis Eichelbergerdeichel@us.ibm.com2 © 2012 IBM Corporation
  3. 3. 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&A3 © 2012 IBM Corporation
  4. 4. User Interface Strategy Eclipse Web browser (development) (administration) Developers Administrators TCP/IP ISPF4 © 2012 IBM Corporation
  5. 5. User Interface Strategy - Administration 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.5 © 2012 IBM Corporation
  6. 6. IMS Automation …from Autonomics Director …from Various HP Toolsom Auto Discovery …from Sensors
  7. 7. User Interface Strategy - Administration Integrated help educates new and experienced DBAs on database concepts and how to interpret charts7 © 2012 IBM Corporation
  8. 8. Integrated Eclipse Environment for IMS Development, Testing, and Debugging IMS Explorer for Development Visualize databases Debug Tool IMS Explorer for z/OS Define for Development Debug queries Unit Code test + Build IMS Batch Rational Terminal Developer Simulator for System z8 © 2012 IBM Corporation
  9. 9. IMS Explorer for Development • 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-versa9 © 2012 IBM Corporation
  10. 10. IMS Explorer for Development View physical IMS database structure A concatenated segment and its underlying source segments10 © 2012 IBM Corporation
  11. 11. IMS Explorer for Development View logical IMS database structure Logical relationship between databases Additional properties of a segment or field11 © 2012 IBM Corporation
  12. 12. IMS Explorer for Development Right click to pull down menu, then click on IMPORT12 © 2012 IBM Corporation
  13. 13. IMS Explorer for Development Click on IMS Resources13 © 2012 IBM Corporation
  14. 14. IMS Explorer for Development Make sure your project name correct Click NEXT to move forward14 © 2012 IBM Corporation
  15. 15. IMS Explorer for Development Select mainframe resources15 © 2012 IBM Corporation
  16. 16. IMS Explorer for Development Add a DBD16 © 2012 IBM Corporation
  17. 17. IMS Explorer for Development Enter the High Level Qualifier of the dataset to access Here Ive scrolled to the DBD I want to work with17 © 2012 IBM Corporation
  18. 18. IMS Explorer for Development High light the DBD then Click Finish to import the DBD source18 © 2012 IBM Corporation
  19. 19. IMS Explorer for Development Double click on the DBD name under the Imported Source to see the DBD source to generate the DBD to IMS Double click under Imported Source to see the actual DBD source19 © 2012 IBM Corporation
  20. 20. IMS Explorer for Development Double click on the DBD name under the Generated Source to see the GUI representation of the DBD Double click under Generated Source to see the GUI representation of the DBD20 © 2012 IBM Corporation
  21. 21. IMS Explorer for Development 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. Click on the Database Relationships button to see indexed of logical databases connected to this DBD Explorer knows there are some, but any DBDs of them is not21 imported here © 2012 IBM Corporation
  22. 22. IMS Explorer for Development After initially selecting the DBD to be Imported IMS Explorer will identify any related DBD and recommend they be selected to be Imported also Explorer has found related Databases that may also need to be imported to allow a full view of related databases22 © 2012 IBM Corporation
  23. 23. IMS Explorer for Development 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. 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 related23 © 2012 IBM Corporation
  24. 24. IMS Explorer for Development Build PCB definition Point and click to select SENSEGs Generated PSB source24 © 2012 IBM Corporation
  25. 25. IMS Explorer for Development25 © 2012 IBM Corporation
  26. 26. IMS Explorer for Development • 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 SettingsAdministratorDesktopIMSExplorer211 • 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 2126 © 2012 IBM Corporation
  27. 27. Integrated Eclipse Environment for IMS Development, Testing, and Debugging IMS Explorer for Development Visualize databases Debug Tool IMS Explorer for z/OS Define for Development Debug queries Unit Code test + Build IMS Batch Rational Terminal Developer Simulator for System z27 © 2012 IBM Corporation
  28. 28. IMS Explorer for Development Query IMS database with Universal JDBC driver Create a new connection IMS Connect address and port Point to an IMS Explorer project and PSB to connect to the IMS database28 © 2012 IBM Corporation
  29. 29. IMS Explorer for Development Query IMS database with Universal JDBC driver (Continued) Create SQL scripts with Select, Update, Delete, and Insert Build a SQL statement statements using the SQL Builder with content assistance View the SQL results PSB = schema DB PCB = database Database segments = tables29 © 2012 IBM Corporation
  30. 30. IMS Explorer for Development Query IMS database with Universal JDBC driver (Continued) Browse data sets Edit a data set member View JES output30 © 2012 IBM Corporation
  31. 31. Integrated Eclipse Environment for IMS Development, Testing, and Debugging IMS Explorer for Development Visualize databases Debug Tool IMS Explorer for z/OS Define for Development Debug queries Unit Code test + Build IMS Batch Rational Terminal Developer Simulator for System z31 © 2012 IBM Corporation
  32. 32. IMS Batch Terminal Simulator  Tool for Unit Testing and Debugging IMS applications  Runs in TSO, IMS Batch (DL/I IMS DBB) or IMS Online (BMP/JBP)  Simulates IMS calls  Driven through BTSIN control System Test / Production Unit / Function Test App Database statements or interactively using full screen TSO simulation  Playback utility BTS  Generates BTSIN with the DD Card corresponding MFS associated with the MOD name from IMS transaction BTSIN log records (01X, 03X). MFS Terminal  Prints containing screen images of transactions including data, USER/LTERM identification and time by extracting data from BTSOUT32 © 2012 IBM Corporation
  33. 33. IMS Batch Terminal Simulator Modernization O WAS IMS T IMS IMS M TM RA Connect A App BTS TM RA System Test / Production Unit / Function Test App Database  Utilizes IMS Tools Distributed DAI Access Infrastructure (DAI) BTS as the TCP endpoint  Supports end-to-end testing driven DD Card by distributed client applications  Supports low cost host simulation BTSIN for client application development Eclipse MFS Terminal  Brings IMS Application development and Test to the programmers Desktop  RDz Integration  Debug Tool Integration33 © 2012 IBM Corporation
  34. 34. Application Development Modernization with BTS XML 1 System Programmer defines common datasets, attributes, etc (similar to PROC) and exports as XML 2 Developers import XML and use to create Launch Configuration… DAI to test applications BTS BTS BTS XML 3 Export Launch Configuration as XML for BTSRA WAS BTS TM RA App34 © 2012 IBM Corporation
  35. 35. IMS Batch Terminal Simulator Add BTS server Servers View: Add a new BTS server35 © 2012 IBM Corporation
  36. 36. Integrated Eclipse Environment for IMS Development, Testing, and Debugging Debug Test Code editor Remote zOS JES MVS files TSO Emulator Program outline Errors and warnings36 © 2012 IBM Corporation
  37. 37. IMS Batch Terminal Simulator Define BTS server using the step-by-step wizard Use the step-by- step wizard to define a new BTS configuration37 © 2012 IBM Corporation
  38. 38. IMS Batch Terminal Simulator Create new or import existing server runtime configuration Create a new configuration or import an existing configuration38 © 2012 IBM Corporation
  39. 39. IMS Batch Terminal Simulator Specify BTS options Specify BTS options for DLI, DBB, BMP, or JBP39 © 2012 IBM Corporation
  40. 40. IMS Batch Terminal Simulator Use embedded assistance Context-sensitive Help Field labels with equivalent BTS PROC option names40 © 2012 IBM Corporation
  41. 41. IMS Batch Terminal Simulator Specify libraries Specify DFSRESLB, STEPLIB, PSBLIB, DBDLIB, and ACBLIB41 © 2012 IBM Corporation
  42. 42. IMS Batch Terminal Simulator Specify additional data sets Specify additional data sets42 © 2012 IBM Corporation
  43. 43. IMS Batch Terminal Simulator Create launch configuration IMS Batch Terminal Simulator server Next: Create a launch configuration for your program43 © 2012 IBM Corporation
  44. 44. IMS Batch Terminal Simulator Select BTS server Select the BTS server44 © 2012 IBM Corporation
  45. 45. IMS Batch Terminal Simulator Specify BTSIN Specify BTSIN45 © 2012 IBM Corporation
  46. 46. IMS Batch Terminal Simulator Specify program libraries Specify Specify program libraries and Program libraries and HOLTZ.IMS.LOAD additional data sets additional data sets46 © 2012 IBM Corporation
  47. 47. IMS Batch Terminal Simulator Run program Run program The BTS server has started The program now runs on z/OS in the BTS region47 © 2012 IBM Corporation
  48. 48. IMS Batch Terminal Simulator Examine BTS output Make code changes RDz automatically Examine the Examine the compiles the code BTS output BTS output Run the program again48 © 2012 IBM Corporation
  49. 49. Integrated Eclipse Environment for IMS Development, Testing, and Debugging IMS Explorer for Development Visualize databases Debug Tool IMS Explorer for z/OS Define for Development Debug queries Unit Code test + Build IMS Batch Rational Terminal Developer Simulator for System z49 © 2012 IBM Corporation
  50. 50. Rational Developer for System z Remotely code and build COBOL application application defined with RDz defined with RDz Property Group for Property Group for syntax highlighting and syntax highlighting and remote compile remote compile COBOL, PL/I, Assembler, Java, C/C++50 © 2012 IBM Corporation
  51. 51. Integrated Eclipse Environment for IMS Development, Testing, and Debugging IMS Explorer for Development Visualize databases Debug Tool IMS Explorer for z/OS Debug Define for Development queries Unit Code test + Build IMS Batch Rational Terminal Developer Simulator for System z51 © 2012 IBM Corporation
  52. 52. Debug Tool for z/OS Debug runtime configuration Specify Debug Tool data sets52 © 2012 IBM Corporation
  53. 53. Debug Tool for z/OS Debug launch configuration Specify Debug Tool Debug Tool program libraries and libraries and additional data sets additional data sets53 © 2012 IBM Corporation
  54. 54. Debug Tool for z/OS Debug and step through code Debug to step through the code54 © 2012 IBM Corporation
  55. 55. Thank you!55 © 2012 IBM Corporation
  56. 56. Questions? • Contact: – Dennis Eichelberger, IT Specialist deichel@us.ibm.com56 © 2012 IBM Corporation
  57. 57. BTS Resource Adapter FunctionsTM Resource Adapter function Supported in BTS 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. 57 © 2012 IBM Corporation
  58. 58. Importance of Other Functions for BTS Resource AdapterTM Resource Adapter function Very Important Neutral Not Not at all important important important 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 58 © 2012 IBM Corporation

×