First published on MSDN on Nov 14, 2018
Authored by Steve Read from AzureCAT
In a previous blog post I outlined the steps to set up Micro Focus Enterprise Server 4.0 and Enterprise Developer 4.0 in Azure and Azure Stack. As a follow up to that, I’d like to show you how to set up one of the sample applications that comes with Enterprise Developer, the CICS BankDemo application. If you are not familiar with the acronym CICS, it stands for (Customer Information Control System). It is the application / transaction platform for many of the online mainframe applications. The BankDemo application is great for learning how Micro Focus Enterprise Server and Developer operates and how to manage and deploy an actual application complete with green screen terminals. You will be using the Enterprise Developer VM we created in the earlier blog post. Keep in mind that Enterprise Developer has a complete instance of Enterprise Server on it for Dev/Test purposes. This is the instance of Enterprise Server you will be using.
Ready, let’s get started.
First, A word about the databases
Enterprise Server requires a database for the management of CICS Regions. The BankDemo application also uses a SQL Server Database – the BANKDEMO database. For this walk through, you will use SQL Express for both databases. You will need to download and install it on the Enterprise Developer machine. When installing, select the basic installation.
We will also need SQL Server Management Studio (SSMS) for managing the databases and running a T-SQL script. Download and install it on the Enterprise Developer machine.
Now that you have that squared away, here are the Steps:
Configure the Windows Environment
You may recall that on the last blog post you installed Enterprise Developer 4.0 on the VM. Now you need to configure the instance of Enterprise Server that comes with it. Before you do this, you need to make sure you have some additional Windows features installed.
Configure the local system Account for SQL Server
There are some Enterprise Server processes that need to be able to login to SQL Server and create databases and other objects. Since these processes use the local system account, you need to give sysadmin authority to that account.
Create the Bank Demo Database and all its objects
Verify the Database Tables and Objects have been created.
Now, let’s build the Application in Enterprise Developer
Deploy the BANKDEMO application into the Region database
Create the BANKDEMO Region in Enterprise Administrator for .NET
Create XA Resource Definitions
Start the BANKDEMO Region
Create a Listener
You need to create a listener for the TN3270 sessions that will access the BANKDEMO application.
Configure Rumba to access the BANKDEMO application
The final thing you need to do is configure a 3270 session via Rumba (a 3270 emulator) to access the BANKDEMO application via the Listener we just created.
Congratulations, you are now running a CICS application in Azure using Micro Focus Enterprise Server. Next, we will look at running the Enterprise Server Hello World Docker Demonstration.
Send me an email at firstname.lastname@example.org if you have any questions.
"Hands-on solutions, with our heads in the Cloud!"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.