 
             *** Using SPF3270 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
     "C:\spf-install-directory". The default install directory for
     SPF3270 is:
      
         C:\Program Files\SPFSExx-3270
      
     Where "xx" is the version number (e.g. "40" for version 4.0).

     If you installed in a different directory, substitute that
     directory.

     1     Introduction.

           In C:\spf-install-directory\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 SPF3270 into the Micro
           Focus Character Workbench means that when:

             F2=Edit    is invoked SPF3270 edit appears
             F3=Check   when a checker error is found and the
                        checking is halted an SPF3270
                        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 SPF3270 editor
                        is invoked on the source at the current
                        cursor position.

           The integration of SPF3270 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 SPF3270
           icon.

           To select the best method of integration of
           SPF3270 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 SPF3270  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\BIN to
           \COBOL\LBR.

     2.1.3 Ensure that the C:\spf-install-directory\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. SPF3270 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 SPF3270.EXE will
           fail.

                              -oOo-

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

     2.2   Integration of SPF3270 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              SPF3270

              ICON              Browse for a suitable
                                icon from the list provided
                                by Micro Focus.

              EXECUTABLE        C:\spf-install-directory\BIN\SPF3270.EXE

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

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

     2.2.4 Press the OK button. SPF3270 should now
           appear in the Organizer Folder.

     2.2.5 To use either:

             Double-click to start SPF3270 natively
             from the Organizer Folder.

           or

             Drag a Project Icon on top of the SPF3270
             Icon and SPF3270 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 SPF3270 with Micro Focus
           Workbench v. 4.0 (or later) 32-bit in Advanced GUI Mode.

     2.3.1 If you want the SPF3270 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\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              SPF3270

                 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.      SPF3270

                 EXECUTABLE        C:\spf-install-directory\BIN\SPF3270.EXE

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

                 LIBRARIES         ... leave blank ...

                 POP UP MENU       NONE

                 START UP FILE     ... leave blank ...

                 ANIMATOR MAPPING  NONE

                Note C:\spf-install-directory\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. SPF3270 should now
           appear in the COBOL Tools Folder.

     2.3.9 To use either:

             Double-click to start SPF3270 natively
             from the Primary Option Panel.

             Drag an Application from the Applications Folder on
             to the the SPF3270 ICON in the COBOL Tools
             Folder and SPF3270 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     SPF3270 EDIT.LBR Environment Variables

           None.

     Micro Focus is a registered trademark of Micro Focus Limited.
      
