Customization Index

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