z/Ware 2.0 Technical <ul><li>illustro Systems International LLC </li></ul>
Topics <ul><li>z/Ware Common Components (ZWC) </li></ul><ul><li>Combined Products </li></ul><ul><li>Enhanced Script facili...
z/Ware Common Components Infrastructure (ZWC) <ul><li>Common support services split from previous product code to create a...
ZWC…  <ul><li>Services </li></ul><ul><ul><li>Multi-tasking workflow management </li></ul></ul><ul><ul><li>Communications m...
ZWC… <ul><li>Services </li></ul><ul><ul><li>Document management </li></ul></ul><ul><ul><li>File and Library management </l...
ZWC…
z/Ware Product Functions Combined <ul><li>z/Ware 2.0 performs the functions previously handled by z/Web-Host and z/XML-Hos...
Enhanced Script Facilities <ul><li>Statements previously used with the Application Automation Facility (AAF) within a WebS...
Enhanced Script Facilities... <ul><li>Many new facilities in Version 2 use new script statements to perform important func...
Execution of Named Scripts <ul><li>A new facility called Named Scripts allows execution of stand alone scripts </li></ul><...
Execution of Named Scripts...
The Document Facility <ul><li>The Document script statement is used to create and delete in-storage user documents </li></...
The Document Facility…
Executing CICS COMMAREA Programs <ul><li>Script statements can be used to: </li></ul><ul><ul><li>Create named CICS COMMARE...
Executing CICS COMMAREA Programs...   <ul><li>Multiple CICS regions can be defined and requests directed to desired region...
Executing CICS COMMAREA Programs...
CICS COMMAREA Events <ul><li>A COMMAREA Event is triggered by a user CICS program passing a COMMAREA to a z/Ware CICS prog...
CICS COMMAREA Events…
HTTP Client Support <ul><li>Scripts can send GET or POST HTTP requests to external servers </li></ul><ul><ul><li>Servers i...
HTTP Client Support… <ul><li>External servers are defined in the ZWC configuration via Define_Server statement </li></ul><...
HTTP Client Support… <ul><li>Script If statement can test “fields” in returned Document against character strings </li></u...
HTTP Client Support…
Web Service Client Support <ul><li>Can invoke a Web Service residing anywhere on the Internet </li></ul><ul><li>Called Typ...
Web Service Client Support… <ul><li>External servers are defined in the ZWC configuration via Define_Server statement </li...
Web Service Client Support… <ul><li>User variables set by request: </li></ul><ul><ul><li>SOAP_RETURN 0 or numeric error co...
Web Service Client Support…
Batch Program API <ul><li>Extends the CICS COMMAREA concept to batch programs </li></ul><ul><li>Allows simple program call...
Batch Program API… <ul><li>COMMAREA Event script triggered in z/Ware Server </li></ul><ul><li>Script performs desired proc...
Batch Program API…
Wrap Up <ul><li>More is planned for future releases of Version 2 </li></ul><ul><li>Please let us know if you have specific...
Upcoming SlideShare
Loading in …5
×

z/Ware 2.0 Technical Overview

663 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
663
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

z/Ware 2.0 Technical Overview

  1. 1. z/Ware 2.0 Technical <ul><li>illustro Systems International LLC </li></ul>
  2. 2. Topics <ul><li>z/Ware Common Components (ZWC) </li></ul><ul><li>Combined Products </li></ul><ul><li>Enhanced Script facilities </li></ul><ul><li>Named Scripts </li></ul><ul><li>Document facility </li></ul><ul><li>Executing CICS programs </li></ul><ul><li>COMMAREA Events </li></ul><ul><li>HTTP Client facility </li></ul><ul><li>WebService Client facility </li></ul><ul><li>Batch Program API </li></ul>
  3. 3. z/Ware Common Components Infrastructure (ZWC) <ul><li>Common support services split from previous product code to create a new infrastructure that can support multiple products </li></ul><ul><li>Allows multiple products to run in a single address space </li></ul><ul><li>Simplifies the code of each product </li></ul><ul><li>Multiple products receive benefit of support and enhancement </li></ul>
  4. 4. ZWC… <ul><li>Services </li></ul><ul><ul><li>Multi-tasking workflow management </li></ul></ul><ul><ul><li>Communications management </li></ul></ul><ul><ul><ul><li>Message routing, logging, storing, retrieval </li></ul></ul></ul><ul><ul><ul><li>Operator commands </li></ul></ul></ul><ul><ul><li>Operating system interfaces </li></ul></ul><ul><ul><li>Storage management </li></ul></ul><ul><ul><li>Dump/trace management </li></ul></ul><ul><ul><li>3270 session management </li></ul></ul><ul><ul><li>Variable/value management </li></ul></ul>
  5. 5. ZWC… <ul><li>Services </li></ul><ul><ul><li>Document management </li></ul></ul><ul><ul><li>File and Library management </li></ul></ul><ul><ul><ul><li>Read/write/caching </li></ul></ul></ul><ul><ul><li>HTTP Server </li></ul></ul><ul><ul><ul><li>HTML & XML support </li></ul></ul></ul><ul><ul><ul><li>Static document serving </li></ul></ul></ul><ul><ul><ul><li>CGI program execution </li></ul></ul></ul><ul><ul><ul><li>Web services (SOAP) support </li></ul></ul></ul>
  6. 6. ZWC…
  7. 7. z/Ware Product Functions Combined <ul><li>z/Ware 2.0 performs the functions previously handled by z/Web-Host and z/XML-Host </li></ul><ul><ul><li>Supports XML templates in addition to HTML </li></ul></ul><ul><ul><li>Support Web Services (SOAP) requests and responses </li></ul></ul>
  8. 8. Enhanced Script Facilities <ul><li>Statements previously used with the Application Automation Facility (AAF) within a WebScreen definition, are now refered to as Scripts </li></ul><ul><li>Expanded to a more feature rich scripting facility </li></ul><ul><li>Can be used in places other than a WebScreen </li></ul>
  9. 9. Enhanced Script Facilities... <ul><li>Many new facilities in Version 2 use new script statements to perform important functions </li></ul><ul><li>Several of the old statements have been expanded to work with new facilities </li></ul><ul><ul><li>If </li></ul></ul><ul><ul><li>Assign </li></ul></ul>
  10. 10. Execution of Named Scripts <ul><li>A new facility called Named Scripts allows execution of stand alone scripts </li></ul><ul><ul><li>Script statements stored in a library member and defined to the system with a script name </li></ul></ul><ul><ul><li>Not associated with a 3270 session </li></ul></ul><ul><ul><li>Requested from web page or off-platform program with any desired user variables </li></ul></ul><ul><ul><li>Use any available scripting functions </li></ul></ul><ul><ul><li>Requests can be one-time or persistent </li></ul></ul>
  11. 11. Execution of Named Scripts...
  12. 12. The Document Facility <ul><li>The Document script statement is used to create and delete in-storage user documents </li></ul><ul><li>Documents are created from templates stored in library members </li></ul><ul><li>Substitution of user variable values within the template </li></ul><ul><li>Templates can contain HTML, XML or any desired text format </li></ul><ul><li>Documents can be returned to the requestor, placed in a COMMAREA or used for other purposes </li></ul>
  13. 13. The Document Facility…
  14. 14. Executing CICS COMMAREA Programs <ul><li>Script statements can be used to: </li></ul><ul><ul><li>Create named CICS COMMAREA buffers </li></ul></ul><ul><ul><li>Map data fields within the COMMAREA </li></ul></ul><ul><ul><li>Insert required data into the COMMAREA </li></ul></ul><ul><ul><li>Request execution of a CICS program passing the COMMAREA </li></ul></ul><ul><ul><li>Extract data from returned COMMAREA </li></ul></ul><ul><ul><li>Create a user Document with returned data </li></ul></ul>
  15. 15. Executing CICS COMMAREA Programs... <ul><li>Multiple CICS regions can be defined and requests directed to desired region </li></ul><ul><ul><li>Can use </li></ul></ul><ul><ul><ul><li>Generic or specific CICS connection </li></ul></ul></ul><ul><ul><ul><li>Any desired mirror transaction id </li></ul></ul></ul><ul><ul><ul><li>Any desired userid </li></ul></ul></ul><ul><li>Persistent Script requests can be used to perform multiple requests using the same data items </li></ul>
  16. 16. Executing CICS COMMAREA Programs...
  17. 17. CICS COMMAREA Events <ul><li>A COMMAREA Event is triggered by a user CICS program passing a COMMAREA to a z/Ware CICS program </li></ul><ul><ul><li>The COMMAREA data is matched against the defined COMMAREA Event definitions </li></ul></ul><ul><ul><li>Script statements from the matching COMMAREA Event are executed </li></ul></ul><ul><ul><li>Updated COMMAREA is returned to original program </li></ul></ul>
  18. 18. CICS COMMAREA Events…
  19. 19. HTTP Client Support <ul><li>Scripts can send GET or POST HTTP requests to external servers </li></ul><ul><ul><li>Servers in the data center </li></ul></ul><ul><ul><li>Servers anywhere on the Internet </li></ul></ul><ul><li>Can be used to send data to remote servers or retrieve data from remote servers </li></ul><ul><li>Documents are created by user and used for: </li></ul><ul><ul><li>The URL </li></ul></ul><ul><ul><li>Data (on post requests) </li></ul></ul><ul><ul><li>Custom HTTP request headers (optional) </li></ul></ul>
  20. 20. HTTP Client Support… <ul><li>External servers are defined in the ZWC configuration via Define_Server statement </li></ul><ul><li>The request is sent using the HTTP_Request script statement </li></ul><ul><li>HTTP response headers are returned in the Document named HTTP_RESP_HDRS </li></ul><ul><li>HTTP response data is returned in the Document named HTTP_RESP </li></ul><ul><li>User variables set by request: </li></ul><ul><ul><li>HTTP_RETURN 0 or numeric error code </li></ul></ul><ul><ul><li>HTTP_STATUS numeric HTTP result code </li></ul></ul><ul><ul><li>HTTP_RESPONSE character HTTP result string </li></ul></ul>
  21. 21. HTTP Client Support… <ul><li>Script If statement can test “fields” in returned Document against character strings </li></ul><ul><li>Script Assign statement can extract data “fields” from returned Document into user variables </li></ul>
  22. 22. HTTP Client Support…
  23. 23. Web Service Client Support <ul><li>Can invoke a Web Service residing anywhere on the Internet </li></ul><ul><li>Called Type1 service because it is not fully automated yet </li></ul><ul><li>Documents created by user script & used for: </li></ul><ul><ul><li>URL data </li></ul></ul><ul><ul><li>SOAP Body data (XML elements sent as request) </li></ul></ul><ul><li>Automatically built: </li></ul><ul><ul><li>Server part of the URL string </li></ul></ul><ul><ul><li>SOAP Envelope </li></ul></ul>
  24. 24. Web Service Client Support… <ul><li>External servers are defined in the ZWC configuration via Define_Server statement </li></ul><ul><li>The request is sent using the WebService_Type1 script statement </li></ul><ul><li>HTTP response headers are returned in the Document named HTTP_RESP_HDRS </li></ul><ul><li>SOAP response data is returned in the Document named HTTP_RESP (XML response document) </li></ul>
  25. 25. Web Service Client Support… <ul><li>User variables set by request: </li></ul><ul><ul><li>SOAP_RETURN 0 or numeric error code </li></ul></ul><ul><ul><li>HTTP_STATUS numeric HTTP result code </li></ul></ul><ul><ul><li>HTTP_RESPONSE character HTTP result </li></ul></ul><ul><li>Script If statement can test data “fields” from returned documents </li></ul><ul><li>Script Assign statement can extract data “fields” from returned documents into user variables </li></ul>
  26. 26. Web Service Client Support…
  27. 27. Batch Program API <ul><li>Extends the CICS COMMAREA concept to batch programs </li></ul><ul><li>Allows simple program call to trigger script execution </li></ul><ul><li>No TCP/IP Sockets programming </li></ul><ul><li>Batch programmer does not have to know anything about TCP/IP, HTTP, SOAP, Web Services or other protocols </li></ul><ul><li>User program builds COMMAREA (buffer) containing needed data </li></ul><ul><li>Program call to ZWEBBAT1 passing COMMAREA </li></ul>
  28. 28. Batch Program API… <ul><li>COMMAREA Event script triggered in z/Ware Server </li></ul><ul><li>Script performs desired processing </li></ul><ul><li>Updated COMMAREA returned to user program </li></ul><ul><li>REXX external function provided </li></ul><ul><ul><li>Place COMMAREA data on program stack </li></ul></ul><ul><ul><li>Call ZWEBREXX() function </li></ul></ul><ul><ul><li>Updated COMMAREA data returned on program stack </li></ul></ul>
  29. 29. Batch Program API…
  30. 30. Wrap Up <ul><li>More is planned for future releases of Version 2 </li></ul><ul><li>Please let us know if you have specific needs </li></ul>

×