Invoking the Compiler with ISPF Panels
Under ISPF, you can invoke the Compiler from the Foreground REXX Compilation panel or the Batch REXX Compilation panel. The panels, Figure 1 and Figure 2, are similar to those for other high-level language compilers.
Because the ISPF panels use the REXXC EXEC to invoke the Compiler, you can specify the enhanced options as well as all other Compiler options.
To use the Foreground REXX Compilation panel:
- Select FOREGROUND on the ISPF/PDF Primary Option Menu.
- Select REXX Compiler.
- Enter the appropriate data set names with the extensions as described in the online help and the compiler options listed in Compiler Options.
--------------------- FOREGROUND REXX COMPILATION ----------------------
COMMAND ===>
ISPF LIBRARY:
PROJECT ===> TEST
GROUP ===> LIB1 ===> LIB2 ===> LIB3 ===>
TYPE ===> REXX
MEMBER ===> (Blank or pattern for member selection list)
OTHER PARTITIONED OR SEQUENTIAL DATA SET:
DATA SET NAME ===>
LIST ID ===>
COMPILER OPTIONS:
===>
===>
INCLUDE DATA SETS:
===>
===>
===>
To use the Batch REXX Compilation panel:
- Select BATCH on the ISPF/PDF Primary Option Menu.
- Select REXX Compiler.
- Enter the appropriate data set names with the extensions as described in the online help and the compiler options listed in Compiler Options.
------------------------ BATCH REXX COMPILATION ------------------------
COMMAND ===>
ISPF LIBRARY:
PROJECT ===> TEST
GROUP ===> LIB1 ===> LIB2 ===> LIB3 ===>
TYPE ===> REXX
MEMBER ===> (Blank or pattern for member selection list)
OTHER PARTITIONED OR SEQUENTIAL DATA SET:
DATA SET NAME ===>
LIST ID ===> (Blank for hardcopy listing)
SYSOUT CLASS ===> * (If hardcopy requested)
COMPILER OPTIONS:
===>
===>
INCLUDE DATA SETS:
===>
===>
===>
The source program you specify must be stored in an ISPF library, a partitioned data set, or a sequential data set. If you do not specify a member name of a library or partitioned data set, a list is displayed from which you can select the member to be compiled.
- If the PRINT option is not specified, the compiler listing is named upref.mmm.LIST, where upref is the user’s default data set prefix and mmm is the specified list identifier (LIST ID) or the member name of the source program.
- The first group is used for the default output data set names if the source comes from an ISPF library and more than one group is specified. Figure 1 and Figure 2 show examples of a first group ISPF library name TEST.LIB1.REXX.
In contrast to the compilation panels for other languages, not only the compiler options but all REXXC command options can be specified. For example, you can explicitly specify data set names for compiler output, thus overriding the defaults.
Online help is available for the invocation panels.