IBM Software Group



  IMS DLIModel Utility

  Introduction and demo

An IBM Proof of Technology
Powered by IMS Developme...
IBM Software Group


       Hospital Sample Database



                                                    HOSPITAL



  ...
IBM Software Group

 Database Description (DBD)
          SEGM           NAME=HOSPITAL,
                            PARENT...
IBM Software Group

 Visualizing Database
 ***                       ----------
 ***                       |HOSPITAL|
 ***...
IBM Software Group

 DBD Mapper
 IMS LIBRARY INTEGRITY UTILITIES - DBD/PSB/ACB MAPPER             "DBD MAP"               ...
IBM Software Group


        Solution: DLIModel Utility
       ● A tool that offers a visual representation of IMS
       ...
IBM Software Group


  The DLIModel Utility GUI
 ● Features:
          generate a layout report
        – designed to assi...
IBM Software Group

                                                                                                     I...
IBM Software Group
                                                            IMS SOA Solutions
                         ...
Upcoming SlideShare
Loading in …5
×

Toronto ims dli_model_utility

993 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
993
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Toronto ims dli_model_utility

  1. 1. IBM Software Group IMS DLIModel Utility Introduction and demo An IBM Proof of Technology Powered by IMS Development at Silicon Valley Lab, California Application Development for IMS © 2009 IBM Corporation
  2. 2. IBM Software Group Hospital Sample Database HOSPITAL PAYMENTS WARD PATIENT DOCTOR TREATMENT ILLNESS BILLING © 2009 IBM Corporation Application Development for IMS
  3. 3. IBM Software Group Database Description (DBD) SEGM NAME=HOSPITAL, PARENT=0, BYTES=(16000,12100), RULES=(LLL,HERE) FIELD NAME=(HOSPCODE,SEQ,U), START=3, BYTES=12, TYPE=C FIELD NAME=(HOSPNAME), START=15, BYTES=17, TYPE=C FIELD NAME=(HOSPNAMX), START=15982, BYTES=17, TYPE=C FIELD NAME=(HOSPLL), START=1, BYTES=2, TYPE=X SEGM NAME=PAYMENTS, PARENT=HOSPITAL, BYTES=(900,20), TYPE=SEQ, RULES=(LLL,FIRST) ... © 2009 IBM Corporation Application Development for IMS
  4. 4. IBM Software Group Visualizing Database *** ---------- *** |HOSPITAL| *** ---------- *** | *** -------------- *** | | That is one way to do it … *** ---------- --------- *** |PAYMENTS| | WARD | *** ---------- --------- *** (SDEP) | *** --------- *** |PATIENT| *** --------- *** |------------|---------------| *** --------- --------- *** |ILLNESS| |BILLING| *** --------- --------- *** | *** ----------- *** |TREATMENT| *** ----------- *** | *** --------- *** |DOCTOR | *** --------- © 2009 IBM Corporation Application Development for IMS
  5. 5. IBM Software Group DBD Mapper IMS LIBRARY INTEGRITY UTILITIES - DBD/PSB/ACB MAPPER "DBD MAP" PAGE: A 5655-U08 DATE: 09/21/2008 TIME: 12.13.02 FABMDMAP - V2.R1 DBDNAME=SAMP01Z VOLUME=IMSVS DSNAME=IMSVS.DBDLIB DBDGEN:08/10/2000 18.21 DBDMAP OF SAMP01 ACCESS=HDAM VSAM ALL SEGMENTS WITHIN A SINGLE DATA SET GROUP ARE DISPLAYED USING THE SAME CHARACTER FOR BOX DELIMITERS. *VAR******* * A1111111* *******001* ._____________________________________________________________|____. | | | *VAR******* +VAR+++++++ +VAR++ * AA222222* + AB222222+ + AC22 *******002* +++++++007+ ++++++ | ._________________________________.| | | This is a little better *VAR******* * AAA33333* +VAR+++++++ + ACA33333+ +VAR + AC *******003* +++++++009+ ++++ ._____|______. .___________. | | | *VAR******* *VAR******* +VAR+++++++ * AAAA4444* * AAAB4444* + ACBA4444+ *******004* *******005* +++++++011+ | .________|_________. | | | +VAR+++++++ "VAR""""""" "VAR""""" + AAABA555+ " ACBAA555" " ACBAB55 +++++++006+ """""""012" """""""01 © 2009 IBM Corporation Application Development for IMS
  6. 6. IBM Software Group Solution: DLIModel Utility ● A tool that offers a visual representation of IMS databases, simplifies IMS metadata generation, eases IMS Java and XML Database application development ● Introduced in IMS V8 (also retrofitted to IMS V7) ● Runs on the z/OS or as an Eclipse plugin from RDz Starting with IMS V10 we will no longer ship z/OS version ● Available as a free download at: http://www-306.ibm.com/software/data/ims/toolkit/dlimodelutility © 2009 IBM Corporation Application Development for IMS
  7. 7. IBM Software Group The DLIModel Utility GUI ● Features: generate a layout report – designed to assist application programmers in understanding applications based on existing IMS database structures transform IMS database information (PSBs, DBDs, and COBOL copybooks) into application independent metadata generate XML schemas of IMS databases, which are used to retrieve or store XML data in IMS databases generate database Web services © 2009 IBM Corporation Application Development for IMS
  8. 8. IBM Software Group IMS DLIModel Utility package samples.dealership; import com.ibm.ims.db.*; import com.ibm.ims.base.*; public class AUTPSB11DatabaseView extends DLIDatabaseView { DLIModel Utility interface // The following DLITypeInfo[] array describes Segment: DEALER in PCB: AUTOLPCB static DLITypeInfo[] AUTOLPCBDEALERArray= { new DLITypeInfo("DealerNo", DLITypeInfo.CHAR, 1, 4, "DLRNO"), new DLITypeInfo("DealerName", DLITypeInfo.CHAR, 5, 30, "DLRNAME"), new DLITypeInfo("DealerCity", DLITypeInfo.CHAR, 35, 10, "CITY"), new DLITypeInfo("DealerZip", DLITypeInfo.CHAR, 45, 10, "ZIP"), new DLITypeInfo("DealerPhone", DLITypeInfo.CHAR, 55, 7, "PHONE") }; static DLISegment AUTOLPCBDEALERSegment= new DLISegment ("DealerSegment","DEALER",AUTOLPCBDEALERArray,61); ... // An array of DLISegmentInfo objects follows to describe the view for PCB: AUTOLPCB static DLISegmentInfo[] AUTOLPCBarray = { new DLISegmentInfo(AUTOLPCBDEALERSegment,DLIDatabaseView.ROOT), new DLISegmentInfo(AUTOLPCBMODELSegment,0), new DLISegmentInfo(AUTOLPCBORDERSegment,1), new DLISegmentInfo(AUTOLPCBSALESSegment,1), new DLISegmentInfo(AUTOLPCBSTOCKSegment,1), new DLISegmentInfo(AUTOLPCBSTOCSALESegment,4), new DLISegmentInfo(AUTOLPCBSALESINFSegment,5) }; ... } IMS Java PSB Metadata classes DBD XML schemas IMS DB COBOL Web Service copybook EAR IMS DLI members WSDL commands INSERT UPDATE DELETE RETRIEVE © 2009 IBM Corporation Application Development for IMS
  9. 9. IBM Software Group IMS SOA Solutions Direct Solutions Database Web Solutions access service WID RAD clients DLI Developers Model Utility Java/J2EE WebSphere Client Java /J2EE IMS Web Service Java IMS TM WebSphere dev Resource Developer Adapter IMS DB SOAP Transaction Database Resource .NET MFS SOA manager manager Adapter Client ODBA /DRA IMS Connect Java class Client SQL Developer TCP Library CICS Direct IMS DL/I XQuery /IP SOAP APP DL/I Developer SAP IMS SOAP DB2 Client Gateway Java SP/CICS Application class Database developer Java Library Java class class RESTful Service RDz Library Library DB2 Web 2.0 WebSphere Developer DLI InfoSphere Model DLI Mashup HTTP MashupHub Utility Model IMS Web Utility 2.0 Business Solution / IT user © 2009 IBM Corporation Application Development for IMS

×