Only compile one program

I have Visual COBOL Personal Edition with Visual Studio 2012, running on Windows/8

I have set up a Project with several programs in it

When I Build the Project it tries to compile each source member within the Project

And it comes up against the 2200 Procedure Division line limit fairly easily

If I have, say, 10 programs in a Project and I change one program, how can I just compile/prepare that one program

Is it possible?

Parents
  • The 2200 source line limit applies to a single program and not to the cumulative number of lines within all programs within a project.

    For example I can create a project here that contains 10 programs, each of which has 2000 lines of code and it will build fine.

    But if one of these programs exceeds 2200 lines it will not build successfully.

    You can compile a single program by right-clicking on its name in Solution Explorer and selecting "Compile". This would allow you to detrmine which program is exceeding the 2200 llne limit.

    Thanks.

Reply
  • The 2200 source line limit applies to a single program and not to the cumulative number of lines within all programs within a project.

    For example I can create a project here that contains 10 programs, each of which has 2000 lines of code and it will build fine.

    But if one of these programs exceeds 2200 lines it will not build successfully.

    You can compile a single program by right-clicking on its name in Solution Explorer and selecting "Compile". This would allow you to detrmine which program is exceeding the 2200 llne limit.

    Thanks.

Children
No Data