Note: Upgrading your existing applications might be a complex task, therefore we recommend you contact
Micro Focus Professional Services for assistance with this process.
If you've never used Eclipse before,
Micro Focus recommends that you read the chapter
Introduction to Eclipse in this product help to get familiar with the IDE before you start upgrading your applications.
Prerequisites
In most situations when you are upgrading to
Visual COBOL, you will:
- Keep your source code on the UNIX machine. You need to install
Micro Focus Visual COBOL Development Hub on this machine.
- Install
Visual COBOL for Eclipse on the your local Windows machine. You need to create a connection in
Visual COBOL to the remote UNIX machine and then create remote projects for the application's source files.
On single-user Linux machines you do not need to install
Micro Focus Visual COBOL Development Hub. Instead, you can install
Visual COBOL for Eclipse on the same machine as the application files and maintain the application directly on the Linux machine.
Upgrading your applications
The following outline shows an example approach to upgrading an application to
Visual COBOL:
- Assess your existing processes for building and testing your applications.
Discover any similarities and differences between your existing applications and what programming issues they resolve. Determine what project types and scenarios you need to handle in
Visual COBOL for Eclipse.
- Compile your existing sources at the command line:
- Ensure
Micro Focus Visual COBOL Development Hub is installed on the machine that stores your sources.
- From a terminal window, set the environment for
Micro Focus Visual COBOL Development Hub and build the existing application. Resolve any compilation issues and ensure that the application behaves as it did previously.
- Create a
Visual COBOL project to handle your source code:
- Install
Visual COBOL for Eclipse on a local Windows machine.
- In Eclipse, create a connection to the machine that includes your sources and create a remote project.
- Add the application sources to the new project and set the following Compiler directives on the project:
- NOFLAGAS
- NOFP-ROUNDING
- NOREENTRANT
- SOURCETABSTOP"8"
- COPYEXT",CBL,CPY"
- Build and debug the application using Eclipse.
Ensure you get the same results using Eclipse as you did when you used
Micro Focus Visual COBOL Development Hub on the remote machine (see step 2b).
- Add more projects, programs and copybooks as required.
- Review the
Best Practice in Development Using Eclipse information in this document to ensure you achieve maximum productivity.
- Experiment with various debugging options to find those that best meet your requirements.
- Compile for debug and for release and ensure that the application performs as expected.
- Create one or more template projects and distribute those across the entire development team.
- Examine ways in which Eclipse can help to modernize your applications and processes.
For more details about these steps see the following sections and the
Related Information.