Chapter 10: PL/I Extension

This chapter describes the PL/I Extension that is used to process PL/I source code components.

10.1 Introduction

The PL/I Extension™ gives you the ability to apply the powerful application inventory, analysis, and maintenance capabilities of Revolve to your enterprise PL/I systems. It extends Revolve's analysis and implementation features for use by PL/I programmers.

The PL/I Extension introduces a PL/I language parser that identifies individual components of an application system (such as programs and associated include files, variables, literals, job steps, screens, data files and databases) and adds them to the Revolve project database.

Revolve enables programmers to visualize details of the application project, determine where changes must be implemented, automatically trace the impact of those changes across the entire application project, and document and guide the change process.

10.2 Built-In Functions for PL/I Impact Analysis

The following keywords can be listed as BUILTIN and will be recognized as functions for PL/I Impact Analysis:

ADD CURSTORE MIN SINH
ABS DATAFIELD MOD SQRT
ACOS DATE MULTIPLY STATUS
ADDR DECIMAL NULL STORAGE
ALL DIMENSION ONCHAR STRING
ALLOCATION DIVIDE ONCODE SUBSTR
ANY EMPTY ONCOUNT SUM
ASIN ENQUOTE ONFILE TAN
ATAN ERF ONKEY TAND
ATAND ERFC ONLOC TANH
ATANH EXP ONSOURCE TIME
BINARY FLOOR PARMSET TRANSLATE
BOOL HBOUND PLIRETV TRUNC
CEIL HIGH POINTER UNSPEC
CHAR IMAGINARY POLY VERIFY
COMPILETIME INDEX PRECISION
COMPLETION LBOUND PROD
COMPLEX LENGTH REAL
CONJUGATE LINENO REPEAT
COS LOG ROUND
COSD LOG10 SAMEKEY
COSH LOG2 SIGN
COUNT LOW SIN
COUNTER MAX SIND

10.3 Technical Information

The PL/I Extension component is installed separately from Revolve. It shares the same operating system and microprocessor requirements as Revolve. An additional 2 Mb free hard disk space is needed to load all corresponding files.

The PL/I Extension checks the local registry at startup for the availability of either the IBM VisualAge PL/I product or the Micro Focus Mainframe Express PL/I Option. If either one is available, the PL/I Extension uses it to provide PL/I macro preprocessing facilities. If neither is available, Revolve does not set .pli files to use the PL/I preprocessor. If you try to set a .pli file manually to use the preprocessor, the preprocessor will return an error when the file is parsed. You can parse a .pli file without the preprocessor directive, but Revolve will handle only %INCLUDE statements in this instance: it will not handle any other macro language statements. The parser will return errors on any components using macro language statements other than %INCLUDE.

10.4 Features Supported

This section shows which Revolve features are supported in the Pl/I language extension.

10.4.1 Views

System Y
Job Stream Y
Inventory Y
Code Flow Y
Source Y
Data Structure Y
Screen Y

10.4.2 Tools

Shell Y
Integrated Editor Y
Metrics N
Function Point Analysis N
Annotation Y
Scripts Y
Impact Analysis Y

10.4.3 Browsers

Text Y
Statements Y
Programs Y
Imports Y
Data Files Y
Variables Y
Paragraphs and Sections Y (Procedures)
Literals Y
JCL Jobs Y
Screens Y
Fields Y
CICS Y
IMS Y
SQL Y
DMS N/A
Custom Browsers Y

Copyright © 2002 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.