• Phil Ly

Desktop Development for NonStop: Example – Using ETK

In my first blog on Desktop Devlopment for NonStop, I covered some of the benefits of using a Windows™ PC to create and debug NonStop programs.  One additional benefit that I forgot to mention is using ETK (Enterprise Toolkit) to speed conversion from Cobol85 to NMCobol.   ETK is a tool that very quickly compiles and then reports errors in a manner that lets a double-click immediately jump to the error occurred.  In the examples below I will use an existing Cobol85 program with a TAL library and show how ETK highlights the needed changes.

(I’m using Visual Studio .NET 2003 with ETK installed.  ETK can be used with VS .NET 2003, 2005 and 2008.  The following is a very brief overview of what you can do with ETK.)

Creating a new project

When a new project is started, note that you can select

  1. The destination platform (S or H/J Series)

  2. The kind of program you are building, e.g. Server, SQL, etc.  By selecting the type you are creating, default settings are set correctly for you.  (Note that, as a side benefit, you can use descriptive name for projects and files.)

Adding files to the project is straight forward.  Compiling is simply a single selection.  The errors are listed and can be used to jump right to the offending line.

Error List

Project Options

Options can also be easily set.

Tip for documentation:

When I’m working with a conversion I usually also have corresponding manual open in NTL.  As an example:  http://h30163.www3.hp.com/NTL/library/H_RVUs/H06_03_00/Publications/C/

As you can see, using ETK for creating, editing, compiling and linking on the desktop is simple, fast and reduces errors.

In my next blog I will show compiling with ETK and debugging using Visual Inspect. Feedback pleaseDo you find this tutorial blog helpful? Let us know what you think, and how we can make it even better. Don’t forget, you can subscribe to our blogs (top right-hand corner of this page) to get automatic email notification when a new blog is available.

 

#HPENonStop #NonStop #TICSoftware

1 view0 comments

Recent Posts

See All