The Program Painter offers you an alternative to Online Express. Unlike the menu-driven method of Online Express, the Program Painter method is text-driven, enabling you to enter your specifications on a blank window using a text editor. The Program Painter provides a shorthand method for creating online COBOL programs for your applications.
Your application can consist entirely of online programs, or you can mix online programs with batch programs in the same application. In addition, the programs of a single application can access different database targets. For example, your online programs can access SQL databases and VSAM files, while your batch programs access VSAM files and IMS databases.
In combination with standard COBOL, you can also use the following types of source code:
In addition, you can include externally-defined source code in your programs that further streamlines the process of developing applications. To do this, enter AMB keywords to specify the location in the program where the source code belongs. Applications created in the Program Painter can use any of the following types of external source code.
External Code | Project Subdirectory | Description |
---|---|---|
Global code | APSPROG | You create global code using the Program Painter; AMB stores each global code module in a separate file that all programs of your application can share. |
COBOL copyfiles | COPYLIB | These copybooks can contain data structures or other source code. |
Data structures | APSDATA | Data structures that you create in the Data Structure Editor. |
User-defined rules | USERMACS | User-defined Customizer rules |
Before you get started on coding your programs, be sure you have done the following: