-MAGECIDX
Print an index list
-MAGECUSE
Print a Where-Used report
-MAGECGBL
Apply global changes (Domains only)
-MAGECI/O READONLY
            (col 1-18) Set file access mode for read-only for this entire execution. This must be first control card in input stream.
Col 11-14:
Key prefix (required)
LIB
Ordinary library member
DEF
Default algorithm
nnn
001
999 for MMP custom algorithm
nnnB
001B
999B for MBP custom algorithm
DOC
Documentation on DOC file
DIT
Data items in dictionary
PRO
Named proforma member
RUL
Business Rule
DOM
Domain
Col 15-22:
Member name (ALG file only)
xxxxxxxx
ALG member name
MM/DD/YY
for -MAGECIDX, list members updated since this date
Col 23-23:
Separator (ALG file only)
/
,
blank
Col 24-31:
Name modifier (ALG file only)
xxxxxxxx
Optional suffix for member name, 1-8 characters
Col 15-44:
Topic name (DOC file only -- required)
xxxxxxxx
Topic name of the documentation member on the DOC file
Col 15-19:
Element name (DIT file only -- required)
xxxxx
Name of element on DIT file
Col 24-25:
Mode (DIT file only)
T
Default -- test mode
P
Production mode
Col 45-45:
Suppress heading and page number reset. For
MAGECPRT and
MAGECLST of multiple members when resetting to page 01 at the start of each member is not desired.
C"
Continue (do not reset)
blank
Default -- reset to page 01
Col 46-46:
Uppercase flag (for
MAGECPRT and
MAGECLST only)
U
Mixed text (upper- and lowercase) wll be converted to all uppercase for output
L
Default -- Text remains in upper- and lowercase on output
Col 47-48:
Page increment (only for
MAGECADD and
MAGECREP)
nn
This controls the increment value MAGECLBR will use in generating "page" numbers as the member is being added to the (cont.)
file. Page number is the low-order portion of the key. The increment value will also be the page number of the first (cont.)
record added. If this value is 02 then the first page will be page 002, the next will be 004, etc. Default is 01 for (cont.)
DOC file, else 02.
Col 47-48:
Sequence column (only for
MAGECPUN and
MAGECPCH on ALG members)
nn
Starting card column into which MAGECLBR will insert sequence numbers. The sequence numbers are actually the page number and line number within the page on the ALG file.
Default is NO for -MAGECPUN and -MAGECPCH.
NO
Suppresses sequence numbers
Col 49-50:
Lines per page (only for
MAGECLST and
MAGECPRT)
nn
01 thru 90 -- The maximum number of lines per page to print before forcing a "top of form". Default is 59.
NO
Suppresses forced breaks
Col 51-54:
Entity type  (DOC file only)
tttt
Entity type to be used to add "prime reference" to REF file. Required only for
MAGECADD DOC operations, ignored otherwise.
Col 15-24:
Domain name (for DOM key prefix only)
xxxxxxxx
20-character Domain name--valid only with the -MAGECUSE DOM and -MAGECGBL DOM operations
Note:
**
1. Only the
MAGECADD,
MAGECUSE, and
MAGECDEL operations are allowed to the DIT file. The input for the
MAGECADD DIT is a Cobol data definition, the dictionary definitions will be generated and added to the DIT file. The (cont.)
Element (ELT) definition must exist on the MAGEC dictionary prior to adding DIT definitions for that (cont.)
Element.
2. When new documentation is added via the
MAGECADD DOC operation, MAGECLBR also adds the "prime reference" entry to the REF file for the new topic. A prime (cont.)
reference is one in which the key word (or key phrase) is the same as the topic name and is generated to ensure that (cont.)
there is at least one reference to every topic since the usual path to documentation on the DOC file is via the (cont.)
references from the REF file. When a topic is deleted from the DOC file all references to it are deleted from the REF (cont.)
file.
##
Printing Members
EJECT - Top-of-Page Control
When printing a member using the -MAGECPRT or -MAGECLST operations, MAGECLBR will sense EJECT lines and will skip to Top of Page. The EJECT line is not printed. An EJECT line is formatted as follows:
' EJECT'
 
where:
columns 1 - 11 contain blanks
columns 12 - 16 contain the literal 'EJECT' in uppercase
the remainder of the line will be ignored
SKIP and SPACE - Blank Line Insertion
During -MAGECPRT and -MAGECLST operation MAGECLBR will sense SKIP and SPACE control lines and will generate the (cont.)
specified number of blank lines. The line containing the SKIP or SPACE command will not be printed. These control cards (cont.)
are formatted as follows:
' SKIP 99'
 
' SPACE99'
where:
columns 1 - 11 must be blank
columns 12 - 16 must contain the literal "SKIP " or "SPACE"
column 17 - 18 must contain a 2-digit number from 01 thru 99, indicating how many blank lines are to be inserted.
**
NOTE:
**
Blank lines within the member(s) being printed are not printed, they are bypassed.
SKIP and SPACE - Overprinting/Underlining
In the SKIP and SPACE lines described above, zero (00) may be specified as the number of lines to skip, to indicate (cont.)
that the NEXT data line is to be printed without skipping any lines. This enables overprinting to effect special (cont.)
characters, such as "
" or underlining.
**
NOTE:
**
Since MAGEC does not permit entering the underscore character ( _ ) online (it is transformed to a space) (cont.)
special provision is made for it. In the data line immediately following the "SKIP 00" line, any occurrence of the (cont.)
"pseudo underscore" will be transformed into an underscore. The pseudo underscore is the uppercase letter (cont.)
"U".
Headings and Titles
During -MAGECPRT and -MAGECLST operations, the PAGE HEADING which MAGECLBR prints at every Top of Page, whether (cont.)
triggered by an EJECT line in the member being listed, or by reaching the maximum number of lines per page, will (cont.)
consist of a default heading with the page number displayed at the far right. The default heading is blanks if from the (cont.)
ALG file, or Topic Name if from the DOC file A user-defined page heading may be specified instead of this (cont.)
default. Up to 65 characters of heading literal may be given via the special "heading" line record(s) which may be (cont.)
embedded within the member being listed. The format is:
**HDG**This is the new heading
where: **HDG**
             
= Constant in columns 1-7
Upon encountering such a heading line, MAGECLBR will alter the heading literal. The new heading will appear as of the (cont.)
next Top of Page and on all subsequent Top of Page's until either the end of the member is reached or another heading (cont.)
line is encountered. The page number will continue to be displayed on the user-defined heading just as it did on the (cont.)
default heading. The page number is not reset on these heading changes; only the literal is changed.
MAGECLBR also recognizes special "title lines" within the member being printed. A title line is as:
**TTL**This is a title
where: **TTL
             
= Constant in columns 1-7
The title which is in columns 8 thru 67 (maximum of 60 characters) will appear in the printout with a blank line (cont.)
preceeding and following it and indented 5 spaces and it will automatically be underscored. The headings and titles (cont.)
will appear in the automatic Table of Contents which is produced on printing operations and will also appear in the (cont.)
Page Index which is also produced.
##
Suppress Reset
When multiple members are being printed in one run, the heading is reset to its default value at the end of each (cont.)
member, unless the "suppress reset" option is specified on the -MAGECPRT (or LST) card for that member. Specifying (cont.)
"suppress reset" (value = "C") is used to concatenate members so that they will be treated as one, resulting in one (cont.)
Table of Contents and one Page Index for a set of members. The "C" must be specified on the first -MAGECPRT or (LST) (cont.)
card in the set and on all subsequent ones except for the last. If the last card specifies "C", but it is not followed (cont.)
by any other -MAGECPRT (or LST) cards, being the last card in the run, then the "C" is ignored.
A Table of Contents will be printed at the end of each member of set of members (if continuation specified in the (cont.)
suppress reset option on the -MAGECPRT or LST control cards, which will include each heading and title. This Table of (cont.)
Contents may be placed in front of the report to produce "suitable for binding" documentation manuals. A "Page Index" (cont.)
will also be printed which will include all headings and titles plus other Key Word or Key Phrase entries as specified (cont.)
by the author using the **IDX** lines discussed below.
##

next: util04.md.txt