To display, create or modify the general characteristics of a program template of the current application area, select either:
the corresponding option from the context-sensitive menu (or the equivalent button) in the Program templates tab of the Object manager.
the General characteristics option from the Program template menu of the SSG (in modification mode only).
the General characteristics option from the Program template menu of the 4GL Editor (in modification mode only).
Data entry
Name
Name of the program template.
This name must be a valid program template name (as defined by IBM), unique among the names of program templates in the environment.
Length: 15 characters maximum.
Mandatory entry.
Description
Description clearly identifying the program template.
Length: 250 characters maximum.
Mandatory entry.
Radio buttons
Visibility
The visibility of a program template is either public or private. Only the owner of the program template, or a software engineer with modification authorities, can change the visibility.
A public program template cannot be changed into a private program template if it is attached to more than one application area.
In creation mode, the visibility is by default set to public.
Type
Click the radio button corresponding to the program template: Interactive or Batch.
Buttons
Display/Assign
This button opens a dialog box displaying the list of management rules assigned to the program template, as well as the list of available management rules which can be assigned to the program template.
Sequence
This button opens a dialog box displaying the list of management rules assigned to the program template, in order to resequence this list by modifying the sequence numbers of the listed management rules.
This button is not active in display mode.
Information
This button opens a dialog box displaying information on the current program template, such as the name of the software engineer-owner, the dates and times of creation and modification.
Comments
This button opens a dialog box for entering a comment text which will be associated with the current program template.
Enter/Create/Modify (validation)
The Enter button (in display mode) closes the dialog box.
The Create button (in creation mode) or Modify button (in modification mode) validates the dialog box.
The various fields of the dialog box are verified. If all are valid, the program template definition is updated in the database before the box is closed; otherwise, an error message is displayed.
Cancel
This button closes the dialog box without validating the choices made.
Keyboard shortcut: Esc.