AcuBench FAQ



January 5, 2002
  1. What is AcuBench?
  2. What are the advantages to using AcuBench compared with traditional development environments?
  3. What operating system does AcuBench use?
  4. When trying to compile a program I receive a "Too many errors, compilation aborted" message. Why does this occur?
  5. Occasionally when developing applications with AcuBench I receive a "not enough resources" error message indicating that I need to shut some applications down. Why does this occur?
  6. How can I use AcuBench with multiple people working on the same application?
  7. I would like to use AcuBench but I do not use extensions on my files, I keep my copybooks in separate directories. How can I use AcuBench as a project manager when my copybooks do not have extensions?
  8. How are the Data Set, Data Layout, FD, and SL files related?
  9. I have set up a DataSet. I don't want to generate code to Open/Close the file. How can I prevent this?
  10. When using AcuBench I want to put my own items in a list box control. I can see how to change the default values (Item1, Item2,Item3) but I'm unable to add aditional items.
  11. I use AcuBench to write two programs, ProgramA and ProgramB. ProgramA at some point calls ProgramB. When I run my program the screen from ProgramB displays on top of the screen from ProgramA. Why is this happening?
  12. When I used this answer I still get the same result, the screen from ProgramB displays on top of the screen from ProgramA.
  13. We were importing GUI screens on a machine running Danish Windows. We found that the labels were being truncated vertically (i.e. the bottom was cut off).
  14. When I use the Screen Import facility on a screen that uses the tab control, I get a tab on each screen that I import. How do I work with these imported screens in AcuBench?
  15. How do I edit the remote configuration file when using AcuBench and Thin Client?

  1. What is AcuBench?

    AcuBench is a COBOL centric integrated development environment.

    Back to top


  2. What are the advantages to using AcuBench compared with traditional development environments?

    AcuBench provides the ability to organize development into projects. These projects can then be accessed quickly for maintenance purposes and augmented by using AcuBench graphical development tools. These AcuBench graphical development tools were mirrored after other leading edge software development environments.

    Back to top


  3. What operating system does AcuBench use?

    AcuBench runs under the Windows operating system. AcuBench is integrated with the ACUCOBOL-GT Thin Client technology so that AcuBench can place, run, and debug an object file on a remote Windows or Unix based server.

    Back to top


  4. When trying to compile a program I receive a "Too many errors, compilation aborted" message. Why does this occur?

    This error typically occurs when you have created a project that does not have subfolders that match the AcuBench project structure. An AcuBench project is based on settings in the "Tools, Options, Environment, Prefix" menu options. This screen shot shows the default settings for an AcuBench project:

    If your directory on disk does not contain these physical sub directories, especially the Object sub directory, then the compilation will be aborted.

    Back to top


  5. Is there any way to create a new project and then bring in existing source code but have the tags automatically inserted for you?

    Yes, by using the Tools/Options/Environment/Miscellaneous menu. There is a check box titled Automatically create a program file. The effect of selecting this box is that when you add a file to your project, the Workbench will attempt to add tags to it. If the Workbench parser cannot locate beginning of working storage, or beginning of screen section- or one of the other places it looks to place tags, then it will inform user in the output window that it did not place tags. In this case, you will have to place tags manually into your program.

    Back to top


  6. Occasionally when developing applications with AcuBench I receive a "not enough resources" error message indicating that I need to shut some applications down. Why does this occur?

    Developers using Windows 98 machines have experienced this message. This message has nothing to do with the amount of physical memory but rather with various resources or heaps (a portion of memory reserved for the program's use) that Windows uses. AcuBench uses system resources and on the Windows 98 one of the most common resource or heap to run out of is the USER heap or the Graphics heap. Other applications use these heaps as well and therefore it is possible that AcuBench would run out of resources. The solutions are to close down one or more of the other applications when developing with AcuBench or upgrade to Windows 2000 or Windows NT which manages these resources better.

    Back to top


  7. How can I use AcuBench with multiple people working on the same application?

    AcuBench has the ability to interface with Version Control software. By using Version Control one way multiple developers could work on the same AcuBench project would be as follows:

    1. Create a Project (Project-1) using some Version Control software. This Version Control software is installed on Server. The Version Control Project structure should mirror the Acubench Project structure, using the Source, Copylib, List, Resource... subfolders. Add the appropriate COBOL source and copy books into the Version Control repository.
    2. User-1 on Workstation-1, creates an AcuBench Project-1 on their machine, and uses a version control command to check out files from the Version Control repository.
    3. User-2 on Workstation-2, creates an AcuBench Project-1 on their machine, and uses a version control command to check out files from the Version Control repository.
    4. Version control software will ensure that the two users do not overwrite each other's work. When User-1, and User-2 are finished, they use a version control command to check their files back into the Version Control Repository on the Server.

    Back to top


  8. I would like to use AcuBench but I do not use extensions on my files, I keep my copybooks in separate directories. How can I use AcuBench as a project manager when my copybooks do not have extensions?

    Create a dummy file with an appropriate extension that wraps the real copy file. This dummy file could contain one line, copying the 'real' file:

    file CUSTOMER.SL
    =================
    COPY "SEL/CUSTOMER".

    This way, AcuBench can used as a project manager and the compiler can still find original file.

    Back to top


  9. How are the Data Set, Data Layout, FD, and SL files related?

    This is a short summary:

    Data Layout File- Created through the DATA VIEW of the Workspace. Information is stored in a file with .DLT extension that is located in the FD directory of the project. Information is used to generate SELECT (.SL) and FD (.FD) statements.

    Data Set - Created through the STRUCTURAL VIEW of the Workspace. Information is stored in the program file, (.PSF). Information is used to generate code, as follows:

    COPY "[filename].SL" generated in between tags in main .CBL program
    COPY "[filename].FD" generated in between tags in main .CBL program

    IO-related Procedure Division code is generated into the .PRD file. This includes the OPEN and CLOSE file statements, simple READ, REWRITE, WRITE, DELETE... statements, and can include paragraphs named in the Event Tab of the Data Set. In the context of the Data Set, and "Event" paragraphs such as "Before Read", or "After Read", are available. These would provide the developer a way to proceed the simple READ statement with their own code.

    Back to top


  10. I have set up a DataSet. I don't want to generate code to Open/Close the file. How can I prevent this?

    You can elect to not have the code executed. The way you do this is that you right-click in the middle of the DataSet Window, and select the Referenced FD/SL Files function. This brings up a Window called "Data Set Member Files". Deselect the "Open" checkbox for files for which you do not wish Open/Close code to be executed.

    Back to top


  11. When using AcuBench I want to put my own items in a list box control. I can see how to change the default values (Item1, Item2,Item3) but I'm unable to add aditional items.

    When adding items to the Value property of a list box or combo box, use the control and enter key to put the cursor on a new line.

    Back to top


  12. I use AcuBench to write two programs, ProgramA and ProgramB. ProgramA at some point calls ProgramB. When I run my program the screen from ProgramB displays on top of the screen from ProgramA. Why is this happening?

    AcuBench's screen designer uses some default values for each screen that you create. In this case since these are two separate programs each program will try to create an Initial window. Since there can only be one Initial window, then the screens other than the first screen need to be either floating windows or Independent windows.

    Back to top


  13. When I used this answer I still get the same result, the screen from ProgramB displays on top of the screen from ProgramA.

    With AcuBench's screen designer using some default values for each screen that you create, there is a specific property for each window called a handle. Both programs are using the same handle for both the Initial window and the floating window. This is what is causing the screen from ProgramB to display on top of the screen from ProgramA. Changing the value of the handle for all subsequent screen will solve this problem.

    Back to top


  14. We were importing GUI screens on a machine running Danish Windows. We found that the labels were being truncated vertically (i.e. the bottom was cut off).

    Check to see if the program had DECIMAL POINT IS COMMA set, then check to see what Windows is set to (use the period as a decimal point). Setting Windows to use the comma as a decimal point cured the problem completely.

    Back to top


  15. When I use the Screen Import facility on a screen that uses the tab control, I get a tab on each screen that I import. How do I work with these imported screens in AcuBench?

    The import process does preserve all of the controls that are present on the screen when you imported. That is why each screen has the tab control. The import process creates a file called import.out. You could edit the import.out file removing all instances of the tab control. This would provide AcuBench with each individual screen with the appropriate controls on the screen. Then you can design a new screen with a tab control. Once you have created this screen you could cut and paste the controls from the imported screens onto the appropriate page for each tab.

    Back to top


  16. How do I edit the remote configuration file when using AcuBench and Thin Client?

    An additional option becomes available on the Project Settings, Runtime dialog once you using a project with Thin Client. This screen shot shows the additional option.:


Your Session will expire in 90 minutes
Notification will be shown in:
600 seconds