In AcuBench, creating a program means creating a program structure file. For more information, see Programs. After the program structure file is created, you generate to create a program source file (.cbl). The source file can then be modified to include those parts of the program that are not generated by AcuBench
This topic describes the process of creating a new AcuBench program.
To add an existing program to a project and in the process create a program structure file, see Creating a PSF for an Existing Program.
To add an existing source file without creating a program structure file, see Adding an Existing Source File.
To create a new source file without creating a program structure file, see Creating a File.
Create a new program as follows:
The Standard Program template includes code for a standard graphical screen.
The Blank template does not include a screen.
The read-only File name field is updated to show the name of the program structure file that will be created for your new program.
By default, the new program structure file is placed in the base directory for the current project.
You should note that when an existing source file is selected in the New > Program dialog, the Code Generation options in its Program > Properties area are selected, and the Regenerate tagged area only selection in the Tools > Options > Code Generator > Generate Document dialog should be cleared. Ensure that any automatic code generation capabilities that you don’t want are disabled.
If CRT STATUS is declared in your existing source file template, you should ensure that the Do Not Generate CRT STATUS variable in .wrk check box in the Program Properties dialog is set.