Chapter One: How To Use This Manual
Chapter One: How To Use This Manual
__________________________________________________
Table of Contents
Introduction .............................................................................................................. 1
Introduction
This reference manual is a comprehensive guide to using the XGEN system. New users
should read the manual from the beginning to build a foundation of concepts and
terminology. All aspects of XGEN are explained and defined, with examples and cross-
references.
Review the chapter summaries that follow. Once you are familiar with XGEN essentials,
you can locate individual items by referring to the index or scanning page headers.
Volume I
The XGEN system consists of the XGEN 4GL COBOL generator, the XGEN
Data Dictionary, the XGEN Online Designer, the XGEN Online Administrator,
and XGEN documentation and training. The data dictionary interfaces all XGEN
components with application data structures. The XGEN Online Designer
provides an easy to use facility for painting screens and reports and other
functions. The Online Administrator is used to maintain the configuration file,
which contains default file titles, default naming patterns, and default options.
The XGEN Online Administrator provides an easy to use facility for maintaining
configuration files, security, and the messages used by XGEN components.
This chapter describes how to create and maintain configuration files, establish
and maintain security, and perform message functions.
The XGEN Data Dictionary links all system components with application data
structures, including files and databases. This chapter describes how to create
dictionaries, how to add new data structures and update old ones, how to declare
dictionaries, and how each XGEN component uses the data dictionary.
This chapter discusses how XGEN handles data processing functions. Topics
include:
Breaks Parameter Passing
Control Structures Patterns
Databases Reads
Datacom Formats Reports
Date/time Arithmetic Sorts And Merges
Edits Tables
Files Update Structures
The XGEN Online Designer greatly simplifies the process of formatting CRT
screens and printed reports and other functions. The Designer provides tools for
painting screens and reports and generating the associated COBOL record
formats and screen images needed to incorporate them into applications.
Volume II
The definitions for the XGEN statements contain a number of common semantic
items. These common items are defined in this chapter. Definitions include the
purpose, usage notes, syntax diagrams, semantic description, and examples of
each item. The definitions are listed in alphabetical order.
This chapter contains a section for each XGEN statement including syntax,
semantics, and examples. Syntax diagrams are provided for each statement.
The sections are arranged in alphabetical order. Where applicable, related
statements or COBOL forms are referenced.
This chapter details how to actually code an XGEN program and run the
generator. Topics include coding, copying text from other files, and including
COBOL source code and comments in the XGEN program.
This chapter explains setting up for and running the XGEN Trace Utility. The
XGEN Trace Utility is used to run a trace, which is used to obtain statistical and
run-time flow information for an XGEN-generated program.
Syntax diagrams are found throughout this manual. They are similar to railroad tracks,
because you follow the line from beginning to end without leaving the "track" or reversing
direction. Required syntax items are on the "main line", and optional items are on the
"branches" above or below the main line. Any item encountered on the main line or on a
desired branch line is coded.
Multiple choice items are indicated by combining a required item (on the main
line) and one or more optional items (below the main line). This indicates that
any one item must be selected.
XGEN statement
multiple
choice
options
Direction of Flow
line contents
additional contents .
For clarity, some diagrams represent complex structures within the primary
diagram by a single descriptor. A complete expansion of the complex structure
follows.
XGEN statement descriptor .
descriptor
additional syntax
items in expansion
Examples:
Each example below was derived from the appropriate syntax diagram found in
Chapter 9. Boldface is used to emphasize required items.
ADD syntax:
,
ADD item9 TO dataname9 .
GIVING ROUNDED
ADD WS-1 TO WS-TOTAL ROUNDED.
READ syntax:
READ filefd .
FIRST select-part
NEXT
select-part:
SELECT
AFTER name WHEN cond
LIMIT item9
READ ACTION-CODES.