Ims explorer for development

42
© 2014 IBM Corporation IMS user interfaces IMS ISPF IMS Explorer for Administration (Web Browser) Administrators Developers IMS Explorer for Development (Eclipse)

description

IMS explorer presentation

Transcript of Ims explorer for development

Page 1: Ims explorer for development

© 2014 IBM Corporation

IMS user interfaces

IMSISPF

IMS Explorer for Administration (Web Browser)

AdministratorsDevelopers

IMS Explorer for Development (Eclipse)

Page 2: Ims explorer for development

© 2014 IBM Corporation2

IMS Explorer for Development

Page 3: Ims explorer for development

© 2014 IBM Corporation3

IMS Explorer for Development

Page 4: Ims explorer for development

© 2014 IBM Corporation4

IMS Explorer for Development

Page 5: Ims explorer for development

© 2014 IBM Corporation5

IMS Explorer for Development

Page 6: Ims explorer for development

© 2014 IBM Corporation

DEMO TIME

Page 7: Ims explorer for development

© 2014 IBM Corporation

Using IMS Mobile Feature PackStep by step instructions

Page 8: Ims explorer for development

© 2014 IBM Corporation

Cloud-based Services Enterprise

SystemsIntegration

EnterpriseApplications

EnterpriseData

On-Premise Enterprise APIs Enterprise Transaction Processing

IBM WebSphere

Liberty z/OS Connect

New

CICS,IMS

Batch,WAS

• IBM WebSphere Liberty z/OS Connect – Shipped with WAS, CICS, and IMS• Designed for z/OS – builds on z/OS qualities of service• Unifies z/OS connectors – a common solutions for mobile, cloud, and web• Simplified integration – Hide complexity of connecting to z/OS using REST• Discover z/OS assets – Enhance user experience with System of Record

Cloud APIs

Mobile-Optimized APIs

Systems of Engagement Systems of Record

Page 9: Ims explorer for development

© 2014 IBM Corporation

Open the IMS Mobile perspective

Page 10: Ims explorer for development

© 2014 IBM Corporation

Open the IMS Mobile perspective

Page 11: Ims explorer for development

© 2014 IBM Corporation

This is the IMS Mobile perspective

Page 12: Ims explorer for development

© 2014 IBM Corporation

Create message metadata

Navigate to the Transactions folder

Right click and select “Create message metadata”

Page 13: Ims explorer for development

© 2014 IBM Corporation

Create message metadata

Set the TRANCODE of the transaction you want to expose as a mobile service.

Then hit “OK”.

Page 14: Ims explorer for development

© 2014 IBM Corporation

Define the messages (Input/Output)

Click on “Data Structures”

Click the “Import data structure” button.

Page 15: Ims explorer for development

© 2014 IBM Corporation

Define the messages (Input/Output)

1. Click the “Browse” button and navigate to the location of the COBOL or PL/I data structure for your transaction.

2. Select the data structure name from the drop down list.

3. Click the “Add to Import List” button.

4. Click the “Finish” button.

Page 16: Ims explorer for development

© 2014 IBM Corporation

Define the messages (Input/Output)

You can modify the names of the fields of the data structure you imported. The new manes will be used in the mobile service.

Just click on the field and then click on the “Edit” button and change the value.

Page 17: Ims explorer for development

© 2014 IBM Corporation

Define the messages (Input/Output)

Enter the new name you want to use for the field and hit “Finish”.

Notice that the original field’s name cannot be modified.

Page 18: Ims explorer for development

© 2014 IBM Corporation

Define the messages (Input/Output)

Now you can see the new name of that field.

Repeat for other fields if you wish.

Page 19: Ims explorer for development

© 2014 IBM Corporation

Define the messages (Input/Output)

Now import the data structures for the “Output Messages”.

The same steps as for “Input Messages”.

The only difference is that you choose the output data structures in the “Import Input or Output Message Data Structures” window.

Page 20: Ims explorer for development

© 2014 IBM Corporation

Save your progress

Save the work we have done so far by clicking on the “Save” button or hitting (Ctrl+S) on the keyboard.

Page 21: Ims explorer for development

© 2014 IBM Corporation

Create a connection profile

The connection profile is used to specify the location of the IMS datastore that will run the transaction for our mobile service

Right click on IMS Connection profiles

Click on “Create an IMS connection profile”

Page 22: Ims explorer for development

© 2014 IBM Corporation

Fill in the connection profile information

Enter the required information and then hit “Finish”.

Page 23: Ims explorer for development

© 2014 IBM Corporation

Create a connection profile - complete

We have a new connection profile

Page 24: Ims explorer for development

© 2014 IBM Corporation

Create an IMS interactions properties profile

The interactions properties profile contains the name of the destination IMS system as well as other information related to the interaction with the IMS system

Right click on “IMS interaction properties profiles”

Click on “Create an IMS interaction properties profile”

Page 25: Ims explorer for development

© 2014 IBM Corporation

Fill in the interaction properties profile informationEnter the required information and then hit “Finish”.

Page 26: Ims explorer for development

© 2014 IBM Corporation

Create an interaction properties profile - complete

We have a new interaction properties profile

Page 27: Ims explorer for development

© 2014 IBM Corporation

Create the IMS Mobile service

We have all the info we need to create the mobile service for the IMS transaction using all the definitions we created earlier.

Right click on “Services”

Click on “Create an IMS mobile transaction service”

Page 28: Ims explorer for development

© 2014 IBM Corporation

Choose the definitions we created before

Fill in the required fields:

Page 29: Ims explorer for development

© 2014 IBM Corporation

Choose the definitions we created before

Click the “Browse” button to select the transaction and choose the input and output message data structures. Click “OK” when done.

Page 30: Ims explorer for development

© 2014 IBM Corporation

Choose the definitions we created before

Select the interaction properties profile.

Remove any connections you do not want to use for this IMS Mobile service.

Page 31: Ims explorer for development

© 2014 IBM Corporation

Choose the definitions we created before

Click “Finish”

Page 32: Ims explorer for development

© 2014 IBM Corporation

Create the IMS Mobile service - complete

We have a new IMS Mobile service

Page 33: Ims explorer for development

© 2014 IBM Corporation

Create a new IMS Transaction Service Test

The test builds an application that allows us to test the service we have just created.

Page 34: Ims explorer for development

© 2014 IBM Corporation

Select the project type

Select IMS Explorer Transaction Service Test Case and click Next.

Page 35: Ims explorer for development

© 2014 IBM Corporation

Create a new project or select an existing one

Page 36: Ims explorer for development

© 2014 IBM Corporation

Specify the service you want to test

The server name is the IMS Gateway Server hosting the IMS Mobile service we created.

Page 37: Ims explorer for development

© 2014 IBM Corporation

Run the new testcase

Right click the test case name and select “Run As” then click “IMS Transaction”

Page 38: Ims explorer for development

© 2014 IBM Corporation

Run the new testcase

Perform the one time setup for the test case launcher.

Click the “Project” tab and choose the test case project from the drop down list.

Click “Run”

Page 39: Ims explorer for development

© 2014 IBM Corporation

Run the new testcase

Double click the box for “Field value,” enter the value you want to send to the IMS transaction, and click “OK”.

Page 40: Ims explorer for development

© 2014 IBM Corporation

Run the new testcase

Click the Run button (green circle with a white arrow)

Enter your security credentials to access the IMS Mobile Gateway server

Page 41: Ims explorer for development

© 2014 IBM Corporation

Run the new testcase - complete

Notice the output in the output message section of the testcase window.

This particular transaction was defined with the option “EDIT=UC” to request that IMS transform the input message to uppercase before it is enqueued.

The transaction sends the input message back as the output message.

Page 42: Ims explorer for development

© 2014 IBM Corporation

That’s it – very simple

THE END