Chapter 1: Overview

This chapter explains Mainframe Subsystem Support.

What is Mainframe Subsystem Support?

Mainframe Subsystem Support (MSS) enables you to maintain and run CICS, IMS and JCL applications. These applications have been migrated from the mainframe and now run under reUZE Server.

You use reUZE Developer for maintaining your CICS, IMS and JCL applications. If you are working with CICS, you can edit and compile BMS maps, and also compile the CICS programs, using the Micro Focus CICS preprocessor, which translates the CICS commands into native code. If you are working with IMS, you can edit and generate your DBDs, MFSs and PSBs, and compile your IMS programs. If you are working with JCL, you can edit and create JCL, and build projects containing the programs that the JCL references. When the application is ready to run, you then deploy it to reUZE Server.

You use reUZE Server for running your CICS, IMS and JCL applications, for testing and for production use. reUZE Server also provides facilities for monitoring and controlling your applications and for other tasks such as maintaining CICS resource definitions and viewing the system catalog and spool queues.

Migrating the Application

System integrators are typically responsible for migrating the CICS, IMS and JCL applications from the mainframe. They download the applications, and leave you with a working application, running under reUZE Server.

In some cases the system integrators might use Micro Focus Mainframe Express to migrate your CICS or IMS applications. They replace one mainframe-only language or technology at a time, and make sure that the application works correctly on Mainframe Express before continuing. For example, if your application includes Assembler and PL/I modules, they might replace the Assembler modules with COBOL modules. They would then recompile and test the application thoroughly before moving on to replace the PL/I modules.

When the system integrators have got the application up and running under reUZE Server, they hand over to you to maintain and develop the applications in reUZE Developer, and to run the applications under reUZE Server

This book assumes that your application has been migrated from the mainframe, and that it runs successfully under reUZE Server.

Developing a CICS Application

When the CICS application has been migrated from the mainframe to the PC, you maintain and develop the application as follows:

  1. Create a project comprising all the parts of the application, such as the COBOL source and BMS mapsets. This also involves specifying the appropriate project and build properties.
  2. If you need to edit any BMS mapsets used by your client program, do this in Net Express.

    If your client program uses a graphical or Web interface, use the IBM External Call Interface (ECI) to communicate with the CICS application.

  3. Compile the CICS COBOL programs and BMS mapsets.
  4. Configure an enterprise server to run the CICS application. This involves, among other things, adding a listener for CICS requests and setting up search paths to locate your application files, the CICS resource definitions and so on.
  5. Run the application in reUZE Server and check that it is working correctly. Use the facilities for monitoring CICS applications within reUZE Server, as necesarry.
  6. Debug the application in your COBOL development system IDE.

Tutorial

BMS Screen Painter

If your application uses Basic Mapping Support (BMS) mapsets, which provide the user interface, you might need to update these. The BMS Screen Painter in Net Express enables you to do this.

IBM External Call Interface (ECI)

The client program for your CICS application need not use BMS. You can have a graphical/ Web user interface that is written in Java or runs under Microsoft .NET. In this case you use the IBM External Call Interface (ECI) to communicate with the CICS application.

You use ECI calls in your client program to communicate with the CICS application running under Enterprise Server. The ECI calls from your client program are passed through the IBM CICS Transaction Gateway to reUZE Server.

For an example of using an ECI client, see the chapter Legacy Extension with MSS in your Mainframe Subsystem Support Configuration and Administration Guide.

CICS Application Programming Interface (API)

A large subset of the command-level API of IBM CICS is supported and provides the expected behavior for programs written using this syntax. Most syntax that is not functionally supported is recognized so that programs using these commands and operands will compile without change. Much of the CICS system programming interface is also supported; some CICS APIs in MSS return fixed, default values, rather than values that the mainframe might return.

CICS API

File and Database Support

Data access is supported for data in emulated VSAM files, IMS databases, and relational database systems.

VSAM file emulation is supported for ESDS and RRDS files and KSDS data sets, which can also be shared with non-CICS (batch) applications. Fileshare provides data integrity for VSAM emulation for application data files, temporary storage and transient data queues. Alternate indexes are supported for application data files. Emulated VSAM files use standard Micro Focus file formats.

Support is provided to the XA-compliant SQL databases from Oracle and IBM DB2/UDB.

CICS Precompiler

The CICS command syntax is recognized by a preprocessor, which runs as part of the program compilation step. The preprocessor scans the program source for EXEC CICS commands and replaces them with native statements for the language in which the program is written.

You invoke the precompiler, ECM (External Compiler Module), by using the Compiler directive CICSECM().

Developing an IMS Application

When the IMS application has been migrated from the mainframe to the PC, you maintain and develop the application as follows:

  1. Create a project comprising all the parts of the application, such as the COBOL source DBD, MFS and PSB files. This also involves specifying the appropriate project and build properties.
  2. Compile the CICS COBOL programs and generate the DBD, MFS and PSB files.
  3. Configure an enterprise server to run the IMS application. This involves, among other things, setting up search paths to locate your application files, and specifying the message processing regions in which your application will run.
  4. Run the application in reUZE Server and check that it is working correctly. Use the facilities for monitoring IMS applications within reUZE Server, as necessary.
  5. Debug the application in your COBOL development system IDE.

Related Topics

Developing a JCL Application

When the JCL application has been migrated from the mainframe to the PC, you maintain and develop the application as follows:

  1. Create a project comprising all the parts of the application, such as the COBOL source JCL files. This also involves specifying the appropriate project and build properties.
  2. Compile the COBOL programs.
  3. Configure an enterprise server to run the JCL application. This involves, among other things, setting up search paths to locate your application files, the system catalog and so on.
  4. Run the application in reUZE Server and check that it is working correctly. Use the facilities for monitoring JCL applications within reUZE Server, as necessary.
  5. Debug the application using reUZE Developer.

File and database support is the same as for CICS applications.

Tutorial

Configuring reUZE Server to Run the Application

When the CICS, IMS or JCL application has been compiled, you run it under reUZE Server. If you have CICS, IMS or JCL applications already running under an enterprise server, you might be able to use that enterprise server. Alternatively, if you want to run the application on your own machine under your own enterprise server, you need to configure an enterprise server for running CICS, IMS or JCL applications.

The Enterprise Server Administration console and Enterprise Server Monitoring and Control (ESMAC), provide facilities to do this. Among other tasks, you need to:

For more information see the chapters Administering CICS-enabled Enterprise Servers , Administering JCL-enabled Enterprise Servers Administering IMS-enabled Enterprise Servers in your Mainframe Subsystem Support Configuration and Administration Guide.

CICS, IMS and JCL Resources

The resources that your CICS application uses need to be defined, so that you have a CICS environment in which you can run and debug your applications. The resource definitions are set up as part of the migration of your application from the mainframe. They are stored in a Resource Definition file called dfhdrdat.

IMS and JCL applications also use CICS-style resource definitions, defined in the dfhdrdat file.

The resource definitions include:

Data Conversion

CICS applications on the mainframe run with an EBCDIC character set. PCs use an ANSI character set. When CICS applications are migrated from the mainframe, the majority of them are converted to use ANSI or ASCII, and they run under Enterprise Server using ANSI or ASCII. However, there are some cases where an application needs to continue to use EBCDIC on the server, while the client program uses ANSI or ASCII. In these cases, you need to set up data conversion macros to ensure the data is converted.

For details see the section Data Conversion in the chapter Legacy Extension with MSS in your Mainframe Subsystem Support Configuration and Administration Guide

CICS Intersystem Communication

CICS applications can operate over networks in client/server, cooperative, and distributed processing modes.

The supported CICS intersystem communication facilities include:

For more information about using these facilities, see the chapter Legacy Extension with MSS in your Mainframe Subsystem Support Configuration and Administration Guide.

Terminal Emulation

The user interface to CICS and IMS applications from the PC is often through 3270 terminal emulators. The 3270 terminal emulators enable the CICS and IMS applications to display input and output screens on the PC using 3270 data streams and to receive input from the PC. It is intended for programs that use BMS or build 3270 data streams. Emulation is provided for 3270 models 2 through 5.

We recommend that you use a Telnet 3270 (TN3270) client. The keyboard mapping and support for character level attributes is a property of the third-party TN3270 client you choose.

When you start a 3270 terminal emulator, it is separate from the enterprise server that runs the CICS or IMS application. Terminals do not need to be predefined. This means terminal emulation characteristics can be specified at terminal startup.

reUZE Server needs to have a listener for requests from 3270 terminal emulators. You add this as part of configuring the enterprise server that will run your CICS or IMS application.


Copyright © 2008 Micro Focus (IP) Ltd. All rights reserved.