Working with the organization application scenario
The organization application scenario shows how to display a list of departments within an organization and the structure of one of these departments.
About this task
This application is executed in Phase 4 for IMS and Phase 5 for CICS®.
Procedure
To display a list of departments and the structure of one of the departments:
- After you enter the appropriate transaction code, you see
the first panel of the project application. Enter the following values:
- On the MAJOR SYSTEM, enter O for organization.
- On the ACTION line, enter D for display.
- On the OBJECT line, enter DS for department structure.
- On the SEARCH CRITERIA line, enter DI for department number.
- On the DATA line, enter %, which enables you to display a list of all the departments.
Each department entry is numbered on the far left side of the panel as shown in the figure below.
Figure 1. Organization application—viewing a list of departments DEPARTMENT ADMINISTRATIVE STRUCTURE SELECTION MAJOR SYSTEM ...: O ORGANIZATION ACTION .........: D DISPLAY (SHOW) OBJECT .........: DS DEPARTMENT STRUCTURE SEARCH CRITERIA.: DI DEPARTMENT ID DATA ...........: % SELECT A DEPARTMENT FROM FOLLOWING LIST BY SPECIFYING THE LINE NUMBER NO D/ID DEPARTMENT NAME M/ID MANAGER NAME 01 A00 SPIFFY COMPUTER SERVICES DIV. 000010 CI HAAS 02 B01 PLANNING 000020 ML THOMPSON 03 C01 INFORMATION CENTER 000030 SA KWAN 04 D01 DEVELOPMENT CENTER 05 D11 MANUFACTURING SYSTEMS 000060 IF STERN 06 D21 ADMINISTRATION SYSTEMS 000070 ED PULASKI 07 E01 SUPPORT SERVICES 000050 JB GEYER 08 E11 OPERATIONS 000090 EW HENDERSON 09 E21 SOFTWARE SUPPORT 000100 TQ SPENSER PFK: 02=RESEND 03=END 08=NEXT
- To retrieve further information, specify a line number
as a data value. This method is called secondary selection. Secondary
selection provides prompts to aid in finding the information to be
displayed, added, erased, or updated. If only one entry possibility
exists, secondary selection is not offered. For example, to view the structure of Department E01, specify a data value of 7 on the DATA entry line (7 is the line number of the entry for Department E01). The result of entering the data value of 7 is a display of Department E01 and its departments as shown in the figure below. The department manager for E01 is listed on the left, and the departments of E01 are listed on the right. Employees of E01 are listed below the subdepartments of E01.
Figure 2. Organization application—viewing a department structure DEPARTMENT ADMINISTRATIVE STRUCTURE MAJOR SYSTEM ...: O ORGANIZATION ACTION .........: D DISPLAY (SHOW) OBJECT .........: DS DEPARTMENT STRUCTURE SEARCH CRITERIA.: DI DEPARTMENT ID DATA ...........: 07 DEPARTMENT ID & NAME SUBDEPARTMENT ID, NAME & MANAGER MANAGER ID & NAME EMPLOYEE ID & NAME E01 SUPPORT SERVICES E11 OPERATIONS 000050 JOHN B GEYER 000090 EILEEN W HENDERSON E21 SOFTWARE SUPPORT 000100 THEODORE Q SPENSER 000050 JOHN B GEYER PFK: 02=RESEND 03=END 08=NEXT 10=LEFT