Your SlideShare is downloading. ×
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Driving the Business Value through IMS Connect1 - IMS UG April 2013 San Ramon

100

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
100
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. ®Driving the Business ValuethroughIMS Connect© 2013 IBM CorporationIMS ConnectYuhui Li
  • 2. IMS Connect is the integrated TCP/IP gateway to all of IMSz/OSIMSIMSXCFIMSTransactionmanagerDatabasemanagerOTMAIMS ControlCenter clientIMS TMSCIOperationsManagerDataPowerOther vendorsolutionsTCP2CONNECTCONNECTExitXCFDatabaseIMS APPOTMAIMS TMResource AdapterIMS SOAPGatewayIMS Universal DBResource Adapter/DriversSCIODBMActivejournalIMS ConnectAPI ClientsP/IPIMS ConnectExtensions
  • 3. WebService.NETClientClientWebserviceclientsJava/J2EEClientJavadevDirectDatabaseaccessDevelopersJava /J2EEDeveloperSolutionsWID RADIMS TMResourceAdapterMFS SOAWebSphereSolutionsDLIModelUtilityWebSphereIMSUniversalDBIMS ConnectTCP/IPTransactionmanagerDatabasemanagerIMS Connect plays the key role of IMS SOA Integration SolutionsODBMTCP/IPDRDA3WebServiceClientDeveloperApplicationdeveloperSAPClientCICSDeveloperDB2DeveloperJavaclassLibraryDirectSOAPIMS SOAPGatewayRDzDLIModelUtilityDB2SP/CICSResourceAdapterIMSDatabaseSQLXQueryDL/IDL/ISOAPmanagerIMSAPPOTMAODBMIMSUniversalJDBCDriverIMSUniversalJDBCDriverODBA/DRAIMSJDRResourceAdapterWeb 2.0MashupHTTP IMSWeb 2.0WebSphereRESTServiceInforShpereMashupDLIModelUtility
  • 4. Business value of IMS Connect– Supports TCP/IP sockets access to IMS TM and IMS DBNo requirement to modify existing IMS applications– Provides a high performance strategic base for new connectiontechnologies4technologiesIMSPLEXCallout- Provides SMP/E installability and serviceability– Offers a structure interface and a high level programming interface toTCP/IP client applicationsFor applications via IMS SOAP Gateway, IMS TM Resource Adapter,user-written client applications, and Java application for DB requests.
  • 5. ®IMS Connect Basic for Applications© 2013 IBM Corporation
  • 6. Configuration to IMS/TM via OTMAXCF GroupName IMS systemsICONN01IMS ConnectOTMA=YGRNAME=IMSXCFTCPIP NetworkIMSXCFICAIMSV10Application specifies:Host DNS name,IMS Connect PortTCP/IPHostDNSname3336OTMA=YGRNAME=IMSXCFOTMANM=IMSPROD3IMSPROD3ICA16IMS Connect configuration (HWSCFGnn) member resides in IMS.PROCLIBHWS (ID=ICONN01,RACF=N,)TCPIP (ECB=Y,HOSTNAME=TCPIP,PORTID=(3336),EXIT=(HWSSMPL1,HWSIMSO1))DATASTORE(ID=IMSA,MEMBER=ICA,GROUP=IMSXCF,TMEMBER=IMSV10)DATASTORE(ID=IMSB,MEMBER=ICA1,GROUP=IMSXCF,TMEMBER=IMSPROD3)1 GRNAME=IMSXCFOTMANM=IIMSV10IMS Connect Port(e.g. 3336)and Datastore ID(e.g. IMSA or IMSB)Support one-to-many and many-to-one connection!
  • 7. Configuration to IMS/DB via ODBMIMS systemsICONN01IMS ConnectTCP/IP999DRDAApplicationRequestorTCP/IPClientIMS/DBIMS/DBODBM ODBAODBM ODBA7ODACCESS=(ODBMAUTOCONN=Y|N,ODBMTMOT=,DRDAPORT=(ID=,KEEPAV=,PORTTMOT=),IMSPLEX=(MEMBER=,TMEMBER=))1 IMS/DBSupport one-to-many and many-to-one connection!
  • 8. Message Flow for an IMS/TM TransactionIMS ConnectTCPUser Exits:- Translation ASCII /Clients using SOCKETS API:- Input message:8OTMAIMSOTMAheaders+ input msgP/IP- Translation ASCII /EBCDIC- Validation- Conversion betweenclient message formatand OTMA messageformat- Prepare outputmessage formatOTMAheaders+ output msgFormatted message header tocommunicate with IMS ConnectClient message (can includeOTMA headers)- Output message can consist ofone or more predefined structures
  • 9. Message Flow for an IMS/DB RequestIMS ConnectTCPUser Exits:-For securityClients using SOCKETS API:- Input message:9ODBAIMSODBM+ input msgP/IP-For security-For ODBM selectionODBM+ output msgDRDA message-Output message- DRDA messageODBMIMS Connect acts like a router between the client and the IMS Open Database Manager (ODBM).
  • 10. Distributed clients would now have the option of going directly to IMSConnect for IMS DB requestsLPAR ALPAR BWebSphereIMS ConnectIMSCTL IMS DBIMSPCSCIODBAODBMODBMXCFJCA1.5TCP/IPSOAP10LPAR Cz/OSAny TCP/IP-enabled environmentIMS ConnectSCITCP/IPXCFIMS DBCTLPCSCIODBAIMS DBCTLIMSPCSCIODBAODBMJDBC TCP/IPDL/I TCP/IPRoll Your Own TCP/IPXCFIMS Universal DB resource adapterCustom DRDA client applicationIMS Universal DL/I driverIMS Universal JDBC driver
  • 11. IMS Connect Client Application ProtocolTCP/IP Socket Type– Transaction socket• Socket remains open for only one transaction– Persistent socket• Socket remains open for multiple transactions until client closes the socket11• Socket remains open for multiple transactions until client closes the socket
  • 12. IMS Connect Client Application Protocol for TransactionIMS Commit Modes– Commit-then-send (CM0)• IMS commits changes to IMS databases before sending a responseback to IMS Connect.– Send-then-commit (CM1)12– Send-then-commit (CM1)• IMS sends the response back to the client before committing thechanges to the IMS databases.
  • 13. Commit Mode 1 SyncLevel ConfirmClient IMS Connect IMS IMS AppIRM | PayloadOTMA | PayloadPayloadResponse13ResponseOTMA | ResponseLLLL | ResponseACKACK Commit databasechangesSend, then waitfor acknowledgementBackout databasechangesNAKPayload = LLZZ | TRANCODE | DATAResponse = LLZZ | DATAHold databaselocks
  • 14. Commit Mode 0 SyncLevel ConfirmClient IMS Connect IMS IMS AppIRM | PayloadOTMA | PayloadPayloadResponse14ResponseOTMA | ResponseLLLL | ResponseACKACK Dequeuesoutput messageCommit changesto database, thensend outputLeave output messageon queueNAKPayload = LLZZ | TRANCODE | DATAResponse = LLZZ | DATA
  • 15. IMS Connect Client Application Protocol for TransactionSynchronization Levels– SyncLevel None – No acknowledgement– SyncLevel Confirm – ACK/NAK required– SyncLevel Sync – ACK is required and RRS is needed to provide 2 phasecommit processing15commit processingClient IMS Connect IMSInput Tran Input TranOutputOutputAcknowledgment ???
  • 16. ®Key Functions of IMS Connect© 2013 IBM Corporation
  • 17. IMS Connect for IMS SOAP GatewayConnectIMSIMS SOAPGatewayAdapterTaskManagerZ/OS32 0IVTNO DISPLAY LAST1<?xml version="1.0"?><soap:Envelope><soap:Body><INPUTMSG><in_ll>32</in_ll><in_zz>0</in_zz><in_trcd>IVTNO</in_trcd><in_cmd>DISPLAY</in_cmd><in_name1>LAST1</in_name1></INPUTMSG></soap:Body></soap:Envelope><INPUTMSG><in_ll>32</in_ll><in_zz>0</in_zz><in_trcd>IVTNO</in_trcd><in_cmd>DISPLAY</in_cmd><in_name1>LAST1</in_name1></INPUTMSG>SOAP XML Byte array17Microsoft.NET ClientXMLAdapterIMSAppTCP/IPHTTP/SOAPXMLConvertersIMS WebService<?xml version="1.0"?><soap:Envelope><soap:Body><cbl:OUTPUTMSG><out_ll>93</out_ll><out_zz>0</out_zz><out_msg>ENTRY WAS DISPLAYED</out_msg><out_cmd>DISPLAY</out_cmd><out_name1>LAST1</out_name1><out_name2>FIRST1</out_name2><out_extn>8-111-1111</out_extn><out_zip>D01/R01</out_zip><out_segno>0001</out_segno></cbl:OUTPUTMSG></soap:Body></soap:Envelope><cbl:OUTPUTMSG><out_ll>93</out_ll><out_zz>0</out_zz><out_msg>ENTRY WAS DISPLAYED</out_msg><out_cmd>DISPLAY</out_cmd><out_name1>LAST1</out_name1><out_name2>FIRST1</out_name2><out_extn>8-111-1111</out_extn><out_zip>D01/R01</out_zip><out_segno>0001</out_segno></cbl:OUTPUTMSG>93 0ENTRY WAS DISPLAYEDDISPLAYLAST1 FIRST18-111-11111D01/R01 0001
  • 18. IMSSOAPGATEWAYIMS Synchronous Callout z/OSIMSDBOTMATM/CTLIMSConnectWebSphereIMSTMresourceadapterApplicationProgramMPP/JMP/IFP/BMP/JBP18GATEWAYDatabaseServicesOTMAServicesConnectTCP/IPuser-writtenClientICALOTMADescriptor
  • 19. Synchronous Callout via IMS ConnectCapability– IMS applications can invoke external applications and synchronouslyreceive a response in the same IMS transaction instance– New DLI call - ICAL• AIBTDLI call provides synchronous callout request19– Timeout capability• Control the time for synchronous callout processing– Relieve 32K segmentation limitation• IMS Connect and OTMA handle buffer and segmentation internally– V10 APARs PK71135 ,PK74168
  • 20. IMS Connect APIIMSConnectAPIIMSConnectAPIIMSConnectAPIClientApplicationIMS ConnectWindows or z/OSOTIMS Appz/OSIMS20APIAPI TMAIMS AppIMS AppIMS App
  • 21. IMS Connect API…A simplified callable interface for interaction with IMS Connect– Architected on top of the sockets layer• Through a set of extensible profiles that define the connections and typesof interactions to be performed– And a set of both high-level and low-level methods for performing thoseinteractions with IMS Connect21Addresses the complexities of writing RYO applications• Experience in TCP/IP socket programming– Including connection management• Understanding the IRM header and the possible flags as well as settings• Familiarity with the IMS Connect application protocols and their impact onall the possible types of interactionsSee IMS Enterprise Suite V1R1 for details
  • 22. CouplingFacilityIMS IMSIMSConnectDB2 ControlCenterIMS SOAPGatewayIMS Connect supports z/OS Sysplex Distributor forworkload balance22SysplexDistributorATMSuperMemberIMS IMSIMSConnectWebSphereGatewayDist. TCP/IPAPPZ/OS TCP/IPAPPNote: Super member can be used to shared asynchronous output messages
  • 23. Transfer $100 fromChecking to SavingsResource RecoveryResource RecoveryServices (RRS)Services (RRS)WebWebComponentComponentTransactionTransactionManagerManagerWebSphere Application Server for z/OS1,4z/OSIMS Connect Supports 2-phase commit for IMS/TM and IMS/DB23IMSIMSConnectConnectIMSIMSDB2DB2CheckingAccount DBSavingsAccount DBIMSResourceAdapterEnterprise BeanEnterprise Bean2. Debit $100 from2. Debit $100 fromCheckingChecking3. Credit $100 to Savings3. Credit $100 to Savings1. Begin Transaction1. Begin Transaction4. Commit Transaction4. Commit Transaction2321,4LocalOptionTCP/IP
  • 24. IMS Connect SecurityIMS Connect performs authentication of the user.– RACF=Y (ICON configuration PROCLIB member)• IMS Connect makes authentication call to RACF• Each request from IMS Connect client must contain a user ID and password or a RACFPassTicket.OTMA performs authorization of the user.– OTMASE= (DFSPBxxx PROCLIB member)– /SECURE OTMA FULL/CHECK/NONE24IMS ConnectIMSTM/DBCan IConnect to you?UseridPasswordAuthenticationChecking for useridAnd password(may call user-writtenSecurity exit)TransactionAnd CommandAuthorizationChecking
  • 25. IMS Connect Security...Passticket support– Provides an encrypted alternative to sending a passwordTrusted User support– Bypasses security check for messages from trusted users even with RACF=YIMS Connect SSL– SSLPORT= (ICON configuration PROCLIB member)25– SSLPORT= (ICON configuration PROCLIB member)• Only one SSL port can be specified.z/OS SSL– Application Transparent Transport Layer Security(AT-TLS)• No limitation on number of SSL ports
  • 26. IMS Connect Supports OTMA Input TimeoutIMS OTMA Input Timeout function allows IMS input messages to expireand be deleted prior to processingAddresses the situation when unexpected delays in the network or inIMS result in a remote client timeout before receiving a reply message– Response is no longer required but the transactions remain queued in IMSfor processing26for processingProvide capability to expire unprocessed transactions- Reduce cost of processing transactions when clients no longer care(see V10 IMS PK78195 + OTMA PK74017 + ICON PK74024 )NetworkATMIMSTIMEOUT(reply not needed)
  • 27. Auto Reconnect for TCP/IP, OTMA, and ODBMAutomatic reconnection to TCP/IP, OTMA, and ODBM when networkbecomes available after a failure– Auto reconnect for TCP/IP is a IMS V11 function. It eliminates the need foroperator intervention, e.g., OPENPORT command• Minimizes recovery time for connections after a network outage27IMS ConnectTCP/IPOTMAODBM
  • 28. Cancel Clientid to Reestablish a Failed ConnectionAddresses the issue of “Duplicate Clientid” when client becomes disconnectedfrom IMS Connect and tries to re-connectFaster, automated way to reestablish a failed connection• Cancels an existing socket connection and establishes a new socket connection withthe same Client ID. V9 PK70327, V10 PK73829, V11 in base• Simpler that the cancel timer alternativeIMSClient IMS28ConnectConnectionBreakRe-ConnectSend w/CancelClient IDConnectReceiveStateConnectReceiveClient IMSConnectCancel Client ID solution (new)ConnectConnectionBreakSendconnectionwith sameclientidSendCanceltimerConnectConnectReceive StateClient idStill activeDuplicate clientCleanupConnectClient IMSConnectHWS0742WCancel Timer solution (previous)
  • 29. Failover support for multiple clients via IMS Connect– Allows multiple Resume TPIPEs to exist for a given TMEMBER/TPIPE and will flow asynchronousmessages to subsequent clients when the first client terminates– V10 APARs PK80756/PK80758WebSphereApplication ServerTPIPE129IMSConnectIMSEJB /MDBWeb ServiceProvider(e.g. Microsoft.NET)IMS TMResourceAdapterWebSphereApplication ServerEJB /MDBIMS TMResourceAdapterTPIPE1
  • 30. IMS Connect support for OTMA Flood DetectionIMS Connect exploitation of OTMA flood monitoring support:• Processes the new flood protocol messages• Updates its data store entry (XIBDS)• Records new data store events for warning and severestatus30ATMIMS ConnectAIMSOTMAResource MonitorHeartbeat msgwith resource info80% floodreached msgAvailable in V10: APAR PK70458 and PK70960
  • 31. WebSphereApplication ServerEJB /MDBIMS TMResourceAdapterIMS1 with floodIMS Connect support for OTMA Flood Detection…•Provides the information to vendor applications and user exits that can access theinformation and redirect the transaction requests to a different IMS if needed31IMSSOAPGatewayIMS ConnectRoll-your-ownz/OS ApplicationWeb ServiceProviderIMSConnectIMS2TransactionsRedirect toIMS2
  • 32. ®Summary© 2013 IBM Corporation
  • 33. z/OSIMSIMSCONNECTCONNECTXCFIMSTransactionmanagerIMS APPDatabasemanagerOTMAIMS ControlCenter clientIMS TMResource AdapterSCIOperationsManagerDataPowerOther vendorsolutionsTCP/IMS Connect is the integrated TCP/IP gateway to all of IMS33- Becomes the TCP/IP gateway to both IMS/TM and IMS/DB- Achieves high transaction rate- Supports IBM solutions, e.g., WebSphere, SOAP Gateway and DataPower client for IMS,and other vendor solutions to access IMS applicationsExitDatabaseIMS SOAPGatewayIMS Universal DBResource Adapter/DriversSCIODBMIMS ConnectAPI ClientsIPIMS ConnectExtensions

×