© 2014 IBM Corporation
Integrating CICS with IBM Worklight to Deliver Modern Mobile Applications that Extend BusinessA practical guide….Andy Armstrong- CICS System Test Senior InventorSession 1474
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.
Agenda
1. Build a mobile application from nothing to everything a based upon the CICS Catalog Manager Sample and Worklight
2. Setup CICS, demo 3270 interface
3. Setup Worklight project
4. Run on iPhone, iPad & Android
5. In 60 minutes….
What are we going to do…
Create a mobile application based upon EGUI Catalog Manager
Dependant on the WS component of the Catalog Manager
From nothing…to running on my iPad / android
High level topology
6
The Catalog Manager Sample CICS Topology
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Alter DFH$EXWS ResourcesPipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy adapter
Deploy to browser
Deploy to iPhone
Run
8
Generate VSAM Files
EX
EXMPCONF
EXMPCAT
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Alter DFH$EXWS ResourcesPipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy adapter
Deploy to browser
Deploy to iPhone
Run
10
Alter file defs
Install DFH$EXBS groupFilesMapsetsProgramsTransactions
Close filesAlter DSN to point to filesDefined in first stepOpen files again
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Alter DFH$EXWS ResourcesPipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy to iPhone
Run
12
Alter TCPIPs and Pipelines
Install program + transactionCopy Pipelines and TCPIPs for alteringInstall TCPIPs and Pipelines
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Install group DFH$EXBSAlter DFH$EXWS Resources
Pipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy adapter
Deploy to browser
Deploy to iPhone
Run
14
Testing 3270 interface
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Install group DFH$EXBSAlter DFH$EXWS Resources
Pipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy adapter
Deploy to browser
Deploy to iPhone
Run
16
Get WSDL From USS
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Install group DFH$EXBSAlter DFH$EXWS Resources
Pipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy adapter
Deploy to browser
Deploy to iPhone
Run
18
Make new Worklight project
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Install group DFH$EXBSAlter DFH$EXWS Resources
Pipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy adapter
Deploy to browser
Deploy to iPhone
Run
20
Creating iPhone and Android Environments
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Install group DFH$EXBSAlter DFH$EXWS Resources
Pipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy adapter
Deploy to browser
Deploy to iPhone
Run
22
Create WAF Component part 1
23
Create WAF Component part 2
24
Create WAF Component part 3
Associate input variable itemRequiredReference with a new Global variableproductID
25
Create WAF Component part 4
Bind home screen productID variableto our Home dataObject
26
Create WAF Component part 5
Add a new Product Details view to show specific product detail
27
Create WAF Component part 6
Pick elements to be shown fromthe response of the service inthe new view
28
Create WAF Component part 7
Make a button to allow transition to our new Product Details viewAlter the newly generated view here
29
Create WAF Component part 8
Bind the dataObject which contains our product ID toour global variable so ourservice invocation can pass itTo CICS as an input
Invocation of service happens on transition
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Install group DFH$EXBSAlter DFH$EXWS Resources
Pipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy adapter
Deploy to browser
Deploy to iPhone
Run
31
Deploy Adapter and browser
Deploy adapter
Deploy browser
32
Test adapter & browser deployment
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Install group DFH$EXBSAlter DFH$EXWS Resources
Pipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy adapter
Deploy to browser
Deploy to iPhone
Run
34
Deploy to iPhone
Build all environments
Run Xcode project
35
Deploy to iPhone part 2
Press play button -> After plugging in the iPhone!
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Install group DFH$EXBSAlter DFH$EXWS Resources
Pipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy adapter
Deploy to browser
Deploy to iPhone
Run
37
Run
The Steps
Generate VSAM EXMPCONF
Generate VSAM EXMPCAT
Alter group DFH$EXBSFILE Definitions
Install group DFH$EXBSAlter DFH$EXWS Resources
Pipeline DefinitionTCPIPS Definition
Test 3270 interface
Get WSDL from USS
Make new Worklight project
Create iPhone environmentCreate Android environment
Create WAF component
Deploy adapter
Deploy to browser
Deploy to iPhone
Run
39
You can follow this yourself…
Why not repeat this process for yourself?
Slides are available and can be followed
Demonstrate to the business the power of CICS & Worklight
WebServices in CICS - XML
If you want to do this for your own programs instead of the Catalog Manager CICS Sample…
1. DFHLS2WS• Pass PGMNAME• REQMEM copybook / RESPMEM copybook• URI• Generates a WSDL and a WSBIND.
2. Follow the same directions we went through
Real users speaking about CICS…
3072 CPSM Optimized Workload RoutingWeds: 14.15, Delfino 4005
2880: Tales from the trenchesWeds: 15.45, Delfino 4005
3073: z/OS & CICS Consolidation projectWeds: 13.00, Delfino 4005
2436: Modernizing the mainframeThurs: 10.30, Delfino 4005
1966: Best practices for CICS SOA Connectivity Weds: 13.00, Delfino 4102
Follow us…
CICSbuzzibm.com/cics/news
CICS Hursleyibmcics@ibm_cicsibmcics CICS Hursley
Visit us at…
Lost?
System z Software Solutions SuiteToscana 3609Monday 11:00 – 18:00Tuesday & Wednesday 8:00 – 18:00Thursday 8:00 – 16:00Book your appointment at ibm.biz/zsolsuitePlus Lunch & Learns 12:00 – 13:00 daily – book a slot!
System z PedsInfrastructure Matters zone of the EXPOMonday 10:00 – 19:30Tuesday 10:00 – 19:30Wednesday 10:00 – 14:30Pop by for a chat about CICS!
Dazed and confused about CICS or z at Impact?Visit the zConcierge - System z Software Solutions Suite - Toscana 3609
Generation z
No sales pitches, no marketing, just drinks with other Generation z’s19:30 Wednesday April 30 Public House, The Venetian
[noun] those with under 10 years experience on the mainframe
Follow us:
Join us:
Meet us:
@ibmgenz
System zStack Exchange
Build a community of like-minded people
Get the lowdown on what’s going on
Win a CICS Workshop!
Collecting CICS session stickers for your entry?
Don’t forget to
pick one up
before you go!
© 2014 IBM Corporation
Questions?
© 2014 IBM Corporation
Thank you
Don’t forget to submit your Impact session and speaker feedback! Your feedback is very important to us – we use it to continually improve the conference.
Use the Conference Mobile App or the online Agenda Builder to quickly submit your survey• Navigate to “Surveys” to see a view of surveys for sessions you’ve attended
47
We Value Your Feedback
This was Session 1474
Legal Disclaimer
• © IBM Corporation 2014. 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.
• IBM, and the IBM logo, are trademarks of International Business Machines Corporation in the United States, other countries, or both.
Top Related