Upgrading from Fujitsu 3.0

The individual who is comfortable in Fujitsu 3.0 (the version of the compiler that was supported in our previous text) will have no trouble upgrading to Fujitsu 4.0. There is, however, one significant difference in that Fujitsu 4.0 does all of it work in projects. Thus in order to compile an existing COBOL program under 4.0, you must first create a project.

Step 1: Open the COBOL Project Manager.
Click the Start button, click Programs, find the Fujitsu Program group, and then select the COBOL Project manager to display the dialog box below.

Step 2: Create the Project
Click on the Open File icon. This brings up an Explorer type window. Select the folder (e.g., Chaptr02) where you want your project to reside and then type the name (e.g., Myproj) of your project into the File Name text box. Click the Open command button, then click Yes, when asked whether to create the project.

Step 3: Create the Executable File
You should see the newly created project in the Project Manager Window. (Our example shows the project, Myproj within the Chaptr02 folder.) Click on the New File icon (The one that looks like a piece of paper with a folded corner.) A new entry appears and specifies an EXE file.

Step 4: Rename the file
Change the name of the file, being careful to maintain the "EXE" extension. We changed the file name from "New File.exe" to "Myfile.exe".

Step 5: Create the COBOL Source folder
Be sure that the executable file is selected, then pull down the Edit menu, select "New Folder" and "COBOL Source File". This adds a folder to the EXE entry as shown below.

Step 6: Add the COBOL file
Highlight the Cobol Source File entry and then click on the Add File button. The Add File button has the arrow pointing down and to the left. (You can also click on the New File button if you want to create a new program from scratch.)

Step 7: Add the COBOL File (continued)
The Add File button brings up a listing of COBOL source files. Click on the file you want or type the name in the File name box. Click on Open and the file is added to the project.

Step 8: Continue with the COBOL project
The CBL file has been added to the project. You can now follow the steps in Exercise A3 of Appendix A. (Be sure to specify the program as Main.)


© 1999-2000 by Prentice-Hall, Inc.
A Pearson Company
Upper Saddle River, New Jersey 07458
Legal Notice