The sample application panels

When you run the interactive sample applications, the sample application panels require you to enter information such as the action you want to complete.

You are prompted for the following information when you run the interactive sample applications.

Sample Applications Distributed Sample Applications
  • MAJOR SYSTEM
  • ACTION
  • OBJECT
  • SEARCH CRITERIA
  • DATA
  • ACTION
  • OBJECT
  • SEARCH CRITERIA
  • LOCATION
  • DATA

Regard these categories as a family of values that are used together to specify a task that is to be performed. For MAJOR SYSTEM, ACTION, OBJECT, and SEARCH CRITERIA, a character code of one or two characters is used as a form of shorthand to indicate the criteria that you want. The system provides a list of these codes with their meanings. A valid location name of 1 to 16 characters must be used for LOCATION. The value for DATA must be consistent with the data type and length of SEARCH CRITERIA.

MAJOR SYSTEM
MAJOR SYSTEM specifies the major application area. In the sample application, there are two major systems: organization and project. These major systems are implemented in separate transactions to keep the plan sizes reasonable. If you are running the Db2 distributed sample program, organization is the only system; therefore, this criterion is not used.
ACTION
ACTION specifies what you want to do with the object (specified on another line of the panel). You can display, update, add (insert), or erase (delete) information about the specified object.
OBJECT
OBJECT specifies the object about which you want information. Normally, the action is associated with the object. Examples of objects are information about an employee (EM) or information about the relationship among departments (DS).
Objects can be specified with the following codes for the organization application:
DE
Department—general department and manager information for department specified
DS
Department structure—hierarchy information for department specified
EM
Employee—information concerning employee specified.
Objects can be specified with the following codes for the project application:
PS
Project structure—information on projects and subprojects
AL
Activity listing—information concerning the different activities that makes up a project
PR
Project—general project information
AS
Activity staffing—information about the employees staffed for activities of specified projects
AE
Activity estimate—information concerning the estimated staffing and time requirements of specified projects.

You are able only to add, update, or erase information about the selected object, although you can search and display based on other criteria. Items that are added or updated can be changed on the screen. Other fields are protected.

SEARCH CRITERIA
SEARCH CRITERIA helps to locate the specific item of information upon which to act.
The following codes can be specified for the search criteria field for the organization application:
DI
Department number
DN
Department name
EI
Employee number
EN
Employee name
MI
Manager number
MN
Manager name.
The following codes can be specified for the search criteria for the project application:
DI
Department number
DN
Department name
EI
Employee number
EN
Employee name
PI
Project number
PN
Project name
RI
Responsible person number
RN
Responsible person name.
LOCATION
LOCATION is used only for the distributed application. It describes the location where the action is to take place. If this criterion is left blank, then the local location is assumed.
DATA
DATA further identifies the search criteria target. The data value specified must be consistent with the data type and length of the search criteria code. If the search criterion is an employee name (EN), manager name (MN), or responsible person name (RN), the value of data must be a person's last name.
Data values can be specified by using either primary selection or secondary selection. Primary selection is the data value itself. Only one set of data values fulfills the request. Secondary selection allows multiple sets of data values to fulfill the request. A brief summary of the sets of data values appear on the screen. Each summary has an associated line number. To display additional information about a certain line, enter the line number in the DATA field. Secondary selection allows the application to display a set of values and then provides a prompt to select a specific DATA value. For example, you can display information about a department (DE) (the OBJECT) with a department number (DI) (the SEARCH CRITERIA) with a DATA value of D11.