ô Ë
Attributes
The symbolic names are six-characters long, each character position having a unique meaning and setof possible values:
Character Letter Meaning Position Value of Letter Value
Symbolic Cobol Actual Name Name Code (inMSKDEF) (in MAGEC003) Value
Alpha-Numeric Edit Types:
Numeric Edit Types:
Date Edit Types:
NOTE: MAGEC accepts any valid operator entry (depending on field
LEGEND: mmm Mask number
PF Keys (general)
PF Keys (in MSKDEF)
PF Keys (in PAINT2)
PF Keys (in DBDITO, DBUTIL)
PF Keys (in LBRxxx and ALGxxx)
PF Keys (in PAINT1)
These functions are universal throughout MAGEC and are used by the Developers as well as by theApplication users. They are in Logical Application 00 and appear on the Menu screens of all theother (01 - 50) Logical Applications.
MOVE 'nnn' TO TWA-NONTP-MMP.
where 'nnn' is the MMP number of the sub program. Control will return to thenext-sequential-instruction after the PERFORM. The TWA will be passed from the calling MMP tothe sub-program and back. It can be used as the medium of communication between them.
MOVE FTH-FUNCT TO TWA-NONTP-REQUEST.
where 'xxxxxx' is the six-character Function Code you wish to transfer to. The entire TWA and allMask data is passed to the "fetched" MMP intact. You can also move a value into theScreen Key field (SKEY) to be passed to the fetched MMP. It is also permissable for the FunctionCode specified to be one of the functions handled by this same MMP; for instance VACLOC couldlegally fetch to VACSEE. Indeed, when you use the Cursor-selection feature of VACLOC that isexactly what happens.
where 'mmm' is the MMP number of the program to be fetched.
where nnn = the desired Mask number.
MOVE FTH-FUNCT TO TWA-NONTP-REQUEST.
You must not GO TO AA900-GOBACK from within a PERFORM'ed routine.
MOVE MSG-LIT TO TWA-TP-OP.
where 'message' is any 40-character literal.
Table of Attributes
Automatic Editing
Table of Edit Types
Developer Functions
Online Developer Functions
PF Keys in Developer Functions
Developer Functions PF Keys
Universal Functions
Logical Application 00's Functions
Program to Program Linkages
To CALL a Sub-Task MMP
PERFORM AA850-SUB-CALLTHRU AA899-EXIT.
To Chain Functions (Screens)
MOVE 'xxxxxx' TOSFUNCT.
GO TO AA900-GOBACK.
To Fetch a Specific MMP
MOVE FTH-CMD TOTWA-NONTP-REQUEST.
MOVE 'mmm' TO TWA-NONTP-MMP.
GOTO AA900-GOBACK.
Miscellaneous Customization
To Initialize TWA-MSK-AREA
MOVE MSK-CMD TOTWA-TP-REQUEST.
MOVE 'nnn' TO TWA-TP-TRM.
PERFORMAA800-CALL-MONITOR THRU AA899-EXIT.
IF (GET-MSK-ERR)
PERFORM BB800-MSK-ERR-MSG THRU BB899-EXIT
GO TOAA800-SEND-SCREEN.
To Fetch the Clear (Logo) Screen
MOVE CLEAR-FUNCT TO SFUNCT.
GO TO AA900-GOBACK.
To Fetch Clear Screen with Message
MOVE message TOTWA-MSK-AREA.
MOVE FTH-FUNCT TO TWA-NONTP-REQUEST.
MOVE CLEAR-FUNCT TO SFUNCT.
GO TO AA900-GOBACK.
Editing & PF Keys
DO THIS: |
where nnn = the 3-character Error number you wish to add.
The ERRADD screen will be presented. You must enter two things.
IF (TWA-MSK-PF5-HIT) .....
You can do this at any time in the processing logic. There is an 88-level value for every possible key.
Below is a list of the Customization Insertion Points where you can enter Custom coding. Beside eachis a brief list of some of the most common types of coding done there.
NOTE: The following Abend Codes consist of the prefix "DB"
For assistance call:
To Test Which Key Was Hit
IF (TWA-MSK-ENTER-HIT) .....
IF(TWA-MSK-PF10-HIT) .....
- et cetera
Panel 9 - Insertion Points
Where to do Customization
Abend Codes