 
             *** Using SPF/SE with Micro Focus ***
      
     Integration with Micro Focus Workbench 32-bit.
     =======================================================

     Contents                                       Section.

     Introduction                                   1
     Integration                                    2
       Integration Character 32-bit Workbench       2.1
       Integration GUI 32-bit Workbench             2.2
       Integration GUI 32-bit Advanced Workbench    2.3
     EDIT.LBR Environment Variables                 3
       SPFEXE                                       3.1
       SPFDEBUG                                     3.2
       SPFEXIT                                      3.3

     =======================================================
      
     Throughout this text there are numerous references to
     "spf-install-directory\edition". The default install directory for
     SPF/SE is:
      
         C:\Program Files\SPFSExx\edition
      
     Where:

         - "xx" is the version number (e.g. "50" for version 5.0).
      
         - "edition" is either "Graphic" or "Standard"

     If you installed in a different directory than "SPFSExx",
     substitute that directory.


     1     Introduction.

           In C:\spf-install-directory\edition\BIN you will find a file
           called EDIT.LBR which replaces the EDIT.LBR supplied by
           Micro Focus.

           The EDIT.LBR is supplied for use with the 32-bit
           Workbench only.

           This file is not required if you are using the
           Workbench in Graphical mode.

           The integration of SPF/SourceEdit into the Micro
           Focus Character Workbench means that when:

             F2=Edit    is invoked SPF/SourceEdit edit appears
             F3=Check   when a checker error is found and the
                        checking is halted an SPF/SourceEdit
                        edit session is launched with the errors
                        posted as =NOTE= lines in the program
                        source.
             F4=Animate when in the animator if T(ext)/E(dit)
                        is selected the SPF/SourceEdit editor
                        is invoked on the source at the current
                        cursor position.

           The integration of SPF/SourceEdit into the Micro
           Focus GUI Workbenches means that your native
           Editor of choice is available both for direct
           invocation through double-click and through
           drag-and-drop of projects on to the SPF/SourceEdit
           icon.

           To select the best method of integration of
           SPF/SourceEdit with the one of the three Micro Focus
           Workbenches please see the table below:

           Mode                                  See section

           32-bit Character Workbench            2.1
           32-bit GUI Workbench                  2.2
           32-bit Advanced GUI Workbench         2.3

                              -oOo-

     ----- Character Workbench ----------------------------------

     2.1   Integration of SPF/SourceEdit  with Micro Focus
           Workbench v. 4.0 (or later) 32-bit in Character Mode.

     2.1.1 Rename the file called EDIT.LBR in your \COBOL\LBR
           directory to EDIT.MF in case you wish to return to
           the original Micro Focus editor.

     2.1.2 Copy the EDIT.LBR in C:\spf-install-directory\edition\BIN
           to \COBOL\LBR.

     2.1.3 Ensure that the C:\spf-install-directory\edition\BIN
           directory is in the PATH statement or on the MFPATHENV
           environment variable.

     2.1.4 Invoke Workbench executable WB.EXE (not WBW.EXE or
           WBWG.EXE) and select F2=Edit. SPF/SourceEdit will be
           invoked.
            
           *** WARNING ***: WBW.EXE and WBWG.EXE do not use PATH
           or MFPATHENV (See section 2.1.3) when they invoke an
           external application so the call to SPFxxx.EXE will
           fail.

                              -oOo-

     ----- GUI Workbench ----------------------------------------

     2.2   Integration of SPF/SourceEdit with the Micro Focus
           Workbench v. 4.0 (or later) 32-bit in GUI Mode.

     2.2.1 Start the GUI Workbench by double-clicking the
           GUI Workbench Icon. The Workbench Organizer and
           Template Folders should load.

     2.2.2 Drag a Tool (the Swiss Army Knife icon) from the
           Template Folder to the Organizer Folder. The
           Settings Dialog should open.

     2.2.3 Enter the following details:

           NAME              SPF/SourceEdit
                  
           ICON              Browse for a suitable
                             icon from the list provided
                             by Micro Focus.

           EXECUTABLE        C:\spf-install-directory\edition\BIN\SPFxxx.EXE

           COMMAND LINE      *.CBL;*.CPY;*.MF etc
                             (see online help for SPFxxx.EXE
                              command line options)

           Note C:\spf-install-directory\edition\BIN is the default
           path. If you have selected a different one specify it
           instead.

     2.2.4 Press the OK button. SPF/SourceEdit should now
           appear in the Organizer Folder.

     2.2.5 To use either:

             Double-click to start SPF/SourceEdit natively
             from the Organizer Folder.

           or

             Drag a Project Icon on top of the SPF/SourceEdit
             Icon and SPF/SourceEdit will be started in the
             current directory of the project and all the *.CBL
             and *.CPY files will be listed immediately.

                              -oOo-

     ----- GUI Advanced Workbench -------------------------------

     2.3   Integration of SPF/SourceEdit with Micro Focus
           Workbench v. 4.0 (or later) 32-bit in Advanced GUI Mode.

     2.3.1 If you want the SPF/SourceEdit icon to be shown in the
           Advanced Workbench you must add it to the Workbench
           Side File. This is called C:\COBOL32\EXEDLL\WB2.SF by
           default.

           Browse for a suitable icon from the list provided by
           Micro Focus.
            
           Note C:\spf-install-directory\edition\BIN is the default
           path. If you have selected a different one specify it
           instead.

     2.3.2 Start the Advanced GUI Workbench by double-clicking
           the Advanced GUI Workbench Icon. The Advanced GUI
           Workbench Organizer Folder and the Templates l appear.

     2.3.3 Drag a Tool (the Swiss Army Knife icon) from the
           Template Folder to the COBOL Tools Folder. The
           Tool Settings Dialog should open.

     2.3.4 Enter the following details:


                 NAME              SPF/SourceEdit

                 ICON              (If you completed
                                   step 2.3.1 otherwise Browse
                                   for a suitable icon from the
                                   list provided by Micro Focus).

     2.3.5 Replace the word 'None' in the ACTIONS entry field and
           press the NEW button. The Action Settings Dialog
           appears.

     2.3.6 Enter the following details:


           ACTION DESC.      SPF/SourceEdit

           EXECUTABLE        C:\spf-install-directory\edition\BIN\SPFxxx.EXE

           COMMAND LINE      *.CBL;*.CPY;*.MF etc
                             (see online help for SPFxxx.EXE
                              command line options)

           LIBRARIES         ... leave blank ...

           POP UP MENU       NONE

           START UP FILE     ... leave blank ...

           ANIMATOR MAPPING  NONE

           Note C:\spf-install-directory\edition\BIN is the default
           path. If you have selected a different one specify it
           instead.

     2.3.7 Press the OK button to return to the Tool Settings
           dialog.

     2.3.8 Press the OK button. SPF/SourceEdit should now
           appear in the COBOL Tools Folder.

     2.3.9 To use either:

             Double-click to start SPF/SourceEdit natively
             from the Primary Option Panel.

             Drag an Application from the Applications Folder on
             to the the SPF/SourceEdit ICON in the COBOL Tools
             Folder and SPF/SourceEdit will be started in the
             current directory of the project and all the *.CBL
             and *.CPY files will be listed immediately.

                              -oOo-

     ----- Environment Variables ----------------------------

     3     SPF/SourceEdit EDIT.LBR Environment Variables

           None.

     Micro Focus is a registered trademark of Micro Focus Limited.
      
