Parts used with VisualAge Generator are described in the following
table.
Part Type | Part Class | Part Description |
---|---|---|
Program
| VAGenPrograms | A program is a set of related parts that VisualAge Generator can generate into executable form. |
Function
| VAGenFunctions | A function is a block of logic consisting of a set of statements.
Functions can be used as subroutines or to perform input or output (I/O)
operations. Processing operations or I/O options are provided as
high-level verbs. Some examples are:
|
Map
| VAGenMaps | A map defines the layout and characteristics for all or part of the information presented on a character-based screen or printout when users run associated programs. |
Map Group
| VAGenMapGroups | Each map is part of a named collection called a map group. All maps used in an application must be in the same map group, except for help maps, which can be in a separate map group. |
Record
| VAGenRecords | A record is a collection of data items (a data structure) organized to serve a specific purpose. Records are analogous to rows in a database table. Records can be used to describe the layout of information in memory, in a database table, or in a file. |
Table
| VAGenTables | A table is a collection of related data items that can be used to edit data, store messages that a program issues, and store information for reference by an application system. |
PSB
| VAGenPSBs | A program specification block (PSB) describes the hierarchical database structures that an application system uses to access DL/I databases. |
Data Item
| VAGenDataItems | A data item describes the characteristics of a single unit of information in a record or table. |
Generation Options
| VAGenOptions | Generation options are parts managed in the library that list specifications used to customize generation for different environments. |
Linkage Table
| VAGenLinkages | A linkage table lists specifications required for calls to non-VisualAge Generator programs or calls to VisualAge Generator servers on remote systems. |
Resource Associations
| VAGenResources | Resource associations specify default overrides used during generation of COBOL or CICS/6000 programs that use printer maps or serial, indexed, or relative files. |
Bind Controls
| VAGenBindControls | Bind controls list commands that control DB2 applications. They are used in the COBOL program generation process. |
Link Edit
| VAGenLinkEdits | Link edits contain program-specific control statements used in generation of programs that run in MVS, VSE, and VM environments and call or are called by other programs using static COBOL calls. |
The VAGen Parts Browser provides you with a complete listing of all of the VAGen parts loaded in your workspace/image. You can also control how the list is displayed. Using the Parts Browser, you can display VAGen parts by package/application or part type. You can also sort them by name.
If you are using VisualAge Generator Developer on Java, you can open the VAGen Parts Browser from the Workbench by selecting Workspace>Open VAGen Parts Browser.
If you are using VisualAge Generator Developer on Smalltalk, you can open the VAGen Parts Browser from the VisualAge Organizer window by selecting VAGen Parts>Parts Browser.
To begin building new VAGen parts, you'll use the New VAGen Part window, shown in Figure 7.
In this window, you'll name your new part, choose the part type, and select a package/application to contain it.
If you are using VisualAge Generator Developer on Java, you can display the New VAGen Part window from the VAGen Parts Browser by selecting VAGen Parts>Add>New Part.
If you are using VisualAge Generator Developer on Smalltalk, you can display the New VAGen Part window from the VAGen Parts Browser by selecting VAGen Parts>New.
For hands-on practice developing VAGen parts, complete the steps outlined in Part 2, "VisualAge Generator Tutorial".