Getting Started with PL/I Applications |
This chapter comprises a tutorial-style session showing how to take an application consisting of PL/I programs that use CICS and get it working on Mainframe Express.
In your Getting Started, you need to have read the chapter Start Here for the Tutorials and worked through the sessions Using Mainframe Express and CICS Applications before you do this session. Also, you should work through the chapter Getting Started with PL/I Applications in this book.
You need to have installed CICS Option and PL/I Option to do this session. We assume you are familiar with CICS and PL/I on a mainframe.
This session shows you how to work with a PC-based PL/I application that uses CICS.
The demo application used in this session is a PL/I version of the application that you used in the chapter CICS Applications in your Getting Started. It consists of several PL/I (.pli) programs and one BMS mapset (.bms).
This sample application uses the resources defined in the resource definition file (RDF) supplied with Mainframe Express.
If you have closed Mainframe Express, open it as before. If any project window or other windows are open, close them.
In this session you:
To create the project:
Accepting the default folder means that Mainframe Express uses the supplied resource definition file.
To add the source files to the project:
When you add files to a project, Mainframe Express parses each file and determines the required build settings.
To change the default build settings for the PL/I source files:
CICS Option is supplied with several pre-defined resource groups. This sample application uses the resources defined in the following resource groups:
To make sure the resources in these groups are defined when the application's region (APCT) is started, ensure these groups are in the startup list:
To build the application:
As you have seen before, Mainframe Express calls the correct compiler for each source file.
To run the application:
This runs the APCT transaction. The CICS Log page of the Output window displays the following message:
TXSI1744I PL/I Option support loaded successfully
The Application Output window shows the APCT transaction running.
To stop the application:
Close the project. If you want to take a break before going on to the next session, you can close Mainframe Express.
Return to the Tutorials Map in the chapter Start Here for the Tutorials in your Getting Started and choose which session to go on to next, depending on your interests.
Copyright © 1999 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names
used herein are protected by international law.
Getting Started with PL/I Applications |