Customization Index
%ADDINIT
__________more
%ADDIT
__________more
%CALC
%COMP
%DATADEF
__________more
%DELET
%EDIT
__________more
%FUNCT
__________more
%GOODADD
%GOODCHG
%JOIN
__________more
%LITERAL
__________more
%LOCINIT
__________more
__________more
%LOCKY
%LOCMOV
%PFKEYM
%PREINIT
%RDUKY
__________more
%REDKY
__________more
__________more
%REDNX
%RELES
%SELECT
%SUBRTNM
%UPDAT
__________more
%USRAREA
%VARSTOR
__________more
__________more
&PFX
-MAGECADD control card
ADDINIT
__________more
ADDIT
__________more
AID byte
_____codes
ALG
_____file
_____file
_____key structure
ALGxxx functions
_____ALGADD
_____ALGADD
_____ALGADD
_____ALGADD
_____ALGNXT
Altering Browse Display
At-sign (@)
_____in dataname
Attach / Detach
__________more
_____using for Pop-Up Window
Attribute
_____byte
Audit program for database
Automatic Editing
Automatic log on
BROWS-FUNCTION
Browse Display Before Project 2
Browse functions
Browse Functions
_____display
_____modifying the display
Browse-type update screens
CALC
Calculated figures
Chaining screens
__________more
__________more
CICS START command
CICS XCTL command
Cobol level number
Cobol tabs
Color
_____code
COMMAREA
COMP
Control fields
Copybook
_____for date conversions
Copying
_____and Pasting
Custom functions
Customization
_____discussion of philosophy
Customization algorithm
Data, passing
__________more
DATADEF
__________more
Dataname
_____for screen fields
_____symbolic references
Date
_____conversions
_____editing
Day-of-Week code
DB2
_____generating SQL
Default code
__________more
Default Code
DELET
Derived data
Detach
Displaying Calculated Figures
DITGEN Function
Duplicating
_____lines of code
EDIT
__________more
Editing
_____using patterns
Error
_____numbers
Error flag
Extended highlighting
Fetch
Field
_____position
FTH-FUNCT command
FUNCT
__________more
Function Codes
_____non-standard
_____prefix
_____prefix - &PFX
Global parameters
GOODADD
GOODCHG
Heading
_____on browse screens
Highlighting a Screen Field
Inserting lines of code
Insertion point
__________more
__________more
__________more
JOIN
__________more
Julian date equivalent
Key
_____delimiter character on screen
Key value
LIN-CTR
LINK, EXEC CICS
Linkage Section
linking screens
Linking screens
__________more
List-type update screens
LITERAL
__________more
Locate heading
LOCINIT
__________more
__________more
LOCKY
LOCMOV
Log on
_____via MAGLOGON
Logical Join
__________more
Logical record
Logo screen
Lowercase alphabetics
__________more
__________more
MAGDATE subroutine
_____date conversion / validation
MAGECADD
MAGECIO
MAGECLBR
MAGECSQL modifier
MAGLOGON
MAGX trans-id
_____transferring from non-MAGEC to MA
MAGXFRIN/MAGXFROT
_____transfer programs
MAGXFRM
Maintenance functions
Mask
_____accessing in a program
MMPCREAT
__________more
Modifier
__________more
MSKCRE Function
MSKCREAT
MSKDEF Function
__________more
Multi-record updates
Multi-Screen Applications
Named proformas
Named Proformas
Naming Conventions
Nesting screens
Non-MAGEC programs
NOT-FOUND condition
Page numbers & modifiers
Page of code
__________more
Passed Data
_____attach / detach
Passed data
_____in Attach/Detach sequences
_____in multi-screen applications
_____transferring from non-MAGEC program
Pattern
_____Cobol-like in screen painting
Pattern Editing
PF keys
_____sensing in your MMP
_____sensing in your MMP
PF2, PF16, PF17
_____reassigning keys
PF3 key
PFKEYM
PFX
Pop-Up Window Program
_____generating
PREINIT
PROADD Function
Procedure Division
Proforma
__________more
Proforma Code
Proformas, Named
Prompt
Push / Pop stack
RDUKY
__________more
Reassigning PF keys
_____PF2, PF16, PF17
REDKY
__________more
__________more
REDNX
Reentrancy
RELES
Row and column
Sample Project 1
Sample Project 2
SCDLST Function
SCOMPL
Screen
_____header
Screen fields
_____datanames
_____initializing with underscores
Screen Painting
_____adding new fields
_____manual
Scrolling window updates
Security System
_____defining a function
SELECT
Selecting records to display
Semicolon
SERRMSG
Source/Target
__________more
SQL
_____generating
SQLCRE Function
SQLPUR Function
Stack
State Code Table
SUBRTNM
Symbolic screen field references
SYSLOG
Tab character
Table #003
_____State Codes
Table #243
_____accessing global parms from a progra
Table Lookup
Table Maintenance
Table validation
Test New Function
TRANSFER command
Transferring
_____MAGEC and non-MAGEC programs
_____screen to screen
Transforming data
TSKLST - Page 3
TSKLST Function
TWA
TWA-MSK-AID
Underscores
__________more
__________more
UPDAT
__________more
Updating Lookup Tables
Updating multiple records on screen
USRAREA
VALUE clause
Variable fields, on screen
_____virgin
Variable Storage
__________more
VARSTOR
__________more
__________more
Verify Option
Virtual database fields
W-fields
_____associated with table lookup
Work fields
__________more
Working Storage
XCTL to MAGEC
ZEERO






Table of Contents
Customization Tutorial
Introduction
__ Who Should Read This Guide
__ Supplemental Reading
__ How to Use the Tutorial
Sample Project 1
__ Displaying Calculated Figures
__ Customization Menu
__ Defining Work Fields
__ Enter Your Work Field Definitions
__ Entering Procedure Division Code
__ Select Logical Join Task
__ Modifying Customization Code
__ Coding Computations
__ New Customized %JOIN Algorithm
__ Adding Fields to Mask
__ Manual Screen Painting
__ Drawing New Fields onto MSKDEF
__ MSKDEF Recognizes Your New Fields
__ Updating Field Characteristics
__ Modify Remaining 3 Fields' Characteristics
__ Regenerate & Compile
__ Project 1 is Done
Sample Project 2
__ Altering Browse Display
__ Browse Display Before Project 2
__ Remove an Item from the Browse Display
__ Remove Locate Position
__ Selecting a Field to Add to the Browse
__ Adding a Field to Browse Screen
__ Specifying a Locate Heading
__ Regenerate & Compile
__ Test New Browses
Default, Custom, and Proforma Code
__ Custom Code
__ Default Code
__ Logic of MMPCREAT at Insertion Points
__ Proforma Code
__ Another Proforma Example
Named Proformas
__ The PF4 Key
__ Your Own Proformas
Modifiers & Page Numbers
__ ALG Key Structure
Sample Project 3
__ Adding a Custom Function
__ New Function Code
__ Inserting New Function
__ Forcing Key Value
__ Custom Code - %LOCINIT
__ More Variable-Storage Fields
__ More Work Fields
__ Controlling the Browse Display
__ Custom Browse Display
__ Recompile and Test
__ Define New Function to Security
__ Test New Function
Test Project 4
__ Chaining Screens
__ Helpful Hints
__ Solution to Test Project 4
Project 5
__ Using Lookup Tables
__ Manual Screen Painting
__ Demonstrate Table Features
__ Table Maintenance
Project 6
__ Generating Pop-Up Window Programs
Appendix A
__ Linking to a Subroutine MMP
Appendix B
__ Chaining Screens
Appendix C
__ How to Initialize TWA-MSK-AREA
__ Mask Copybook
Appendix D
__ Fetching the Clear Screen
Appendix E
__ Editing
Appendix F
__ Adding & Updating to ERR File
Appendix G
__ How to Test Which Key Was Hit
__ Simulating a Key
Appendix H
__ Where to do Customization
__ Alphabetical List of Insertion Points
Appendix I
__ Using Top and Bottom Rows of the Screen
Appendix J
__ Why Transfer to non-MAGEC Program
__ From MAGEC to non-MAGEC
__ From non-MAGEC to MAGEC
__ Automatic Log On
Appendix K
__ Transform, Inspect, and Examine
__ Transform verb
Appendix L
__ PF2 - PF16 - PF17
__ Assigning an Alternate Key
Appendix M
__ Displaying Field With Pattern
__ Editing Field Using Pattern
__ De-Patternizing a Field
Appendix N
__ Delimiter Character
Appendix O
__ Date Conversion Subroutine
__ Request Area
__ Validating a Date
__ Calling MAGDATE
__ Online Demo
__ Leap Years
__ Day-of-Week Codes
Appendix P
__ Screen Field Names
__ Symbolic Screen Field References
Appendix Q
__ SQLCRE Function
Appendix R
__ Purpose for this Facilty
__ Design Criteria
__ Implementation and Use
Appendix S
__ Screen Sequences
__ Two Approaches
__ First Approach
__ Second Approach
__ Toggling Between Screens
__ Sets of Masks
Appendix T
__ Table #243
Appendix U
__ Multi-Record Updates
__ General Premises
__ One Technique
__ Other Techniques






List of Figures
Figure 01
Figure 02
Figure 03
Figure 04
Figure 05
Figure 06
Figure 07
Figure 08
Figure 09
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Figure 21
Figure 22
Figure 23
Figure 24
Figure 25
Figure 26
Figure 27
Figure 28
Figure 29
Figure 30
Figure 31
Figure 32
Figure 33
Figure 34
Figure 35
Figure 36
Figure 37
Figure 38
Figure 39