Browse Prior Art Database

Logic Generation And Source Production

IP.com Disclosure Number: IPCOM000102196D
Original Publication Date: 1990-Nov-01
Included in the Prior Art Database: 2005-Mar-17
Document File: 6 page(s) / 214K

Publishing Venue

IBM

Related People

Dewell, ME: AUTHOR

Abstract

This disclosure defines the steps in a method for logic generation and source production from program designs.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 40% of the total text.

Logic Generation And Source Production

       This disclosure defines the steps in a method for logic
generation and source production from program designs.

      Program logic can be inferred, without procedural logic
definition, from program designs that contain the definition of input
and output data flows, data derivation algorithms, business
calculations and rules.  The steps included in the process are:
1.   Source selection - Based on preference rules, determine the
source data elements for assignment to data elements of output data
flows, where the developer has not defined a source-selection
construct, and create a source-selection construct for each.
2.   Source-selection precedence - For each source-selection
construct for an output data flow, assign a precedence based on
construct source data element dependencies.
3.   Condition-action precedence - Assign precedence to data flows
based on construct source data element dependencies.
4.   Source code production - Produce source code for the process
with proceduralization based on the defined and inferred data flow
source-selection and condition-action constructs and their determined
precedences and preference priorities.

      Fig. 1 is a simple example of a program design.  Table 1
through Table 3 define the data flows.  This simple example is
sufficient to illustrate the principles of the method without
requiring an understanding of a complicated example.  The principles
are valid in complex situations. The types of process logic
specification constructs used in the methodology are:
source-selection constructs and condi tion-action constructs.  Some
examples of these constructs are in Table 4 through Table 6.
1.   Source-selection constructs - Constructs used to control the
assignment of data values to data elements contained on output data
flows.
2.   Condition-action constructs - Constructs used to control data
flow operations, both input and output.

      Source-selection: Source-selection identifies one or more
source input data elements (or an output data element if no input
data element exists) that can be used to provide the data value for
an output data element.  Locate and prioritize potential source data
elements for each target data element in each process output data
flow where the developer has not defined a source-selection
construct.  A potential source is a data element that has the same
name as the target data element. The sources are prioritized
according to the following preference rules:
1.   Panel or primary input data
2.   Process parameters
3.   Table values and existent data stores

      Create a source-selection construct for each data element that
requires one.  Table 7 and Table 8 represent the result of this step
for EMPLOYEE-NUMBER and EMPLOYEE-NAME.  These two data elements are
in the output data flow PAY-REGISTER (3) in Figure 1 and Table 3.

      Precedence: Precedence determines the sequence...