---
title: "sectut_main"
original_file: "sectut_main"
generated: "2026-06-12 10:24:25"
---
**
FCDFND 1
(with a search argument of "VAC")
If you had done either of these "programmerless queries", you could then take advantage of the Short-List facility to (cont.)
select each of the VAC. . . functions from a pop-up window. The Short-List is invoked by pressing PF24 from the (cont.)
maintenance screen after having done a browse or query.
In this project we are having you use the less elegant, more basic, method of executing a browse, selecting an item for (cont.)
update, updating the item, and re-executing the browse to enable you to select the next item.
| ```
FCDLOC VAC END OF LIST PF5=Restart/PF7=Backward
FUNCT. LAP DESC T-MMP LVL HLD P-MMP LVL HLD
VACADD 50 VAC MAINT 600 1 N 600 9 N
VACCHG 50 VAC MAINT 600 1 N 600 9 N
VACDEL 50 VAC MAINT 600 1 N 600 9 N
VACDUP 50 VAC MAINT 600 1 N 600 9 N
VACFND 50 VAC MAINT 600 1 N 600 9 N
VACLOC 50 VAC MAINT 600 1 N 600 9 N
VACNXT 50 VAC MAINT 600 1 N 600 9 N
VACSCN 50 VAC MAINT 600 1 N 600 9 N
VACSEE 50 VAC MAINT 600 1 N 600 9 N
VACTOT 50 VAC MAINT 600 1 N 600 9 N
VERZUN 50 PGM/MSK VERSION VERIFICATION 652 1 N 652 1 N
WHOMAY 49 Show Authorized Users for Func 665 1 N 665 1 N
WHOSON 49 List who is logged on 665 8 N 665 8 N
WINDOW 00 Swap Windows 652 0 N 652 0 N
++++ 14 Records Scanned, 14 Displayed so far - Page 1 ++++
KEY 1 = FUNCTION CODE
Press PF13 for Hardcopy
You may Position the CURSOR on an item and Press ENTER to "SEE" it
(Browsing Forward) or Press PF4 to "CHG" it
```**
Figure 05 -- Function Code "Locate" Screen
| ```
** DO THIS:
Position the cursor to the line where VACADD is displayed, press PF4.
```**
By positioning the cursor to a line and pressing PF4, you have selected that item for *change.*
The full-screen FCDCHG screen will appear with the definition for the selected function (VACADD) filled in.
This shows you the current values specified - they are the default values generated by the MMPCREAT process at the time the Vacation Application was initially generated.
**Desc **is a 30-character description which will appear on the automatically-generated menus, it should be one which will be helpful to an operator requesting a menu.
**Logical Application** is the 2-digit (01 through 50) LAP number. LAP 50 is for Development/Testing/ and Database (cont.)
Administration functions -- it is the default LAP which MAGEC uses when it automatically creates the FCD entries; you (cont.)
can change it to any valid LAP number.
Separate **TEST **and **PRODUCTION** profiles are supported for many of the parameters. This enables you to conduct (cont.)
production processing, development, and testing on one MAGEC system. You can separate programs, files, and security (cont.)
parameters to prevent end-users from accessing test data and to prevent developers and prototypers from accessing (cont.)
production files and programs.
**User Views** are the sixteen (16) MAGEC user views (TS01 through TS08 and PR01 through PR08). You specify (Y or N) whether this function may be executed from each of the user views.
**MMP Numbe**r is the 3-character identification for the program which is executed to handle this function.
**Auth Level** is the authorization level (0 through 9) which is required to access this function. You should interpret (cont.)
this as meaning the authorization level *within the specified logical application*. A level of 0 indicates "no (cont.)
authorization", a level of 9 indicates the highest possible authorization.
**Hold** is a Y or N indicator which specifies whether this function is temporarily suspended, Y indicates "on hold."
**This Function Invokes Auto Edit ****(Y or N)** is a Y or N indicator which specifies whether this is an updating (cont.)
function (i.e add, change, duplicate) which requires MAGEC to perform the automatic screen field edits to validate the (cont.)
data entered. Functions ending in ADD, CHG, or DUP will automatically be treated as updating functions, regardless of (cont.)
the setting of this indicator -- other functions will not be considered as updating functions* unless *the setting is (cont.)
Y.
| ```
**
FCDCHG VACADD
M A G E C
FUNCTION CODE DEFINITION
FUNCTION CODE= VACADD DESC: VACATION/SICK/COMP DAYS
LOGICAL APPLICATION NUMBER: 50 MAGEC Development/Testing/DBA
TEST PRODUCTION
87654321 87654321
USER VIEWS: YYYYYYYY USER VIEWS:
MMP NUMBER: 600 MMP NUMBER: 600
AUTH LEVEL: 1 AUTH LEVEL: 9
HOLD: N HOLD: N
THIS FUNCTION WILL INVOKE AUTO EDIT (Y OR N): Y
Press PF4 for browse (LOC) screen
Press PF13 for Hardcopy
Press PF16 to Copy field to buffer Press PF17 to Paste data from buffer
Press PF2 for field-level HELP Press PF24 for Pop-Up Short-List
```**
Figure 06 -- Function Code Definition Screen
**
NOTE:
**
There is a "global change" function, FCDGBL, which will enable you to alter a set of function code definitions in one (cont.)
transaction. You could use FCDGBL to change all the VAC... function codes instead of using FCDCHG on each one (cont.)
individually. In this exercise we are having you use the more tedious, but more instructive, individual method. In (cont.)
real-life you would probably often choose to use the global change facility instead to save time. FCDGBL is described (cont.)
in more detail in the *Programmer's Reference Guide* in the "Security" chapter.
| ```
** DO THIS:
Key in changes as shown. Press ENTER.
```**
You are entering the description which will be used on the lower level menu. When MAGEC automatically generated the FCD (cont.)
records, it used a default description of VAC MAINT. You are overkeying it with one which will be more pleasing on the (cont.)
menu. You are also overkeying the default logical application number (50) with 01, specifying Y (yes) for all eight (cont.)
production user views, and changing the production authorization level to 1.
The description for the logical application which appears on the screen will change to reflect the change you have made to the logical application number after you have pressed ENTER.
Now, you must repeat these changes for each of the VAC... functions.
**
NOTE:
**
A message at the bottom of the screen will remind you that you must do the **LOAD fucntion in order to make your (cont.)
changes take effect immediately. It is not necessary to do **LOAD after each individual update when you are going to do (cont.)
several updates; you should do **LOAD after you have completed *all *your updates.
When MAGEC is first initialized, at the time your TP Monitor (CICS, Westi, etc.) is started up, it loads the **security (cont.)
and data definition parameters** from the disk-resident dictionary into main memory. This greatly improves efficiency (cont.)
for your applications, avoiding many run-time I/O's. If you alter the disk-resident dictionary parameters and wish the (cont.)
changes to become effective *before* the next time that your TP Monitor is brought down and back up, you must do the (cont.)
**LOAD function which tells MAGEC to re-load its main memory images of the dictionary data. Of course, the next time (cont.)
the TP Monitor is brought down and back up they will be re-loaded automatically.
| ```
**
FCDCHG VACADD
M A G E C
FUNCTION CODE DEFINITION
FUNCTION CODE= VACADD DESC: Vacation data
LOGICAL APPLICATION NUMBER: 01 MAGEC Development/Testing/DBA
TEST PRODUCTION
87654321 87654321
USER VIEWS: YYYYYYYY USER VIEWS: yyyyyyyy
MMP NUMBER: 600 MMP NUMBER: 600
AUTH LEVEL: 1 AUTH LEVEL: 1
HOLD: N HOLD: N
THIS FUNCTION WILL INVOKE AUTO EDIT (Y OR N): Y
Press PF4 for browse (LOC) screen Press PF13 for Hardcopy
Press PF16 to Copy field to buffer Press PF17 to Paste data from buffer
Press PF2 for field-level HELP Press PF24 for Pop-Up Short-List
```**
Figure 07 -- Function Code Defintion Screen
After changing the definitions for each of the VAC. . . functions you will return to the list of function codes (the Locate screen) so that you can select the next one to change it.
| ```
** DO THIS:
After you have successfully updated the record -- Press PF3.
```**
Pressing the PF3 key (called the Escape Back key in SAA terminology) will return you to the FCDLOC screen *as you left (cont.)
it*, pressing PF4 instead of PF3 would return to the FCDLOC screen* with the item you just changed at the top* of the (cont.)
list.
| ```
** DO THIS:
Cursor-select the next VAC... function using PF4, make the changes to it. Press ENTER.
```**
| ```
** DO THIS:
Repeat the steps on this page for all of the VAC... functions.
```**
When you are finished updating the function code definitions for the Vacation application you will need to tell MAGEC to re-load its main memory images.
| ```
** DO THIS:
After updating all the VAC... functions -- Enter the **LOAD command (at top left of the screen) and press ENTER.
```**
The **LOAD command will cause MAGEC to re-load its main memory images of the dictionary data. You will be notified of (cont.)
its successful completion with a message in the top-right of the screen telling you the number of function codes (cont.)
loaded.
| ```
**
FCDLOC VAC END OF LIST PF5=Restart/PF7=Backward
FUNCT. LAP DESC T-MMP LVL HLD P-MMP LVL HLD
VACADD 01 Vacation data 600 1 N 600 1 N
VACCHG 50 VAC MAINT 600 1 N 600 9 N
VACDEL 50 VAC MAINT 600 1 N 600 9 N
VACDUP 50 VAC MAINT 600 1 N 600 9 N
VACFND 50 VAC MAINT 600 1 N 600 9 N
VACLOC 50 VAC MAINT 600 1 N 600 9 N
VACNXT 50 VAC MAINT 600 1 N 600 9 N
VACSCN 50 VAC MAINT 600 1 N 600 9 N
VACSEE 50 VAC MAINT 600 1 N 600 9 N
VACTOT 50 VAC MAINT 600 1 N 600 9 N
VERZUN 50 PGM/MSK VERSION VERIFICATION 652 1 N 652 1 N
WHOMAY 49 Show Authorized Users for Func 665 1 N 665 1 N
WHOSON 49 List who is logged on 665 8 N 665 8 N
WINDOW 00 Swap Windows 652 0 N 652 0 N
++++ 14 Records Scanned, 14 Displayed so far - Page 1 ++++
KEY 1 = FUNCTION CODE
Press PF13 for Hardcopy
You may Position the CURSOR on an item and Press ENTER to "SEE" it
(Browsing Forward) or Press PF4 to "CHG" it
```**
Figure 08 -- Function Code Browse Screen
#
Low-Level Menus
##
$$MENU Function
Now let's look at the low-level menu for LAP 01.
| ```
** DO THIS:
Key in the command $$MENU 01. Press ENTER.
```**
You can see the low-level menu by keying in the $$MENU command or by starting from the high-level menu and (cont.)
cursor-selecting the desired LAP. Another way, as you will see, is to set a session option which equates the CLEAR or (cont.)
next: sectut02.md.txt