Documentation >
MAC-PAC Reference and Help >
Technical Support >
Key Concepts and Procedures >
Windows Processing >
Window Maintenance
Window Maintenance
There are two types of maintenance you can perform on windows: basic maintenance and administrative maintenance. Basic maintenance can be done by anyone on the system. Administrative maintenance should be done by your system administrator due to its technical processing considerations.
Basic Maintenance
Basic maintenance can be performed by anyone on the system. These tasks require neither programming skills nor authority to recompile. Their impact, however, is immediately visible in MAC-PAC.
Note: If you change a window, everyone using that window will see your changes.
Basic maintenance includes creating a new window as well as manipulating existing windows. The tasks performed during this type of maintenance include:
· Adding, removing, and resequencing fields on a window
· Changing literals
· Adding new windows
The Basic Maintenance Procedures section gives detailed examples of how to perform these maintenance tasks.
Administrative Maintenance
Administrative maintenance should be performed by your system administrator due to the processing considerations that accompany it. Any procedure that falls under administrative maintenance requires program and/or master file changes. The tasks performed during this type of maintenance include:
· Adding or removing fields from a field set
· Adding new field sets
· Creating custom programs to be called from a window
Window Maintenance Setup
There are two basic steps to perform when creating a window; defining the window and selecting the fields to display in the window. Each of these tasks are considered basic maintenance tasks.
Defining the Window
There are two steps to perform when defining a window¾first, combine the field set with an action code; second, choose a window indicator. Figure 5 above shows the Sales Order Line field set (SOLINE) being combined with the Kenning action code (KN) on the select screen of Reference File category 032. Once the field set and action code are combined, press Enter to go to the detail screen. On the detail screen, you must enter a window indicator of WN to indicate that this action code will be used to invoke user-defined window rather than a predefined function. Predefined functions include custom programs and existing MAC-PAC programs.
WILLIAMS COMMON FEATURES 5/23/94
DSP01 REFERENCE FILE CATEGORY 032 INQUIRE
Category Name Window Action Codes
Field Set(8) Action Cd(2)
Category Key SOLINE KN
Window Ind Window Title
Data WN Kenning Window
XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Start Pos. Size External Pgm. Alternate Set
Data 0205 L
NNNN X XXXXXXXXXX XXXXXXXX
Prompt Description Dsp 50 Char field
Data Kenning Orr Fields Y
XXXXXXXXXXXXXXXXXXXXXXXX Y
F2=Command F3=Exit F9=Inquiry F10=Function Select
|
Defining what will be Displayed in the Window.
Notice in the figure above that the window indicator entered was WN (the generic windows indicator). This indicator is the one you will choose for all basic maintenance tasks. After choosing a window indicator, you must enter other information about the window including the window title, starting row and column for the upper left hand corner of the window, the size of the window (large of small), the description for the window when prompted with F4=Prompt from the maintenance or inquiry conversation, and whether to display the 50-character field. Once these fields are entered, press Enter to process your request. If you choose a different window indicator, different fields are required.
Selecting the Fields to Display in the Window
Once your window is defined, you may select which fields you wish to appear and their sequence. You select these fields from the field set your window is defined for. The figure below shows the order of the fields that will display for that field set. Note that the figure only shows one page of the fields.
WILLIAMS COMMON FEATURES 5/24/94
DSP01 WINDOW DEFINITION DETAIL
Field Set SOLINE Sales Order Line Maintenance
Action Code KN Kenning Order Fields
Renumber by 10
Literal Seq
Order Number 10
Company 20
Warehouse 30
Part Number 40
Description 50
Plant 60
Line number 70
Part Type 80
Order Quantity 90
Release Qty
Order UOM
Reserved Qty
More...
F3=Exit F10=Function Select F15=Rekey Data F18=Renumber
F22=End Transaction
|
Fields on the Sales Order Line Maintenance Field Set (SOLINE) for the Kenning
Action Code (KN).
This conversation lists all the fields that will display in the window for the action code.
In order to reposition the fields simply renumber them. To remove a field, remove the
sequence number.
Every field defined in field set SOLINE will be displayed. To select a field for your window, enter a sequence number for that field. To resequence the selected fields, renumber them. To remove a selected field from the list, remove its sequence number. Fields that are not selected for the window will be displayed at the bottom of the list without a sequence number.