0% found this document useful (0 votes)
275 views1 page

Visual Cobol Install

To install Visual COBOL for Visual Studio, users download it from the Microfocus or Dreamspark websites using their college email address. Within Visual Studio, users can then create a new COBOL project and add COBOL source code files. To compile and run the COBOL program, users build and start the project. Any data files used must be copied to the project folder and referenced with a relative path prefix in the source code.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
275 views1 page

Visual Cobol Install

To install Visual COBOL for Visual Studio, users download it from the Microfocus or Dreamspark websites using their college email address. Within Visual Studio, users can then create a new COBOL project and add COBOL source code files. To compile and run the COBOL program, users build and start the project. Any data files used must be copied to the project folder and referenced with a relative path prefix in the source code.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Installing Visual COBOL for Visual Studio

by Joe Struss (Jan. 31, 2014)

To get Visual COBOL Personal Edition 2.2 for Visual Studio 2010 or Visual Studio 2012:
Go to http://www.microfocus.com/bridgethegap
Click on the Students link and then the Get Visual COBOL link
Register with your DMACC e-mail address and you will receive instructions via e-mail on
how to download and install Visual COBOL
To get Visual Studio 2010/2012:
Go to http://www.dreamspark.com/
Register with your DMACC e-mail address then follow the instructions to download and
install the software
To create and compile a COBOL program using Visual Studio 2010/2012 with Visual COBOL
Personal Edition 2.2:
Start Microsoft Visual Studio 2010/12
Go to File New Project
Under Visual COBOL choose Native then select Empty Project
Enter a Name for your project then click Next/OK and this will give you an empy project.
Within your new empty project:
Right-Click in the Source Folder area of your project then Choose Add New Item
Select a COBOL program, give the program a name then click Add.
Once you have your .cbl file up and have entered your COBOL source code. To compile and run
your program:
Build Solution (in pull down menu)
Click the Green Start Triangle (directly under the Debug pull down)
If your COBOL program reads from or write to a DATA file:
You will need to copy the DATA file to the Project folder where the Source File is located
which is typically:
Visual Studio 2010 or 2012/Projects/ProjectName/ProjectName/
On your Select statement, prefix the filename with ../../../ so EMP8.dat would be
ASSIGN TO ../../../EMP8.DAT
You can do the same thing on the Select statement for your output file if you would like it
written to that same folder

You might also like