Link MAGECIO for Test
ALAIOLKT Jobstream
The ALAIOLKT jobstream is used to linkedit the MAGEC I/O module for Test User-Views (TS01 thru TS08) in a mainframe (cont.)
environment. It is used only if you are executing the old Assembler version of the I/O Module.
**
    
VSE    
**
// JOB ALAIOLKT
**// EXEC PROC=MAGECLIB    
-pvt. libs.
// OPTION CATAL
 PHASE MMP653,*
 INCLUDE MAGECIO        
(CATALR'd previously)
 INCLUDE DBCSVPR        
(if Datacom/DB)
 INCLUDE MAGVSAM
// EXEC LNKEDT,SIZE=128K
/*
/&
    
z/OS    
**
//ALAIOLKT JOB CLASS= ,MSGCLASS=
**//LKED EXEC PGM=IEWL,PARM=(NCAL),COND=(8,LT)
//SYSLIB DD DSN=SYS1.MACLIB,DISP=SHR
// DD DSN=MAGEC.LOADLIB,DISP=SHR
//SYSUT1 DD UNIT=SYSDA,SPACE=(1024,(50,20))
//SYSPRINT DD SYSOUT=*
//SYSLMOD DD DSN=MAGEC.LOADLIB,DISP=SHR
//SYSLIN DD *
 INCLUDE SYSLMOD(MAGECIO)
 INCLUDE SYSLMOD(MAGVSAM)    
 INCLUDE SYSLMOD(DBCSVPR)    
(if Datacom DB)
 NAME MMP653(R)
/*
//
**
**
NOTE:
**
If both VSAM and Datacom DB are to be supported by your MAGEC system, then you must include both DBCSVPR and MAGVSAM. The MAGEC Dictionary files are VSAM.
#
List Error Messages
##
ERRLIST Utility Program
The ERRLIST batch utility may be used to print hardcopy lists of the Error Messages from the MAGEC ERR file. The Error Number, Text, and Narrative Description for each Error Message will be shown.
##
ERRLIST Control Cards
The program accepts a control card to specify the range of Error Numbers desired to be listed. Multiple control cards may be input into any one run. The format is:
Columns
Description
Card Format:
1 - 8
Constant "ERRLIST".
9 - 11
Starting Error Number. (may be alphanumeric)
12
Constant "-".
13 - 15
Ending Error Number. (may be alphanumeric)
Control card example:
ERRLIST 001-999
**
ERRLIST Jobstream
    
VSE    
**
* $$ JOB JNM=ERRLIST,CLASS=
*** $$ PRT CLASS=V
// JOB ERRLIST
// EXEC PROC=MAGECLIB    
-pvt. libs. and DLBL's for dictionary
// ASSGN SYS006,SYSIPT
// ASSGN SYS007,SYSLST
// EXEC ERRLIST,SIZE=(AUTO,20K)
ERRLIST xxx-yyy
/*
/&
* $$ EOJ
    
z/OS    
**
//ERRLIST JOB CLASS=_,MSGCLASS=_
**//STEP1 EXEC PGM=ERRLIST
//STEPLIB DD DSN=MAGEC.LOADLIB,DISP=SHR
* * * * * * * * DD's for dictionary files
//SYSOUT DD SYSOUT=W
//SYS007 DD SYSOUT=W
//SYS006 DD *
ERRLIST xxx-yyy
/*
//
    PC    
**
Edit, as necessary, the control cards found in the file named:
\MAGxx\ERRLIST.RDR
 
At the prompt enter:
ERRLISTX
 
#
MAGECLBR
##
Library Utility
MAGECLBR is used for offline updating and listing against the MAGEC ALG, DOC, and DIT files.
The batch utility, MAGECLBR, may be used to:
Punch and print a member from the ALG or DOC file.
Print a member from the DOC file.
Print one or all custom algorithms from the ALG file for an application
Add a member to the ALG, DOC, or DIT file.
Replace a member on the ALG or DOC file.
Delete a member on the ALG, DOC, or DIT file.
Print an index report of the ALG or DOC files.
Print a Where-Used report for an Element, copybook, Domain, Data Item, or character string.
Apply global changes to all Data Items belonging to a Domain
The **ALG** file contains five types of members (six, if you separate the two types of custom algorithms for batch and online) identifiable by their "key prefixes". They are:
Key Prefix    Member Type
LIB
General purpose library member which may be referenced as a "copybook" using the -MAGECINC command. Also may be printed (cont.)
or punched using MAGECLBR for various purposes. Also may be entire source programs.
DEF
Default customization algorithms which are inserted into generated MMP's at insertion points when the developer does not provide a custom algorithm for that insertion point.
nnn
Where nnn = a valid SHD (mask) number. Custom algorithm for mask # nnn.
nnnB
Where nnn = a valid Batch Report Number. Custom algorithm for Batch Report # nnnB.
PRO
Named Proforma Members which are frequently used code or routines that MAGEC can place on your screen to reduce coding effort.
RUL
Business Rule coding associated with an element.
The **DOC** file contains documentation for any purposes desired by the user, but primarily for the MAGEC Online Documentation feature.
The **DIT** file contains the Dictionary definitions for the Data Items (fields) in the Elements, and it also contains the Domain definitions.
Members may be seen and updated online using system function codes. The standard set of MAGEC functions and online (cont.)
documentation is available for each Member type. Additional functions are also provided in some (cont.)
cases.
To access each Member Type online use any valid function suffix ( ADD, CHG, DEL, etc.) in place of
...
as follows:
DOC... ttt---tt
For Documentation on DOC file.
**ttt---tt = 30-character Topic Name
 
LBR... nnnnnnnn/mmmmmmmm/ppp
For General Purpose Library Members.
nnnnnnnn = Member Name
mmmmmmmm = Modifier
ppp = Page number
 
DEF... nnnnnnnn/DEFAULT/ppp
For Default Algorithms.
nnnnnnnn = insertion %Parm Name
DEFAULT = literal value (optional)
ppp = Page number
 
ALG... xxx/nnnnnnnn/mmmmmmmm/ppp
For MMP Custom Algorithms.
xxx = Screen Header (mask) no.
nnnnnnnn = insertion %Parm Name
mmmmmmmm = Modifier (optional)
ppp = Page number
 
ALG... xxxB/nnnnnnnn/mmmmmmmm/ppp
For Batch Program Custom Algorithms.
xxxB = the Batch Report Number
nnnnnnnn = insertion %Parm Name
mmmmmmmm = modifier (optional)
ppp = Page number
 
PRO... nnnnnnnn/mmmmmmmm
For Named Proforma Members.
nnnnnnnn = Member Name
mmmmmmmm = Modifier (optional)
 
RUL... eeeee/mmmmmmmm
For Business Rules.
eeeee = 5-character Element name
mmmmmmmm = Modifier (RULWORK or RULPROC)
 
##
MAGECLBR Control Cards
The MAGECLBR control card specifies which operation is to be performed and provides the parameters necessary for the desired operation. The control card format is:
Col 1-10:
Operation (required)
-MAGECADD
Add a member
-MAGECREP
Replace a member
-MAGECPCH
Punch and print a member
-MAGECPUN
Punch and print a member
-MAGECPRT
Print a member or custom algorithms
-MAGECLST
Print a member or custom algorithms
-MAGECDEL
Delete a member

next: util03.md.txt