The nobility of mobility: Get it with CICS
description
Transcript of The nobility of mobility: Get it with CICS
© 2014 IBM Corporation. 1
© 2014 IBM Corporation. 2
© 2014 IBM Corporation. 3
Legal Disclaimer
● © IBM Corporation 2013. All Rights Reserved.
● The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software.
● References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results.
● Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
● All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer.
● Please review text for proper trademark attribution of IBM products. At first use, each product name must be the full name and include appropriate trademark symbols (e.g., IBM Lotus® Sametime® Unyte™). Subsequent references can drop “IBM” but should include the proper branding (e.g., Lotus Sametime Gateway, or WebSphere Application Server). Please refer to for guidance on which trademarks require the ® or ™ symbol. Do not use abbreviations for IBM product names in your presentation. All product names must be used as adjectives rather than nouns. Please list all of the trademarks that you use in your presentation as follows; delete any not included in your presentation. IBM, the IBM logo, WebSphere, are trademarks of International Business Machines Corporation in the United States, other countries, or both.
● Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
● Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.
● Intel, Intel Centrino, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
● Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others.
● Worklight®is a trademark or registered trademark of Worklight, an IBM Company.
© 2014 IBM Corporation. 4
Welcome
Roger Braem– IBM WebSphere Business Unit Executive,
Asia/Pacific System z Software | [email protected] | LinkedIn
Jennifer Nott– Senior IT Specialist, System z A/NZ Techline,
IBM Sales & Distribution | [email protected] | LinkedIn
Mark Cocker– IBM CICS Development | [email protected] | LinkedIn
Seminar materials– Will be on a web site and link sent via email
– Text in red links to more details
About IBM Centre
© 2014 IBM Corporation. 5
CICS: Trusted by 1000s of customer in 23 industries, spanning 75 countries
90% of the Global Fortune 100 Banking and Financial Services use CICS
The world as we know it doesn’t exist without Systems of Record
© 2014 IBM Corporation. 6
150 interactions per day per device
typical mobile devices switched on 100% of time
10 billion+devices accessing
information
Mobile: driving back-end transactions to system of record
91% of new customer facing apps
CIOs report that are accessing the mainframe
mobile banking customers
46 percent banks said mobile application
development is central to overall digital strategy
32% more profitable
19% higher revenues
53% less attrition
© 2014 IBM Corporation. 7
Please answer each statement as it best describes the growth of different types of data in your firm
Source: 2012 IBM Global Big Data Online SurveyGartner Survey Analysis: Big Data Adoption in 2013 Shows Substance Behind the HypePublished: 12 September 2013
Types of data analyzed
How strongly do you agree with the following statements about why your firm runs analytics on the mainframe?
What types of data/records are you planning to analyze using big data technologies?
45%
32%
35%
38%
42%
51%
48%
40%
Business transaction related data
Digitized corporate knowledge (process, procedures, best practices, internal
social media, etc.
Social media, Mobile, and internet generated customer and prospect data
Electronic data exchange
High Growth Growth
Opportunity: Next generation applications drawing on mainframe-based transactional data
© 2014 IBM Corporation. 8
“Mobile banking is a fast growing channel for Halkbank. As for all other channels, we run the transactions themselves on our CICS and DB2 for z/OS systems, which helps to ensure the highest levels of performance, availability and security”
“Core enterprise applications process transactions — lots of transactions — and so can’t be scaled by adding load balancers and spawning new copies of services. They scale by adding capacity to the transaction processing engine”
25 years of continuous operationOn CICS®, DB2®, and System z®
Ayhan Yalkut, System z Manager, Halkbank.
The Turkish state pays most of the government salaries through the bank, causing a once-monthly peak in daily transactions, increasing from 25m to 50m
Scalable“In more than 25 years of continuous operations, we have never had any unplanned downtime”
Reliable
Mobile
© 2014 IBM Corporation. 9
Cloud technology is driving change – cloud integration becomes key
© 2014 IBM Corporation. 10
Cloud platforms & integration
BlueMix
Instant services, runtimes, and infrastructure for
cloud based applications.
Integration with existing Systems of Engagement
TXSeries
Clients using TXSeries who need to balance costs
against growth.
TXSeries on Softlayer for cloud-style scalability
CICS TS V5
Simplified system management and rapid application deployment.
On premise pattern based cloud deployment.
© 2014 IBM Corporation. 11
...to Maximize the value of these new technologies
Systems of Interaction
our clients must integrate their existing Systems of Record with their new Systems of Engagement – creating a new class of system: Systems of Interaction
© 2014 IBM Corporation. 12
z/OS Connect: Systems of Engagement to Systems of Record
Discover/Reuse services
Enhance customer experience by exposing
mainframe services
Audit and chargeback
Integration with mainframe accounting to determine usage & traffic patterns
Integrates with standard z/OS middleware
Simplifyconnection
Standard open API technology for securely connecting mobile and cloud applications to System z
Mobile-Optimized APIs
Cloud enabled
JSON/REST
JSON/REST
z/OS Connect
© 2014 IBM Corporation. 13
API Management API Management
DataPower DataPower
Systems of Engagement Meet Systems of Record
Cloud and API Economy
CICS TG
CICS on Multi-platforms
zLinuxzLinux
Worklight Worklight
WebSphere Application Server WebSphere Application Server
z/OSz/OS
DB2 DB2
MQ MQ
CICS TS CICS TS
z/O
S
Con
nect
z/O
S
Con
nect IMS IMS
© 2014 IBM Corporation. 14
Trusted platform for new mobile workloadOn CICS®, DB2®, and System z®
“Trust is crucial, so whenever we launch new services, the challenge is always to ensure that the underlying data and transactions are secure and reliable. We needed a robust and trustworthy platform for our new analytics and mobile capabilities”
Daniele Cericola, ICT Governance Manager at Banca Carige.
“97% of executives surveyed said that information security is highly critical to their company’s ability to compete in their market or industry”
Banca Carige’s new mobile application runs in the cloud, it hooks back into web services running on the zEnterprise. Mobile transactions are processed through CICS and DB2 on the mainframe.
Integrated“availability and security are business-critical; the fact that these are tried-and-tested features of the mainframe makes it our natural platform of choice for our new initiatives”
Secure
Trusted
© 2014 IBM Corporation. 1515
New System z mobile pricing
Current Workload
Prior Peak Utilization
Growth Due to Mobile
New Peak Utilization
Reduced cost of growth on Mobile workloads
Scale IT Investments with the growth & business returns of mobile
Leverage existing System z data and transaction processing for mobile
– No Infrastructure Changes Required…
– Applicable to workloads running on zEC12 and zBC12 …
– Up to a 60% reduction in reported CPU utilization for Mobile transactions
© 2014 IBM Corporation. 16
© 2014 IBM Corporation. 17
Agenda
© 2014 IBM Corporation. 18
Please note
IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion.
Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision.
The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion.
Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
© 2014 IBM Corporation. 19
CICS TS V5.2
CICS TS purpose and vision
CICS TS V5.1 and feature packs review
CICS TS V5.2– Service agility
– Operational efficiency
– Cloud
– CICS Explorer
– Documentation
© 2014 IBM Corporation. 20
CICS TS purpose
IBM CICS Transaction Server V5the premier enterprise grade mixed language application server
Service Agility
Operational Efficiency
Cloud Enablement
© 2014 IBM Corporation. 21
NotesService agility
CICS TS V5.2 significantly enhances the portability of web applications into CICS, by upgrading WebSphere Application Server Liberty Profile to Version 8.5.5 and supporting a broader set of its features. Java™ database connectivity, transactionality, and security infrastructure are all functionally enhanced. This makes applications written in Java even more capable.
Service-oriented architecture (SOA) support is extended by integrating the JSON and REST capabilities, introduced in the CICS TS Feature Pack for Mobile Extensions, into CICS TS V5.2. This makes it easier to interact with mobile devices and mobile-optimized gateways, such as Worklight Server.
Operational efficiency
For operational efficiency, the number of supported policy thresholds is expanded to cover an increased number of threshold types, safeguarding critical runtime resources. This enables a wider range of service-level agreement thresholds to trigger automatic actions.
The integration of CICS applications with distributed security standards has been simplified by incorporating the Security Assertion Markup Language (SAML) support, introduced in the CICS TS Feature Pack for Security Extensions, into CICS TS V5.2. Also introduced is support for Kerberos security tokens and stronger cryptographic ciphers. SAML support is provided for both inbound and outbound use of SAML tokens, and SAML tokens can now be augmented by adding new attributes.
Cloud enablement
Major advances are made in CICS TS V5.2 in the area of cloud enablement, to enhance application lifecycle management by allowing different versions of a multi-program application to run concurrently, and simplify deployment of application updates or to easily rollback to an earlier version if required.
Application versioning assists with the consolidation of applications onto fewer CICS regions.
© 2014 IBM Corporation. 22
CICS TS vision
Complex Easy
Dumb
SmartAs CICS has got smarter, the level of complexity has increased.
CICS TS V5 will continue to deliver more advanced capabilities.
At the same time, CICS will simplify common tasks, and provide automatic features to better manage your environments.
© 2014 IBM Corporation. 23
Use with CICS TS
CICS TS versions and feature packs
CICS TS V3.1 & V3.2
– In service until December 2015
CICS TS V4.1 & V4.2
– In service until at least 3Q 2017 as per IBM statement of direction
CICS TS V5.1
– Available since 14 December 2012
Feature Packs
– CICS TS Feature Pack for Dynamic Scripting V1.1 V4.1 V4.2
– CICS TS Feature Pack for Dynamic Scripting V2 V5.1 V5.2
– CICS TS Feature Pack for Mobile Extensions V4.2 V5.1 integrated
– CICS TS Feature Pack for Security Token Extensions V4.2 V5.1 integrated
– CICS TS Feature Pack for Modern Batch V4.2 V5.1 V5.2
© 2014 IBM Corporation. 24
Feature packs
CICS TS Feature Pack for Mobile Extensionsextend your CICS applications to mobile devices and brings support for JSON data within CICS applications
CICS TS Feature Pack for Modern Batchcombine batch and online CICS workloads to minimise downtime and improve operational efficiency
CICS TS Feature Pack for Dynamic Scripting V2.0adds support for the PHP scripting language support to CICS TS V5.1 to rapidly create and deploy situational applications
CICS TS Feature Pack for Security Token Extensionsadds support for the open standard Security Assertion Markup Language (SAML) data format for exchanging authentication and authorization data between CICS and other parties
Order in ShopzSeries for delivery by internet or tape
Supported by IBM service
© 2014 IBM Corporation. 25
CICS TS V4.1
Integration– Event processing
– Atom feeds from CICS
– Web services standards, monitoring, stats
– Integrated support for WSRR
– Transaction routing & system links for IPIC
– IPv6, identity propagation,large file hosting
Performance and scale– XML System Services parsing
– JVM server runtime environment
– Wild branch diagnosis improvements
– Adherence to z/Architecture MVS linkage
Application support
– Application bundles
– Application components
– Improvements to data mappings & new API
– Java 6
Enterprise management
– CICS Explorer
– RESTful API (CMCI)
– Improved (WUI) browser views
– Workload management optimisations
– WebSphere MQ queue-sharing groups
– Governance and SPI for resources
– Improvements in CICS monitoring
– Discovery Library Adapter for CICS
© 2014 IBM Corporation. 26
CICS TS V4.2
Events
– System events
– Assured events
– Lifecycle management
Java
– Java 7 64-bit applications
– Multi-threaded server
– OSGi packaging & management
Scalability
– More threadsafe
– Optimised threadsafe
– 64-bit exploitation and assembler applications
Connectivity
– Axis2 web services
– Web Services offload
– HTTP & IP extensions
Management
– Transaction tracking
– Workload management
– Password phrases
© 2014 IBM Corporation. 27
CICS TS V5.1
Operational Efficiency• Greater capacity - achieve cost savings through consolidation• Managed operations - control critical resource thresholds with policies• Increased availability - reduce the need for planned downtime• Deeper insight - extend performance and compliance information
Service Agility• First-class applications - create agile services from existing assets• First-class platforms - create agile service delivery platforms• Modern interfaces - build rich web experiences for critical applications• Foundational enhancements - extend core capabilities
125+ requirements
satisfied!
© 2014 IBM Corporation. 28
CICS TS V5.1
• CICS supports "one-to-many" event emission
• Greater-than-32KB across MQ (DPL) bridge
• Enhancements to IPIC add IMS support
• Reduced application storage needs with GET and PUT container
• Backup and restore entire CICSPlex System Manager (CICSPlex SM) systems
• Automatic adjustment of the CICS clock for daylight saving time changes
• CICS supports "one-to-many" event emission
• Greater-than-32KB across MQ (DPL) bridge
• Enhancements to IPIC add IMS support
• Reduced application storage needs with GET and PUT container
• Backup and restore entire CICSPlex System Manager (CICSPlex SM) systems
• Automatic adjustment of the CICS clock for daylight saving time changes
• A production-ready web container
• Deploy lightweight Java servlets and JSPs
• Local access to CICS applications and data
• Roll-out of interface updates through OSGi
• Integration with applications and platforms
• Built on WebSphere Application Server Liberty profile for compatibility
• CICS TS Feature Pack for Mobile
• A production-ready web container
• Deploy lightweight Java servlets and JSPs
• Local access to CICS applications and data
• Roll-out of interface updates through OSGi
• Integration with applications and platforms
• Built on WebSphere Application Server Liberty profile for compatibility
• CICS TS Feature Pack for Mobile
• Group new and existing regions as platforms
• Decoupling applications from the region topology.
• automatic resource deployment and validation
• De-provision resources when requested
• Deploy applications to regions within a platform
• Dynamically manage platforms with policies
• Group new and existing regions as platforms
• Decoupling applications from the region topology.
• automatic resource deployment and validation
• De-provision resources when requested
• Deploy applications to regions within a platform
• Dynamically manage platforms with policies
Modern InterfacesModern Interfaces Foundational EnhancementsFoundational Enhancements
First-class PlatformsFirst-class Platforms• Manage disparate resources as a single
entity
• Rapidly move through the application lifecycle
• Automate dependency management
• Ensure rigorous yet flexible provisioning
• Measure entire application resource usage
• Dynamically manage applications with policies
• Manage disparate resources as a single entity
• Rapidly move through the application lifecycle
• Automate dependency management
• Ensure rigorous yet flexible provisioning
• Measure entire application resource usage
• Dynamically manage applications with policies
First-class ApplicationsFirst-class Applications
© 2014 IBM Corporation. 29
CICS TS V5.1
• Auditing of SPI commands that alter the system
• Improved auditing of user IDs that make requests over IP
• Extended identity propagation to include started tasks
• Cipher suites used for SSL connections to be stored in the performance records
• Calculate the actual and potential use of specialty processors
• Regular status updates provided while lost locks recovery is taking place
• Auditing of SPI commands that alter the system
• Improved auditing of user IDs that make requests over IP
• Extended identity propagation to include started tasks
• Cipher suites used for SSL connections to be stored in the performance records
• Calculate the actual and potential use of specialty processors
• Regular status updates provided while lost locks recovery is taking place
• Upgrade CICS versions and releases without requiring a z/OS restart
• Modern batch feature pack
• Refresh Secure Sockets Layer (SSL) certificates
• Keep IPIC connections up and running
• Support more IBM GDPS/AA solutions
• Dynamically specify cross-system coupling facility groups
• Better reflect current best practices with updated and simplified defaults
• Upgrade CICS versions and releases without requiring a z/OS restart
• Modern batch feature pack
• Refresh Secure Sockets Layer (SSL) certificates
• Keep IPIC connections up and running
• Support more IBM GDPS/AA solutions
• Dynamically specify cross-system coupling facility groups
• Better reflect current best practices with updated and simplified defaults
• Automated control over critical system
resources
• Set data access thresholds on SQL or file
access
• Set program loop thresholds on EXEC
LINK
• Set storage request thresholds
• Set CPU time thresholds
• Policies can issue messages, abending
tasks, or create events
• Automated control over critical system
resources
• Set data access thresholds on SQL or file
access
• Set program loop thresholds on EXEC
LINK
• Set storage request thresholds
• Set CPU time thresholds
• Policies can issue messages, abending
tasks, or create events
• Doubling the MAXTASK limit to 2,000
• Increased 64-bit and reduced 24-bit storage
usage
• Greater parallelism from threadsafe API and
SPI
• Greater system parallelism through optimized
TCB usage
• Performance improvements from 64-bit Java 7
• Greater access to 64-bit storage from
Assembler programs
• Doubling the MAXTASK limit to 2,000
• Increased 64-bit and reduced 24-bit storage
usage
• Greater parallelism from threadsafe API and
SPI
• Greater system parallelism through optimized
TCB usage
• Performance improvements from 64-bit Java 7
• Greater access to 64-bit storage from
Assembler programs
Greater CapacityGreater Capacity
Increased AvailabilityIncreased Availability
24x7
Deeper InsightDeeper Insight
10011010
Managed OperationsManaged Operations
24x7
24x7
11011010
© 2014 IBM Corporation. 30
CICS TS V5.2 brings you more...
Integrates mobile capabilities and broadens
the web programming model
without requiring additional middleware
Service Agility
Support distributed security standards and automatically safeguard
critical runtime resources
without requiring additional system code
Operational Efficiency
Deploy and manage several versions of a
multi-program application and run
them concurrently
without requiring additional regions
Cloud Enablement
+ Continuous enhancements to the solid foundation
© 2014 IBM Corporation. 31
CICS TS V5.2 editions and supporting tools
CICS TS V5.2
– Available since 13 June 2014
– Software requirements includes:
• z/OS 1.13, or later
• IBM 64-bit SDK for z/OS, Java Technology Edition V7 SR 1, V7.1, or later
CICS Transaction Server V5.2 Value Unit Edition
– One-time-charge price metric for new Java workloads
– For eligible workloads deployed in qualified System z New Application License Charge LPARs
CICS Transaction Server V5.2 Developer Trial
– Enables try-before-you-buy evaluation of CICS Transaction Server
CICS Tools V5.2 and z/OS Problem determination tools
– Acceleraterate deployment of new CICS workloads on System z
– Streamline CICS version-to-version migration efforts
CICS Transaction Gateway V9.1 Open Beta
– New mobile support within CICS TG which enables new, modern workloads to be quickly and efficiently incorporated into existing CICS systems
– Enhancements in connectivity and security
© 2014 IBM Corporation. 32
CICS TS V5 VUE (OTC)
zNALC LPAR (discounted z/OS)
Java based CICS Service Enablement*
Java based CICS Service Enablement*
New Java workloads*New Java workloads*
CICS TS V5, V4 or V3 (MLC)
Regular LPAR (full-price z/OS)
Existing CICS COBOL, PL1,C/C++, ASM applications
running core business logic
Existing CICS COBOL, PL1,C/C++, ASM applications
running core business logicDPL
* zNALC approval is required for each application
CICS TS VUE is a separately
licensed program and does not
initiate Single Version Charging
CICS TS VUE is a separately
licensed program and does not
initiate Single Version Charging
TS V5.1 avoiding SVCTS V5.1 avoiding SVC
Reduced price for the z/OS
operating system on LPARs
that run a qualified application*
Reduced price for the z/OS
operating system on LPARs
that run a qualified application*
zNALC pricingzNALC pricing
Alternative pricing model for
new applications* using a one-
time-charge price metric
Alternative pricing model for
new applications* using a one-
time-charge price metric
CICS One-time-chargeCICS One-time-charge
Responding to customer demand for an alternative pricing structureResponding to customer demand for an alternative pricing structure
CICS TS Value Unit Edition
© 2014 IBM Corporation. 33
CICS TS V5 VUE (OTC)
zNALC LPAR (discounted z/OS)
IBM Business Rules for z/OS providing new dynamic rules*
IBM Business Rules for z/OS providing new dynamic rules*
CICS liberty profile providing new modern web interfaces*
CICS liberty profile providing new modern web interfaces*
CICS TS V5, V4 or V3 (MLC)
Regular LPAR (full-price z/OS)
Existing CICS COBOL, PL1,C/C++, ASM applications
running core business logic
Existing CICS COBOL, PL1,C/C++, ASM applications
running core business logicDPL
* zNALC approval is required for each application
Exploit the features of CICS TS
V5.1 without having to upgrade
existing back-end systems
Exploit the features of CICS TS
V5.1 without having to upgrade
existing back-end systems
Non-disruptiveNon-disruptive
Rapidly augment existing CICS
applications using the latest
CICS Java support and Java
service enablement capabilities
Rapidly augment existing CICS
applications using the latest
CICS Java support and Java
service enablement capabilities
Service enablement*Service enablement*
Using the latest 64-bit, Java 7,
multithreaded JVMSERVER
architecture for maximum
scalability
Using the latest 64-bit, Java 7,
multithreaded JVMSERVER
architecture for maximum
scalability
New Java Applications*New Java Applications*
Responding to customer demand for an alternative pricing structureResponding to customer demand for an alternative pricing structure
CICS TS Value Unit Edition example workloads
© 2014 IBM Corporation. 34
CICS TS V5.1 Developer Trial
Evaluate the ValueEvaluate the Value Explore the CapabilityExplore the Capability Create the business caseCreate the business case
Try before you buy– No charge license, no single version charging period
Feature-rich for evaluation– Some restrictions such as 30 max tasks, works for 90+ days from download date
Assistance via CICSdev forum and IBM service – APARs delivered in periodic service refresh and to CICS TS V5.1
– See technote for details
Order from IBM Shopz with internet or physical delivery options– Order as often as needed
© 2014 IBM Corporation. 35
CICS TS V5.2 service agility
Mobile web services now integrated– Provides support for RESTful web service requests
• JSON in the HTTP body
– New JSON assistant programs
• Generate a JSON schema and WSBIND file from a copy book
COBOL, PL/I, C and C++
• Create a language structure and WSBIND file from a JSON schema
– New linkable interface
• Equivalent to EXEC CICS XMLTRANSFORM
Allows application programs to process JSON data
– Support for Liberty features that provide JAX-RS, JAX-WS, and JAXB
© 2014 IBM Corporation. 36
Notes
CICS Transaction Server for z/OS, Version 5 Release 2 provides support for web service requests with JSON and the conversion between JSON and application data. Support for JSON greatly simplifies the use of existing CICS services by mobile applications, particularly those managed by IBM Worklight® Server. You can expose CICS applications as web services with JavaScript Object Notation (JSON) payloads, create new RESTful applications, call existing JSON applications, and convert JSON from any source to and from the application data.
This support for JSON and REpresentational State Transfer (REST) was previously available in the CICS TS Feature Pack for Mobile Extensions.
© 2014 IBM Corporation. 37
CICS TS V5.2 service agility…
CICS JSONAssistant
Mobile web services architecture
© 2014 IBM Corporation. 38
CICS TS V5.2 service agility…
Mobile and SOAP web services enhancements– Mapping between unicode and UTF-16-BE
• UTF-16-BE supported as native type by COBOL, PL/I and C/C++ compilers
• Basis for broader globalisation projects
– Simple COBOL dynamic arrays supported
• Occurs Depending On
• Occurs Indexed By clauses
– SOAP native parser optimisations
• Parser output stays in 64 bit storage
• SOAP message built in 64 bit storage
• Code page conversions use 64 bit storage
• Benefit is 31 bit Virtual Storage Constraint Relief
© 2014 IBM Corporation. 39
Notes
Data mapping for SOAP and JSON web services supports UTF-16 data and more COBOL clauses, including OCCURS DEPENDING ON. With this support, you can represent a larger range of characters in web services application data and the TRANSFORM API. In the CICS® data transformation service for SOAP and JSON web services and the TRANSFORM API, Unicode characters are transformed to UTF-16 data in COBOL, C, C++ and PL/I. Unicode is the widely adopted standard for handling most of the characters in use today and can be used as a basis for globalization of CICS applications. This release of CICS also supports the COBOL clause OCCURS DEPENDING ON, when the field is last in the structure, and the clause OCCURS INDEXED BY.
© 2014 IBM Corporation. 40
Mobile scenario
A B C
DFHLS2JS to generate the JSON artefacts for the target
CICS service.
Mobile developer uses JSON schema to build a
Worklight adapter.
Frontend mobile developer calls the Worklight adapter which calls
the service hosted in CICS.
Connect directly to CICS from Worklight using end-to-end JSON
© 2014 IBM Corporation. 41
CICS TS V5.2 service agility…
WebSphere Application Server Liberty profile– Introduced in CICS TS V5.1
– Light weight web container
• Provides Servlets and JSPs support for CICS
• Runs in a JVM server in the CICS address space
• Access to CICS functionality through the JCICS API
Existing web interfaces
developed using JSPs and
Servlets can be easily moved into
CICS
Direct access to DB2, providing
application developers with two routes to the
data
CICS TS
JVM serverLiberty profile
Web App
JDBC DB2
CICS Resources
© 2014 IBM Corporation. 42
Notes
CICS Transaction Server for z/OS, Version 5 Release 2 upgrades the WebSphere® Application Server Liberty profile to Version 8.5.5 and supports a broader set of its features. Java database connectivity, transactionality, and security infrastructure are all functionally enhanced. The Liberty profile is a lightweight development and application runtime environment that is well-suited to building web applications that do not require the full Java™ EE environment of traditional enterprise application server profiles.
© 2014 IBM Corporation. 43
CICS TS V5.2 service agility…
Liberty profile in CICS TS V5.2– Core features
• Java Transaction API (JTA 1.0)
• Access to local DB2 resources (JDBC 1.0)
• CICS Liberty Security
– Liberty profile features
• Access to remote DB2 resources with T4 driver (JDBC 1.0)
• Java API for RESTful Services (JAX-RS 1.1)
• Java Script Object Notation (JSON 1.0)
• Java API for XML Web Services (JAX-WS 2.2)
• Java Architecture for XML Binding (JAXB 2.2)
© 2014 IBM Corporation. 44
Notes
Support is provided for JDBC type 2 data sources. This support enriches your options for access to other data managers. You can use the JDBC DataSource API to access relational data that is stored in either a local DB2® database, managed by CICS resources, or a remote database using JDBC type 4 connectivity.
Java Transaction API (JTA) support enables transactional web application developing using JTA API to be run in a Liberty JVM server and to coordinate transactional updates to both CICS resources and other third party resource managers, such as a JDBC type 4 driver connection using a remote data source.
You can take advantage of the full range of WebSphere Liberty Profile application security functions. These include an extended range of authentication options, including HTTP basic authentication, single sign-on using LTPA cookies, form login, Trust Association Interceptors, and SSL client certificate mapping. Authorization options include both JEE role authorization and CICS transaction and resource security, which is based on the authenticated SAF userid. The Secure Sockets Layer (SSL) support in the Liberty JVM server HTTP listener is extended to support certificates that are stored in both System Authorization Facility (SAF) keyrings and Java keystores.
© 2014 IBM Corporation. 45
CICS TS V5.2 service agility…
Java Transaction API
CICS TS 5.2
TransactionManager
ApplicationCICS
XAResource
Type 4 DB
Liberty Profile
OT Domain
RM Domain
JTA can provide coordination ofupdates across CICS and a remote DB
© 2014 IBM Corporation. 46
Liberty profile scenario
A B CModify application data logic to make JCICS API calls or direct
JDBC calls, if required
Package application into a EBA for deployment into CICS
Liberty
Install CICS application into CICS Liberty Server and enable using
the CICS Explorer
Port JSP, servlet or JAX-RS presentation code into CICS Transaction Server
© 2014 IBM Corporation. 47
CICS TS V5.2 service agility…
IPIC High Availability– Allows CICS to connect to a cluster entry point
• Allows CICS to know the actual endpoint for recovery
New TCPIPSERVICE attribute SPECIFTCPS
LPAR 3
CICS A
LPAR 2
LPAR 1
CICS 12
CICS 11Common DVIPA
DVIPA
AIVIPA 9 CICS 10
CICS 9
CICS 8
CICS 13
CICS 14
CICS 13
CICS 14
DVIPA identifies the Generic Entry Point to the cluster, and resides on the Distributor Stack.
AIVIPA identifies the Specific Entry Point of a HA Region, and moves with that region within the Sysplex. If no need to move regions between LPARs then VIPAs can be used.
Sysplex A
DVIPA – Dynamic Virtual IP Address
AIVIPA – Application Instance VIPA
© 2014 IBM Corporation. 48
Notes
IP-connectivity (IPIC) support is extended to support more high-availability scenarios. This support helps to minimize the impact of issues that can arise when CICS® communicates across a wide area network, for example, if the network fails to respond. Groups of regions from CICS Transaction Server for z/OS, Version 5 Release 2 can be clustered together and accessed through a shared TCP/IP end point from other client regions of CICS Transaction Server for z/OS, Version 5 Release 2 . This support enables individual CICS regions to be removed as a single point of failure, while permitting planned or unplanned outages of individual components, and provides a migration path for VTAM® generic resource support when moving from SNA to an IP network
© 2014 IBM Corporation. 49
CICS TS V5.2 operational efficiency…
Double the number of policy triggers
CICS TS
Cumulative Time
Syncpoint Start TSQ
DB2 SQL Files Storage CPU Time
Policy
Task
Abend Task
Emit Event
Output Message
New V5.2 Triggers
CICS V5.1
Trigger: Action:
TDQ
Prog. Link
Double the number of triggers are
available to provide greater level of control to CICS
© 2014 IBM Corporation. 50
Notes
Double the number of policy triggers– Temporary Storage
• Number of requests or amount of data written
– Transient Data
• Number of requests
– Elapsed Time
• Check is made at dispatch
• Action triggered at next API call
– STARTs
• Number of requests
– Syncpoints
• Number of requests
– Program Link
• INVOKE APPLICATION is now included
© 2014 IBM Corporation. 51
Policy scenario
Define a policy to trigger an event when an application consumes too much total elapsed CPU time
A B CDefine the policy thresholds and trigger action that CICS
should take
Associate the policy with the appropriate platform or application and deploy
When the threshold is breached, CICS triggers an event, updating
an operations dashboard
© 2014 IBM Corporation. 52
CICS TS V5.2 operational efficiency…
Support for TLS 1.2 protocol and FIPS 140.2 Cryptographic Standards– FIPS 140.2 mandated by NIST SP800-131A directive
• Cipher suites can now be defined in XML in a zFS file
• Greater flexibility and ease of definition
• APAR PM97207 available for TS 5.1
System initialisation parameters– ENCRYPTION={ALL|TLS12|STRONG|}
– USSCONFIG={/var/cicsts/dfhconfig|directory}
• Cipher XML files in USSCONFIG/security/ciphers
Extend NIST SP800-131A checking beyond sockets domain– New System Initialisation parameter
• NISTSP800131A={NOCHECK|CHECK}
• CHECK means CICS is required to check for compliance with the NIST SP800-131A security standard
• Checked by Sockets (SO), Java (SJ) and Pipeline (PI) domains
NIST=National Institute of Standards and TechnologyFIPS=Federal Information Processing Standards
© 2014 IBM Corporation. 53
Notes
Cryptographic ciphers enable CICS to enforce the use of TLS 1.2, and check for conformance to the NIST-SP800-131a security standard.
Support for stronger cryptographic standards allows you to permit all system SSL supported ciphers and protocols, or restrict to those that are supported by Transport Layer Security (TLS) 1.2.
CICS can check and report on conformance to the guidelines in the National Institute of Standards and Technology (NIST) Special Publication 800-131A (NIST-SP800-131A), which includes support for TLS.
© 2014 IBM Corporation. 54
CICS TS V5.2 operational efficiency…
Security Assertion Markup Language (SAML)– OASIS open standard
– “XML based framework for describing and exchanging security information betweenon-line business partners.”
– Web Single Sign-On
– Dynamic creation of Identity Federations(SSO across domains)
© 2014 IBM Corporation. 55
Notes
Security Assertion Markup Language (SAML) is an XML-based framework for describing and exchanging security information between online business partners. This security information is expressed in the form of portable SAML assertions that applications working across security domain boundaries can trust. The OASIS SAML standard defines precise syntax and rules for requesting, creating, communicating, and using these SAML assertions.
SAML provides a solution for a number of problems:
• It provides an open standard for exchanging security information between Service Providers, also known as Federated Identity.
• It provides a means for end-to-end auditing.
• It provides a common source for user role or authority-based information
© 2014 IBM Corporation. 56
CICS TS V5.2 operational efficiency…
Security Assertion Markup Language (SAML)
IdP SP
bookahotel.com
1
2
Authentication
bookaflight.comSAML Token
3Validate
IdP domain
© 2014 IBM Corporation. 57
Notes
An example of a security assertion while booking a flight and deciding at add a hotel. The identity provider aserts the user’s identity to the next service provider.
© 2014 IBM Corporation. 58
CICS TS V5.2 operational efficiency…
SAML Feature Pack integrated into CICS TS V5.2– Linkable interface program DFHSAML
– Channel and containers to provide input and output
– DFHSAML links to Secure Token Service (STS), running inside a dedicated JVM server (preferably in a dedicated CICS region)
– STS parses and validates SAML token
– Most of STS function is zIIP off loadable
Outbound SOAP support for reusing inbound SAML Tokens– Previously validated tokens only
– Requester pipeline retrieves token from DFHSAML-OUTTOKEN container and puts in in WSSE security header of the SOAP request
– Input SAML token is passed on unchanged
– Configuration sample samlrequester.xml provided
Using the DFHTRANSACTION channel– No application changes are necessary
© 2014 IBM Corporation. 59
Notes
CICS supports SAML by providing an application programming interface (API), which consists of a linkable interface DFHSAML, a channel, and a set of containers. The API provides the means to enable CICS applications to validate SAML tokens, to extract SAML parts, and to augment SAML assertions by adding attributes.
SAML support for web services provides the following facilities:
• Automatic token validation and extraction of SAML parts for inbound SOAP messages
• Addition of a SAML token into a web service request
• Augmentation of a SAML token before it is added into an outbound SOAP message
© 2014 IBM Corporation. 60
SAML security scenario
A B CClient requests SAML assertion from Tivoli Federated Identity
Manager or Datapower
CICS COBOL application extracts SAML containers from DFHSAML
channel
The application can add additional attributes to the assertion for
downstream components
A CICS application developer writes a COBOL program with behavior that’s dependent on the SAML security token
© 2014 IBM Corporation. 61
CICS TS V5.2 operational efficiency…
Transaction channel & containers– Created for use by SAML, but can be used independently
– No changes to EXEC CICS API
• A PUT CONTAINER can create the Transaction Channel
CHANNEL(“DFHTRANSACTION”)
• If the Transaction Channel does not exist, a GET CONTAINER command will return CHANNELERR
– New JCICS method in Task classTask t = Task.getTask();Channel tranChan = t.getTransactionChannel();
© 2014 IBM Corporation. 62
CICS TS V5.2 operational efficiency…
Kerberos support– Support for inbound tokens from Kerberos systems
– RACF definitions can map the Kerberos principal to a RACF userid
– Web services can be configured to handle Kerberos tokens as the security token
• Alternatively, the userid extracted from the Kerberos token can be used to run the request
– CICS API enhancement to validate a Kerberos token/extract the RACF userid
EXEC CICS VERIFYTOKEN() TOKENLEN() TOKENTYPE(KERBEROS)<ISUSERID()><ESM_RESPONSE()> <ESM_REASON()>
© 2014 IBM Corporation. 63
Notes
CICS Transaction Server for z/OS® provides support for Kerberos.
CICS supports Kerberos using the external security manager (ESM). The level of support depends on the support provided by the ESM. If your ESM is RACF®, support is based on Kerberos Version 5 and Generic Security Services (GSS).
CICS can verify a Kerberos token by configuring a service provider pipeline or by using the API command VERIFY TOKEN.
© 2014 IBM Corporation. 64
CICS TS V5.2 operational efficiency…
Commands that been made threadsafe– EXTRACT, INQUIRE, SET STATISTICS
– INQUIRE, SET MONITOR
– INQUIRE, SET DISPATCHER
– INQUIRE, SET SYSTEM
– INQUIRE MVSTCB
– INQUIRE, SET, DISCARD PROGRAM
– INQUIRE, SET, DISCARD TRANSACTION
– INVOKE APPLICATION
Dispatcher, transaction and monitoring statistics– To better understand TCB pool usage
© 2014 IBM Corporation. 65
Notes 1
Dispatcher statistics– New fields to understand the TCB pool performance
• Last Excess TCB Scan
Date/time of the last CICS dispatcher excess MVS TCB scan that did not detach any TCBs
• Last Excess TCB Scan–No TCB Detached
Date/time of the last CICS dispatcher excess MVS TCB scan
• Pool Limit reached
Time when pool limit reached
• Dispatchable Queue (only applicable to the single TCB non-Open TCB modes):
Current number of dispatchable tasks queued for the TCB
Peak number of dispatchable tasks that have queued for the TCB
Average number of dispatchable tasks have queued for the TCB
© 2014 IBM Corporation. 66
Notes 2
DSGLXSCN The date and time of the last CICS dispatcher excess MVS TCB scan that did not detach any TCBs. If the DFHSTUP report shows the date and time as --/--/---- --:--:--:---- then that indicates then an excess TCB scan has not happened yet.
Reset characteristic: not reset
DSGLXSND The date and time of the last CICS dispatcher excess MVS TCB scan. If the DFHSTUP report shows the date and time as --/--/---- --:--:--:---- then that indicates then an excess
TCB scan has not happened yet.
Reset characteristic: not reset
DSGTMCDQ The current number of dispatchable tasks queued for the TCB.
Reset characteristic: not reset
DSGTMPDQ The peak number of dispatchable tasks that have been queued for the TCB.
Reset characteristic: reset to current
DSGTMADQ The average number of dispatchable tasks that have been queued for the TCB.
Reset characteristic: reset to current
DSGLTCBL The time at which the pool reached the maximum TCB limit. If the DFHSTUP report shows the time as --:--:--:---- then that indicates that the pool limit has not been reached since the statistics were last reset.
Reset characteristic: reset to zero
© 2014 IBM Corporation. 67
Notes 3
Transaction Statistics– New fields to understand the TCB pool performance
• Time MAXTASKS last changed
• Time last transaction was attached
• Time MAXTASK was last reached
• Currently at MAXTASK indicator
New Monitoring Domain statistics fields• Number of user transactions ended in interval
• Number of system transactions ended in interval
• Time last transaction attached
• Time last transaction ended
• MAXTASK at last transaction attached
• Current user tasks at last transaction attached
• Average user response time
• Peak user response time
• Time of peak user response time
© 2014 IBM Corporation. 68
CICS TS
CICS TS V5.2 cloud… application multi-versioning
Rolling back to an older version of an
application is a simple operation - mark the version as
‘unavailable”
Versioning provides support for the
“major.minor.micro” system
Transition to newer (or older) version
Version 1.0.0
Version 1.0.1
Version 1.2.0
Version 2.0.0
Install, enable, make available
make unavailable
© 2014 IBM Corporation. 69
Notes
CICS TS V5.2 enables a platform to host multiple versions of the same application, and multiple applications at the same time. New versions of an application can be deployed to the platform without the need to disable or remove the previous version, and be made available to users without service interruption. This can improve service agility and reduce the business risk of deploying applications as users can be progressively switched to the new version to gain confidence in it, or switched to an older version if there are any issues.
© 2014 IBM Corporation. 70
Application multi-versioning with private resources
Application packaging helps you consolidate onto fewer regions by
providing private program definitions CICS TS
X
Y
Private programs
Customer App
Private programs
Payroll AppURIMAP
PROG1
LIBRARY
URIMAP
PROG1
LIBRARY
© 2014 IBM Corporation. 71
Notes
Library and program resources that are defined in CICS® bundles as part of an application can be made private to that version of the application. This separation avoids resource name clashes between applications and application versions, and is useful for server consolidation.
© 2014 IBM Corporation. 72
Multi-versioning scenario
A B CAfter fixing the bug in the code, repackage it with a new micro
version number
A bug has been found and an urgent fix is required immediately
Once installed, switching to a new version of the application is simply a
case of making it “available”
CICS takes care of moving clients to the new version of the
application across all regions within a platform
© 2014 IBM Corporation. 73
CICS TS V5.2 cloud…
Define more resources in a bundle for easier deployment– FILE
– JVMSERVER
– TCPIPSERVICE
– PIPELINE
– WEBSERVICE
© 2014 IBM Corporation. 74
Notes
The type of resources that can be defined in CICS bundles and managed as part of a platform is broadened to include files, JVM servers, pipelines, TCP/IP services, and web services. In addition, library and program resources that are defined in CICS bundles as part of an application are made private to that version of the application. This facility avoids resource name clashes between applications and application versions, and is particularly useful for server consolidation.
© 2014 IBM Corporation. 75
CICS Explorer V5.2
New Repository Explorer view
New Operation views
– Task related User Exits
– Global User Exits
– Shared TS Queues
– Transaction Dumps
– System Dumps
– Unit of Work Links
Updated Pipelines view
New Workload Management views
– WLM Specifications and editor
• Manage CICS workloads with a simplified and consolidated view of the CICSPlex SM elements that control workload distribution
• Creates default routing rules
• Add and rename additional routing rules
• Can import an existing rule
– Active Workload Definition, also known as Routing Rules, Editor
© 2014 IBM Corporation. 76
Notes
CICS Explorer, the strategic management interface for CICS TS, is upgraded to CICS Explorer V5.2. This is a major update to support the latest CICS TS and CICS Tools capabilities.
CICS Explorer V5.2 is updated to include support for the new and enhanced capabilities of this CICS TS deliverable, such as:
* Enhanced support for CICSPlex SM WLM
* Improvements in support for modification of associated CICSPlex SM workload definitions, using a new sophisticated editor
* Intuitive access to information about the state of running workloads
CICS Explorer presents a new way of managing your CICSPlex SM workloads. There is no change to the way the CICSPlex SM workload management operates, but by using CICS Explorer you can get a simplified and consolidated view of the CICSPlex SM elements that control where, and how, the work is distributed in a workload.
© 2014 IBM Corporation. 77
CICS TS V5.2 documentation
IBM Knowledge Center– All IBM product documentation from one URL
– Includes books in PDF format
– Replacing online Information Centers for all supported versions of CICS
• Downloadable ICs are still available
– http://www.ibm.com/support/knowledgecenter/
© 2014 IBM Corporation. 78
Notes
Documentation for CICS® is supplied in the IBM® Knowledge Center. This format offers benefits in searching, filtering, saving, customizing, and printing documentation for all IBM products. IBM Knowledge Center provides information for over 2500 IBM products. The information that was previously provided in product information centers is in IBM Knowledge Center. IBM Knowledge Center provides integrated tools for finding, filtering, customizing, saving, and sharing information.
Integration
IBM Knowledge Center is one place to go to find information about all IBM products that you use.
Consistency
There were differences in the presentation and function of information centers between products. IBM Knowledge Center provides the same set of functions for all product information.
Customization
You can use IBM Knowledge Center filtering capabilities to select the information that you need to use. You can build the information that you need into customized collections. For example, you might create a collection about the products that you use regularly, or a collection about a particular task, involving multiple products, that you plan to do in the coming months. IBM updates to the information in your collection are automatically reflected and you can create PDFs of your collections.
Feedback
You can rate the quality of topics and share your comments and tips with other users in the IBM Knowledge Center. You can continue to send feedback privately to IBM, if you prefer.
© 2014 IBM Corporation. 79
Runtime support for production ready web applications.
Integration with mobile applications.
Service Agility
Increased system capacity and capability to achieve
more with less.
Automatic control of critical resources using policies.
Operational Efficiency
Simplified system management and rapid application deployment.
On premise pattern based cloud deployment.
Cloud Enablement
CICS Transaction Server V5the premier enterprise grade mixed language application server
© 2014 IBM Corporation. 80
Agenda
© 2014 IBM Corporation. 81
Rapid elasticity Broad network access Resource pooling Measured service On-demand self-service
5 Characteristics
Private cloud Public cloud Hybrid cloud Community cloud
4 Deployment Models
Cloud - Deployment, Service, Characteristics
http://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf
Getting started with CICS cloud deployment
Software as a Service (SaaS)
Platform as a Service (PaaS)
Infrastructure as a Service (IaaS)
3 Service Models
© 2014 IBM Corporation. 82
Cloud Service Models
SaaSSaaS
PaaSPaaS
IaaSIaaS
© 2014 IBM Corporation. 83
Cloud Service Models – CICS Perspective
CICS ApplicationsCICS Applications
CICS PlatformCICS Platform
System zSystem z
© 2014 IBM Corporation. 84
Cloud Service Models – CICS Perspective
CICS ApplicationsCICS Applications
CICS PlatformCICS Platform
System zSystem z
Security
IntegrityRuntimes
Database
CommunicationsLifecycle
© 2014 IBM Corporation. 85
Cloud Service Models – CICS Perspective
CICS ApplicationsCICS Applications
CICS PlatformCICS Platform
System zSystem z
COBOLJava
JSPC++
PL/IASM
PHPGroovy
CICS PlatformCICS PlatformSecurity
IntegrityRuntimes
Database
CommunicationsLifecycle
© 2014 IBM Corporation. 86
Stage 1: Create a platform
Simple layer of abstraction to decouple applications from the underlying complexities of a CICS topology
Consists of Region Types
– logical grouping collecting CICS regions with common characteristics
– enables them to be managed as a unit in a platform
– Created: define a region type & set up new CICS region definitions
– Adopted: adopt existing CICS system group (CSYSGRP) as region type with its existing CICS regions
Terminal Owning Region (TOR)
Production Payroll
© 2014 IBM Corporation. 87
Platform enhancements in 5.2
Platforms can both create and adopt your CICS topology
Advanced and consistent editing support for all Cloud resources
Share regions between platforms and region types
Create cloned regions and enforce capability at the region type level
Add/remove regions at run-time for extra control
© 2014 IBM Corporation. 88
Stage 2: Create an application and application entry points
Package CICS application in Application bundle
Deploy, manage, then monitor as a single entity across multiple regions in a platform
Application entry points
– identify resources as access points to Application
– control users' access to different Application versions
Bind application to platform for additional characteristics
© 2014 IBM Corporation. 89
Transactions
Programs
Files
Applications in CICS
How we think about applications in CICS
How applications look after they have
been installed
© 2014 IBM Corporation. 90
Bundle your resources > get Application Context
Create a CICS Bundle to keep your resources together
Consider as a vehicle to get them into (and out of) CICS
A CICS Application can contain several CICS Bundles
© 2014 IBM Corporation. 91
About Entry Points
PROGRAM that tasks call to access application
–Program not required in this bundle
URIMAP* resources providing URIs for requesters to access application
–Unique name (still) required
–Must be contained in same bundle
–Access for Liberty, HTTP, MQ
Application context data if entry point passedOperation = FrontDoor
© 2014 IBM Corporation. 92
CICS Application Binding
Maps CICS bundles for application to region types in the target platform
© 2014 IBM Corporation. 93
Stage 3: Add resources for the application
Transfer responsibility for creating, installing, managing resources
Don't modify resources individually (use CICS Bundle/Application operations)
Application architects: carefully consider which resources to tie to CICS Bundle lifecycle
Specify resource separately and declare as import (dependency) if resource
– cannot be defined in a CICS bundle
– has different lifecycle
– should not be private (only LIB & PROGRAM)
© 2014 IBM Corporation. 94
Transaction * Program *File ** Library *
OSGi Bundle JVM Server ** Pipeline **TCP/IP Service **
URI map *
Web service **Event (Application or System)Atom feedXML-based serviceChannel-based service
*CICS 5.1 **CICS 5.2
What can be defined in aCICS Bundle
© 2014 IBM Corporation. 95
Stage 4: Add a policy
Rules to describe controls or actions
For one or more application tasks
Threshold conditions to manage behavior of user tasks
e.g. define a threshold for the amount of storage allocated by a user task, and make CICS issue a message if the threshold is exceeded
© 2014 IBM Corporation. 96
Stage 5: Remove the application from the platform
Complete lifecycle by removing application from platform>> unavailable, disable, discard
Removal of individual versions possible
© 2014 IBM Corporation. 97
Provisioning applicationupdate with no loss of service
Video - 3 minutes
© 2014 IBM Corporation. 98
Getting started with CICS cloud deployment
Hosting two versions of a CICS application concurrently on the same platform
Video - 9 minutes
© 2014 IBM Corporation. 99
Agenda
© 2014 IBM Corporation. 100
Connecting and managing mobile workloads with CICS
IBM MobileFirst and Ready Apps
Mobile workload pricing
Mobile Integration with CICS
© 2014 IBM Corporation. 101
CICS Mobile Demo
Using IBM MobileFirst Ready App:Banking Retail
Jennifer Nott
A/NZ Techline
© 2014 IBM Corporation. 102
Video - 2 minutes
© 2014 IBM Corporation. 103
Ready Apps
Part of IBM MobileFirst application development portfolio
An extension to Worklight
– A suite of industry-specific pre-configured Apps
– Saves up to 60% of time and resources in development
– Streamlines design & enables customization to client standards
– Deploy to any platform or device
Enabled for API integration
– Mobile apps can access & locally integrate remote and diverse data and features
• Integration with backend or partner systems
• Using open protocols and Web standards
Launched in Feb 2014
Include Apps for banking, retail, health care,insurance, transportation, government, industrial
Backed by a formal application release program
– Ensures ongoing refresh & enhancements
© 2014 IBM Corporation. 104
designed to integrate with Back-End environments
flexible to accommodate multiple client environment situations.
– Each Ready App has a customized set of API calls based on industry focus
Ready App Architecture
© 2014 IBM Corporation. 105
Mobile application overview diagram
Mobile Device
MobileApplications
Sec
uri
ty L
ayer
1
DB2DB2
Sec
uri
ty L
ayer
2
CICS, IMS
Client SideApp Code
The App. interaction & present.
logic on mobile devices
Server side App code
Application logic:• Security (access &
authorization)• Application logic• Integration logic• Push logic
Adapters
connect with back-
end transaction
and data
services.
Mobile Enterprise Application Platform (MEAP) - Worklight - Mobile Enterprise Application Platform (MEAP) - Worklight -
Portal
Web Services•Salesforce.com•Amazon•Any SOAP serviceA mobile application needs end-to-end consideration for:
- Transactional integrity- Data integrity- Security
A mobile application needs end-to-end consideration for:- Transactional integrity- Data integrity- Security
Mobile application integration is realized with Worklight Adapters Mobile application integration is realized with Worklight Adapters
© 2014 IBM Corporation. 106
Implement a CICS Integration using JAX-RS
© 2014 IBM Corporation. 107
Ready App demonstration - Banking: Retail Bank
© 2014 IBM Corporation. 108
Message Center User can access personal inbox with messages from agents and application notifications
Accounts Management
User can lookup summary by accounts and drill down to transaction details as well as filter transactions (debit, credit)
Mobile Cash User can withdraw cash from an ATM without inserting a tangible ATM card by requesting code from device and entering it at ATM
Transfer Funds User can transfer funds from one account to another account
Pay Bills User can set up reoccurring or one-time bill pay from accounts.
Peer to Peer Payments
User can make a peer to peer payment and add new payees from their personal contact list on their mobile device.
Deposit Check User can take a picture of an endorsed paper check and remotely deposit the check into a selected account.
Goal Setting User can set financial goals for the future, whether they are saving for a future event (vacation) or budget control
Find Nearby Branches
User can locate nearby branches through GBS-functionality on mobile device, and view banking services and hours by location
Branch Contact Quickly contact branch and account managers to inquire about account services, problems, or mobile support
Intelligent Alerts User receives customized alerts concerning account activity such as overdraft, bill payments, and money transfers
Preference Management
User can set alerts for certain thresholds
Spend Analysis User can view spend behaviors based on user’s tagging of transactions108
Banking Retail Bank Ready App Features
© 2014 IBM Corporation. 109
CICS Explorer Views
• Demo uses Resource Group MOBBANK in Region CICSAOR1- uses a VSAM file (BANKTRAN)- accessed by a COBOL program (TRANV) to store transactions
File we will use
© 2014 IBM Corporation. 110
CICS Explorer Views
• Open the Files view and filter for file BANKTRAN - Browse and Add count are ‘0’
© 2014 IBM Corporation. 111
The Mobile Device
Select ‘Accounts’ Select ‘Everyday Savings’
© 2014 IBM Corporation. 112
The Mobile Device
• Browse count increases – one for each record browsed in the file
© 2014 IBM Corporation. 113
• Transfer Funds causes ‘Add’ count to increase by ‘2’ - transaction created for both sending & receiving
accounts
© 2014 IBM Corporation. 114
Mobile Workload Pricing for z/OS
Jennifer Nott
A/NZ Techline
© 2014 IBM Corporation. 115115
• No Infrastructure Changes Required…• Applicable to workloads running on zEC12 and zBC12 …• 60% reduction in reported CPU utilization for Mobile transactions
New System z mobile pricing
Current Workload
Prior Peak Utilization
Growth Due to Mobile
New Peak Utilization
Reduced cost of growth on Mobile workloads
Scale IT Investments with the growth & business returns of mobile
Leverage existing System z data and transaction processing for mobile
© 2014 IBM Corporation. 116
Mobile Workload Pricing for z/OS
Mobile Workload definition– Workload that is processed by a defined mobile application
– Originates from a Smartphone or Tablet
• Either Mobile App or Web browser from device
MWP enhancement to Sub-Capacity pricing– Is not a new pricing metric
– Mitigates the impact of Mobile on MLC charges when higher transaction volumes can cause a spike in machine utilization
Improves the cost of growth due to mobile transactions in System z
No infrastructure changes required– No separate LPARs needed
© 2014 IBM Corporation. 117
Pricing basics
zSW product pricing is based on either MLC or OTC/S&S– CICS, IMS, DB2, WAS and MQ are MLC
MLC is calculated each month per product according to usage
Usage is based on either Full capacity of the machine or Sub Capacity
Full capacity means that products are all charged for the msu rating of the machine/model
– Eg. A machine which is rated at 1000 msu’s will cause
– every product licensed on that machine to be charged at 1000 msu’s every month
Sub-capacity means that only the peak msu utilization of the machine across a month is used to charge the products
– SCRT tool is used monthly to report peak utilization and submitted to IBM
• Based on SMF data
© 2014 IBM Corporation. 118
Key requirements
Enterprises running a zEC12 or BC12– Mobile workload can be running on any zEnterprise machine incl z196 or z114
Use one of the MWP defining programs to process mobile transactions– CICS, IMS, DB2, WMQ, WAS
Implement sub-capacity pricing with AWLC or AEWLC
Meet mobile workload tracking and reporting requirements
© 2014 IBM Corporation. 119
MWP Reporting Process
New tool: MWRT– Replaces SCRT for customer who take advantage of MWP
– Windows-based Java tool makes adjustments to reported LPAR MSU’s based on Mobile transaction data
Customers need to track mobile transactions and produce a file showing mobile CPU consumption each month
– IBM-specified CSV format inputs into MWRT tool
MSU adjustments and monthly peak calculation for billing– MWRT subtracts 60% of reported Mobile MSU’s from an LPAR in each hour
– All software in the LPAR will benefit from lower MSUs
– Tool calculates new monthly MSU peak
• Essentially redraws the rolling 4 hour average curve across the month
© 2014 IBM Corporation. 120
Example: Sample LPAR MSU values by hour
SCRT calculates the Rolling 4-Hour Average (R4HA) MSU peak–All workloads are included
Peak R4HA value = 1404 MSUs
© 2014 IBM Corporation. 121
LPAR MSU values adjusted for mobile contribution
MWRT removes 60% of the Mobile workload, interval-by-interval
– Non-mobile workload is unchanged
– Billing for the month is based upon the newly calculated R4HA curve after the mobile workload has been reduced
New Peak R4HA Value = 1231 MSUs MWRT savings = 173 MSUs
Provides benefit when Mobile workloads contribute to monthly peak MSUs;Off-peak MSU adjustments will not affect MSUs used for billing.
Original Peak R4HA value = 1404 MSUs
© 2014 IBM Corporation. 122
Example: reducing Mobile impact to LPAR peak
z/OS &Other
CICS
Measure LPAR MSUs: Standard SCRT
methodology, SMF 70 records1,500
Usage
Tag Mobile transactions:e.g. Capture CICS
transaction details (SMF 110 records) and filter by transaction type
Other
Mobile
Other
1,380 MSUs
Subtract 60% of mobile MSUs:-60% * 200 = -120
Measure CICS usage:Capture SMF 89 record
in new IBM reporting tool (replaces SCRT); SMF 89 is IBM usage standard
CICS,z/OS &Other
200
100 100
80
Adjusted LPAR MSUs: Per new MWRT reporting tool
Transactiondefinitions
Adjusted LPAR MSUs used to determine peak for month; Pricing & billing BAU based on peak
MSUs
1
2
3
4
5
6
300
Mobile
LPAR MSUs for billing (Standard)z/OS/Other 1,500CICS 1,500
LPAR MSUsfor billing (Adjusted)z/OS/Other 1,380CICS 1,380Figures are for illustrative purposes only.Figures are for illustrative purposes only.
© 2014 IBM Corporation. 123
MWP Reporting Process
Mechanisms by which existing capabilities of z/OS sub-systems can track mobile transactions
© 2014 IBM Corporation. 124
How can you detect mobile workload
Mobile workloads can include applications of many sorts– New applications specifically designed for the platform
– New application procedures that utilize existing application logic “under the covers” – RESTful Liberty
– Existing applications accessed in a new way
Customers need to process mobile txn data in a predefined CSV file for MWRT
– IBM must approve the data gathering methodology
– Data must be general purpose processor CPU seconds
• CICS, DB2, IMS, MQ or WAS by hour, by LPAR
• MWRT User’s Guide available
© 2014 IBM Corporation. 125
Detecting the origin of a mobile workload in CICS
Can use CICS monitoring records to tie all work together– DFHCICS Performance class record (SMF 11) Origin Data
• Also returned in Task Association on active tasks
• Available in CICS Explorer Tasks transaction tracking “search” with history on
Use modified Pipeline attach transaction to identify mobile work entering CICS
– Can’t use “origin data” directly – CWXN -> CPIH
– Can’t differentiate mobile from other web services
URIMAP can alter the pipeline attach transaction– Can be used to
• Identify mobile application workload
• Provide an identifier to track more complex mobile application work
• Example:
Pipeline Attach Transaction: MBL0 in URIMAP
MBL0 is a clone of CPIH
© 2014 IBM Corporation. 126
© 2014 IBM Corporation. 127
Mobilizing the Mainframe. Customer mobile enabling a CICS-based
warehouse management system
Video - 2 minutes
© 2014 IBM Corporation. 128
DataPower Gateway Appliance
CICSCOBOL, PL/I, C/C++, and Java Services
z/OS Connect
JSON/http
JSON/http(s)
JSON or SOAP/http
JSON/http(s)
JSON/http
WOLA JCICS
CICS TransactionGateway *
ECI
Mobile topologies to connect to CICS
© 2014 IBM Corporation. 129
CICS TS mobile support
● CICS Mobile Feature Pack - Available on CICS TS V4.2 and V5.1● Provides support for RESTful web service requests● JSON in the HTTP body
● JSON assistant programs● Generate a JSON schema and WSBIND file from a copy book● COBOL, PL/I, C and C++● Create a language structure and WSBIND file from a JSON schema
● CICS TS V5.1 and V5.2● Provides support for Java based restful APIs● JAX-RS and JSON Liberty features
● CICS TS V5.2● Integrates Mobile Feature Pack● New LINKable interface
● Allows COBOL application programs to process JSON data● Set of Application containers ● Good for outbound JSON services
● CICS Transaction Gateway V9.1● JSON to ECI Gateway● Support CICS JSON assistant and wsbind file
© 2014 IBM Corporation. 130
Worklightapps
Worklight HTTP adapters
CICS
LibertyJAX-RS application CICS
app
JSON
z/OS Connect
CTG
Web services pipelineSOAP
Connecting via Worklight to CICS
JAX-WS application
© 2014 IBM Corporation
XML<employees>
<employee><firstName>John</firstName><lastName>Doe</lastName>
</employee><employee>
<firstName>Anna</firstName><lastName>Smith</lastName>
</employee><employee>
<firstName>Peter</firstName><lastName>Jones</lastName>
</employee></employees>
300 Bytes Approx.
JSON
var employeesArray = [ { "firstName":"John" , "lastName":"Doe" }, { "firstName":"Anna" , "lastName":"Smith" }, { "firstName":"Peter" , "lastName": "Jones" }];
150 Bytes Approx.
It’s the same data, but 50% smaller!
50,000 Example customer records:
XML: ~14 MBJSON: ~7 MB
© 2014 IBM Corporation. 132
05 inquireCatalogRequest. 10 startItemRef PIC 9(4) DISPLAY. 10 itemCount PIC 9(3) DISPLAY.
COBOL copybook
JSON request JSON Response{ "inquireCatalogRequest" : { "startItemRef" : 5, "itemCount" : 1 } }
{ "inquireCatalogResponse": { "returnCode": 0, "responseMessage": " ", "listStartRef": 5, "lastItemRef": 10, "itemCount": 1, "catalogItem": { "itemRef": 10, "itemDescription": "Ball Pens Black “ "department": 10, "itemCost": "002.90", "inStock": 0, "onOrder": 0 } }}
Example: Catalog Manager Inquire Catalog
© 2014 IBM Corporation. 133
Deploying a JSON web service in CICS
Steps to deploy a CICS JSON web service– Decide whether to start with a language structure (bottom-up approach) or from a JSON
schema (top-down approach)
– Run the JSON assistant batch job, supplying the appropriate artifacts to generate a WSBIND file
– Define and install a PIPELINE resource in CICS with an appropriate pipeline configuration file for JSON
– Copy the WSBIND file to the PIPELINE's web services directory, and perform a PIPELINE SCAN to generate the WEBSERVICE and URIMAP resources
– Your JSON web service is ready to process requests
© 2014 IBM Corporation. 134
CICS JSONAssistant
CICS JSONAssistant
JSON web services pipeline
© 2014 IBM Corporation. 135
Request-response and RESTful patterns
Request-response– Request message and a response message may differ
– Action to be performed is encoded in the message
– HTTP POST method only
– Similar to a remote procedure call style of interaction
RESTful– A single message serves as the request or response depending on the HTTP method
– Application uses the HTTP method to determine the action. Supported methods specified when running DFHJS2LS.
– Each service operates on a single type of resource. The resource can be identified using the URI.
© 2014 IBM Corporation. 136
DFHLS2JSLanguage structures
WSBind
JSON Schemas
Developing a JSON web service – Starting with a language structure
1.Run the DFHLS2JS batch tool with language structures for the request and response messages
2.Generates JSON schemas and a WSBind file.
3.Use the JSON schema to send appropriate messages from the client application
© 2014 IBM Corporation. 137
DFHJS2LSJSON
schemas
WSBIND
Language structures
Developing a JSON web service – Starting with a JSON schema
1.Create JSON schemas describing the messages to be sent and received by the client application.
2.Run the DFHJS2LS batch tool with your JSON schemas
3.Generates language structures and a wsbind file.
4.Use the language structures as the interface to your application or wrapper program
© 2014 IBM Corporation. 138
Mobile app Worklight HTTP adapter
CICS
LibertyJVM server
JAX-RS application
COBOL program
VSAM File
DB2
TSQ
JSON JSON
JSON web service with JAX-RS - Liberty
© 2014 IBM Corporation. 139
@Path("/catalog/items")public class Catalog {
@GET @Path(“/categories/{category}”) @Produces("application/json") public List<CatalogItem> getItemsByCategory ( @PathParam("category") String category) { .... application logic .... }
@PUT @Path(“{itemRef}”) @Produces("application/json") @Consumes(“application/json”) public CatalogItem updateCatalog( @PathParam("itemRef") String itemRef, CatalogItem updatedItem)
{... application logic ...
} }
Skeleton JAX-RS application
© 2014 IBM Corporation. 140
Interoperable with Worklight
CICS TG for z/OS V9.1 open beta - JSON Web Services
© 2014 IBM Corporation. 141
Typical concerns for mobile workloads in CICS
What is the impact to– Volume of work and data
– Change in usage patterns/peaks
Solutions– CICS Performance monitoring - CMF 110
– Vertical scaling – 64-bit.. VSCR
– Tagging of mobile transactions
• Monitoring, transaction tracking, entry points
– CICS Tools – PA, IA
© 2014 IBM Corporation. 142
Polling• Bad for back-end load• Bad for user data restrictions Only do something when you need to do work
Push notifications• Saves mainframe MIPS• Saves user data
Application design - notifications
© 2014 IBM Corporation. 143
CICS Application
CICS Event
Adapter
Business events from CICS TS V4.1 Assured events from CICS TS V4.2 System events from CICS TS V4.2
Push notifications from CICS
© 2014 IBM Corporation. 144
Agenda
© 2014 IBM Corporation. 145
Building hybrid application interfaces using JSPs, Servlets and PHP with CICS TS V5
Modern web interfaces
Liberty
Dynamic scripting - PHP
© 2014 IBM Corporation. 146
Modern web interfaces
Build rich web experiences for critical applications Build rich web experiences for critical applications
• A production-ready web container with CICS qualities of service
• Deployment of lightweight Java servlets and Java Server Pages (JSP)
• Improved performance through local access to CICS applications and data
• Rapid roll-out of interface updates through OSGi-packaged deployments
• Full integration with first-class applications and platforms
• Technology built on the WebSphere Application Server Liberty profile for compatibility
• A production-ready web container with CICS qualities of service
• Deployment of lightweight Java servlets and Java Server Pages (JSP)
• Improved performance through local access to CICS applications and data
• Rapid roll-out of interface updates through OSGi-packaged deployments
• Full integration with first-class applications and platforms
• Technology built on the WebSphere Application Server Liberty profile for compatibility
The web container enables…The web container enables…
CICS TS V5.1
Business Data
Business Data
JVM Server
Web ContainerWeb Container
Servlet/JSPServlet/JSP
COBOLApplicationCOBOL
Application
The best connector is no connector!
The best connector is no connector!
© 2014 IBM Corporation. 147
New in CICS TS V5.1 is a fast and lightweight production-ready Java web container that provides developers with the rich features of Java servlet and JavaServer Pages (JSP) specifications, combined with CICS qualities of service.
In CICS TS V5.1, significant performance improvements can be delivered, when compared with network-connected web interfaces, by co-locating rich web interfaces with fast local access to your existing CICS applications and data.
The Java web container builds on and extends the OSGi support of the underlying JVM server. This allows for rapid roll-out of interface updates. The web container also supports the deployment of web applications as part of a composite CICS application or platform. This includes full lifecycle management and support for policy thresholds.
This new Java web container is built on WebSphere Application Server Liberty profile technology, which enhances compatibility and portability of web applications and tools in either environment. A wide range of Java development tools can be used to build these web applications, including WebSphere Application Server Developer Tools for Eclipse, and Rational Developer for System z.
Notes …
© 2014 IBM Corporation. 148
The WebSphere® Application Server Liberty profile is a fast and lightweight Java™ OSGi web container that runs in a JVM server. Using the Liberty profile, developers can use the rich features of the Java Servlet and JavaServer Pages (JSP) specifications to write modern web applications for CICS®.
The Liberty profile helps developers quickly and easily develop and test applications in a web server with a minimum of configuration and a quick start up time. Developers can easily change and add features to the web server as they develop an application, and the quick startup time means that changes can quickly be tested. The Liberty profile can be used in combination with a wide range of free tools that comply with Java EE standards.
The Liberty profile is included with CICS to provide a runtime environment for Java web applications, such as servlets and JSP applications. The Liberty profile uses an OSGi framework and so fits in the existing JVM server architecture, combining the ability to develop modern web applications with a robust and scalable CICS JVM server environment.
Key benefits for running the Liberty profile include, but are not limited to, the following capabilities:
•Using Eclipse-based developer tools for broad tooling support, including WebSphere Application Server Developer Tools for Eclipse (WDT) and Rational® Developer for System z®.
•Modernizing presentation interfaces for CICS applications, from 3270 to web browser and RESTful clients.
•Packaging and deploying web applications from the CICS Explorer® SDK.
•Running the web presentation layer and business logic in the same JVM server.
Notes …
© 2014 IBM Corporation. 149
zFS
zOS
App
App
App
CICS
Liberty
JVM server
Deploy
Eclipse with CICS Explorer SDK & Liberty Tools
Use
CICSResources
Enab
le
Modern web interfaces – Develop, deploy, run
© 2014 IBM Corporation. 150
The CICS Explorer SDK contains examples to help you start developing servlets and JSP pages that can run in a Liberty profile instance in CICS. You can use the CICS bundle project that is supplied with each servlet example to deploy the application to a Liberty profile server that is running in CICS.
CICS loads and runs Java™ applications from zFS, so you must deploy your compiled applications to a directory in zFS that the CICS region can access.
The preferred method to deploy and install the applications is to use a CICS bundle project, because you can then use CICS facilities to manage those bundle project application resources. A CICS bundle project packages a set of plug-in projects, dynamic web projects, and CICS resources together that are logically deployed and managed as a single unit. You can use this method for simple web applications, such as the Hello World example, and more complex web applications, such as the other servlet examples.
An alternative method to deploy and install the applications is to use the Liberty deployment mechanism to deploy WAR files. You can export the dynamic web project as a WAR file and use FTP to copy the file to the drop-in directory of a Liberty profile server. You can use this method for simple web applications, such as the Hello World example.
Notes …
© 2014 IBM Corporation. 151
Liberty is...
A LIGHTWEIGHT
COMPOSABLE
FAST
of WebSphere Application Server
…'Profile'
© 2014 IBM Corporation. 152
Local. Lightweight. Fast. Web Applications run locally in CICS with direct access to CICS data and resources. No adapters, no converters, same address space.
Standard tools for developers. Familiar, industry standard tools with Eclipse and Dynamic Web Projects. CICS Explorer SDK enhances the deployment experience.
Portable. Presentation logic in Servlets, business logic in OSGi bundles. Servlets are portable across runtimes. Bundles provide componentization.
Modular design. Architected in a modular way using OSGi, the server only enables and starts the features required by the applications and configuration. If you're not using a feature, it won't start in your server runtime
Dynamic runtime. Features can be added to the server dynamically, using the OSGi framework, while the server is running, with zero downtime and server restarts. Similarly server and application config can be updated without the need to restart.
Eclipse based tools. The eclipse tools for the Liberty Profile are small and very well integrated with the Liberty Profile environment
Liberty benefits
© 2014 IBM Corporation. 153
Straight forward configuration needed to run Liberty as a Web-container with Servlet support.
Configuration by Exception
© 2014 IBM Corporation. 154
1) Create a JVM server resource in Explorer, CEDA, or CPSM.
Getting going with the Liberty samples
© 2014 IBM Corporation. 155
2) Configure the JVMProfile
- Copy the sample DFHWLP
- Check JAVA_HOME is correct.
- Uncomment the WLP_SERVER_HTTP_PORT and choose a unique port number.
- Point your JVM server definition at the new JVMProfile
© 2014 IBM Corporation. 156
3) Enable the JVM server
© 2014 IBM Corporation. 157
4) Liberty is running! (check the logs).
Server defaultServer created.
Launching defaultServer (wlp-1.0.0.20120428-1251/websphere-kernel_1.0.0) on IBM J9 VM, version pmz6470sr1-20120302_01 (SR1) (en_US)
[AUDIT ] CWWKE0001I: The server defaultServer has been launched.
[AUDIT ] CWWKG0028A: Processing included configuration resource: file:/u/ivanh/IYK3ZIH1/LIBERTY1/wlp/usr/servers/defaultServer/installedApps.xml
[AUDIT ] CWWKG0028A: Processing included configuration resource: file:/u/ivanh/IYK3ZIH1/LIBERTY1/wlp/usr/servers/defaultServer/cicsSecurity.xml
[AUDIT ] CWWKZ0058I: Monitoring dropins for applications.
[AUDIT ] CWWKF0011I: The server defaultServer is ready to run a smarter planet.
© 2014 IBM Corporation. 158
5) Install Eclipse 3.6.2 - preferably JEE version, but Classic will suffice.
http://www.eclipse.org/downloads/packages/release/helios/sr2
© 2014 IBM Corporation. 159
6) Install IBM CICS SDK for WebSphere Application Server Liberty profile v5.1
© 2014 IBM Corporation. 160
7) Create a Dynamic Web Project, or choose one of the Examples
© 2014 IBM Corporation. 161
8) Export the CICS bundle project
© 2014 IBM Corporation. 162
9) Pick a zFS location for the CICS bundle project
© 2014 IBM Corporation. 163
10) Create a CICS bundle definition to control the life-cycle of the Application
© 2014 IBM Corporation. 164
11) Install the CICS bundle definition
© 2014 IBM Corporation. 165
12) Run the application!
[AUDIT ] CWWKT0016I: Web application available (default_host): http://winmvs2c.hursley.ibm.com:27245/com.ibm.cics.server.example.wlp.tsq.web/
© 2014 IBM Corporation. 166
Java EE / CICS
Traditional CICS Dynamic Scripting
Str
ateg
ic V
alu
e, C
ost
, Co
mp
lexi
ty,
Usa
ge
Number of applications
Time to value is more important
than enduring value
Strategic, long-lived
applications
Enterprise Applications
Team/Project Applications Personal
Applications
Creating reports, dashboards and widgetsQuickly front ending existing applications Exposing CICS assets in mash-upsCreating productivity applicationsQuickly trying out new business ideas Introducing new IT staff to CICS via PHPDeveloping without a dedicated budgetPorting existing unmanaged PHP into CICS
Departmental Applications
Can be used to develop and deploy lightweight, ‘fit for purpose’, situational applications that meet departmental, team, project and personal requirements, e.g.:
Dynamic Scripting V2
© 2014 IBM Corporation. 167
What’s new in CICS TS Feature Pack for Dynamic Scripting V2?
New installation process– CICS TS Feature Pack for Dynamic Scripting V2.0 uses SMP/E for product installation
Use of CICS Liberty JVM server technology– You use OSGi technology rather than the Java classpath parameter to manage your
classes and packages
– You can use features of Java Platform, Enterprise Edition (Java EE)
– Applications that you develop with the Dynamic Scripting Feature Pack are managed by CICS in the same way as any other CICS application
– You can manage PHP applications as enterprise bundle architecture (EBA) files
PHP Engine– Provides a PHP engine for its PHP runtime environment
– Runs in the CICS Liberty JVM server
Discontinued functions– Does not use WebSphere® sMash technology
– Does not support the Groovy language
– Does not use Apache Ivy to manage the CICS Dynamic Scripting native modules
© 2014 IBM Corporation. 168
CICS TS Feature Pack for Dynamic Scripting V2
JVM
CICS Transaction Server
HTTP Request
HTTP Response
Liberty Server CICS Assets
JCICS API
PHPServlet PHPWrapperPHP
P8 Engine
Ext1 Ext2 Ext3 Extn
Web Container
DS FP V2.0 OSGI BundleApp1
App2
App3
App4
JVM
© 2014 IBM Corporation. 169
PHP sample scenario
Dynamic Scripting is already installed.
© 2014 IBM Corporation. 170
PHP sample wizard
© 2014 IBM Corporation. 171
Projects created
© 2014 IBM Corporation. 172
Projects created
Add this line to pass the bundle context into DS. Then DS knows where to find php files in the bundle. At the time of BUNDLE STARTED, DS will extract all files into a cache directory. And delete this cache directory when BUNDLE STOPPED.
© 2014 IBM Corporation. 173
Projects created
Import the package of com.ibm.cics.php, JCICS
© 2014 IBM Corporation. 174
Projects created
In web.xml, declare PHPServlet to handle PHP requests.<servlet-mapping> <servlet-name>PHPServlet</servlet-name> <url-pattern>*.php</url-pattern></servlet-mapping>
<servlet> <servlet-name>PHPServlet</servlet-name> <servlet-class>com.ibm.cics.php.PHPServlet</servlet-class> <multipart-config/></servlet>
© 2014 IBM Corporation. 175
Projects created
Default php configuration is described in php.ini
© 2014 IBM Corporation. 176
Projects created
The index.php will invoke JCICS API to display region’s APPLID in the page.
© 2014 IBM Corporation. 177
Projects created
This bundle will be installed into Liberty JVMServer DFH$PHP, provided in sample
group DFH$PHP.
© 2014 IBM Corporation. 178
Export the CICS bundle to zFS
© 2014 IBM Corporation. 179
Installing .php application into CICS
1. Install and enable sample group DFH$PHP. JVMServer DFH$PHP is started
The server.xml should have com.ibm.cics.php_1.0.0.jar in bundle repository
2.Define CICS bundle which points to the sample bundle exported.
3. Install and enable this bundle
4.Liberty will dump a message in dfhjvmout:
[AUDIT ] CWWKT0016I: Web application available (default_host): http://host:port/com.ibm.cics.server.examples.php.web/*
© 2014 IBM Corporation. 180
Agenda
© 2014 IBM Corporation. 181
Get more out of CICS
CICS Showcase
– Videos, podcasts, demonstrations, analyst Papers
CICSdev Community
– How-to blogs, hints and tips, best practices, Q&A forum
Learn to install CICS and configure, and use the latest features
– Use CICS Developer Trial to experiment with and for proof of concepts
– Write Java applications using CICS Explorer SDK
– Write applications using Liberty, test locally, and run in CICS
– Customise and extend Eclipse and CICS Explorer
– Try one of the 60+ free CICS SupportPacs
• Such as the IBM GENAPP mobile application sample for CICS TS that has examples of extending existing applications for SOA and mobile
Take one of the new CICS certifications
– IBM Certified System Programmer - CICS Transaction Server V5.2 for z/OS
– IBM Certified Application Developer - CICS Transaction Server V5.2 for z/OS
© 2014 IBM Corporation. 182
Get more out of CICS
CICS services and workshops from IBM Lab services– Health checks, Upgrading, Security and governance, Performance optimization,
Systems Management
– Web services, Integration and connectivity, Event processing, CICS Cloud
© 2014 IBM Corporation. 183
Adopt best practices from recent Redbooks
CICS
– An Architect's Guide to New Java Workloads in CICS – Aug 2014 draft
– IBM CICS Performance Series: FiTeq Authenticator Benchmark - Aug 2014
– The Complete Guide to CICS Transaction Gateway Volume 1 - Aug 2014
– IBM System z in a Mobile World Providing Secure and Timely Mobile Access - May 2014
– Managing Enterprise-wide Deployment of IBM Explorer for z/OS or CICS Explorer - Jan 2014
– Implementing CICS JSON web services for mobile applications - Nov 2013
– Event Processing with CICS – Aug 2013
– CICS and the JVM server: Developing and Deploying Java Applications – Jun 2013
– IBM CICS Performance Series: A Processor Usage Study of Ways into CICS - Jan 2013
– CICS Performance Series: CICS and VSAM RLS – Dec 2012
– Architects Guide to CICS on System z - Nov 2012
– CICS Java Application Development and Deployment - Oct 2012
– Transaction Processing: Past, Present, and Future - Sep 2012
– IBM CICS Performance Series: CICS, DB2, and Thread Safety - Aug 2012
– Threadsafe Considerations for CICS - Apr 2012
– IBM CICS Performance Series: CICS TS V4.2 and Java Performance - Mar 2012
– CICS and SOA: Architecture and Integration Choices - Mar 2012
– IBM CICS System Management: New Features in Version 4.2 - Jan 2012
– CICS Transaction Server from Start to Finish - Dec 2011
Tools
– Modernize Your Application Infrastructure with IBM CICS Tools V5.1 - Jun
– IBM Problem Determination Tools for z/OS - Jan
– Implementation of Popular Business Solutions with CICS Tools - Jan 2012
– Using CICS Transaction Gateway, High Availability, and the CICS Explorer - Nov 2011
© 2014 IBM Corporation. 184
Submit your requirements directly with development teams and track status
– Searching
– Public or private
– Watch lists
– Email notifications
Collaborate with the community
– Groups
– Comment
– Vote
ibm.com/developerworks/rfe/websphere
Have your say
© 2014 IBM Corporation. 185
Help us to ensure CICS works for you
Design Partnerships– Work with CICS development team and other customers on user-centered design
CICS beta program– Includes pre-release versions of CICS TS, CICS TG and tools
– Download code and / or information center
– Learn about and use new features
– Direct feedback to CICS development team on usability, deployability, performance, ...
– Test in your unique environments for quicker adopt of new technology
– Not for production use
CICS early test program– For Independent Software Vendors &
Business Partners
– Prepare complimentary products and servicesfor “day one” support
+47%
+30%
+157%
© 2014 IBM Corporation. 186
Be inspired by others
Customer references
– Garanti Bank better manages their capacity and reduce costs
– University of Florida develops a mobile web application
– HDI Gerling enhances their customer services
– DATEV eG drives improved performance and customer satisfaction
– Kela improves service delivery for Finland’s citizens
– United States Utility Provider accelerates processing & smart meters
– Indiana Farm Bureau Insurance cultivates new business services
– Large Eastern European Energy Company taps business opportunities
– KPT/CPT integrates mainframe with a cloud
– Leading Card Payment Company improves time-to-market
See if IBM tools or IBM Business Partner Products can help
– Over 150 for CICS TS V5
© 2014 IBM Corporation. 187