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:

  1. Select FOREGROUND on the ISPF/PDF Primary Option Menu.
  2. Select REXX Compiler.
  3. Enter the appropriate data set names with the extensions as described in the online help and the compiler options listed in Compiler Options.
Figure 1. Foreground REXX Compilation Panel (Panel ID: FANFP14)
---------------------  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:
         ===>
         ===>
         ===>
 
Note: This panel may have been customized by your system administrator.

To use the Batch REXX Compilation panel:

  1. Select BATCH on the ISPF/PDF Primary Option Menu.
  2. Select REXX Compiler.
  3. Enter the appropriate data set names with the extensions as described in the online help and the compiler options listed in Compiler Options.
Figure 2. Batch REXX Compilation Panel (Panel ID: FANJP14)
------------------------  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:
         ===>
         ===>
         ===>
 
Note: This panel may have been customized by your system administrator.

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.

The default output data set names are the same as those described for the REXXC EXEC (see Derived Default Data Set Names) with the following additions:
  • 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.