Documentos de Académico
Documentos de Profesional
Documentos de Cultura
*HWWLQJ6WDUWHG
Issue 1a, June 2004
0DLQIUDPH([SUHVV
(QWHUSULVH(GLWLRQ
JHWWLQJVWDUWHGZLWK
PDLQIUDPHH[SUHVV
HQWHUSULVHHGLWLRQ
20040726122421
Table of Contents
Welcome! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Mainframe Express . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
Analysis Option. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
AppMaster Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AppMaster Builder Customizer . . . . . . . . . . . . . . . . . . . . . . . . . .
12
13
Component Generator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13
15
16
20
Legacy Extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Component Generator . . . . . . . . . . . . . . . . . . . . . . . . . . .
24
24
New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
New Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29
Benefits of Integration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29
30
Workbench Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
32
APS Users. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32
33
A Send Us Comments . . . . . . . . . . . . . . . . . . . . . . . . . . 35
To Send a Comment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
1 Welcome!
Welcome to Mainframe Express Enterprise Edition! Micro Focuss
unified environment for mainframe development significantly reduces
risks and costs, and offers improved business agility through extension
to J2EE, .Net and Web Services.
Introduction
Mainframe Express Enterprise Edition accelerates the transformation of
legacy assets through a highly productive integrated environment for
mainframe application development. Hosted on the PC, it includes
capabilities for generation, analysis, compilation, debugging and unit
testing of your applications on workstations. It also enables you to
expose existing business transactions as JavaBeans, Enterprise
JavaBeans, .NET or Web services.
Mainframe Express Enterprise Edition combines and integrates features
available in separate predecessor products (including Mainframe
Express, AppMaster Builder and EnterpriseLink Component Generator)
to provide a complete integrated environment for COBOL application
generation, development, maintenance and extension.
This Getting Started with Mainframe Express Enterprise Edition book
gives an overview of Mainframe Express Enterprise Edition and
describes how to use the combined functionality. In addition, online
Getting Started books are provided for each of the key functional
areas in the product.
We suggest that, after reading this book to get the overall picture, you
then read the Getting Started books for the areas you are interested in.
Each contains an overview followed by basic tutorials.
If a word is shown like this in the online documentation: click, you can
click it to display its glossary entry.
Chapter 1 Welcome!
Functionality
Mainframe Express Enterprise Edition contains the following key
functional areas:
Mainframe Express
Mainframe Express provides tools enabling you to use your PC to
develop, maintain and test applications for deployment on the
mainframe. It includes integrated tools for editing, compiling and
visually debugging mainframe applications. Mainframe Express also
provides powerful tools such as project-management capabilities
and IBM mainframe emulation.
Analysis Option
The Analysis Option helps you understand the logic of existing
applications so you can maintain them more effectively. It enables
you to analyze application source within Mainframe Express
projects so you can understand the logic. It stores this analysis in a
database, which you can interrogate to help you understand the
application.
AppMaster Builder
AppMaster Builder is an application generator that automates the
development of applications. You paint CICS or IMS screen
interfaces and programs. AppMaster Builder then generates the
BMS or MFS source corresponding to the screen and generates the
COBOL program source. It can also generate batch programs,
including for example Report Writer programs. Generation rules can
be customized to suit your environment and enforce your shop
standards.
AppMaster Builder includes a facility similar to Analysis Option,
enabling you to analyze application source within AppMaster
Builder projects to help you in maintenance.
The AppMaster Builder functionality has evolved from Micro Focuss
stand-alone AppMaster Builder product.
Component Generator
Component Generator provides a fast and effective way to
integrate legacy CICS or IMS applications with modern e-business
systems while leaving the original application unchanged.
Functionality
10
Chapter 1 Welcome!
11
2 Overview
This chapter describes the key functional areas in Mainframe Express
Enterprise Edition in more detail.
Mainframe Express
Mainframe Express is a GUI environment for developing and
maintaining COBOL applications in the traditional way, by manually
coding the COBOL source. It includes an editor, a compiler and a
debugger, plus emulation environments for Assembler, CICS, IMS, JCL,
and TSO. It is project-based, and all these tools are closely integrated
with one another to make building an application and correcting
errors extremely fast and easy. Among many other tools and facilities,
it can upload and download source or data files, or access them in
place on the mainframe. Thus, it can access source code on the
mainframe to compile it on the PC, and application test runs on the PC
can access data files on the mainframe.
The main user interface of Mainframe Express is the Integrated
Development Environment (IDE). This is a graphical user interface (GUI)
with dropdown menus, multiple windows, popup help, and so on - in
fact all the usual advantages of a GUI.
The emulators enable you to test your applications on Mainframe
Express before deploying them to your production environment.
Analysis Option
The Analysis Option is a feature within the Mainframe Express IDE. It
analyzes a legacy applications structure, the files it uses, how and
where data items and other artifacts are used, and a number of other
details. It provides a variety of tools which you use to see the
Getting Started with Mainframe Express Enterprise Edition
12
Chapter 2 Overview
AppMaster Builder
AppMaster Builder is a GUI environment for generating mainframe
COBOL applications. You paint a character-mode screen interface and,
by selecting options on dialog boxes, specify the program you want to
support it. You can specify the user interface and database engine you
want. AppMaster Builder then automatically generates the equivalent
COBOL application and associated screens you have designed. This
generated application is 100% standard COBOL and can be compiled by
Mainframe Express.
AppMaster Builder can also generate batch programs, including for
example Report Writer programs.
AppMaster Builder uses customizable rules. You can modify these rules
to tailor the code that is generated in your application, so you can tailor
the generation process to build precisely the applications you want.
Generation rules can be used to enforce your shop standards.
Applications developed using Micro Focuss APS for MVS product can be
imported into AppMaster Builder for further development and
maintenance.
AppMaster Builder includes a facility similar to the Analysis Option, but
working on AppMaster Builder sources (screens, programs, rules, etc),
thus providing AppMaster Builder programmers with valuable help in
maintenance.
Component Generator
Reusability - you can call a rule any number of times from any
number of programs
Component Generator
Component Generator is a feature within the Mainframe Express IDE. It
is a GUI environment enabling developers to expose legacy application
13
14
Chapter 2 Overview
15
You can return from any step to any earlier step to correct errors hence the term "cycle".
Note: Of course, you can use Mainframe Express Enterprise Edition to
develop new applications, and to develop and maintain PC
applications. These processes are subsets of the process of maintaining
a mainframe application - for example, there is no need to download
16
Traditional Maintenance
Maintaining a traditional COBOL application using Mainframe Express
Enterprise Edition consists of the following steps (also shown
diagrammatically, in Figure 3-1 below):
1
Use Mainframe Access (MFA) Drag & Drop to download the sources
from the mainframe to the PC.
Your administrator might do this step for you.
Use the Analysis Option to analyze the source to discover the uses of
and relationships between elements in your application.
A major problem in maintaining an existing application is
understanding logic written by someone else, often many years
ago. The Analysis Option analyzes the source, identifying where
items are used and referenced and the impact of changing them,
and identifying self-contained procedures. This is a major aid in
debugging and maintenance. The analysis is stored in a database
associated with the Mainframe Express project.
17
18
Use the Test Coverage facility to check that every path through the
application is covered by your tests.
The Test Coverage facility produces reports showing how many
times each line and block of code has been executed. If after
running the application with all your different sets of data some
lines are still shown as never executed, you have identified a gap in
your testing.
For final system test and production, deploy the built application to
your production environment.
For example, upload the files to your mainframe and deploy them
in a CICS or IMS region.
This process is shown diagrammatically in Figure 3-1.
Figure 3-1. The Maintenance Process for a Traditional COBOL
Application
19
20
Customize the processing (if necessary) by writing scripts in SCOBOL, a COBOL-based scripting language.
21
22
AppMaster Builder generates the application for you, and calls the
Mainframe Express compiler to compile it.
Use the Test Coverage facility to check that every path through the
application is covered by your tests.
The Test Coverage facility produces reports showing how many
times each line and block of code has been executed. If, after
running the application with all your different sets of data, some
lines are still shown as never executed, you have identified a gap in
your testing.
Test Coverage works with generated COBOL source, not S-COBOL.
10 For final system test and production, deploy the built application to
your production environment.
For example, upload the files to your mainframe and deploy them
in a CICS or IMS region.
This process is shown diagrammatically in Figure 3-2.
23
24
Legacy Extension
Legacy extension means extending and enhancing the usefulness of a
legacy application. This often involves adding a new, more modern
interface or integrating the application into a new enterprise-wide or
business-to-business system. For example, if the application has a CICS
or IMS character-based interface, you might want to add a graphical
Web interface for use by staff, business partners or customers.
A software component, also called a reusable object, is a unit of
executable code with an explicit set of interfaces. It is written
independently of any applications that might use it, and is deployed as
a service, available to be invoked by any client application. There are
many mechanisms that make this possible - see the section Component
Generator in the earlier chapter Overview.
Component Generator creates an interface to a legacy application, so
that it appears to the outside world as an industry-standard component,
which provides a set of methods available for invocation by remote
clients. In this way, your proven business processes can be accessed from
virtually any modern technology. This interface can be invoked by a
new Web front end or another component-based application.
Legacy Extension
you must run the Analysis Option first; for CICS, you can use
Workflow Capture with or without the Analysis Option.)
25
26
Use the generated test clients to test the deployed component and
COBOL module.
At run time, the client invokes the generated component, which
then interfaces with the generated COBOL module. The generated
COBOL module drives one or more existing CICS or IMS transactions
to complete a business process.
For final system test and production, deploy the COBOL module to
your production environment.
Your application itself can be running all the time you are doing this you don't need to stop it, change it or redeploy it in any way; adding
this component front-end does not interfere at all with the application
itself.
If you have generated a Web service, you need to publish your service to
a UDDI repository. The auto-publish feature of Component Generator
allows you to push-button publish your service to any UDDI repository.
The above typical process is shown diagrammatically in Figure 3-3. The
dotted arrows show the calls made at run time from the test client to
the component, from the component to the COBOL module, and from
the COBOL module to the legacy application.
Legacy Extension
27
28
29
4 New Features
This chapter lists features that will be new to you depending on which
Micro Focus products you have used before.
New Users
If youre entirely new to Mainframe Express Enterprise Edition and its
predecessors, youll find its great advantage is that you can do all your
development and maintenance work, including all but the final live
stages of testing, on the PC. This means you free your mainframe to
concentrate on production.
In addition, you will find all the advantages described in the sections
below.
Benefits of Integration
If youve been using Mainframe Express, AppMaster Builder, or
Component Generator until now, youll find that having all their
features integrated into one product brings many benefits. For
example:
30
Analysis Option
Usage logging
Improved build exit points for better integration with 3rd party
products and in-house processes
Workbench Users
Workbench Users
Within Mainframe Express Enterprise Edition, support for traditional
development and maintenance of mainframe applications is provided
by Mainframe Express. The above section Mainframe Express Users
describes the enhancements in Mainframe Express 3.0, compared with
Mainframe Express 2.5.
You will furthermore find that Mainframe Express provides a much
improved development and maintenance environment when compared
to Micro Focus COBOL Workbench 4.0. Some of the highlights are listed
below:
31
32
COBOL slaved view in debugger - you can see the generated COBOL
while debugging S-COBOL
Automated generation/compilation
Usage logging
APS Users
Within Mainframe Express Enterprise Edition, support for application
generation of mainframe applications is provided by AppMaster
Builder. The above section AppMaster Builder Users describes the
You can generate .NET components for easy integration within the
Microsoft .NET environment.
Usage logging.
33
34
35
A Send Us Comments
Comments on the books? In the online version of this book, click the
link below.
Please include an indication of exactly where in the books the problem
is - give the book, chapter, and section name.
After clicking the link, you can click this windows Back button to get
back to where you were, so you can see it while youre typing your
comment.
We cannot guarantee to answer every comment, but every comment
will be read and taken note of for future revisions.
To Send a Comment
To email us a comment, click here in the online version of this book:
36
37
Index
Analysis Option
description 11
purpose 8
AppMaster Builder
description 12
maintenance 20
purpose 8
AppMaster Builder maintenance 20
Introduction
to Mainframe Express Enterprise Edition
7
L
Legacy extension 24
C
Comment
send to Micro Focus 35
Component Generator 24
description 13
purpose 8
M
Mainframe Express
description 11
maintenance 16
purpose 8
Maintenance
AppMaster Builder 20
traditional 16
Maintenance process 15
eBiz transaction 24
N
F
Feedback
send to Micro Focus 35
New features
benefits of integration 29
compared to AppMaster Builder 4.0 32
compared to APS 32
38
O
Overview
Mainframe Express Enterprise Edition 11
of Mainframe Express Enterprise Edition
7
P
Process
Mainframe Express Enterprise Edition 15
T
Traditional maintenance 16
Tutorials
capturing a workflow 29
W
Workflow
tutorial on capturing 29
Workflow Capture
tutorial 29