ibm impact session 1474 integrating cics with worklight

49
© 2014 IBM Corporation Integrating CICS with IBM Worklight to Deliver Modern Mobile Applications that Extend Business A practical guide…. Andy Armstrong- CICS System Test Senior Inventor Session 1474

Upload: nickgarrod

Post on 11-Jun-2015

351 views

Category:

Technology


3 download

DESCRIPTION

Enterprise systems offer integrity, rollback, durability and thousands of other characteristics that make your business run without error 24/7, but enterprise systems also have a reputation of 'hiding' their data from the mobile platform. This session will demonstrate how to integrate Worklight, IBM's mobile platform for application development and application management with CICS allowing your business to expose your 'hidden' data to the mobile platform so that your business can start to exploit its hidden value. Learn why connecting CICS to a mobile world is essential, and how it could be done using IBM's Mobile Platform. Learn how the latest additions to CICS makes it easier and an even more powerful place to handle mobile related workload. Learn with some examples how to connect CICS up to Worklight to allow CICS to service Mobile Workload

TRANSCRIPT

Page 1: IBM Impact session 1474   integrating cics with worklight

© 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

Page 2: IBM Impact session 1474   integrating cics with worklight

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.

Page 3: IBM Impact session 1474   integrating cics with worklight

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….

Page 4: IBM Impact session 1474   integrating cics with worklight

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

Page 5: IBM Impact session 1474   integrating cics with worklight

High level topology

Page 6: IBM Impact session 1474   integrating cics with worklight

6

The Catalog Manager Sample CICS Topology

Page 7: IBM Impact session 1474   integrating cics with worklight

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

Page 8: IBM Impact session 1474   integrating cics with worklight

8

Generate VSAM Files

EX

EXMPCONF

EXMPCAT

Page 9: IBM Impact session 1474   integrating cics with worklight

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

Page 10: IBM Impact session 1474   integrating cics with worklight

10

Alter file defs

Install DFH$EXBS groupFilesMapsetsProgramsTransactions

Close filesAlter DSN to point to filesDefined in first stepOpen files again

Page 11: IBM Impact session 1474   integrating cics with worklight

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

Page 12: IBM Impact session 1474   integrating cics with worklight

12

Alter TCPIPs and Pipelines

Install program + transactionCopy Pipelines and TCPIPs for alteringInstall TCPIPs and Pipelines

Page 13: IBM Impact session 1474   integrating cics with worklight

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

Page 14: IBM Impact session 1474   integrating cics with worklight

14

Testing 3270 interface

Page 15: IBM Impact session 1474   integrating cics with worklight

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

Page 16: IBM Impact session 1474   integrating cics with worklight

16

Get WSDL From USS

Page 17: IBM Impact session 1474   integrating cics with worklight

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

Page 18: IBM Impact session 1474   integrating cics with worklight

18

Make new Worklight project

Page 19: IBM Impact session 1474   integrating cics with worklight

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

Page 20: IBM Impact session 1474   integrating cics with worklight

20

Creating iPhone and Android Environments

Page 21: IBM Impact session 1474   integrating cics with worklight

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

Page 22: IBM Impact session 1474   integrating cics with worklight

22

Create WAF Component part 1

Page 23: IBM Impact session 1474   integrating cics with worklight

23

Create WAF Component part 2

Page 24: IBM Impact session 1474   integrating cics with worklight

24

Create WAF Component part 3

Associate input variable itemRequiredReference with a new Global variableproductID

Page 25: IBM Impact session 1474   integrating cics with worklight

25

Create WAF Component part 4

Bind home screen productID variableto our Home dataObject

Page 26: IBM Impact session 1474   integrating cics with worklight

26

Create WAF Component part 5

Add a new Product Details view to show specific product detail

Page 27: IBM Impact session 1474   integrating cics with worklight

27

Create WAF Component part 6

Pick elements to be shown fromthe response of the service inthe new view

Page 28: IBM Impact session 1474   integrating cics with worklight

28

Create WAF Component part 7

Make a button to allow transition to our new Product Details viewAlter the newly generated view here

Page 29: IBM Impact session 1474   integrating cics with worklight

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

Page 30: IBM Impact session 1474   integrating cics with worklight

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

Page 31: IBM Impact session 1474   integrating cics with worklight

31

Deploy Adapter and browser

Deploy adapter

Deploy browser

Page 32: IBM Impact session 1474   integrating cics with worklight

32

Test adapter & browser deployment

Page 33: IBM Impact session 1474   integrating cics with worklight

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

Page 34: IBM Impact session 1474   integrating cics with worklight

34

Deploy to iPhone

Build all environments

Run Xcode project

Page 35: IBM Impact session 1474   integrating cics with worklight

35

Deploy to iPhone part 2

Press play button -> After plugging in the iPhone!

Page 36: IBM Impact session 1474   integrating cics with worklight

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

Page 37: IBM Impact session 1474   integrating cics with worklight

37

Run

Page 38: IBM Impact session 1474   integrating cics with worklight

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

Page 39: IBM Impact session 1474   integrating cics with worklight

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

Page 40: IBM Impact session 1474   integrating cics with 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

Page 41: IBM Impact session 1474   integrating cics with worklight

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

Page 42: IBM Impact session 1474   integrating cics with worklight

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

Page 43: IBM Impact session 1474   integrating cics with worklight

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

Page 44: IBM Impact session 1474   integrating cics with worklight

Win a CICS Workshop!

Collecting CICS session stickers for your entry?

Don’t forget to

pick one up

before you go!

Page 45: IBM Impact session 1474   integrating cics with worklight

© 2014 IBM Corporation

Questions?

Page 46: IBM Impact session 1474   integrating cics with worklight

© 2014 IBM Corporation

Thank you

Page 47: IBM Impact session 1474   integrating cics with worklight

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

Page 48: IBM Impact session 1474   integrating cics with worklight

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.

Page 49: IBM Impact session 1474   integrating cics with worklight