Our AMC Tech Tips blog series continues as Ted John outlines some clever capabilities to accelerate the COBOL app editing task using Micro Focus Visual COBOL, Enterprise Developer and Microsoft Visual Studio
Computers used to be simple... Just a dumb terminal that executed one and only one instruction at a time. Today, just your smart phone can do seemingly hundreds of operations simultaneously thanks to multitasking and multiple CPU cores. Yet a lot of code is still written today assuming only one operation can be executed at a single time, but that just isn't the case anymore. Any time an application reads from a file, downloads data across a network, or searches a database, is a perfect time to perform other tasks, like updating the screen, or processing another job. This has the benefit of applications getting more done, more quickly.
Previously I showed how to create a project for Visual Studio (VS) for use with Micro Focus Visual COBOL/Enterprise Developer. Now that the project has been created and COBOL sources added, let's explore what's needed to set up the directives needed to be able to build the project. Directives are options that are passed to the compiler. They configure how the COBOL source code should be transformed to machine code, that is suitable for running on the target platform.
In my previous article, I commented on some of the benefits associated with having a project system when using Micro Focus Visual COBOL/Enterprise Developer. This time let's talk about what's actually required to move to the Visual Studio (VS) project system. The general process involves identifying which COBOL sources should be grouped logically together in a project and the compiler directives that are required to compile them.