JPH05108319A - Automatic program generating system using data-based software parts - Google Patents

Automatic program generating system using data-based software parts

Info

Publication number
JPH05108319A
JPH05108319A JP3270713A JP27071391A JPH05108319A JP H05108319 A JPH05108319 A JP H05108319A JP 3270713 A JP3270713 A JP 3270713A JP 27071391 A JP27071391 A JP 27071391A JP H05108319 A JPH05108319 A JP H05108319A
Authority
JP
Japan
Prior art keywords
program
software
definition
data
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3270713A
Other languages
Japanese (ja)
Other versions
JP3186117B2 (en
Inventor
Yosuke Morioka
洋介 森岡
Osamu Ono
治 大野
Chiharu Nishioka
ちはる 西岡
Naoki Hashimoto
直樹 橋本
Tamotsu Nakagawa
保 中川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP27071391A priority Critical patent/JP3186117B2/en
Publication of JPH05108319A publication Critical patent/JPH05108319A/en
Application granted granted Critical
Publication of JP3186117B2 publication Critical patent/JP3186117B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To improve the productivity and the reliability of software by generating automatically a program and its specifications with the use of the data item-based software parts. CONSTITUTION:A function 207 selects automatically the software parts defined in a dictionary 201 and a relative check definition form 202 and produces the program specifications. A function 209 produces a source program by synthesizing the program skelton parts stored in a standard pattern library 205 with the software parts based on the specifications produced by the function 207. A function 212 edits the program specifications. Then a function 208 changes the software parts based on the program specifications. In such constitution, the reutilization ratio and the productivity of the software are improved. Furthermore the matching properties are automatically secured among the software parts, the specifications produced from the software parts, and the source program for improvement of the reliability of these items.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ソフトウエアの生産性
向上に係り、特に既存ソフトウエアを部品化し、これら
の部品からプログラム仕様書を自動的に生成し、またプ
ログラム仕様書からプログラムを自動生成することによ
り新規ソフトウエア開発を効率化するのに好適なソフト
ウエア開発支援方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to improvement of software productivity, and in particular, existing software is made into parts, program specifications are automatically generated from these parts, and programs are automatically made from the program specifications. The present invention relates to a software development support method suitable for making new software development efficient by generating it.

【0002】[0002]

【従来の技術】ソフトウエア生産性を向上するための有
力な方法のひとつに既存のソフトウエアを再利用して新
規ソフトウエアを開発する方法がある。この既存のソフ
トウエアを再利用して新規ソフトウエアを開発する場
合、業務システム作成の段階又はプログラム作成の段階
で再利用を行い、プログラマが既存ソフトウエアの仕様
を記述したドキュメントやソースプログラムを解析し、
修正を行うのが一般的である。
2. Description of the Related Art One of the effective methods for improving software productivity is to reuse existing software and develop new software. When this new software is reused to develop new software, it is reused at the stage of business system creation or program creation, and the programmer analyzes the document or source program describing the specifications of the existing software. Then
It is common to make corrections.

【0003】しかし、同種業務のソフトウエアにおいて
も、利用者によってその要求仕様はまちまちであり上記
のような再利用の方法では、ドキュメントやソースプロ
グラムからだけでは修正箇所を特定することが難しい、
ひとつのソフトウエアに対し複数利用者の要求仕様の相
違に伴う修正が加わっていくためソフトウエア保守性が
劣化するなどの欠点があった。
However, even for software of the same type of business, the required specifications vary depending on the user, and it is difficult to specify the corrected portion only from the document or the source program by the above-mentioned reuse method.
There are drawbacks such as deterioration of software maintainability, because corrections are added to one software due to differences in specifications required by multiple users.

【0004】このような欠点のために、同種業務のソフ
トウエア開発においてさえ、既存ソフトウエアの再利用
を断念し、全く新規にソフトウエアを開発することが多
く、生産性向上を妨げていた。
[0004] Due to such drawbacks, even in software development of the same type of business, reuse of existing software is often abandoned and new software is often developed, which hinders improvement in productivity.

【0005】この問題を解決するひとつの方法として、
ソフトウエアをその機能に着目して細分化することによ
り部品化しておき、これらの部品とプログラムとの対応
づけをそれぞれ定義することにより新たなプログラムを
自動生成する方法がある。この方法によりソフトウエア
を小規模な部品群に分割し、新規ソフトウエアを開発す
る際に、既存ソフトウエアを部品レベルで再利用するこ
とが可能となり、ソフトウエアの適用業務の違いや、要
求仕様の違いに対して部品の取捨選択、変更、追加によ
り対応することができるようになった。
As one method for solving this problem,
There is a method of automatically generating a new program by dividing the software into parts by subdividing the functions and defining the correspondence between these parts and the program. By this method, software can be divided into small parts groups, and when developing new software, existing software can be reused at the parts level. Differences in software application tasks and required specifications It is now possible to deal with the difference by selecting, changing, or adding parts.

【0006】なおこの種の技術として関連するものに
は、たとえば日立評論VOL.66(1984年3月発
行)のページ19〜24「システム開発支援ソフトウェ
ア”EAGLE”」などがある。
Note that, as a technique related to this kind of technology, for example, Hitachi Review VOL. 66 (issued in March 1984), pages 19 to 24, "system development support software" EAGLE "" and the like.

【0007】[0007]

【発明が解決しようとする課題】従来の方法において
は、以下のような課題がある。
The conventional method has the following problems.

【0008】従来技術における第1の課題は、ソフトウ
エアの部品化の手段そのものと、ソフトウエア部品設計
情報のプログラム仕様ドキュメントへの継承方法にあ
る。
The first problem in the prior art lies in the means of software componentization and the method of inheriting software component design information to the program specification document.

【0009】前述のソフトウエアを部品化し、それを合
成することによりプログラムを自動生成する従来技術で
は、ソフトウエアの部品化を機能の細分化によって行っ
ているため部品化を行う際に、どのような観点で機能を
細分化するか、どのレベルまでをひとつの部品にするか
などについて明確な基準を設けることが難しく、部品の
設計者によりソフトウエアの分割方法がまちまちであっ
た。このためソフトウエア部品の標準化を徹底すること
が困難であった。
In the prior art in which the above-described software is made into parts and a program is automatically generated by synthesizing the parts, how to make parts when the parts are made because the parts of the software are made by subdividing the functions. It was difficult to set clear criteria such as how to subdivide the function from what point of view, and to what level it should be one component, and the designers of the components had different ways of dividing the software. Therefore, it has been difficult to thoroughly standardize software parts.

【0010】さらに、ソースプログラムを生成するため
には目的の業務プログラムと部品との対応づけをプログ
ラム1本1本について、設計者あるいはプログラマが定
義しなければならないため生産性向上および信頼性向上
が十分に図れなかった。
Further, in order to generate a source program, the designer or programmer must define the correspondence between the target business program and the parts for each program, which improves productivity and reliability. I couldn't get enough.

【0011】一方、ソフトウエア部品を作成するための
手段およびそれらからソースプログラムを生成する手段
はいくつか開発されたものの、プログラム仕様ドキュメ
ントの作成作業のほとんどがこれらソフトウエア部品の
作成作業とは独立した、人間の手作業によるものであっ
た。プログラム仕様ドキュメントをいわゆるワードプロ
セッサなど文書作成専用のコンピュータを用いて作成し
た電子文書として管理する方法があるが、これにしても
ドキュメントの清書や保管を支援できるようになった
が、プログラム設計作業そのものは電子文書作成作業を
含め依然としてプログラム設計者の手作業によってい
る。このようなプログラム仕様ドキュメントの作成方法
では、ソフトウエア部品の設計工程からプログラム設計
工程への設計情報の自動継承を実現することが不可能で
ある。このためプログラム仕様ドキュメント作成作業の
生産性向上は難しく、さらにソフトウエア部品およびそ
れから生成されるソースプログラムとプログラム仕様ド
キュメントとが一致しているという確認もプログラマの
手作業に委ねられるため、ソフトウエアの信頼性向上の
妨げともなってきた。
On the other hand, although some means for creating software parts and means for generating a source program from them have been developed, most of the work for creating a program specification document is independent of the work for creating these software parts. It was done manually by humans. There is a method of managing a program specification document as an electronic document created by using a computer dedicated to document creation such as a so-called word processor, but even now it is possible to support document clearing and storage, but the program design work itself It is still done manually by the program designer, including electronic document creation. With such a method of creating a program specification document, it is impossible to automatically inherit design information from a software component design process to a program design process. For this reason, it is difficult to improve the productivity of the program specification document creation work, and it is also up to the programmer to manually confirm that the software component and the source program generated from it match the program specification document. It has also been an obstacle to improving reliability.

【0012】従来技術における第2の課題は、プログラ
ム仕様ドキュメントにあらかじめ用意したソフトウエア
部品とは異なる仕様を記述した場合に、プログラム仕様
ドキュメント通りのソースプログラムを生成する手段を
持たないことにある。
A second problem in the prior art is that there is no means for generating a source program according to the program specification document when the program specification document describes the specifications different from the prepared software parts.

【0013】第1の課題で述べたように従来技術におい
ては、プログラム仕様ドキュメント作成作業のほとんど
を手作業によって行っており、このため生成対象のプロ
グラムが例外処理を含むなどなんらかの理由によって、
プログラム仕様ドキュメントにあらかじめ用意したソフ
トウエア部品と異なる仕様を記述したとしても、これを
ソースプログラム生成に反映させることは不可能であっ
た。従ってこのような場合、プログラマが生成されたソ
ースプログラムをプログラム仕様ドキュメントに合わせ
て修正を行う必要があるため、生産性向上および信頼性
向上が十分に図れなかった。
As described in the first problem, in the prior art, most of the work of creating the program specification document is performed manually, and therefore, for some reason, such as the program to be generated includes exception handling,
Even if the program specification document describes specifications different from the prepared software parts, it is impossible to reflect them in the source program generation. Therefore, in such a case, the programmer needs to correct the generated source program in accordance with the program specification document, and thus productivity and reliability cannot be sufficiently improved.

【0014】従来技術における第3の課題は、対象業務
プログラムの仕様に変更が生じた場合に、プログラム仕
様ドキュメントの修正を行っても、プログラム仕様ドキ
ュメントで記述された仕様にしたがってソフトウエア部
品を自動的に修正することができないことである。また
別のケースとして、ソフトウエア部品そのものが定義不
良などで仕様が誤っており、プログラム仕様ドキュメン
トに記述された仕様が本来の正しい仕様である場合にも
同様である。従ってこのような場合、プログラマが生成
されたソースプログラムをプログラム仕様ドキュメント
に合わせて修正し、さらにソフトウエア部品の修正も行
う必要があるため、ソフトウエア部品の信頼性向上の妨
げとなり、ひいてはソフトウエア部品再利用の妨げとも
なっていた。
The third problem in the prior art is that even if the specification of the target business program is changed, even if the program specification document is modified, the software component is automatically operated according to the specification described in the program specification document. It cannot be corrected. Further, as another case, the same is true when the software component itself has an incorrect specification due to a poor definition or the like and the specification described in the program specification document is the originally correct specification. Therefore, in such a case, it is necessary for the programmer to modify the generated source program in accordance with the program specification document, and also to modify the software component, which hinders the improvement of the reliability of the software component and eventually the software component. It also hindered the reuse of parts.

【0015】従来技術における第4の課題は、このよう
なソフトウエアの部品化による開発を支援するソフトウ
エアの運用方法とその操作性にある。
The fourth problem in the prior art lies in the operating method and operability of software that supports the development of such software by making it into parts.

【0016】これまで述べたようなソフトウエア開発を
支援するソフトウエア(このようなソフトウエアを以下
ソフトウエア開発支援ツール、あるいは単にツールと呼
ぶ)を使用するための操作は、当該ツールが組み込まれ
た装置を使ってのみ行うことができ、またそのツールを
使用する人は、必ずツールが定めた操作方法に従わなけ
ればなければならなかった。このため管理者は、ソフト
ウエア開発者の人数に対応した設備投資を行わなければ
ならず、一方ソフトウエア開発者の作業は、ツールが組
み込まれた装置の設置場所や運用時間帯などに制限さ
れ、かつツールが定めた固有の操作方法を修得する必要
があり、ひいてはソフトウエア生産性向上の妨げとなっ
てきた。
The operation for using the software that supports the software development as described above (such software is hereinafter referred to as a software development support tool, or simply a tool) is carried out by incorporating the tool. It can only be done with the device, and the person using the tool must always follow the operating method specified by the tool. For this reason, the manager must make a capital investment in proportion to the number of software developers, while the work of the software developers is limited to the installation location of the device in which the tool is installed and the operating hours. In addition, it is necessary to learn the unique operation method defined by the tool, which has hindered the improvement of software productivity.

【0017】本発明の第1の目的は、ソフトウエアの部
品化にあたって設計者の個性や適用業務の特質に依存し
ない一定の基準を設け、さらに部品をこの基準に合致し
た形式で管理する方法を確立することにより、ソフトウ
エアの部品を標準化し、既存ソフトウエアの再利用を容
易にすることにある。
The first object of the present invention is to provide a method for managing a component in a format that conforms to this standard by setting a certain standard that does not depend on the individuality of the designer or the characteristics of the application in the software componentization. By establishing it, it is to standardize software components and facilitate reuse of existing software.

【0018】さらに、業務プログラムとソフトウエア部
品との対応づけを設計者あるいはプログラマが定義する
ことなしに、データ項目の名称を基に当該プログラムに
必要なソフトウエア部品を選択してプログラム仕様書を
自動生成し、このプログラム仕様書からソースプログラ
ムを自動生成することを可能とすることにより、ソフト
ウエア部品の設計情報をプログラム仕様書およびソース
プログラムに自動的に継承しソフトウエアの生産性およ
び信頼性を向上することにある。
Further, without designing the correspondence between the business program and the software parts by the designer or the programmer, the software parts required for the program are selected based on the names of the data items and the program specifications are prepared. By automatically generating and allowing the source program to be automatically generated from this program specification, the software component design information is automatically inherited to the program specification and the source program, and software productivity and reliability To improve.

【0019】本発明の第2の目的は、生成されたプログ
ラム仕様書に対し、変更、追加、削除などの修正を可能
とし、修正後のプログラム仕様書に記載された仕様があ
らかじめ用意したソフトウエア部品の仕様と異なる場合
にも、プログラム仕様書通りのソースプログラムを自動
生成することを可能とすることにより、ソフトウエアの
生産性および信頼性を向上することにある。
A second object of the present invention is to enable the software program which allows modification such as change, addition, deletion, etc. of the generated program specification to prepare the specification described in the modified program specification in advance. It is to improve the productivity and reliability of software by enabling the source program to be automatically generated according to the program specifications even when the specifications are different from those of the parts.

【0020】本発明の第3の目的は、上記の様にプログ
ラム仕様書の修正を可能とし、必要に応じて、修正後の
プログラム仕様書に記載された仕様に合わせてソフトウ
エア部品を自動的に修正することを可能とすることによ
り、プログラム仕様書とソフトウエア部品との整合性を
自動的に保ち、ソフトウエア部品の信頼性を向上し、ひ
いては再利用を容易にすることによってソフトウエアの
生産性をも向上させることにある。
A third object of the present invention is to make it possible to modify the program specifications as described above, and, if necessary, automatically adjust the software parts according to the specifications described in the modified program specifications. By making it possible to correct the software specification automatically, the consistency between the program specification and the software component is automatically maintained, the reliability of the software component is improved, and the reuse of the software component is facilitated. It is also to improve productivity.

【0021】本発明の第4の目的は、第2の目的で述べ
たプログラム仕様書に対する変更、追加、削除などの修
正操作を、当該ソフトウエア開発支援ツールが組み込ま
れた特定の装置以外のいわゆるパーソナルコンピュータ
やワークステーションで、汎用のいわゆる表計算用のソ
フトウエアや文書作成用のソフトウエアを使って行うこ
とを可能とすることにより、当該ソフトウエア開発支援
ツールを使用するための設備投資の低減を図るとともに
ソフトウエア開発者が特定の装置の運用条件に制限され
ないで、かつツール固有の操作方法を修得しなくてもす
でに慣れ親しんだ汎用のソフトウエアを用いてソフトウ
エア開発が行える作業環境を提供することを可能とし、
ひいてはソフトウエアの生産性を向上させることにあ
る。
A fourth object of the present invention is to modify the program specifications described in the second object, such as changes, additions and deletions, by using a so-called device other than a specific device in which the software development support tool is incorporated. By making it possible to use general-purpose spreadsheet software and document creation software on personal computers and workstations, reduce capital investment for using the software development support tool. In addition to providing a work environment where software developers are not limited to the operating conditions of specific equipment, and can develop software using general-purpose software that they are already familiar with, even if they do not have to learn the operation method specific to the tool. It is possible to
As a result, it is to improve the productivity of software.

【0022】[0022]

【課題を解決するための手段】第1の目的を達成するた
め、本発明では、ソフトウエアをデータ項目単位にそれ
ぞれのデータ項目に対する単独処理をいくつかの種類に
分けてソフトウエア部品として定義し、ディクショナリ
とよぶファイルに格納する手段と、複数のデータ項目間
の相互関係に基づいてデータの妥当性を判定する関連チ
ェック処理をソフトウエア部品として定義し、関連チェ
ック定義書とよぶファイルに格納する手段と、これらデ
ィクショナリおよび関連チェック定義書に格納されたソ
フトウエア部品をデータ項目名に基いて管理する手段を
もつことを特徴とする。
In order to achieve the first object, in the present invention, the software is defined as a software component by dividing the individual processing for each data item into several types in units of data items. , A method called a dictionary, and a related check process that determines the validity of data based on the interrelationship between multiple data items are defined as software parts and stored in a file called a related check definition document. It is characterized by having means and means for managing the software parts stored in these dictionaries and related check definition documents based on the data item names.

【0023】以下、上記のディクショナリおよび関連チ
ェック定義書に格納するソフトウエア部品をあわせてデ
ータ項目中心のソフトウエア部品と呼び、これらの部品
中に定義されている処理をデータ項目中心の処理と呼
ぶ。
Hereinafter, the software parts stored in the dictionary and the related check definition will be collectively referred to as data item-centered software parts, and the processes defined in these parts will be referred to as data item-centered processes. ..

【0024】さらに、上記データ項目中心のソフトウエ
ア部品を定義する手段の他に、ファイル、帳票の属性や
レイアウトなどの情報を定義し、データ定義書とよぶフ
ァイルに格納する手段と、プログラム単位に入出力媒体
の情報を定義し、プログラム定義書とよぶファイルに格
納する手段と、画面、帳票、ファイル等の処理プログラ
ムを制御構造の特質に着目していくつかの種類に分け、
業務個別処理をそれ自身に持たないプログラムスケルト
ン標準パターンとして部品化し、標準パターンライブラ
リとよぶファイルに格納する手段と、プログラムスケル
トン標準パターン部品に沿った標準機能説明部品を標準
機能説明ライブラリとよぶファイルに格納する手段をも
つことを特徴とする。
Further, in addition to the means for defining the software parts centered on the above-mentioned data items, means for defining information such as file and form attributes and layouts, and storing them in a file called a data definition, and for each program A means for defining information of input / output media and storing it in a file called a program definition document, and processing programs such as screens, forms, and files are divided into several types by focusing on the characteristics of the control structure.
A means for storing business individual processing as a program skeleton standard pattern that does not have it, and storing it in a file called a standard pattern library, and a standard function explanation part along with the program skeleton standard pattern parts in a file called a standard function explanation library. It is characterized by having means for storing.

【0025】さらに、上記ディクショナリ、関連チェッ
ク定義書、データ定義書、プログラム定義書、および標
準機能説明ライブラリから、対象とする業務プログラム
の入出力媒体中のデータ項目をもとにソフトウエア部品
を選択し、いくつかの種類の仕様書から構成されるプロ
グラム仕様書を自動生成する手段と、プログラム仕様書
をもとに、プログラムスケルトン標準パターン部品と、
ディクショナリ中のソフトウエア部品および関連チェッ
ク定義書中のソフトウエア部品とを選択して合成するこ
とによりソースプログラムを自動生成する手段をもつこ
とを特徴とする。
Further, a software component is selected from the dictionary, the related check definition document, the data definition document, the program definition document, and the standard function explanation library based on the data item in the input / output medium of the target business program. Then, a means for automatically generating a program specification consisting of several types of specifications, and a program skeleton standard pattern part based on the program specification,
It is characterized by having means for automatically generating a source program by selecting and synthesizing a software component in the dictionary and a software component in the related check definition document.

【0026】第1の目的をさらに厳格な標準化基準のも
とで達成するための手段として、本発明では、ディクシ
ョナリにおけるデータ項目に対する単独処理をチェッ
ク、入力編集、出力編集の3種類に分ける手段をもつこ
とを特徴とする。
As means for achieving the first object under a more strict standardization standard, the present invention provides means for dividing a single process for a data item in a dictionary into three types: checking, input editing, and output editing. It is characterized by having.

【0027】第2の目的を達成するため、本発明では、
生成されたプログラム仕様書に対する変更、追加、削除
などの修正を可能とする手段と、さらにここで修正され
たプログラム仕様書をもとに、ソースプログラムを自動
生成する手段をもつことを特徴とする。
In order to achieve the second object, according to the present invention,
It is characterized by having means for making modifications such as changes, additions and deletions to the generated program specifications, and means for automatically generating a source program based on the program specifications corrected here. ..

【0028】第3の目的を達成するため、本発明では、
修正されたプログラム仕様書から自動的にディクショナ
リ、関連チェック定義書、データ定義書、およびプログ
ラム定義書に格納されたソフトウエア部品の定義内容を
修正する手段をもつことを特徴とする。
In order to achieve the third object, in the present invention,
It is characterized by having means for automatically correcting the definition contents of the software parts stored in the dictionary, the related check definition document, the data definition document, and the program definition document from the corrected program specification document.

【0029】第4の目的を達成するため、本発明では、
生成されたプログラム仕様書に対して、プログラム仕様
書を生成した装置とは違う装置上で、汎用のソフトウエ
アを用いてプログラム仕様書の修正を行うことを可能と
する手段ををもつことを特徴とする。
In order to achieve the fourth object, according to the present invention,
It is characterized by having a means that makes it possible to modify the generated program specifications using a general-purpose software on a device different from the device that generated the program specifications. And

【0030】[0030]

【作用】第1の目的を達成するため、本発明では、ソフ
トウエアをデータ項目単位にそれぞれのデータ項目に対
する単独処理をいくつかの種類に分けてソフトウエア部
品として定義し、また複数のデータ項目間の相互関係に
基づいてデータの妥当性を判定する関連チェック処理を
ソフトウエア部品として定義し、これらデータ中心のソ
フトウエア部品ををデータ項目名に基いて管理すること
とした。一方、これらデータ中心のソフトウエア部品に
含まれないソフトウエア部品について、ファイル、帳票
の属性やレイアウトなどを定義したソフトウエア部品、
プログラム単位の入出力媒体情報を定義したソフトウエ
ア部品、画面、帳票、ファイル等の処理プログラムを制
御構造の特質に着目していくつかの種類に分け、業務個
別処理をそれ自身に持たないプログラムスケルトン標準
パターンと呼ぶソフトウエア部品、プログラムスケルト
ン標準パターン部品に沿った標準機能説明部品と呼ぶソ
フトウエア部品とに分けて定義することとした。
In order to achieve the first object, in the present invention, the software is defined as a software component by dividing the individual processing for each data item into several types and defining a plurality of data items. It was decided to define the related check process that determines the validity of data based on the mutual relationship between them as software parts, and manage these data-centric software parts based on the data item name. On the other hand, for software components that are not included in these data-centric software components, software components that define the attributes and layout of files and forms,
A program skeleton that does not have individual business processing by itself, dividing processing programs such as software parts, screens, forms, and files that define input / output medium information for each program into several types, focusing on the characteristics of the control structure. It is decided to define separately the software parts called standard patterns and the software parts called standard function explanation parts along the program skeleton standard pattern parts.

【0031】以上により、ソフトウエアの部品化にあた
って、従来技術では設計者の個性や適用業務の特質によ
ってまちまちであった部品化に際してのソフトウエアの
分割方法について、データ項目を中心としてソフトウエ
アを分割するという一定の明確な基準を設けることがで
きる。さらにこれらソフトウエア部品をそれぞれ特定の
構造をもったファイルに格納することによりこの基準に
合致した形式で管理する方法を確立することができるた
め、ソフトウエアの部品を標準化し、既存ソフトウエア
の再利用を容易にすることが可能となり、ひいてはソフ
トウエアの生産性向上を図ることができ、従来技術の課
題を解決できる。
As described above, in dividing software into parts, which was different in the prior art depending on the individuality of the designer and the characteristics of the application, the method of dividing the software into parts was divided with the data items at the center. It is possible to set certain clear criteria that Furthermore, by storing each of these software parts in a file with a specific structure, it is possible to establish a method of managing in a format that meets this standard, so standardize the software parts and re-create the existing software. It is possible to facilitate the use of the software, which in turn can improve the productivity of software, and solve the problems of the conventional technology.

【0032】さらに、上記ディクショナリ、関連チェッ
ク定義書、データ定義書、プログラム定義書、および標
準機能説明ライブラリから、対象とする業務プログラム
の入出力媒体中のデータ項目をもとにソフトウエア部品
を選択し、いくつかの種類の仕様書から構成されるプロ
グラム仕様書を自動生成し、プログラム仕様書をもと
に、プログラムスケルトン標準パターン部品と、ディク
ショナリ中のソフトウエア部品および関連チェック定義
書中のソフトウエア部品とを選択して合成することによ
りソースプログラムを自動生成する方式とした。
Further, a software component is selected from the dictionary, the related check definition document, the data definition document, the program definition document, and the standard function explanation library based on the data item in the input / output medium of the target business program. Then, a program specification consisting of several types of specifications is automatically generated, and based on the program specification, the program skeleton standard pattern parts, software parts in the dictionary, and software in the related check definition The source program is automatically generated by selecting and synthesizing the wear parts.

【0033】したがって、従来の技術では設計者あるい
はプログラマが業務プログラム1本1本について定義し
なければならなかったプログラムとソフトウエア部品と
の対応づけを行うことなく、ソースプログラムを自動生
成することができ、また従来の技術ではほとんどが設計
者の手作業に頼っていたプログラム仕様書作成作業を自
動化し、かつソフトウエア部品の設計工程からプログラ
ム設計工程への設計情報の自動継承を実現することが可
能となる。このことにより、ソフトウエアの生産性およ
び信頼性を向上でき、従来技術の課題を解決できる。
Therefore, according to the conventional technique, the source program can be automatically generated without associating the program with the software component, which the designer or programmer had to define for each business program. In addition, it is possible to automate the program specification creation work, which in the past was mostly dependent on the designer's manual work, and realize the automatic inheritance of design information from the software component design process to the program design process. It will be possible. As a result, the productivity and reliability of software can be improved, and the problems of the prior art can be solved.

【0034】第1の目的をさらに厳格な標準化基準のも
とで達成するための手段として、本発明では、ディクシ
ョナリにおけるデータ項目に対する単独処理をチェッ
ク、入力編集、出力編集の3種類に分けることにした。
このことによりディクショナリに格納するソフトウエア
部品の構造をさらに限定することが可能となり、ソフト
ウエア部品の生産性および信頼性が向上し、したがって
再利用も容易となる。
As a means for achieving the first object under a stricter standardization standard, in the present invention, a single process for a data item in a dictionary is divided into three types: check, input edit, and output edit. did.
This allows the structure of the software components stored in the dictionary to be further restricted, improving the productivity and reliability of the software components and thus facilitating their reuse.

【0035】第2の目的を達成するため、本発明では、
生成されたプログラム仕様書に対する変更、追加、削除
などの修正を可能とし、さらにここで修正されたプログ
ラム仕様書をもとに、ソースプログラムを自動生成する
ことができる。
In order to achieve the second object, in the present invention,
Modifications such as changes, additions and deletions to the generated program specifications can be made, and a source program can be automatically generated based on the modified program specifications.

【0036】このことにより、生成対象のプログラムが
例外処理を含むなどなんらかの理由によって、プログラ
ム仕様書にあらかじめ用意したソフトウエア部品と異な
る仕様を記述したときにも、これをソースプログラム生
成に反映させることが可能となるため、従来技術のよう
にソフトウエア部品通りに生成されたソースプログラム
をプログラム仕様ドキュメントに合わせて修正する必要
がなくなり、ソフトウエアの生産性向上および信頼性向
上を図ることができ、従来技術の課題を解決できる。
As a result, even if the program to be generated has a specification different from the software component prepared in advance in the program specification due to some reason such as exception processing, this should be reflected in the generation of the source program. Therefore, it is not necessary to modify the source program generated according to the software parts according to the program specification document as in the prior art, and it is possible to improve the productivity and the reliability of the software. The problems of the prior art can be solved.

【0037】第3の目的を達成するため、本発明では、
修正されたプログラム仕様書から自動的にディクショナ
リ、関連チェック定義書、データ定義書、およびプログ
ラム定義書に格納されたソフトウエア部品の定義内容を
修正することを可能とした。従来技術における第3の課
題で述べたケースのように、対象業務プログラムの仕様
に変更が発生するなどの理由によって、プログラム仕様
書を修正した場合にも、プログラム仕様書で記述された
仕様にあわせてソフトウエア部品に自動的に修正するこ
とができる。このためこのような場合、従来技術では手
作業で行っていたソフトウエア部品の修正作業を自動化
でき、ソフトウエア部品の信頼性向上とともにソフトウ
エアの生産性も向上し、従来技術の課題を解決できる。
In order to achieve the third object, in the present invention,
It became possible to automatically correct the definition contents of the software parts stored in the dictionary, the related check definition document, the data definition document, and the program definition document from the modified program specification document. As in the case described in the third problem in the prior art, even if the program specification is modified due to a change in the specifications of the target business program, it is still necessary to match the specifications described in the program specification. Software components can be automatically corrected. Therefore, in such a case, it is possible to automate the correction work of the software component, which was manually performed in the conventional technique, and improve the reliability of the software component and the productivity of the software to solve the problems of the conventional technique. ..

【0038】第4の目的を達成するため、本発明では、
生成されたプログラム仕様書に対して、プログラム仕様
書を生成した装置とは違う装置上で、汎用のソフトウエ
アを用いてプログラム仕様書の修正を行うことを可能と
した。このことによりプログラム仕様書に対する変更、
追加、削除などの修正操作を、当該ソフトウエア開発支
援ツールが組み込まれた特定の装置以外のいわゆるパー
ソナルコンピュータやワークステーションで、汎用のい
わゆる表計算用のソフトウエアや文書作成用のソフトウ
エアを使って行うことが可能となる。したがって、当該
ソフトウエア開発支援ツールを使用するための設備投資
の低減を図るとともに、ソフトウエア開発者に対し、特
定の装置の運用条件に制限されないで、かつツール固有
の操作方法を修得しなくてもすでに慣れ親しんだ汎用の
ソフトウエアを用いてソフトウエア開発が行える作業環
境を提供することが可能となり、ひいてはソフトウエア
の生産性を向上させることができ、従来技術の課題を解
決できる。
In order to achieve the fourth object, in the present invention,
For the generated program specifications, it is possible to modify the program specifications by using general-purpose software on a device different from the device that generated the program specifications. This makes changes to the program specifications,
For correction operations such as addition and deletion, use general-purpose so-called spreadsheet software and document-creation software on so-called personal computers and workstations other than the specific device in which the software development support tool is installed. It becomes possible to do it. Therefore, in addition to reducing the capital investment for using the software development support tool, the software developer is not limited to the operating conditions of a specific device and has to learn the operation method specific to the tool. It is possible to provide a work environment in which software development can be performed using general-purpose software that has already been used, and it is possible to improve the productivity of software and solve the problems of the conventional technology.

【0039】[0039]

【実施例】以下、本発明の実施例を図を用いて詳細に説
明する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

【0040】まず、図1および図2を用いて本実施例を
実現するためのハードウエア構成と、本実施例が持つい
くつかの機能を実現するための手段を説明する。
First, a hardware configuration for realizing this embodiment and means for realizing some functions of this embodiment will be described with reference to FIGS. 1 and 2.

【0041】図1は本発明を実現するためのシステムの
ハードウエア構成を示している。装置群A(108)
は、プログラム仕様書やソースプログラムの生成、生成
したプログラム仕様書の修正、および修正されたプログ
ラム仕様書からのプログラム仕様書の生成元情報である
ソフトウエア部品の更新(本実施例では逆生成と称して
いる)を行うための装置群である。また装置群B(11
8)は、プログラム仕様書の修正を装置群Aと異なる装
置群上で行う場合に使用する。装置群Bとしては、いわ
ゆるパーソナルコンピュータやワークステーションを用
いることが好ましいが、利用者の置かれた環境から最適
のものが選択される。また装置群Aにたいし、装置群B
を複数組み使用することも可能であるし、逆に装置群B
なしで本発明にかかる機能や操作をすべて装置群Aを使
って行うことも可能である。
FIG. 1 shows the hardware configuration of a system for implementing the present invention. Device group A (108)
Is the generation of the program specification or the source program, the correction of the generated program specification, and the update of the software component which is the generation source information of the program specification from the corrected program specification (in this embodiment, the reverse generation and It is a device group for performing. In addition, device group B (11
8) is used when the program specification is modified on a device group different from the device group A. As the device group B, a so-called personal computer or workstation is preferably used, but the optimum one is selected from the environment in which the user is placed. Also, for device group A, device group B
It is also possible to use multiple sets, or conversely, the device group B
It is also possible to perform all the functions and operations according to the present invention by using the device group A without the need.

【0042】まず、装置群A(108)について図1に
沿って説明する。装置群AはCPU(103)をその中
心的な装置として備えている。生成の実行を指令するた
めの入力を行ったり、生成されたプログラム仕様書を編
集する際のデータ入力を行うための入力装置(10
5)、生成されたプログラム仕様書のデータなどを表示
するための表示装置(104)、および生成されたプロ
グラム仕様書を出力するためのプリンタ(102)がC
PUにその入出力機器として接続され、またさらに装置
群Bを使用する場合には、生成されたプログラム仕様書
を装置群Bへ送信したり、あるいは装置群Bで編集され
たプログラム仕様書を受信したりするための通信装置
(107)がCPUに接続される。
First, the device group A (108) will be described with reference to FIG. The device group A includes a CPU (103) as its central device. An input device (10) for making an input for instructing execution of generation and for making data input when editing a generated program specification.
5), a display device (104) for displaying the data of the generated program specifications, and a printer (102) for outputting the generated program specifications are C
When connected to the PU as its input / output device and when the device group B is further used, the generated program specifications are transmitted to the device group B or the program specifications edited by the device group B are received. A communication device (107) for playing the game is connected to the CPU.

【0043】CPUにはまた、プログラム仕様書生成時
に、その生成元となるソフトウエア部品および生成後の
プログラム仕様書やソースプログラムを格納するための
外部記憶装置(106)と、プログラム仕様書の生成や
編集を実行中にプログラムやデータを格納するためのメ
モリ(101)が接続される。外部記憶装置(106)
に格納されるデータには、図2に示すディクショナリ
(201)、関連チェック定義書(202)、データ定
義書(203)、プログラム定義書(204)、標準パ
ターンライブラリ(205)、標準機能説明ライブラリ
(206)、プログラム仕様書ライブラリ(210)、
ソースプログラムライブラリ(211)のファイルが含
まれている。装置群B(118)の各装置についても装
置群Aと同様である。ただし外部記憶装置(116)に
格納するデータはプログラム仕様書ライブラリ(21
0)のみとすることができる。
When the program specification is generated, the CPU also has an external storage device (106) for storing the software component which is the generation source and the generated program specification and the source program, and the generation of the program specification. A memory (101) for storing programs and data during execution of editing is connected. External storage device (106)
2 includes the dictionary (201), the related check definition document (202), the data definition document (203), the program definition document (204), the standard pattern library (205), and the standard function explanation library shown in FIG. (206), program specification library (210),
The files of the source program library (211) are included. The same applies to each device in the device group B (118). However, the data stored in the external storage device (116) is the program specification library (21
0) only.

【0044】本実施例は、図2に示すプログラム仕様書
生成機能(207)、プログラム生成機能(209)、
プログラム仕様書編集機能(212)、ソフトウエア部
品逆生成機能(208)の4つの機能により実現され
る。
In this embodiment, the program specification generation function (207), the program generation function (209) shown in FIG.
It is realized by four functions of a program specification editing function (212) and a software component reverse generation function (208).

【0045】プログラム仕様書生成機能(207)は、
外部記憶装置(106)上にあるディクショナリ(20
1)、関連チェック定義書(202)、データ定義書
(203)、プログラム定義書(204)および標準機
能説明ライブラリ(206)を入力し、プログラム仕様
書を生成して、同じく外部記憶装置(106)上にある
プログラム仕様書ライブラリ(210)に格納したり、
あるいは生成したプログラム仕様書(213)をプリン
タ(102)へ出力する。
The program specification generation function (207)
Dictionary (20) on the external storage device (106)
1), the related check definition (202), the data definition (203), the program definition (204) and the standard function explanation library (206) are input to generate a program specification, and the external storage device (106) is also generated. ) Store in the program specification library (210) above,
Alternatively, the generated program specification (213) is output to the printer (102).

【0046】プログラム生成機能(209)は、外部記
憶装置(106)上にあるプログラム仕様書ライブラリ
(210)、データ定義書(203)および標準パター
ンライブラリ(205)を入力し、ソースプログラムを
生成して外部記憶装置(106)上のソースプログラム
ライブラリ(211)に格納する。
The program generation function (209) inputs the program specification library (210), the data definition document (203) and the standard pattern library (205) on the external storage device (106) and generates a source program. And stores it in the source program library (211) on the external storage device (106).

【0047】プログラム仕様書編集機能(212)は、
外部記憶装置(106)上にあるプログラム仕様書ライ
ブラリ(210)を入力し、入力装置(105)および
表示装置(104)を用いて、プログラム仕様書の追
加、変更、削除などの修正を行うエディタである。
The program specification editing function (212) is
An editor for inputting a program specification library (210) on an external storage device (106) and using the input device (105) and display device (104) to make corrections such as additions, changes and deletions of the program specifications. Is.

【0048】プログラム仕様書編集機能(212)は装
置群B(118)上で使用することもできる。この場
合、装置群A(108)のプログラム仕様書ライブラリ
(210)を装置群Aの外部記憶装置(106)から装
置群Bの外部記憶装置(116)に転送し、装置群Bの
表示装置(114)や入力装置(115)を用いて、装
置群Bの外部記憶装置(116)上にあるプログラム仕
様書ライブラリ(210)の編集を行い、修正されたプ
ログラム仕様書を装置群B上のプリンタ(112)に出
力する。
The program specification editing function (212) can also be used on the device group B (118). In this case, the program specification library (210) of the device group A (108) is transferred from the external storage device (106) of the device group A to the external storage device (116) of the device group B, and the display device of the device group B ( 114) and the input device (115), the program specification library (210) in the external storage device (116) of the device group B is edited, and the corrected program specification document is printed by the printer on the device group B. Output to (112).

【0049】さらに装置群Bで編集したプログラム仕様
書ライブラリ(210)を再び装置群Aの外部記憶装置
(106)上に転送し、装置群Aでプログラム生成機能
(209)や次に述べるソフトウエア部品逆生成機能
(208)を使用することができる。
Further, the program specification library (210) edited by the device group B is transferred again to the external storage device (106) of the device group A, and the program generation function (209) and the software described below are executed by the device group A. The parts reverse generation function (208) can be used.

【0050】以上の中でプログラム仕様書編集機能(2
12)を実現するためには専用のエディタを用いる他
に、既存の汎用ソフトウエア、例えばいわゆる表計算用
ソフトウエアや文書作成用ソフトウエアを用いて行うこ
とも従来技術によって実現でき、この場合においても本
発明の範囲とする。
In the above, the program specification editing function (2
In order to implement 12), it is also possible to use existing general-purpose software, for example, so-called spreadsheet software or document creation software, in addition to using a dedicated editor, by the conventional technique. Is also within the scope of the present invention.

【0051】ソフトウエア部品逆生成機能(208)
は、外部記憶装置(106)上にあるプログラム仕様書
ライブラリ(210)を入力し、必要に応じて、同じく
外部記憶装置(106)上にあるディクショナリ(20
1)、関連チェック定義書(202)、データ定義書
(203)およびプログラム定義書(204)の中に格
納されたソフトウエア部品を更新する。
Software component reverse generation function (208)
Inputs the program specification library (210) on the external storage device (106) and, if necessary, the dictionary (20) also on the external storage device (106).
1) Update the software components stored in the related check definition document (202), the data definition document (203) and the program definition document (204).

【0052】本実施例において、プログラム仕様書(2
13)は、プログラム処理概要図(図18)、プログラ
ム機能説明図(図19)、チェック条件表(図20)、
関連チェック条件表(図21)、編集条件表(図22)
の5種類の仕様書より構成される。
In this embodiment, the program specification (2
13) is a program processing outline diagram (FIG. 18), program function explanatory diagram (FIG. 19), check condition table (FIG. 20),
Related check condition table (Fig. 21), edit condition table (Fig. 22)
It consists of 5 types of specifications.

【0053】なお、本実施例では以上5種類を事例とし
て説明するが、これ以外にもファイル仕様書、レコード
仕様書、帳票仕様書、画面仕様書、データベース仕様
書、サブルーチン接続仕様書、他装置上の資源やプロセ
スへのアクセス仕様書など該プログラムに関連するドキ
ュメントを従来の技術で出力でき、この場合においても
本発明の範囲とする。
In the present embodiment, the above five types will be described as examples, but in addition to these, file specifications, record specifications, form specifications, screen specifications, database specifications, subroutine connection specifications, and other devices. Documents related to the program, such as the specifications for accessing the above resources and processes, can be output by the conventional technique, and in this case, it is within the scope of the present invention.

【0054】本発明によるプログラム仕様書生成の具体
的な手順の説明に先立って、ディクショナリ(20
1)、関連チェック定義書(202)、データ定義書
(203)、プログラム定義書(204)、標準パター
ンライブラリ(205)、標準機能説明ライブラリ(2
06)および各ライブラリに格納される定義部品につい
て、詳細に説明する。
Prior to the description of the concrete procedure for generating the program specification according to the present invention, the dictionary (20
1), related check definition document (202), data definition document (203), program definition document (204), standard pattern library (205), standard function explanation library (2)
06) and the definition parts stored in each library will be described in detail.

【0055】尚、図6は本発明の適用対象とする業務プ
ログラム例の概略図である。プログラム602はデータ
構造(605)を有する入力ファイル「KYFIL」
(601)を読み込み、データの妥当性のチェックを行
って、不当なデータはレイアウト607のフォーマット
を有する出力帳票「KYERR」(604)に、正常デ
ータはレイアウト606のフォーマットを有する出力帳
票「KYLST」(603)にそれぞれ編集して出力す
る。以後、このプログラム例を対象として本実施例の説
明を行う。
FIG. 6 is a schematic diagram of an example of a business program to which the present invention is applied. The program 602 has an input file “KYFIL” having a data structure (605).
(601) is read, the validity of the data is checked, and invalid data is output form “KYERR” (604) having the layout 607 format, and normal data is output form “KYLST” having the layout 606 format. (603) is edited and output. Hereinafter, the present embodiment will be described with reference to this program example.

【0056】図7〜図11を用いて、ディクショナリ
(201)の説明を行う。ディクショナリとは、データ
項目単位に、各データ項目に関する単独処理のソフトウ
エア部品を定義し、格納したものである。ここで、デー
タ項目とは、氏名、生年月日などといった業務上意味を
持つ最小単位のデータを指す。単独処理とは、該データ
項目に対してのみ行う操作であり、それ自身以外のデー
タ項目に関与しない処理のことである。
The dictionary (201) will be described with reference to FIGS. 7 to 11. A dictionary is a data item that defines and stores individual processing software components for each data item. Here, the data item refers to the smallest unit of data that has a business meaning, such as name and date of birth. The independent process is an operation that is performed only on the data item, and is a process that is not involved in any data item other than itself.

【0057】ディクショナリのソフトウエア部品には、
データ項目定義部(701)、チェック処理定義部(7
06)、入力編集定義部(707)および出力編集定義
部(708)がある。ここで、チェック処理、入力編集
処理、出力編集処理を以下のように定義する。つまり、
入力帳票や入力画面からの入力に対し、データの形式お
よびデータの妥当性をチェックする処理がチェック処理
であり、入力されたデータを、データベースやファイル
に格納する形式に変換する処理が入力編集処理であり、
データベースやファイル上のデータを出力帳票や出力画
面に出力する形式に変換する処理が出力編集処理であ
る。
The dictionary software parts include
Data item definition part (701), check process definition part (7
06), an input edit definition part (707) and an output edit definition part (708). Here, the check process, the input edit process, and the output edit process are defined as follows. That is,
Checking process is to check the data format and validity of the data from the input form or input screen, and the input data editing process is to convert the input data to the format to be stored in the database or file. And
The output editing process is a process of converting data in a database or a file into a format that is output to an output form or an output screen.

【0058】本例では、「SIMEI−NO」(図
7)、「SIMEI」(図8)、「NYUSYA−YM
D」(図9)、「SYOKUI−CD」(図10)、
「SIKYU−GK」(図11)というデータ項目に対
する定義例を示している。
In this example, "SIMEI-NO" (FIG. 7), "SIMEI" (FIG. 8), "NYUSYA-YM".
D "(Fig. 9)," SOKUI-CD "(Fig. 10),
An example of the definition for the data item "SIKYU-GK" (Fig. 11) is shown.

【0059】データ項目定義部(701)には、データ
項目名、日本語名、形式および桁数からなる属性、およ
びデータ項目の用途や意味を明記するコメントを定義す
る。図7の例では、(702)はデータ項目名が「SI
MEI−NO」であり、(703)は日本語名は「氏名
番号」であり、(704)はデータの属性が数字の9桁
であることを定義し、(705)はデータ項目の意味を
定義している。
In the data item definition section (701), a comment that defines the attribute of the data item name, the Japanese name, the format and the number of digits, and the use and meaning of the data item is defined. In the example of FIG. 7, the data item name of (702) is "SI.
MEI-NO ”, (703) the Japanese name is“ name number ”, (704) defines that the attribute of the data is 9 digits, and (705) defines the meaning of the data item. It is defined.

【0060】チェック処理定義部(706)には、デー
タが不当であると判断するための条件と、不当であるこ
とをユーザに知らせる際に用いるエラーコード、エラー
メッセージによって定義する。同じく図7の例では、
(709)は本データ項目に関する入力に対しサブルー
チン「SUB01」を呼び出すことによってチェックを
行うことを示すキーワードであり、(710)はエラー
であった時のエラーコードが「ER10」であり、(7
11)はエラーメッセージが「氏名番号が正しくありま
せん」であることを定義している。
The check processing definition section (706) defines the conditions for judging that the data is invalid, and the error code and error message used to notify the user that the data is invalid. Similarly, in the example of FIG.
(709) is a keyword indicating that a check is performed by calling a subroutine "SUB01" for the input related to this data item, (710) is an error code "ER10" when an error occurs, and (7)
11) defines that the error message is "Incorrect name number".

【0061】入力編集定義部(707)について、図8
を用いて説明する。本例では、(707)に「SUB
(SUB02),SIMEI−NO」と記述することに
より、本データ項目に関する入力編集をサブルーチン
「SUB02」を呼び出すことにより行うことを定義し
ている。同様に出力編集定義部について、図9の例では
(708)に「DATE」と記述することにより、本デ
ータ項目に関する出力編集を行う際には出力形式を「Y
Y.MM.DD」(YY:年、MM:月、DD:日)に
変換して出力することを定義している。以上のように、
チェック条件や、入力編集、出力編集の編集方法の定義
には、「SUB」や「DATE」などのキーワードを用
いて記述する。キーワードとは、チェック条件の場合は
サブルーチン呼出しや、数字チェック、英数字チェッ
ク、範囲チェックなど、編集方法の場合は、サブルーチ
ン呼出しや、計算式、文字列連結編集などのいくつかの
一般的なソフトウエア部品を表す文字列と、その文法規
則のことである。
The input edit definition section (707) is shown in FIG.
Will be explained. In this example, (707) indicates "SUB.
By describing (SUB02), SIMEI-NO ”, it is defined that the input editing for this data item is performed by calling the subroutine“ SUB02 ”. Similarly, regarding the output edit definition section, in the example of FIG. 9, by describing “DATE” in (708), the output format is set to “Y” when performing output edit for this data item.
Y. MM. DD ”(YY: year, MM: month, DD: day) is converted and output. As mentioned above,
Keywords such as “SUB” and “DATE” are used to define the check conditions and the editing methods for input editing and output editing. Keywords are subroutine calls for check conditions, numeric checks, alphanumeric checks, range checks, etc., and for editing methods, some general software such as subroutine calls, formulas, and character string concatenation editing. It is a character string that represents a wear part and its grammar rules.

【0062】次に図12を用いて関連チェック定義書
(202)に格納される関連チェック定義部品の説明を
行う。関連チェック定義部品は、複数のデータ項目間の
関連チェック処理のソフトウエア部品を、デシジョンテ
ーブルの形式で定義したものである。
Next, the related check definition parts stored in the related check definition document (202) will be described with reference to FIG. The related check definition parts are defined in the form of a decision table of software parts for the related check processing between a plurality of data items.

【0063】本例は、データ項目「SIKYU−GK」
「SYOKUI−CD」についての関連チェック定義部
品の例である。(801)は対象となるデータ項目名は
「SIKYU−GK」である事を定義しており、(80
2)は関連するデータ項目名が「SYOKUI−CD」
であることを定義している。尚、関連するデータ項目名
は、もちろん2つ以上あっても良い。(803)は、関
連チェックの条件定義部であり、(807)は関連チェ
ックのエラー処理定義部である。
In this example, the data item "SIKYU-GK" is used.
It is an example of a related check definition component for "SYOKUI-CD". (801) defines that the target data item name is "SIKYU-GK", and (80)
In 2), the related data item name is "SYOKUI-CD".
Is defined. It should be noted that there may be two or more related data item names. (803) is a relation check condition definition part, and (807) is a relation check error processing definition part.

【0064】条件定義部(803)には、データ項目名
(804)、条件(805)および関連マトリクス(8
06)を定義する。エラー処理定義部(807)には、
エラーコード(808)、エラーメッセージ(809)
および関連マトリクス(810)を定義する。
The condition definition part (803) has a data item name (804), a condition (805) and a relation matrix (8).
06) is defined. In the error processing definition part (807),
Error code (808), error message (809)
And an association matrix (810).

【0065】尚、条件(805)は、ディクショナリの
ソフトウエア部品と同様にキーワードを用いて記述す
る。本例は、「SIKYU−GKが80000より大で
なく、SYOKUI−CDが’A03’より大である場
合は、エラーコードはER50とし、エラーメッセージ
は’支給額が基準以下です’である」ことと、「SIK
YU−GKが80000より大であり、SYOKUI−
CDが’A03’より大でない場合は、エラーコードは
ER60とし、エラーメッセージは’支給額が基準を超
えています’である」ということを定義している。
The condition (805) is described by using a keyword as in the case of the dictionary software component. In this example, "When SIKYU-GK is not larger than 80000 and SYOKUUI-CD is larger than'A03 ', the error code is ER50 and the error message is'Payment amount is less than standard'." And, "SIK
YU-GK is greater than 80,000, SYOKUUI-
If the CD is not larger than'A03 ', the error code is ER60, and the error message is'the amount of payment exceeds the standard'. "

【0066】次に、データ定義書(203)の説明を行
う。データ定義書は、ファイルや帳票の情報を定義した
帳票定義部品、ファイル定義部品およびレコード定義部
品を格納するものである。以下、これらの定義部品につ
いて説明する。
Next, the data definition document (203) will be described. The data definition document stores a form definition component defining file and form information, a file definition component, and a record definition component. Hereinafter, these definition parts will be described.

【0067】図13(a)を用いて、帳票定義部品につ
いて説明する。本例は、図6における「給与リスト」
(606)の帳票についての情報を定義したものであ
る。帳票定義部品には、帳票属性定義部(901)と、
帳票レイアウト定義部(907)がある。(902)は
帳票定義部品名が「KYLST」であり、(903)は
帳票名が「給与リスト」である事を定義し、(905)
はレコード長、(906)は1ページあたりの明細業の
印刷行数を定義している。帳票レイアウト定義部(90
7)には、帳票の上にデータ項目を打ち出すときの開始
行(908)、開始列(909)、明細行の反復数(9
10)、データ項目名(911)、属性(912)を定
義する。
The form defining component will be described with reference to FIG. In this example, the “salary list” in FIG.
The information on the form (606) is defined. The form definition part includes a form attribute definition part (901),
There is a form layout definition section (907). (902) defines that the form definition part name is "KYLST", and (903) defines that the form name is "salary list", and (905)
Is the record length, and (906) is the number of lines of printing of the detailed work per page. Form layout definition section (90
7), the start line (908), the start column (909), and the number of repetitions of the detail line (9) when the data item is stamped on the form.
10), data item name (911), and attribute (912) are defined.

【0068】図13(b)は同じく図6における「エラ
ーリスト」(607)に関する帳票定義部品であるが、
内容は図13(a)と同様なので説明は省略する。
Similarly, FIG. 13B shows a form definition component related to the “error list” (607) in FIG.
Since the contents are the same as those in FIG. 13A, description thereof will be omitted.

【0069】図14を用いて、ファイル定義部品および
レコード定義部品の説明を行う。
The file definition component and the record definition component will be described with reference to FIG.

【0070】本例は、図6のプログラム例における、
(601)のファイルおよびそのレコードフォーマット
(605)を定義したものである。(1002)はファ
イル定義部品名が「KYFIL」であり、(1003)
はファイル名が「給与ファイル」であり、(1004)
はプログラム内で使用するファイル記号名が「KYUY
O−FILE」であり、(1005)はこのファイルに
対するレコードフォーマットを定義したレコード定義部
品名が「KYREC」である事を定義し、またファイル
の属性としてレコード長(1006)、ブロック長(1
007)、レコード形式(1008)等を定義してい
る。
This example is based on the program example of FIG.
The file of (601) and its record format (605) are defined. (1002) has the file definition component name "KYFIL", and (1003)
Has a file name of "salary file" (1004)
Is the file symbol name used in the program is "KYUY
O-FILE ”, and (1005) defines that the name of the record definition component that defines the record format for this file is“ KYREC ”. Also, the record length (1006) and block length (1
007), a record format (1008), etc. are defined.

【0071】レコード定義部品には、レコード属性定義
部(1009)とレコードレイアウト定義部(101
2)があり、(1010)はレコード定義部品名が「K
YREC」であり、(1011)はレコード名が「給与
レコード」であることを定義する。レコードレイアウト
定義部には、レベル番号(1013)、データ項目名
(1014)、属性(1015)を定義する。
The record definition parts (1009) and the record layout definition part (101) are included in the record definition parts.
2) exists, and the record definition component name is (K) in (1010).
YREC ”, and (1011) defines that the record name is“ salary record ”. A level number (1013), a data item name (1014), and an attribute (1015) are defined in the record layout definition section.

【0072】尚、本実施例ではバッチ処理のプログラム
を例としており、データ定義書として上記の3種類を使
用しているが、ファイルや帳票の他に画面やデータベー
スを使用するシステムにおいては画面定義部品、データ
ベース定義部品を、また、クライアント・サーバモデル
対応システムの場合においては、他装置上の資源やプロ
セスへのアクセス定義部品等が同様に定義でき、これに
ついても本発明に含まれる。
In this embodiment, a batch processing program is used as an example, and the above three types are used as the data definition document. However, in a system that uses a screen or database in addition to files and forms, the screen definition is defined. Parts, database definition parts, and in the case of the client / server model compatible system, access definition parts for resources and processes on other devices can be defined in the same manner, and this is also included in the present invention.

【0073】図16を用いて標準パターンライブラリ
(205)の説明を行う。
The standard pattern library (205) will be described with reference to FIG.

【0074】画面、帳票、ファイル等の処理プログラム
を制御構造に着目していくつかの種類に分け、業務個別
処理をそれ自身に含まないパターンとして部品化され
た、プログラムスケルトン標準パターン部品(以下、標
準パターンとよぶ)を格納したものである。本例は、フ
ァイルを読み込み、チェックを行って正常データとエラ
ーデータに別けて出力するタイプの標準パターンであ
る。(1201)は標準パターン名、(1202)は標
準パターン本体であるプログラムスケルトン部品であ
る。チェック処理部(1203)、関連チェック処理部
(1204)、編集処理部(1205)は業務個別の処
理でありこれらは標準パターンに含まず、プログラム生
成機能(209)がデータ項目中心のソフトウエア部品
を展開する部分である。
A program skeleton standard pattern component (hereinafter referred to as a pattern skeleton component) which is a component of a process program such as a screen, a form, and a file, which is divided into several types by paying attention to the control structure, and which does not include the individual process for business. It is called a standard pattern). This example is a standard pattern of a type in which a file is read, checked, and output separately for normal data and error data. (1201) is a standard pattern name, and (1202) is a program skeleton part which is the standard pattern body. The check processing unit (1203), the related check processing unit (1204), and the edit processing unit (1205) are business-specific processes, and these are not included in the standard pattern, and the program generation function (209) is a software component centering on data items. Is the part that expands.

【0075】図17を用いて標準機能説明ライブラリ
(206)の説明を行う。標準機能説明ライブラリと
は、標準パターンに沿った標準機能説明部品を格納した
ものである。本例は、上記で説明した標準パターン「C
HK01」に対応した標準機能説明部品である。(13
01)は標準機能説明部品名、(1302)は機能説明
の処理部分の記述である。尚、標準機能説明部品と標準
パターンとは1対1対応がとれており、従って標準機能
説明部品名(1301)は、対応する標準パターン名と
同一名である。
The standard function explanation library (206) will be explained with reference to FIG. The standard function explanation library stores standard function explanation parts according to a standard pattern. In this example, the standard pattern "C described above is used.
It is a standard function explanation part corresponding to "HK01". (13
01) is a standard function explanation part name, and (1302) is a description of the processing part of the function explanation. Note that there is a one-to-one correspondence between standard function explanation parts and standard patterns, so the standard function explanation part name (1301) is the same as the corresponding standard pattern name.

【0076】図15を用いて、プログラム定義書(20
4)に格納されるプログラム定義部品の説明を行う。本
例は、図6のプログラム例における、(602)のプロ
グラム仕様を定義したものである。(1101)はプロ
グラム属性定義部であり、(1106)は入出力媒体定
義部である。(1102)はプログラム記号名が「PR
OG01」であり、(1103)プログラム日本語名が
「給与リスト作成」であり、(1104)はプログラム
で使用する標準パターン名が「CHK01」である事を
定義している。(1105)にはプログラム処理概要を
明記するコメントを定義する。
Referring to FIG. 15, the program definition document (20
The program definition parts stored in 4) will be described. This example defines the program specifications of (602) in the program example of FIG. (1101) is a program attribute definition part, and (1106) is an input / output medium definition part. In (1102), the program symbol name is "PR
OG01 ”, (1103) the program Japanese name is“ salary list creation ”, and (1104) defines that the standard pattern name used in the program is“ CHK01 ”. In (1105), a comment that specifies the outline of program processing is defined.

【0077】入出力媒体定義部(1106)には入出力
媒体に対応するファイル定義部品名および帳票定義部品
名を(1107)に、それぞれの入出力区分(以下、I
/O区分とよぶ)(1108)、使用区分(110
9)、論理装置名(1110)、プログラム内で使用す
るときにデータ項目に付加する接頭語(1111)定義
する。
In the input / output medium definition section (1106), the file definition part name and the form definition part name corresponding to the input / output medium are set to (1107), and the respective input / output categories (hereinafter, I
/ O classification) (1108), usage classification (110)
9), a logical device name (1110), and a prefix (1111) added to a data item when used in a program are defined.

【0078】ここで、使用区分(1109)とは、各標
準パターンにおいて、ある特別な用途で使用するファイ
ルであることを示す区分である。本例では、入出力媒体
「KYERR」の使用区分を「ERR」と定義してある
が、これは、標準パターン「CHK01」において、チ
ェック処理で編集されるエラーコードやエラーメッセー
ジの出力先である事を示している。
Here, the use classification (1109) is a classification indicating that each standard pattern is a file used for a certain special purpose. In this example, the use category of the input / output medium “KYERR” is defined as “ERR”, but this is the output destination of the error code or error message edited in the check process in the standard pattern “CHK01”. It shows a thing.

【0079】以下、プログラム仕様書生成の手順を、図
3のフローチャートを用いて詳細に説明する。初めに生
成対象の業務プログラム(以下該プログラムと略す)の
プログラム定義部品(図15に示す)を入力(ステップ
301)し、該業務プログラムで使用している標準パタ
ーン名(1104)、入出力媒体定義部品名(110
8)、使用区分(1109)を取得する。
The procedure for generating the program specifications will be described in detail below with reference to the flowchart of FIG. First, a program definition part (shown in FIG. 15) of a business program to be generated (hereinafter abbreviated as the program) is input (step 301), a standard pattern name (1104) used in the business program, an input / output medium. Definition part name (110
8), use classification (1109) is acquired.

【0080】次にプログラム処理概要図を展開し、出力
する(302)。
Next, the program processing outline diagram is developed and output (302).

【0081】図18を用いてプログラム処理概要図の展
開方式を説明する。プログラム名(1401)、記号名
(1402)、標準パターン名(1403)、処理概要
(1412)はそれぞれプログラム定義部品(図15)
の(1103)(1102)(1104)(1105)
より取得したものを出力する。
A method of expanding the program processing outline diagram will be described with reference to FIG. The program name (1401), symbol name (1402), standard pattern name (1403), and process outline (1412) are program definition parts (FIG. 15), respectively.
(1103) (1102) (1104) (1105)
Output more acquired.

【0082】入出力媒体(1404)の定義部品名(1
406)、I/O区分(1407)、使用区分(140
8)、論理装置名(1409)、接頭語(1410)
は、それぞれプログラム定義部品の入出力媒体定義部の
(1107)(1108)(1109)(1110)
(1111)より取得したものを出力する。入出力媒体
(1404)の日本語名(1405)は、入出力媒体の
定義部品名(1107)をもとにファイル定義部品およ
び帳票定義部品を参照し、ファイル名(1003)およ
び帳票名(903)を取得し、出力する。
Definition component name of the input / output medium (1404) (1
406), I / O division (1407), use division (140
8), logical device name (1409), prefix (1410)
Are (1107) (1108) (1109) (1110) of the input / output medium definition part of the program definition part, respectively.
The information obtained from (1111) is output. The Japanese name (1405) of the input / output medium (1404) refers to the file definition component and the form definition component based on the definition component name (1107) of the input / output medium, and the file name (1003) and the form name (903). ) Is acquired and output.

【0083】本例では、プログラム定義部品に定義部品
名(1107)は「KYFIL」と定義してあるので、
この定義部品名もとにファイル定義部品(図14
(a))を参照し、ファイル名(1003)として「給
与ファイル」を取得して、日本語名(1405)に出力
する。(以後、このように定義部品名をもとに定義部品
を参照してファイルや帳票の日本語名を取得する処理を
日本語名取得とよぶ。同様にデータ項目についても、デ
ータ項目名をもとにディクショナリ(201)を参照し
てデータ項目の日本語名を取得することができ、これに
ついても日本語名取得とよぶ)さらに上記の情報をもと
に該プログラムの入出力関連を図面(1411)に示す
ように図式化して出力する。
In this example, since the definition component name (1107) is defined as "KYFIL" in the program definition component,
File definition parts (Fig. 14)
Referring to (a)), the “salary file” is acquired as the file name (1003) and output to the Japanese name (1405). (Hereinafter, the process of referring to the definition component based on the definition component name and acquiring the Japanese name of the file or form is called Japanese name acquisition. Similarly, for data items, the data item name is also Also, the Japanese name of the data item can be acquired by referring to the dictionary (201), which is also called Japanese name acquisition.) Furthermore, based on the above information, the input / output relation of the program is drawn ( 1411), the data is converted into a diagram and output.

【0084】次に図3に戻りプログラム定義部品より既
に取得した標準パターン名(1104)をもとに標準機
能説明部品を入力し(303)、プログラム機能説明図
を展開し出力する(304)。
Next, returning to FIG. 3, standard function explanation parts are input based on the standard pattern name (1104) already acquired from the program definition parts (303), and the program function explanation diagram is expanded and output (304).

【0085】図19を用いて、プログラム機能説明図の
展開方式を説明する。プログラム名(1501)、プロ
グラム記号名(1502)、標準パターン名(150
3)は、それぞれ前記と同様にプログラム定義部品の
(1103)(1102)(1104)より取得したも
のを出力する。入力媒体名(1504)および、出力媒
体名(1506)(1507)についても、前記と同様
に、プログラム定義部品の入出力媒体定義部(110
6)より、定義部品名(1107)を参照して、日本語
名を取得し、定義部品名および日本語名をそれぞれ出力
する。入出力媒体のうち、入力媒体であるか出力媒体で
あるかは、対応するI/O区分(1108)を参照すれ
ばよく、以下、入出力媒体のうちI/O区分が「I」で
あるものを入力媒体、「O」であるものを出力媒体とよ
ぶ。
The expansion method of the program function explanatory diagram will be described with reference to FIG. Program name (1501), program symbol name (1502), standard pattern name (150
3) outputs the ones acquired from the program definition parts (1103), (1102) and (1104) in the same manner as described above. The input medium name (1504) and the output medium names (1506) (1507) are also input / output medium definition part (110) of the program definition part in the same manner as described above.
From 6), the Japanese name is acquired by referring to the definition component name (1107), and the definition component name and the Japanese name are output. Whether the input medium is the input medium or the output medium can be referred to the corresponding I / O section (1108). Hereinafter, the I / O section of the input / output medium is “I”. An object is called an input medium, and an "O" is called an output medium.

【0086】機能説明図の処理(1505)の記述につ
いては、標準機能説明部品の処理の記述部(1302)
に、入出力媒体の日本語名取得したものを合成して出力
する。
Regarding the description of the process (1505) of the functional explanatory diagram, the description part (1302) of the process of the standard functional explanatory parts
Then, the Japanese name of the input / output medium acquired is combined and output.

【0087】次に、図3に戻りプログラム定義部品より
既に取得した標準パターン名をもとにチェック条件表、
関連チェック条件表の生成判定を行う(305)。例え
ば、本例で使用している標準パターン「CHK01」
は、入力ファイルを読み込み、その内容をチェックして
出力ファイルに書き出すようなパターンである。このよ
うな、入力データのチェック処理を含む標準パターンに
ついては、チェック条件表、関連チェック条件表を生成
出力する必要があると判定する。
Next, returning to FIG. 3, a check condition table is created based on the standard pattern name already acquired from the program definition part,
It is determined whether the related check condition table is generated (305). For example, the standard pattern “CHK01” used in this example.
Is a pattern that reads an input file, checks its contents, and writes it to an output file. For such a standard pattern including the check processing of the input data, it is determined that the check condition table and the related check condition table need to be generated and output.

【0088】チェック条件表、関連チェック条件表の生
成が必要と判定された場合、以下のようにチェック条件
表および関連チェック条件表を展開し出力する。
When it is determined that the check condition table and the related check condition table need to be generated, the check condition table and the related check condition table are developed and output as follows.

【0089】まず、図20を用いて、チェック条件表の
展開方法を説明する。
First, the method of expanding the check condition table will be described with reference to FIG.

【0090】プログラム定義部品に定義された入力媒体
ごとに、入力媒体定義部品名をもとにファイル定義部品
およびレコード定義部品を入力し、さらに入力媒体で使
用されているすべてのデータ項目について、データ項目
ごとに、ディクショナリを参照しながら、チェック条件
表を展開していく(306)。
For each input medium defined in the program definition part, a file definition part and a record definition part are input based on the input medium definition part name, and further data for all data items used in the input medium are input. The check condition table is expanded for each item while referring to the dictionary (306).

【0091】プログラム名(1603)、プログラム記
号名(1604)の出力方法については、前記プログラ
ム処理概要図と同様である。入力媒体の定義部品名(1
602)およびその日本語名(1601)には、プログ
ラム定義部品より取得した該入力媒体定義部品名と、そ
れをもとに日本語名取得したものとを出力する。出力媒
体の定義部品名(1606)およびその日本語名(16
05)には、チェック処理によって編集されるエラーコ
ードやエラーメッセージの出力先の出力媒体に関する情
報を出力する。このためプログラム定義部品に定義され
た出力媒体のうち、使用区分(1109)が「ERR」
であるものをエラーメッセージの出力先と判定し、その
出力媒体定義部品名と、それをもとに日本語名取得した
ものとを出力する。
The method of outputting the program name (1603) and the program symbol name (1604) is the same as that in the program processing outline diagram. Input media definition parts name (1
For 602) and its Japanese name (1601), the input medium definition part name acquired from the program definition part and the Japanese name acquired based on it are output. Output medium definition part name (1606) and its Japanese name (16
In 05), the information regarding the output medium to which the error code and the error message edited by the check process are output is output. Therefore, of the output media defined in the program definition part, the usage category (1109) is "ERR".
Is determined as the output destination of the error message, and the output medium definition component name and the Japanese name acquired based on it are output.

【0092】入力項目の欄には、該データ項目名および
その日本語名(1607)をディクショナリ(201)
のソフトウエア部品(701)から、属性(1608)
を入力媒体の定義部品から取得して出力する。
In the input item column, the data item name and its Japanese name (1607) are stored in the dictionary (201).
Attribute (1608) from the software component (701) of
Is acquired from the definition part of the input medium and is output.

【0093】チェック処理の欄には、ディクショナリ
(201)のチェック処理定義部(706)に定義され
ている内容をもとに、キーワード(1609)、チェッ
ク条件(1610)、エラーコード(1611)および
エラーメッセージ(1612)の欄に出力する。チェッ
ク条件欄については、ディクショナリのソフトウエア部
品には編集方法がキーワードによって記述されているの
で、キーワードが示す意味を日本語に変換して出力す
る。
In the check processing column, a keyword (1609), a check condition (1610), an error code (1611), and an error code (1611) are stored based on the contents defined in the check processing definition section (706) of the dictionary (201). The error message (1612) is output in the column. Regarding the check condition column, since the editing method is described by the keyword in the software component of the dictionary, the meaning indicated by the keyword is converted into Japanese and output.

【0094】本例においては、まず、プログラム定義部
品の入力媒体定義部品名(1107)が「KYFIL」
であるので、対応するファイル定義部品(図14
(a))を参照して、対応するレコード定義部品名(1
010)である「KYREC」を取得する。さらに、対
応するレコード定義部品(図14(b))を入力し、定
義されているデータ項目の順に入力項目欄、チェック処
理欄を展開し、出力して行く。
In this example, first, the input medium definition part name (1107) of the program definition part is "KYFIL".
Therefore, the corresponding file definition parts (see FIG.
(A)), the corresponding record definition component name (1
010) which is “KYREC”. Further, the corresponding record definition component (FIG. 14B) is input, and the input item column and the check processing column are expanded and output in the order of the defined data items.

【0095】「KYREC」のレコードレイアウト定義
(1012)において、1番目に定義されているデータ
項目名(1014)は「SIMEI−NO」であるの
で、まず、対応するディクショナリ(201)のソフト
ウエア部品(図7)を参照し、データ項目の日本語名
(703)である「氏名番号」を取得する。次にディク
ショナリのチェック処理定義部(706)より、キーワ
ード(709)、エラーコード(710)、エラーメッ
セージ(711)を取得し出力する。キーワード(16
09)の「SUB(SUB01)」は、サブルーチン呼
び出しのソフトウエア部品を示すキーワードであり、S
UB01は呼び出されるサブルーチンのプログラム記号
名を表している。そこで、チェック条件欄(1610)
には、「サブルーチン(SUB01)を呼び出すことに
よりチェックする」と、キーワードの示す意味を日本語
に展開し出力する(以後、このようなキーワードの示す
意味を日本語に変換する処理を、キーワード日本語変換
とよぶ)。
In the record layout definition (1012) of "KYREC", the first defined data item name (1014) is "SIMEI-NO". Therefore, first, the software component of the corresponding dictionary (201). Referring to (FIG. 7), the Japanese name (703) of the data item, “name number”, is acquired. Next, the keyword (709), the error code (710), and the error message (711) are acquired and output from the dictionary check processing definition unit (706). Keywords (16
09) "SUB (SUB01)" is a keyword indicating a software component for calling a subroutine, and S
UB01 represents the program symbol name of the called subroutine. Therefore, check condition column (1610)
"Check by calling a subroutine (SUB01)", expands the meaning indicated by the keyword into Japanese and outputs it (hereinafter, processing for converting such meaning indicated by the keyword into Japanese Called word conversion).

【0096】以下レコードレイアウト定義(1012)
のデータ項目名(1014)に対し同じ手順を繰り返す
ことによってチェック条件表を生成する。次に、図3に
戻り関連チェック条件表を生成する(307)。プログ
ラム定義部品に定義された全ての入力媒体について、入
力媒体定義部品名をもとにファイル定義部品およびレコ
ード定義部品を入力し、さらに入力媒体で使用されてい
るすべてのデータ項目について、データ項目ごとに、関
連チェック条件表の生成判定を行う。
Record layout definition (1012)
The check condition table is generated by repeating the same procedure for the data item name (1014). Next, returning to FIG. 3, a related check condition table is generated (307). For all input media defined in the program definition part, enter file definition parts and record definition parts based on the input medium definition part name, and for all data items used in the input medium, for each data item Then, it is determined whether to generate the related check condition table.

【0097】判定条件は、該データ項目に対する関連チ
ェック定義部品が存在すること、かつ、該データ項目に
対応する関連チェック定義部品に記載されている関連デ
ータ項目(802)の全てが、該プログラムで使用する
入力媒体に含まれている場合にのみ、該関連チェック定
義部品に対する関連チェック条件表を生成する。尚、入
力媒体が複数ある場合は、関連データ項目は入力媒体の
どれかに含まれていればよい。
The judgment condition is that there is a related check definition part for the data item, and all the related data items (802) described in the related check definition part corresponding to the data item are in the program. Only when included in the input medium to be used, the related check condition table for the related check definition part is generated. When there are a plurality of input media, the related data item may be included in any of the input media.

【0098】本例では、入力媒体にあるデータ項目名
(1014)のうち、「SIKYU−GK」については
関連チェック定義部品が存在し(図12)、かつ、該関
連定義部品の関連データ項目名(802)に記載されて
いる「SYOKUI−CD」は該プログラムの入力媒体
に対するレコード定義部品(図14(b))に含まれて
いるので、入力チェック条件表の生成が必要と判定す
る。この際、関連データ項目の入力元となる入力媒体定
義部品名を取得しておく。
In this example, of the data item names (1014) on the input medium, there is a related check definition part for "SIKYU-GK" (FIG. 12), and the related data item name of the related definition part. Since "SYOKUI-CD" described in (802) is included in the record definition component (FIG. 14B) for the input medium of the program, it is determined that the input check condition table needs to be generated. At this time, the input medium definition component name that is the input source of the related data item is acquired.

【0099】関連チェック定義部品が存在しない「SI
KYU−GK」以外のデータ項目については、関連チェ
ック条件表は生成しないことを判定する。
There is no related check definition part "SI
For data items other than “KYU-GK”, it is determined that the related check condition table is not generated.

【0100】関連チェック条件表の生成が必要と判定さ
れた場合、該関連チェック定義部品およびディクショナ
リ(201)のソフトウエア部品を参照しながら、関連
チェック条件表を展開していく。
When it is judged that the related check condition table needs to be generated, the related check condition table is developed while referring to the related check definition parts and the software parts of the dictionary (201).

【0101】図21を用いて関連チェック条件表の展開
方法を説明する。プログラム名(1701)、プログラ
ム記号名(1702)の出力方法については、前記プロ
グラム処理概要図と同様である。入力媒体上の記号名
(1706)およびその日本語名(1705)について
は関連チェック定義部品のデータ項目名(804)より
取得したデータ項目名と、それをもとに日本語名取得し
たものとを出力する。条件(1707)、マトリクス
(1708)については、関連チェック定義部品の条件
(805)およびマトリックス(806)より取得し、
出力する。エラーコード(1711)、エラーメッセー
ジ(1712)、およびマトリクス(1713)につい
ては、関連チェック定義部品のエラーコード(80
8)、エラーメッセージ(809)およびマトリックス
(810)より取得し、出力する。
A method of developing the related check condition table will be described with reference to FIG. The method of outputting the program name (1701) and the program symbol name (1702) is the same as in the program processing outline diagram. The symbol name (1706) and its Japanese name (1705) on the input medium are the data item name acquired from the data item name (804) of the related check definition part and the Japanese name acquired based on it. Is output. The condition (1707) and matrix (1708) are acquired from the condition (805) and matrix (806) of the related check definition parts,
Output. Regarding the error code (1711), error message (1712), and matrix (1713), the error code (80
8), the error message (809) and the matrix (810) to obtain and output.

【0102】入力媒体の定義部品名(1704)および
その日本語名(1703)については、関連チェック生
成判定時に既に取得してある、該データ項目が含まれて
いる入力媒体の定義部品名と、それに日本語名取得を行
ったものとを出力する。
Regarding the definition part name of the input medium (1704) and its Japanese name (1703), the definition part name of the input medium including the data item, which has already been acquired at the time of determination of the related check, It also outputs that the Japanese name was acquired.

【0103】出力媒体の定義部品名(1710)および
その日本語名(1709)については、チェック条件表
におけるエラーコード、エラーメッセージ出力先と全く
同様にして出力する。
The definition component name (1710) of the output medium and its Japanese name (1709) are output in exactly the same manner as the error code and error message output destination in the check condition table.

【0104】次に、図22を用いて、編集条件表の展開
方法を説明する。
Next, a method of expanding the editing condition table will be described with reference to FIG.

【0105】プログラム定義部品に定義された出力媒体
と入力媒体との全ての組合せに対して、その組合せごと
に、該出力媒体定義部品名をもとにファイル定義部品、
レコード定義部品および帳票定義部品を入力し、さらに
出力媒体で使用されているすべてのデータ項目につい
て、データ項目ごとに、ディクショナリのソフトウエア
部品を参照しながら、編集条件表を展開していく(図3
のステップ308)。
For all combinations of output media and input media defined in the program definition parts, for each combination, a file definition part based on the output medium definition part name,
Record definition parts and form definition parts are input, and for all data items used on the output medium, the editing condition table is expanded for each data item while referring to the dictionary software parts (Fig. Three
308).

【0106】プログラム名(1803)、プログラム記
号名(1804)の出力方法については、前記プログラ
ム処理概要図と同様である。出力媒体の定義部品名(1
802)およびその日本語名(1801)、入力媒体の
定義部品名(1806)およびその日本語名(180
5)には、プログラム定義部品より取得した該出力媒体
定義部品名、該入力媒体定義部品名と、それをもとに日
本語名取得したものとをそれぞれ出力する。
The method of outputting the program name (1803) and the program symbol name (1804) is the same as in the program processing outline diagram. Output medium definition part name (1
802) and its Japanese name (1801), the definition part name of the input medium (1806) and its Japanese name (180
In 5), the output medium definition component name acquired from the program definition component, the input medium definition component name, and the Japanese name acquired based on the output medium definition component name are output.

【0107】出力項目の欄については、出力項目名(1
807)はデータ項目名と、それをもとに日本語名取得
したものとを出力し、属性(1808)は、該データ項
目名に対し出力媒体上で定義されている属性(912)
を取得して出力する。入力項目欄の入力項目名(181
2)および属性(1813)については、出力項目を編
集する際の情報元となる入力媒体上のデータ項目につい
て、データ項目名とそれをもとにディクショナリのソフ
トウエア部品から日本語名(703)と属性(704)
を取得し、出力する。
For the output item column, output item name (1
807) outputs the data item name and the Japanese name acquired based on it, and the attribute (1808) is the attribute (912) defined on the output medium for the data item name.
And output. Input item name in the input item column (181
Regarding 2) and attribute (1813), the data item name on the input medium that becomes the information source when editing the output item, and the Japanese name (703) from the software item of the dictionary based on the data item name And attributes (704)
To get and output.

【0108】編集の欄には、ディクショナリの入力編集
定義部(707)および、出力編集定義部(708)に
定義されている内容をもとに、キーワード欄(180
9)、編集方法欄(1810)、および編集区分欄(1
811)に出力する。編集方法欄(1810)について
は、ディクショナリのソフトウエア部品の編集方法がキ
ーワードによって記述されているので、キーワード日本
語変換を行い出力する。編集区分欄(1811)には、
編集方法がディクショナリのソフトウエア部品の入力編
集から展開されたものである場合は「入力編集」、出力
編集から展開されたものである場合は「出力編集」と出
力する。
In the edit field, the keyword field (180) is used based on the contents defined in the input edit definition section (707) and the output edit definition section (708) of the dictionary.
9), edit method column (1810), and edit category column (1
811). In the edit method column (1810), since the edit method of the software component of the dictionary is described by the keyword, the keyword Japanese is converted and output. In the edit section column (1811),
If the editing method is the one developed from the input editing of the software component of the dictionary, "input editing" is output, and if the editing method is the one developed from the output editing, "output editing" is output.

【0109】ここで、データ項目に対するディクショナ
リのソフトウエア部品に定義された編集方法を、キーワ
ード欄(1809)および編集方法欄(1810)へ展
開する際の判定条件について説明する。
Here, a description will be given of the judgment conditions for expanding the editing method defined in the software component of the dictionary for the data item into the keyword column (1809) and the editing method column (1810).

【0110】まず、入力編集の場合の展開判定条件を示
す。該プログラムに対する入力媒体が入力画面または、
入力帳票など、ユーザから入力される媒体であること、
または、該プログラム実行中に、入力媒体中のデータを
もとに該データ項目が新しく生成されること、つまり、
該データ項目が該プログラムの入力媒体には含まれない
が出力媒体には含まれることの2点であり、どちらか1
方を満たしていれば、入力編集を展開する。
First, the expansion determination conditions for input editing will be shown. The input medium for the program is an input screen or
It is a medium entered by the user, such as an input form,
Alternatively, during execution of the program, the data item is newly created based on the data in the input medium, that is,
There are two points that the data item is not included in the input medium of the program but included in the output medium.
If you meet the requirements, expand the input editing.

【0111】出力編集の場合の展開判定条件を示す。該
プログラムの出力媒体が出力画面または、帳票などの媒
体であり、かつ、入力媒体と出力媒体の両方に該データ
項目が含まれる場合に、出力編集を展開する。
The expansion determination conditions for output editing are shown below. When the output medium of the program is an output screen or a medium such as a form, and both the input medium and the output medium include the data item, the output editing is expanded.

【0112】以下、本例における編集条件表の生成例を
詳細に示す。プログラム定義部品に定義された出力媒体
と入力媒体の組は出力帳票「KYLST」(603)と
入力ファイル「KYFIL」(601)、出力帳票「K
YERR」(604)と入力ファイル「KYFIL」
(601)であるので、まず、1組目の「KYLST」
と「KYFIL」に着目する。「KYLST」をもとに
帳票定義部品(図13(a))を入力し、そこで定義さ
れているデータ項目に着目する。
Hereinafter, an example of generating the editing condition table in this example will be described in detail. The set of the output medium and the input medium defined in the program definition part is the output form “KYLST” (603), the input file “KYFIL” (601), and the output form “K”.
"YERR" (604) and input file "KYFIL"
Since it is (601), first, the first set of "KYLST"
And pay attention to "KYFIL". A form definition component (FIG. 13A) is input based on “KYLST” and attention is paid to the data items defined therein.

【0113】データ項目名(911)の1番目に定義さ
れているデータ項目は「SIMEI−NO」であるの
で、ディクショナリのソフトウエア部品(図7)からデ
ータ項目の日本語名「氏名番号」(703)を、帳票定
義部品から属性「X(4)」(912)を取得し出力す
る。「SIMEI−NO」は入力媒体に含まれるので、
入力編集は展開しない。次にディクショナリの出力編集
定義部を参照するが、何も定義されていない。これは出
力編集時はこの該データ項目について何の加工も施さず
に出力することを示す。そこでキーワードは空白とし、
編集方法欄(1810)には「そのまま転送する」と出
力する。
Since the first defined data item of the data item name (911) is "SIMEI-NO", the Japanese name of the data item "name number" (from the dictionary software component (Fig. 7)). 703), the attribute “X (4)” (912) is acquired from the form definition part and output. Since "SIMEI-NO" is included in the input medium,
Input editing is not expanded. Next, refer to the output edit definition section of the dictionary, but nothing is defined. This indicates that at the time of output editing, the data item is output without any processing. So leave the keyword blank,
"Transfer as is" is output to the edit method column (1810).

【0114】データ項目名(911)の2番目に定義さ
れているデータ項目は「SIMEI」であるので、同様
にディクショナリのソフトウエア部品(図8)からデー
タ項目の日本語名「氏名」を、帳票定義部品名から属性
「N(7)」(912)を取得し出力する。次に、ディ
クショナリの入力編集定義部(707)を参照し、編集
方法のキーワード「SUB(SUB02,SIMEI−
NO)」を取得する。これは、サブルーチン呼出しのソ
フトウエア部品を示すキーワードで、「SUB02」は
サブルーチン名を、「SIMEI−NO」は、そのサブ
ルーチンに引き渡す入力パラメータであることを示して
いる。従って、「SIMEI」に対する入力項目名(1
812)が「SIMEI−NO」であることが分かる。
Since the second defined data item of the data item name (911) is "SIMEI", the Japanese name "name" of the data item from the dictionary software component (Fig. 8) is also changed. The attribute “N (7)” (912) is acquired from the form definition component name and output. Next, referring to the input editing definition section (707) of the dictionary, the editing method keyword "SUB (SUB02, SIMEI-
No) ”is acquired. This is a keyword indicating a software component for calling a subroutine. "SUB02" indicates a subroutine name, and "SIMEI-NO" indicates an input parameter to be passed to the subroutine. Therefore, the input item name (1
It can be seen that 812) is "SIMEI-NO".

【0115】「SIMEI」は該プログラムの入力媒体
である「KYFIL」には含まれていないので、入力編
集の場合の展開判定条件を満たしている。従って、キー
ワード「SUB」及び、キーワード日本語変換処理を行
ったものを編集の欄(1809、1810)に、入力項
目「SIMEI−NO」とその属性を入力項目欄(18
12、1813)にそれぞれ出力する。
Since "SIMEI" is not included in "KYFIL" which is the input medium of the program, it satisfies the expansion determination condition in the case of input editing. Therefore, the keyword "SUB" and the keyword-Japanese converted processing are entered in the edit column (1809, 1810), and the input item "SIMEI-NO" and its attribute are entered in the input item column (18).
12, 1813) respectively.

【0116】尚、本例ではディクショナリの出力編集定
義部に何も定義されていないため、このように入力編集
のみを展開しているが、さらに出力編集定義部にも定義
されている場合には、入力編集および出力編集の両方を
この順番に展開して出力する。
In this example, since nothing is defined in the output edit definition section of the dictionary, only the input edit is expanded in this way. However, when it is also defined in the output edit definition section, , Input edit and output edit are both expanded and output in this order.

【0117】データ項目名(911)の3番目に定義さ
れているデータ項目は「NYUSYA−YMD」である
ので、ディクショナリのソフトウエア部品(図9)から
「入社年月日」を、帳票定義部品名から属性「X
(8)」(912)を取得しそれぞれ出力項目欄(18
07、1808)に出力する。次に、ディクショナリの
出力編集定義部(708)を参照し、キーワード「DA
TE」を取得する。該出力媒体は帳票であるので、出力
編集の場合の展開判定条件を満たしている。そこで、キ
ーワード欄(1809)および編集方法欄(1810)
には、キーワードと、キーワード日本語変換を行った
「YY.MM.DDの形式に変換する」とを出力し、入
力項目欄(1812、1813)には自身と同名の「N
YUSYA−YMD」と、その属性をディクショナリの
ソフトウエア部品から取得してそれぞれ出力する。
Since the third data item defined in the data item name (911) is "NYUSYA-YMD", the "companion date" is changed from the dictionary software part (FIG. 9) to the form definition part. From name to attribute "X
(8) ”(912) and output item column (18
07, 1808). Next, referring to the output edit definition section (708) of the dictionary, the keyword “DA
TE ”is acquired. Since the output medium is a form, it satisfies the expansion determination condition for output editing. Therefore, the keyword column (1809) and the editing method column (1810)
Is output as a keyword and the keyword "Japanese is converted into YY.MM.DD format" is output, and the input item column (1812, 1813) has the same name as "N.
YUSYA-YMD "and its attributes are acquired from the dictionary software component and are output.

【0118】データ項目名(911)の4番目に定義さ
れたデータ項目「SYOKUI−CD」については、
「SIMEI−NO」の場合と同様に展開する。
Regarding the fourth defined data item "SYOKUI-CD" of the data item name (911),
It develops like the case of "SIMEI-NO."

【0119】データ項目名(911)の5番目に定義さ
れたデータ項目「SIKYU−GK」については、
「SIMEI−NO」と同様にディクショナリの入力編
集定義部にも出力編集定義部にも定義情報がないが、帳
票定義部品より取得された属性が「Z,ZZZ,ZZ
9」(912)であり、これはゼロサプレスおよびカン
マ編集を行うものであるので、この場合は編集方法欄
(1810)に「Z,ZZZ,ZZ9の形式に編集す
る」と出力する。
Regarding the fifth defined data item "SIKYU-GK" of the data item name (911),
Similar to "SIMEI-NO", there is no definition information in the input edit definition part and the output edit definition part of the dictionary, but the attributes acquired from the form definition parts are "Z, ZZZ, ZZ.
9 "(912), which is for zero suppression and comma editing, and in this case," edit in Z, ZZZ, ZZ9 format "is output to the editing method column (1810).

【0120】以下、プログラム生成の手順を説明する。The procedure of program generation will be described below.

【0121】プログラム生成の手順の説明に先立ち、図
23〜図26を用いてプログラム仕様書ライブラリ(2
10)上でのプログラム仕様書の格納形式について説明
する。
Prior to the description of the program generation procedure, the program specification library (2
10) The storage format of the program specifications described above will be described.

【0122】図23はプログラム仕様書ライブラリ(2
10)上のプログラム処理概要図の格納形式である。こ
の形式は、業務プログラムのプログラム名(190
1)、記号名(1902)、業務プログラムで使用する
標準パターン名(1903)、入出力媒体の日本語名
(1904)、定義部品名(1905)、I/O区分
(1906)、使用区分(1907)、論理装置名(1
908)、接頭語(1909)、プログラムの処理概要
(1910)の欄により構成される。これは図18にお
けるプログラム処理概要図の出力例と全く同じデータに
より構成される。
FIG. 23 shows the program specification library (2
10) It is a storage format of the above program processing outline diagram. This format is the program name (190
1), symbol name (1902), standard pattern name used in business program (1903), Japanese name of input / output medium (1904), definition part name (1905), I / O classification (1906), usage classification ( 1907), logical device name (1
908), a prefix (1909), and a program processing outline (1910). This is composed of exactly the same data as the output example of the program processing outline diagram in FIG.

【0123】図24はプログラム仕様書ライブラリ(2
10)上のチェック条件表の格納形式である。この形式
は、入力媒体の定義部品名(2001)、出力媒体の定
義部品名(2002)、入力項目の日本語名(200
3)、記号名(2004)、属性(2005)、チェッ
ク処理のキーワード(2006)、チェック条件(20
07)、エラーコード(2008)、エラーメッセージ
(2009)の欄により構成される。これは図20にお
けるチェック条件表の出力例と全く同じデータにより構
成される。
FIG. 24 shows the program specification library (2
10) Storage format of the above check condition table. This format is defined as input media definition component name (2001), output medium definition component name (2002), and input item Japanese name (200).
3), symbol name (2004), attribute (2005), check processing keyword (2006), check condition (20)
07), error code (2008), and error message (2009). This is composed of exactly the same data as the output example of the check condition table in FIG.

【0124】図25はプログラム仕様書ライブラリ(2
10)上の関連チェック条件表の格納形式である。この
形式は入出力媒体の定義部品名(2101)、入力項目
の日本語名(2102)、記号名(2103)、チェッ
ク条件のキーワード(2104)、エラーコード(21
05)、エラーメッセージ(2106)、マトリクス
(2107)の欄により構成される。これは図21にお
ける関連チェック条件表の出力例と全く同じデータによ
り構成される。
FIG. 25 shows the program specification library (2
10) A storage format of the related check condition table above. This format is defined parts name (2101) of input / output medium, Japanese name of input item (2102), symbol name (2103), keyword of check condition (2104), error code (21
05), error message (2106) and matrix (2107). This is composed of exactly the same data as the output example of the related check condition table in FIG.

【0125】図26はプログラム仕様書ライブラリ(2
10)上の編集条件表の格納形式である。この形式は入
力媒体の定義部品名(2201)、出力媒体の定義部品
名(2202)、出力項目の日本語名(2203)、記
号名(2204)、属性(2205)、編集方法のキー
ワード(2206)、編集方法(2207)、編集区分
(2208)、入力項目の日本語名(2209)、記号
名(2210)、属性(2211)の欄により構成され
る。これは図22における編集条件表の出力例と全く同
じデータにより構成される。
FIG. 26 shows the program specification library (2
10) It is a storage format of the above editing condition table. This format is defined by input media definition component name (2201), output medium definition component name (2202), output item Japanese name (2203), symbol name (2204), attribute (2205), and editing method keyword (2206). ), Editing method (2207), editing category (2208), input item Japanese name (2209), symbol name (2210), and attribute (2211). This is composed of exactly the same data as the output example of the editing condition table in FIG.

【0126】次にプログラム生成の手順をフローチャー
トに基づいて説明する。
Next, the procedure of program generation will be described based on the flowchart.

【0127】図4はプログラム生成の手順を示すフロー
チャートであり、図27〜図29は、プログラム仕様書
(図23〜図26)および、データ定義書内の定義部品
(図13〜図14)をもととしたプログラム生成機能に
よるソースプログラムの展開例である。以下、この例を
用いてプログラム生成機能の具体的手順を説明する。
FIG. 4 is a flowchart showing the procedure of program generation, and FIGS. 27 to 29 show the program specifications (FIGS. 23 to 26) and the definition parts (FIGS. 13 to 14) in the data definition. It is an example of developing a source program by the original program generation function. Hereinafter, the specific procedure of the program generation function will be described using this example.

【0128】生成機能は、まず生成対象の業務プログラ
ムのプログラム処理概要図(1900)から使用する標
準パターン名「CHK01」(1903)を取得し、対
応する標準パターン(1202)を標準パターンライブ
ラリ(205)から入力する(ステップ401)。
The generation function first acquires the standard pattern name “CHK01” (1903) to be used from the program processing outline diagram (1900) of the business program to be generated, and stores the corresponding standard pattern (1202) in the standard pattern library (205). )) (Step 401).

【0129】入出力部品展開(402)では該プログラ
ムのプログラム処理概要図で定義した入出力媒体名をも
とにデータ定義書(203)から入出力媒体の定義部品
を入力し、該プログラムの入出力宣言部分のソースコー
ドを生成し、これをステップ401で入力した標準パタ
ーンに合成する。
In the input / output component expansion (402), the definition component of the input / output medium is input from the data definition document (203) based on the input / output medium name defined in the program processing outline diagram of the program, and the program is input. The source code of the output declaration part is generated, and this is combined with the standard pattern input in step 401.

【0130】図27を用いて入出力宣言部分の展開方法
を具体的に説明する。プログラム生成機能はプログラム
処理概要図(1900)に記載された入出力媒体定義部
品名(1905)より「KYFIL」、「KYLST」
等の定義部品名を取得し、これをもとに対応するファイ
ル定義部品(1001)および帳票定義部品(901、
907)を読み込み、これらの情報から該プログラムの
入出力環境定義(2302、2303)、ファイル記述
(2304、2306)およびデータ記述(2305、
2307)を生成し、これを標準パターン(1202)
に合成する。
The expansion method of the input / output declaration portion will be specifically described with reference to FIG. The program generation function uses “KYFIL” and “KYLST” from the input / output medium definition part name (1905) described in the program processing outline diagram (1900).
And the like, and the corresponding file definition component (1001) and form definition component (901,
907), and the input / output environment definition (2302, 2303), file description (2304, 2306) and data description (2305,
2307) and generates a standard pattern (1202).
To synthesize.

【0131】帳票印刷処理展開(404)は、該プログ
ラムが帳票を出力する標準パターンを使用している場合
に行い、該プログラムのプログラム処理概要図に記載さ
れている出力媒体定義部品名をもとにデータ定義書(2
03)から該当する帳票定義部品を入力し、これから帳
票編集用作業領域および帳票出力手続きを生成しステッ
プ401で入力した標準パターンに合成する。
The form printing process expansion (404) is performed when the program uses a standard pattern for outputting a form, and based on the output medium definition component name described in the program process outline diagram of the program. Data definition document (2
03), the corresponding form definition component is input, a form editing work area and a form output procedure are generated from this, and combined with the standard pattern input in step 401.

【0132】図27を用いて帳票印刷処理展開処理(4
04)について具体的に説明する。プログラム生成機能
はプログラム処理概要図(1900)に記載された帳票
定義部品名(1905)をもとに帳票定義部品(90
1、907)を読み込み、これらの定義内容から帳票に
関する帳票編集用作業領域(2309)およびプログラ
ム実行時に使用するカウンタなどの作業領域(230
8)を生成し、これを標準パターン(1202)に合成
する。
The form printing process expansion process (4
04) will be specifically described. The program generation function is based on the form definition part name (1905) described in the program processing outline diagram (1900), and the form definition part (90
1, 907), and based on these definition contents, a work area (2309) for editing a form and a work area (230) such as a counter used when executing a program.
8) is generated, and this is combined with the standard pattern (1202).

【0133】チェック、関連チェック、編集処理展開
(405)においては、プログラム仕様書のうちのチェ
ック条件表、関連チェック条件表、編集条件表に記載さ
れているキーワードをもとに、データ項目中心の処理を
生成して、これを標準パターンのチェック処理部(12
03)、関連チェック処理部(1204)、編集処理部
(1205)にそれぞれ展開する。
In the check, related check, and edit processing expansion (405), the data item centering is performed based on the keywords described in the check condition table, the related check condition table, and the edit condition table in the program specifications. The process is generated, and the check process unit (12
03), the related check processing unit (1204), and the editing processing unit (1205).

【0134】図29を用いて、ソースプログラム展開方
法について編集条件表からの展開を例にとり具体的に説
明する。まず該プログラムの編集条件表(2200)を
読み込み、この編集条件表にキーワード(2206)で
定義されている編集条件をもとに該データ項目に対する
処理を生成して、これを標準パターンの編集処理部(1
205)にそれぞれ展開する。その際、データ項目の編
集に必要な作業領域についても同時に生成する。例えば
編集条件表(2200)の第3行目のキーワード「DA
TE」(2206)の場合は、領域(2310)に示す
ように、日付を年、月、日に区切るための作業領域と編
集用の作業領域とを生成する。
With reference to FIG. 29, the source program expansion method will be specifically described by taking the expansion from the editing condition table as an example. First, the edit condition table (2200) of the program is read, a process for the data item is generated based on the edit condition defined by the keyword (2206) in the edit condition table, and this is used as a standard pattern edit process. Department (1
205). At that time, the work area necessary for editing the data item is also generated at the same time. For example, the keyword "DA" in the third line of the editing condition table (2200)
In the case of "TE" (2206), as shown in the area (2310), a work area for dividing the date into years, months, and days and a work area for editing are generated.

【0135】さらにデータ項目に対する処理を展開する
際には本例で示すようにプログラム処理概要図(190
0)で定義した接頭語(1909)をそれぞれのファイ
ル上の項目名に付加する。例えばステートメント(23
14)に示すようにデータ項目「SIKYU−GK」に
対し入力項目には「IN−」を、出力項目には「OU
−」をそれぞれ付加し、入力ファイル上の記号項目名は
「IN−SIKYU−GK」(2315)、出力ファイ
ル上の記号項目名は「OU−SIKYU−GK」(23
16)とプログラム生成時に決定している。このことに
よりデータ項目中心のソフトウエア部品を、そのデータ
項目を扱うファイルなどの入出力媒体の定義部品から独
立させている。
When further expanding the processing for the data item, as shown in this example, the program processing outline diagram (190
The prefix (1909) defined in 0) is added to the item name on each file. For example, the statement (23
As shown in 14), for the data item "SIKYU-GK", the input item is "IN-" and the output item is "OU."
"-" Is added, the symbol item name on the input file is "IN-SIKYU-GK" (2315), and the symbol item name on the output file is "OU-SIKYU-GK" (23
16) and it was decided at the time of program generation. As a result, the software component centering on the data item is made independent from the definition component of the input / output medium such as a file that handles the data item.

【0136】なお図28は、標準パターン(1202)
中の未定義のファイル記号名をファイル定義部品のファ
イル記号名(1004)によって置き換えたものであ
る。
FIG. 28 shows the standard pattern (1202).
The undefined file symbol name therein is replaced with the file symbol name (1004) of the file definition part.

【0137】ソースプログラム出力(406)では、以
上の処理により生成できた目的の業務プログラムをソー
スプログラムライブラリ(211)に出力する。
In the source program output (406), the target business program generated by the above processing is output to the source program library (211).

【0138】尚、本実施例ではバッチ処理のプログラム
の例を挙げて説明したがデータベースへのアクセスを伴
う対話処理のプログラムや、他装置上の資源やプロセス
へのアクセスを行うプログラムについても同様にして生
成が可能である。
In the present embodiment, an example of a batch processing program has been described, but the same applies to an interactive processing program involving access to a database and a program for accessing resources and processes on other devices. Can be generated.

【0139】また、本実施例では、プログラム仕様書か
らソースプログラムを生成しているが、プログラム仕様
書を介さずにディクショナリ(201)、関連チェック
定義書(202)、データ定義書(203)、プログラ
ム定義書(204)、標準機能説明ライブラリ(20
6)を入力して直接ソースプログラムを生成することも
可能であり、この方法を用いる場合も本発明の範囲に含
まれる。この場合は、プログラム仕様書生成時と同じ要
領で、対象とする業務プログラムの入出力媒体中に存在
するデータ項目をもとにデータ項目中心のソフトウエア
部品の選択を行い、標準パターンに合成する。
Further, in the present embodiment, the source program is generated from the program specification, but the dictionary (201), the related check definition (202), the data definition (203), Program definition (204), standard function explanation library (20
It is also possible to directly input 6) to directly generate the source program, and the case of using this method is also included in the scope of the present invention. In this case, in the same way as when creating the program specifications, the software parts centering on the data items are selected based on the data items existing in the input / output medium of the target business program, and are combined into the standard pattern. ..

【0140】最後に、本実施例におけるプログラム仕様
書編集機能(212)およびソフトウエア部品逆生成機
能(208)について、これらの機能の使用例を示しな
がら、合わせて説明する。これから紹介する使用例は、
図6に示したプログラム例に対し、プログラム仕様書編
集機能(212)を用いてプログラム仕様書修正を行
い、修正後のプログラム仕様書からソフトウエア部品逆
生成機能(208)を用いてソフトウエア部品を修正す
る例である。
Finally, the program specification editing function (212) and software component reverse generation function (208) in this embodiment will be described together with examples of using these functions. The usage example introduced below is
For the program example shown in FIG. 6, the program specification editing function (212) is used to modify the program specifications, and the software parts reverse generation function (208) is used from the corrected program specifications to create the software parts. Is an example of correcting.

【0141】まず各種プログラム仕様書の修正例につい
て紹介する。図24(a)は生成直後のチェック条件表
の例であり、図24(b)は、修正後のチェック条件表
の例である。図25(a)は生成直後の関連チェック条
件表の例であり、図25(b)は、修正後の関連チェッ
ク条件表の例である。図26(a)は生成直後の編集条
件表の例であり、図26(b)は、修正後の編集条件表
の例である。
First, examples of modification of various program specifications will be introduced. 24A is an example of the check condition table immediately after generation, and FIG. 24B is an example of the check condition table after correction. 25A is an example of the related check condition table immediately after generation, and FIG. 25B is an example of the corrected related check condition table. FIG. 26A is an example of the edit condition table immediately after generation, and FIG. 26B is an example of the edited edit condition table.

【0142】ここで、編集条件表(図26)をとりあげ
てその修正内容を詳細に紹介する。図26(b)の第3
行(2222)では、キーワードを「DATE」から空
白に、それに伴い編集方法を「YY.MM.DDの形式
に…」から「そのまま転送する」に変更した(この操作
を修正1とする)。これは、データ項目「NYUSYA
−YMD」に対しては出力編集時にはデータに何の加工
も施さないことを意味する。また図26(b)では、図
26(a)における第4行(2212)を削除した(同
修正2とする)。これは、データ項目「SYOKUI−
CD」を出力媒体から削除することを意味する。図26
(b)の第4行(2223)では、出力項目「SIKY
U−GK」の属性を「Z,ZZZ,ZZ9」から「Z,
ZZ9」に変更した。さらにキーワードを空白から「C
OMP(SIKYU−GK/1000)」に、それに伴
い編集方法を「千円単位でZ,ZZ9の形式に編集す
る」とした(同修正3とする)。これは、「SIKYU
−GK」を出力する際には1000で割った値を出力す
るという出力編集処理を新たに定義するものである。
Here, the editing condition table (FIG. 26) will be taken up and the correction contents will be introduced in detail. Third in FIG. 26 (b)
In the line (2222), the keyword is changed from "DATE" to blank, and accordingly, the editing method is changed from "to YY.MM.DD format ..." to "Transfer as is" (this operation is referred to as correction 1). This is the data item "NYUSYA
"-YMD" means that the data is not processed at the time of output editing. Further, in FIG. 26B, the fourth row (2212) in FIG. 26A has been deleted (the same correction 2). This is the data item "SYOKUI-
CD ”from the output medium. FIG. 26
In the fourth line (2223) of (b), the output item "SIKY
U-GK ”attributes from“ Z, ZZZ, ZZ9 ”to“ Z,
ZZ9 ". In addition, change the keyword from blank to "C
OMP (SIKYU-GK / 1000) ", and accordingly, the editing method is" edit in the format of Z, ZZ9 in units of 1,000 yen "(correction 3). This is "SIKYU
This is to newly define an output editing process of outputting a value divided by 1000 when outputting "-GK".

【0143】尚、プログラム仕様書ライブラリ(21
0)中のプログラム仕様書の修正については、プログラ
ム仕様書を図23〜図26に示す通り単純な表のイメー
ジで格納するため、専用エディタを用いることなしに、
汎用の表計算用ソフトウエアや文書作成用ソフトウエア
を用いて行うこともでき、 これも本発明の範囲に含ま
れる。さらに、プログラム仕様書を生成した装置群A
(108)とは別の装置である装置群B(118)上に
転送し、装置群B上で汎用の表計算用ソフトウエアや文
書作成用ソフトウエアを用いての編集を行うことも可能
であり、これも本発明の範囲に含まれる。
The program specification library (21
Regarding the modification of the program specification in 0), since the program specification is stored as an image of a simple table as shown in FIGS. 23 to 26, without using a dedicated editor,
It is also possible to use general-purpose spreadsheet software or document creation software, and this is also included in the scope of the present invention. Furthermore, the device group A that generated the program specifications
It is also possible to transfer to a device group B (118) which is a device different from (108) and edit it on the device group B using general-purpose spreadsheet software or document creation software. Yes, this is also within the scope of the present invention.

【0144】次に図5を用いてソフトウエア部品逆生成
の手順について説明する。本実施例で言う逆生成とは、
修正が加えられたプログラム仕様書をもとに、これの情
報元であるソフトウエア部品を書き換え、プログラム仕
様書の修正内容を反映させることを言う。
Next, the procedure of software component reverse generation will be described with reference to FIG. Inverse generation in this embodiment means
It means to rewrite the software component which is the source of the information based on the modified program specification to reflect the modification content of the program specification.

【0145】本実施例のソフトウエア部品逆生成機能
(208)では、プログラム処理処理概要図を入力し
(501)、プログラム定義書(204)を対象として
逆生成する(502)。次にチェック条件表を入力し
(503)、ディクショナリ(201)、データ定義書
(203)を対象として逆生成を行う(504)。次に
関連チェック条件表を入力し(505)、ディクショナ
リ(201)、関連チェック定義書(202)、データ
定義書(203)を対象として逆生成を行う(50
6)。次に編集条件表を入力し(507)、ディクショ
ナリ(201)、データ定義書(203)を対象として
逆生成を行う(508)。
In the software component reverse generation function (208) of this embodiment, a program processing outline diagram is input (501), and the program definition document (204) is reversely generated (502). Next, the check condition table is input (503), and the dictionary (201) and the data definition document (203) are subject to reverse generation (504). Next, the related check condition table is input (505), and the dictionary (201), the related check definition (202), and the data definition (203) are inversely generated (50).
6). Next, the editing condition table is input (507), and the dictionary (201) and the data definition document (203) are subject to reverse generation (508).

【0146】次に、逆生成結果について説明する。図3
0〜図36には、前述の修正後のプログラム仕様書をも
とに逆生成を行った場合に、逆生成前と逆生成後とで定
義内容に変更があったもののみを示す。図30〜図34
は逆生成後のディクショナリのソフトウエア部品の例で
あり、逆生成前の定義例は図7〜図11である。図35
は逆生成後の関連チェック定義部品の例であり、逆生成
前の定義例は図12である。図36は逆生成後のデータ
定義書のうち、「KYLST」に対する帳票定義部品の
例であり、これの逆生成前の定義例は図13(a)であ
る。
Next, the result of reverse generation will be described. Figure 3
In FIGS. 0 to 36, only the definition contents changed before and after the reverse generation when the reverse generation is performed based on the corrected program specifications described above are shown. 30 to 34
Is an example of a dictionary software component after reverse generation, and examples of definitions before reverse generation are shown in FIGS. Fig. 35
Is an example of a related check definition component after reverse generation, and FIG. 12 shows a definition example before reverse generation. FIG. 36 shows an example of a form definition component for “KYLST” in the data definition document after reverse generation, and a definition example before this reverse generation is FIG. 13 (a).

【0147】前述の、修正済みの編集条件表(図26
(b))の例に基いて、逆生成の具体的手順を説明す
る。
The above-mentioned modified editing condition table (see FIG. 26)
A specific procedure for reverse generation will be described based on the example of (b).

【0148】修正1ではキーワード(2214)を空白
に変更している。この場合逆生成機能は、まず編集区分
(2215)を参照し、これが「出力編集」であるから
記号名(2210)を参照し入力項目「NYUSYA−
YMD」(2216)を得る。それに対応するディクシ
ョナリ(201)のソフトウエア部品が逆生成の対象と
なる。逆生成後のディクショナリのソフトウエア部品
(図32)の入力編集定義部(2401)に示すよう
に、キーワードを空白に変更している。
In Modification 1, the keyword (2214) is changed to blank. In this case, the reverse generation function first refers to the edit category (2215), and since this is “output edit”, it refers to the symbol name (2210) and the input item “NYUSYA-
YMD "(2216). The corresponding software component of the dictionary (201) is the target of reverse generation. As shown in the input edit definition part (2401) of the software component (FIG. 32) of the dictionary after reverse generation, the keyword is changed to blank.

【0149】図26(b)では、修正2によりデータ項
目「SYOKUI−CD」(2212)を出力項目から
削除した。この場合、逆生成機能は、該プログラムの出
力媒体である帳票の帳票定義部品「KYLST」(図1
3(a))から「SYOKUI−CD」を削除する。逆
生成後の帳票定義部品(図36)において、その帳票レ
イアウト定義部(2601)に示す通り、データ項目
「SYOKUI−CD」が削除されている。
In FIG. 26B, the data item "SYOKUI-CD" (2212) is deleted from the output items by the correction 2. In this case, the reverse generation function uses the form definition component “KYLST” (FIG. 1) of the form that is the output medium of the program.
Delete "SYOKUI-CD" from 3 (a)). In the form definition component (FIG. 36) after the reverse generation, as shown in the form layout definition part (2601), the data item “SYOKUI-CD” is deleted.

【0150】修正3では修正1と同様にキーワードを変
更している。この場合も編集区分は「出力編集」(22
20)であるから記号名「SIKYU−GK」(222
1)を取得し、それに対応するディクショナリのソフト
ウエア部品(図34)の出力編集定義部が逆生成の対象
となる。修正後のキーワード(2206)は「COMP
(SIKYU−GK/1000)」(2219)である
から、「SIKYU−GK」に対するディクショナリの
ソフトウエア部品の出力編集のキーワード(2402)
を更新する。
In Modification 3, the keywords are changed as in Modification 1. In this case as well, the editing category is "output editing" (22
20), the symbolic name "SIKYU-GK" (222
1) is acquired, and the output edit definition part of the dictionary software component (FIG. 34) corresponding thereto is the target of reverse generation. The corrected keyword (2206) is "COMP
(SIKYU-GK / 1000) "(2219), so the keyword of output editing of dictionary software component for" SIKYU-GK "(2402)
To update.

【0151】また修正3では、さらに記号名「SIKY
U−GK」(2217)の属性(2218)を変更して
いる。この場合、出力媒体である帳票の帳票定義部品
「KYLST」(図13(a))における該データ項目
の属性を変更する。逆生成後の帳票定義部品(図36)
の帳票レイアウト定義部の(2602)に示す通りに変
更内容が反映される。
In Modification 3, the symbol name "SIKY
The attribute (2218) of "U-GK" (2217) is changed. In this case, the attribute of the data item in the form definition component “KYLST” (FIG. 13A) of the form that is the output medium is changed. Form definition component after reverse generation (Fig. 36)
The change contents are reflected as shown in (2602) of the form layout definition part of.

【0152】このようにソフトウエア部品逆生成機能
(208)は、プログラム仕様書生成機能(209)の
手順とは逆の手順でプログラム仕様書ライブラリ(21
0)から、修正のあったソフトウエア部品を特定し、プ
ログラム仕様書ライブラリ(210)の内容をもとにソ
フトウエア部品を更新していく。プログラム処理概要
図、チェック条件表、関連チェック条件表をもととした
場合に関しても編集条件表と同様にソフトウエア部品の
逆生成を行うことができる。
As described above, the software component reverse generation function (208) reverses the procedure of the program specification generation function (209) to the program specification library (21).
From 0), the modified software component is specified, and the software component is updated based on the contents of the program specification library (210). In the case of using the program processing outline diagram, the check condition table, and the related check condition table as well, the reverse generation of the software component can be performed as in the editing condition table.

【0153】[0153]

【発明の効果】本発明は、以上に説明した処理手順を有
するので、以下に記載するような効果を有する。
Since the present invention has the processing procedure described above, it has the following effects.

【0154】ソフトウエアをデータ項目単位にそれぞれ
のデータ項目に対する単独処理をいくつかの種類に分け
てソフトウエア部品として定義し、また複数のデータ項
目間の相互関係に基づいてデータの妥当性を判定する関
連チェック処理をソフトウエア部品として定義し、これ
らデータ中心のソフトウエア部品ををデータ項目名に基
いて管理することとした。一方、これらデータ中心のソ
フトウエア部品に含まれないソフトウエア部品につい
て、ファイル、帳票の属性やレイアウトなどを定義した
ソフトウエア部品、プログラム単位の入出力媒体情報を
定義したソフトウエア部品、画面、帳票、ファイル等の
処理プログラムを制御構造の特質に着目していくつかの
種類に分け、業務個別処理をそれ自身に持たないプログ
ラムスケルトン標準パターンと呼ぶソフトウエア部品、
プログラムスケルトン標準パターン部品に沿った標準機
能説明部品と呼ぶソフトウエア部品とに分けて定義する
こととした。
The software is defined as a software component by dividing the single processing for each data item into several types in data item units, and the validity of the data is judged based on the mutual relationship between the plurality of data items. The related check process is defined as a software component, and these data-centric software components are managed based on the data item name. On the other hand, for software components not included in these data-centric software components, files, software components that define the attributes and layout of forms, software components that define input / output medium information for each program, screens, and forms. , A software component called a program skeleton standard pattern, which divides processing programs such as files into several types, paying attention to the characteristics of the control structure, and which does not have individual business processing by itself,
It was decided to define it separately for the software parts called standard function explanation parts along the program skeleton standard pattern parts.

【0155】以上により、ソフトウエアの部品化にあた
って部品化に際してのソフトウエアの分割方法につい
て、データ項目を中心としてソフトウエアを分割するた
めの一定の明確な基準を設けることができ、さらにこれ
らソフトウエア部品をそれぞれ特定の構造をもったファ
イルに格納することによりこの基準に合致した形式で管
理する方法を確立することができるため、ソフトウエア
の部品を標準化し、既存ソフトウエアの再利用を容易に
することが可能となり、ひいてはソフトウエアの生産性
向上を図ることができる。
As described above, in dividing software into parts, a certain definite standard for dividing the software around the data items can be set for the method of dividing the software when dividing into parts. By storing each part in a file with a specific structure, it is possible to establish a method to manage it in a format that meets this standard, so standardize software parts and facilitate reuse of existing software. Therefore, it is possible to improve the productivity of software.

【0156】さらに、上記ディクショナリ、関連チェッ
ク定義書、データ定義書、プログラム定義書、および標
準機能説明ライブラリから、対象とする業務プログラム
の入出力媒体中のデータ項目をもとにソフトウエア部品
を選択し、いくつかの種類の仕様書から構成されるプロ
グラム仕様書を自動生成し、プログラム仕様書をもと
に、プログラムスケルトン標準パターン部品と、ディク
ショナリ中のソフトウエア部品および関連チェック定義
書中のソフトウエア部品とを選択して合成することによ
りソースプログラムを自動生成する方式とした。
Further, a software component is selected from the dictionary, the related check definition document, the data definition document, the program definition document, and the standard function explanation library based on the data item in the input / output medium of the target business program. Then, a program specification consisting of several types of specifications is automatically generated, and based on the program specification, the program skeleton standard pattern parts, software parts in the dictionary, and software in the related check definition The source program is automatically generated by selecting and synthesizing the wear parts.

【0157】したがって、設計者あるいはプログラマが
業務プログラムとソフトウエア部品との対応づけを行う
ことなくソースプログラムを自動生成することができ、
また、プログラム仕様書作成作業を自動化し、かつソフ
トウエア部品の設計工程からプログラム設計工程への設
計情報の自動継承を実現することが可能となる。このこ
とにより、ソフトウエアの生産性および信頼性を向上で
きる。
Therefore, the source program can be automatically generated without the designer or programmer associating the business program with the software component.
Further, it becomes possible to automate the work of creating the program specifications and realize the automatic inheritance of the design information from the software component design process to the program design process. This can improve the productivity and reliability of software.

【0158】これに加え、上記のようなソフトウエアの
部品化をさらに厳格な標準化基準のもとで達成するため
に、本発明では、ディクショナリにおけるデータ項目に
対する単独処理をチェック、入力編集、出力編集の3種
類に分けることにした。このことによりディクショナリ
に格納するソフトウエア部品の構造をさらに限定するこ
とが可能となり、ソフトウエア部品の生産性および信頼
性が向上し、したがって再利用も容易となる。
In addition to this, in order to achieve the above-mentioned software componentization under a more strict standardization standard, the present invention checks the independent processing for the data item in the dictionary, input edit, and output edit. I decided to divide it into three types. This allows the structure of the software components stored in the dictionary to be further restricted, improving the productivity and reliability of the software components and thus facilitating their reuse.

【0159】また本発明では、生成されたプログラム仕
様書に対する変更、追加、削除などの修正を可能とし、
さらにここで修正されたプログラム仕様書をもとに、ソ
ースプログラムを自動生成することとした。
Further, according to the present invention, it is possible to modify, add, or delete the generated program specification,
Furthermore, we decided to automatically generate the source program based on the program specifications revised here.

【0160】このことにより、生成対象のプログラムが
例外処理を含むなどなんらかの理由によって、プログラ
ム仕様書にあらかじめ用意したソフトウエア部品とは、
異なる仕様を記述したときにも、これをソースプログラ
ム生成に反映させることが可能となり、ソフトウエアの
生産性向上および信頼性向上を図ることができる。
As a result, the software component prepared in advance in the program specification is, for some reason, such as that the program to be generated includes exception handling.
Even when different specifications are described, this can be reflected in the generation of the source program, and the productivity and reliability of the software can be improved.

【0161】また本発明では、修正されたプログラム仕
様書から自動的にディクショナリ、関連チェック定義
書、データ定義書、およびプログラム定義書に格納され
たソフトウエア部品の定義内容を修正することを可能と
した。このため、仕様変更などにともなうソフトウエア
部品の修正作業を自動化でき、ソフトウエア部品の信頼
性向上とともにソフトウエアの生産性も向上を図ること
ができる。
Further, in the present invention, it is possible to automatically correct the definition contents of the dictionary, the related check definition document, the data definition document, and the software parts stored in the program definition document from the modified program specification document. did. Therefore, it is possible to automate the modification work of the software parts due to the specification change and the like, and it is possible to improve the reliability of the software parts and the productivity of the software.

【0162】さらに本発明では、生成されたプログラム
仕様書に対して、プログラム仕様書を生成した装置とは
違う装置上で、汎用のソフトウエアを用いてプログラム
仕様書の修正を行うことを可能とした。このことによ
り、本発明におけるソフトウエア開発支援ツールを使用
するための設備投資の低減を図るとともに、ソフトウエ
ア開発者に対し、特定の装置の運用条件に制限されない
でで、かつツール固有の操作方法を修得しなくてもすで
に慣れ親しんだ汎用のソフトウエアを用いてソフトウエ
ア開発が行える作業環境を提供することが可能となり、
ひいてはソフトウエアの生産性を向上させることができ
る。
Further, according to the present invention, it is possible to modify the generated program specification by using general-purpose software on a device different from the device which generated the program specification. did. As a result, the facility investment for using the software development support tool of the present invention is reduced, and the software developer does not have to be restricted by the operating conditions of a specific device, and has a tool-specific operation method. It becomes possible to provide a work environment in which software development can be performed using general-purpose software that is already familiar, without mastering
As a result, the productivity of software can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例を実現するためのシステムのハ
ードウエア構成図である。
FIG. 1 is a hardware configuration diagram of a system for implementing an embodiment of the present invention.

【図2】本発明を実現するシステムの機能構成図であ
る。
FIG. 2 is a functional configuration diagram of a system that implements the present invention.

【図3】プログラム仕様書生成の手順を示すフローチャ
ートである。
FIG. 3 is a flowchart showing a procedure for generating a program specification.

【図4】プログラム生成の手順を示すフローチャートで
ある。
FIG. 4 is a flowchart showing a procedure of program generation.

【図5】ソフトウエア部品逆生成の手順を示すフローチ
ャートである。
FIG. 5 is a flowchart showing a procedure for software component reverse generation.

【図6】本実施例の説明に用いる業務プログラム例を示
す図である。
FIG. 6 is a diagram showing an example of a business program used for explaining the present embodiment.

【図7】ディクショナリの定義例を示す図である。FIG. 7 is a diagram showing a definition example of a dictionary.

【図8】ディクショナリの定義例を示す図である。FIG. 8 is a diagram showing a definition example of a dictionary.

【図9】ディクショナリの定義例を示す図である。FIG. 9 is a diagram showing a definition example of a dictionary.

【図10】ディクショナリの定義例を示す図である。FIG. 10 is a diagram showing a definition example of a dictionary.

【図11】ディクショナリの定義例を示す図である。FIG. 11 is a diagram showing a definition example of a dictionary.

【図12】関連チェック処理定義部品の定義例を示す図
である。
FIG. 12 is a diagram showing a definition example of a related check processing definition component.

【図13】帳票定義部品の定義例を示す図である。FIG. 13 is a diagram showing a definition example of a form definition part.

【図14】ファイル定義部品およびレコード定義部品の
定義例を示す図である。
FIG. 14 is a diagram showing definition examples of a file definition component and a record definition component.

【図15】プログラム定義部品の定義例を示す図であ
る。
FIG. 15 is a diagram showing a definition example of a program definition part.

【図16】標準パターン部品の例を示す図である。FIG. 16 is a diagram showing an example of standard pattern components.

【図17】標準機能説明部品の例を示す図である。FIG. 17 is a diagram showing an example of standard function explanation parts.

【図18】プログラム処理概要図の出力例を示す図であ
る。
FIG. 18 is a diagram showing an output example of a program processing outline diagram.

【図19】プログラム機能説明図の出力例を示す図であ
る。
FIG. 19 is a diagram showing an output example of a program function explanatory diagram.

【図20】チェック条件表の出力例を示す図である。FIG. 20 is a diagram showing an output example of a check condition table.

【図21】関連チェック条件表の出力例を示す図であ
る。
FIG. 21 is a diagram showing an output example of a related check condition table.

【図22】編集条件表の出力例を示す図である。FIG. 22 is a diagram showing an output example of an editing condition table.

【図23】プログラム処理概要図の格納形式の例を示す
図である。
FIG. 23 is a diagram showing an example of a storage format of a program processing schematic diagram.

【図24】チェック条件表の格納形式の例を示す図であ
る。
FIG. 24 is a diagram showing an example of a storage format of a check condition table.

【図25】関連チェック条件表の格納形式の例を示す図
である。
FIG. 25 is a diagram showing an example of a storage format of a related check condition table.

【図26】編集条件表の格納形式の例を示す図である。FIG. 26 is a diagram showing an example of a storage format of an editing condition table.

【図27】プログラム生成機能によるソースプログラム
展開例を示す図である。
FIG. 27 is a diagram showing an example of source program expansion by a program generation function.

【図28】プログラム生成機能によるソースプログラム
展開例を示す図である。
FIG. 28 is a diagram showing an example of source program expansion by a program generation function.

【図29】プログラム生成機能によるソースプログラム
展開例を示す図である。
FIG. 29 is a diagram showing an example of developing a source program by a program generation function.

【図30】逆生成後におけるディクショナリの定義例を
示す図である。
FIG. 30 is a diagram showing a definition example of a dictionary after reverse generation.

【図31】逆生成後におけるディクショナリの定義例を
示す図である。
[Fig. 31] Fig. 31 is a diagram illustrating a definition example of a dictionary after inverse generation.

【図32】逆生成後におけるディクショナリの定義例を
示す図である。
[Fig. 32] Fig. 32 is a diagram illustrating a definition example of a dictionary after reverse generation.

【図33】逆生成後におけるディクショナリの定義例を
示す図である。
[Fig. 33] Fig. 33 is a diagram illustrating a definition example of a dictionary after reverse generation.

【図34】逆生成後におけるディクショナリの定義例を
示す図である。
[Fig. 34] Fig. 34 is a diagram illustrating a definition example of a dictionary after inverse generation.

【図35】逆生成後における関連チェック定義部品の定
義例を示す図である。
FIG. 35 is a diagram showing a definition example of a related check definition component after reverse generation.

【図36】逆生成後における帳票定義部品の定義例を示
す図である。
FIG. 36 is a diagram showing a definition example of a form definition component after reverse generation.

【符号の説明】[Explanation of symbols]

201…ディクショナリ、202…関連チェック定義
書、203…データ定義書、204…プログラム定義
書、205…標準パターンライブラリ、206…標準機
能説明ライブラリ、207…プログラム仕様書生成機
能、208…ソフトウエア部品逆生成機能、209…プ
ログラム生成機能、210…プログラム仕様書ライブラ
リ、211…ソースプログラムライブラリ、212…プ
ログラム仕様書編集機能、213…プログラム仕様書、
701…データ項目定義部、702…データ項目名、7
03…日本語名、704…属性、705…コメント、7
06…チェック処理定義部、707…入力編集定義部、
708…出力編集定義部、709…チェック条件、71
0…エラーコード、711…エラーメッセージ、802
…関連データ項目名、803…条件定義部、807…エ
ラー処理定義部、901…帳票属性定義部、902…帳
票定義部品名、903…帳票名、904…帳票記号名、
907…帳票レイアウト定義部、1001…ファイル属
性定義部、1002…ファイル定義部品名、1003…
ファイル名、1004…ファイル記号名、1005…レ
コード定義部品名、1009…レコード属性定義部、1
010…レコード定義部品名、1011…レコード名、
1012…レコードレイアウト定義部、1101…プロ
グラム属性定義部、1102…記号名、1103…プロ
グラム名、1104…標準パターン名、1105…処理
概要、1106…入出力媒体定義部、1107…定義部
品名、1108…入出力(I/O)区分、1109…使
用区分、1110…論理装置名、1111…接頭語、1
201…標準パターン名、1202…標準パターン、1
203…チェック処理部、1204…関連チェック処理
部、1205…編集処理部、1301…標準機能説明部
品名、1302…標準機能説明部品
201 ... Dictionary, 202 ... Related check definition document, 203 ... Data definition document, 204 ... Program definition document, 205 ... Standard pattern library, 206 ... Standard function explanation library, 207 ... Program specification generation function, 208 ... Software component reverse Generating function, 209 ... Program generating function, 210 ... Program specification library, 211 ... Source program library, 212 ... Program specification editing function, 213 ... Program specification,
701 ... Data item definition part, 702 ... Data item name, 7
03 ... Japanese name, 704 ... Attribute, 705 ... Comment, 7
06 ... Check processing definition part, 707 ... Input edit definition part,
708 ... Output edit definition part, 709 ... Check condition, 71
0 ... error code, 711 ... error message, 802
... Related data item name, 803 ... Condition definition part, 807 ... Error processing definition part, 901 ... Form attribute definition part, 902 ... Form definition part name, 903 ... Form name, 904 ... Form symbol name,
907 ... Form layout definition part, 1001 ... File attribute definition part, 1002 ... File definition part name, 1003 ...
File name, 1004 ... File symbol name, 1005 ... Record definition component name, 1009 ... Record attribute definition part, 1
010 ... Record definition component name, 1011 ... Record name,
1012 ... Record layout definition part, 1101 ... Program attribute definition part, 1102 ... Symbol name, 1103 ... Program name, 1104 ... Standard pattern name, 1105 ... Process outline, 1106 ... Input / output medium definition part, 1107 ... Definition part name, 1108 Input / output (I / O) classification, 1109 ... Usage classification, 1110 ... Logical device name, 1111 ... Prefix, 1
201 ... Standard pattern name, 1202 ... Standard pattern, 1
203 ... Check processing unit, 1204 ... Related check processing unit, 1205 ... Editing processing unit, 1301 ... Standard function explanation component name, 1302 ... Standard function explanation component

───────────────────────────────────────────────────── フロントページの続き (72)発明者 橋本 直樹 神奈川県川崎市幸区鹿島田890番地の12株 式会社日立製作所情報システム開発本部内 (72)発明者 中川 保 神奈川県川崎市幸区鹿島田890番地の12株 式会社日立製作所情報システム開発本部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Naoki Hashimoto 12 stock companies at 890 Kashimada, Sachi-ku, Kawasaki-shi, Kanagawa Hitachi, Ltd. Information Systems Development Division (72) Inventor, Ho Nakagawa 890 Kashimada, Sachi-ku, Kawasaki-shi, Kanagawa Number 12 stock company Hitachi Information Systems Development Division

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】ソフトウエアをデータ項目単位にそれぞれ
のデータ項目に対する単独処理をいくつかの種類に分け
てソフトウエア部品として定義し、ディクショナリとよ
ぶファイルに格納する手段と、複数のデータ項目間の相
互関係に基づいてデータの妥当性を判定する関連チェッ
ク処理をソフトウエア部品として定義し、関連チェック
定義書とよぶファイルに格納する手段と、これらディク
ショナリおよび関連チェック定義書に格納されたソフト
ウエア部品をデータ項目名に基いて管理する手段と、フ
ァイル、帳票の属性やレイアウトなどの情報を定義し、
データ定義書とよぶファイルに格納する手段と、プログ
ラム単位に入出力媒体の情報を定義し、プログラム定義
書とよぶファイルに格納する手段と、画面、帳票、ファ
イル等の処理プログラムを制御構造の特質に着目してい
くつかの種類に分け、業務個別処理をそれ自身に持たな
いプログラムスケルトン標準パターンとして部品化し、
標準パターンライブラリとよぶファイルに格納する手段
と、プログラムスケルトン標準パターン部品に沿った標
準機能説明部品を標準機能説明ライブラリとよぶファイ
ルに格納する手段と、ディクショナリ、関連チェック定
義書、データ定義書、プログラム定義書、および標準機
能説明ライブラリから、対象とする業務プログラムの入
出力媒体中のデータ項目名をもとにソフトウエア部品を
選択し、いくつかの種類の仕様書から構成されるプログ
ラム仕様書を自動生成する手段と、プログラム仕様書を
もとに、プログラムスケルトン標準パターン部品と、デ
ィクショナリ中のソフトウエア部品および関連チェック
定義書中のソフトウエア部品とを選択して合成すること
によりソースプログラムを自動生成する手段とを有する
ことを特徴とするデータ中心型ソフトウエア部品による
プログラム自動生成方式。
1. A means for storing software in a file called a dictionary, which is defined as a software component by dividing the software into independent processing for each data item in units of data items, and between a plurality of data items. A means for defining related check processing that determines the validity of data based on mutual relationships as a software component and storing it in a file called a related check definition document, and a software component stored in these dictionaries and related check definition documents. Defines information such as file and form attributes and layout, and a method of managing
The characteristics of the control structure that means to store in a file called a data definition, the means to define the input / output medium information for each program and to store in a file called a program definition, and the processing programs such as screens, forms, and files. Paying attention to the above, it is divided into several types, and the individual work processes are made into parts as a program skeleton standard pattern that does not have itself,
Means to store in a file called standard pattern library, means to store standard function explanation parts along with program skeleton standard pattern parts in a file called standard function explanation library, dictionary, related check definition document, data definition document, program From the definition document and standard function explanation library, select a software component based on the data item name in the input / output medium of the target business program and create a program specification consisting of several types of specifications. The source program is automatically created by selecting and synthesizing the program skeleton standard pattern parts, the software parts in the dictionary and the software parts in the related check definition, based on the automatic generation means and the program specifications. And means for generating Over data-centric software program automatic generation method by the component.
【請求項2】請求項1のデータ中心型ソフトウエア部品
によるプログラム自動生成方式において、ディクショナ
リにおけるデータ項目に対する単独処理をチェック、入
力編集、出力編集の3種類に分ける手段を有することを
特徴とするデータ中心型ソフトウエア部品によるプログ
ラム自動生成方式。
2. The automatic program generation method by the data-centric software component according to claim 1, further comprising means for dividing a single process for a data item in the dictionary into three types of checking, input editing, and output editing. Automatic program generation method using data-centric software parts.
【請求項3】請求項1および2のデータ中心型ソフトウ
エア部品によるプログラム自動生成方式において、生成
されたプログラム仕様書に対する変更、追加、削除など
の修正を可能とする手段と、さらにここで修正されたプ
ログラム仕様書をもとに、ソースプログラムを自動生成
する手段を有することを特徴とするデータ中心型ソフト
ウエア部品によるプログラム自動生成方式。
3. The automatic program generation method using the data-centric software component according to claim 1 or 2, and means for making modifications such as changes, additions and deletions to the generated program specifications, and further modifying here. An automatic program generation method using data-centric software parts, characterized by having means for automatically generating a source program based on the specified program specifications.
【請求項4】請求項1、2および3のデータ中心型ソフ
トウエア部品によるプログラム自動生成方式において、
修正されたプログラム仕様書から自動的にディクショナ
リ、関連チェック定義書、データ定義書、およびプログ
ラム定義書に格納されたソフトウエア部品の定義内容を
修正する手段を有することを特徴とするデータ中心型ソ
フトウエア部品によるプログラム自動生成方式。
4. An automatic program generation method using data-centric software components according to claim 1, 2, or 3,
Data-centric software characterized by having a means for automatically correcting the definition contents of the software parts stored in the dictionary, the related check definition document, the data definition document, and the program definition document from the modified program specification document. Automatic program generation method by wear parts.
【請求項5】請求項1、2、3および4のデータ中心型
ソフトウエア部品によるプログラム自動生成方式におい
て、生成されたプログラム仕様書に対して、プログラム
仕様書を生成した装置とは違う装置上で、汎用のソフト
ウエアを用いてプログラム仕様書の修正を行うことを可
能とする手段を有することを特徴とするデータ中心型ソ
フトウエア部品によるプログラム自動生成方式。
5. The automatic program generation method using the data-centric software components according to claim 1, 2, 3 and 4, wherein the generated program specification is on a device different from the device which generated the program specification. An automatic program generation method using data-centric software parts, characterized in that it has means for making it possible to modify the program specifications using general-purpose software.
JP27071391A 1991-10-18 1991-10-18 Automatic program generation system using data-centric software components Expired - Lifetime JP3186117B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27071391A JP3186117B2 (en) 1991-10-18 1991-10-18 Automatic program generation system using data-centric software components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27071391A JP3186117B2 (en) 1991-10-18 1991-10-18 Automatic program generation system using data-centric software components

Publications (2)

Publication Number Publication Date
JPH05108319A true JPH05108319A (en) 1993-04-30
JP3186117B2 JP3186117B2 (en) 2001-07-11

Family

ID=17489930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27071391A Expired - Lifetime JP3186117B2 (en) 1991-10-18 1991-10-18 Automatic program generation system using data-centric software components

Country Status (1)

Country Link
JP (1) JP3186117B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997016784A1 (en) * 1995-10-30 1997-05-09 Fumio Negoro Software production method, processor and recording medium
WO1998019232A1 (en) * 1996-10-30 1998-05-07 Information System Development Institute Software producing method, processor, processing method and recording medium
JPH11102365A (en) * 1997-09-26 1999-04-13 Fujitsu Ltd Office program generation support device and program storage medium
JPH11296360A (en) * 1998-04-13 1999-10-29 Nec Corp Device for converting data and its method
US6532586B1 (en) * 1995-10-30 2003-03-11 Information System Development Institute Software producing method, processor, processing method and recording medium
KR100400360B1 (en) * 2000-09-06 2003-10-04 삼성에스디에스 주식회사 System for automatic generating program products and method thereof
JP2004334464A (en) * 2003-05-07 2004-11-25 Business Brain Showa Ota Inc User-interface-support program generation device, user-interface-support program generation method and computer program
JP2009075634A (en) * 2007-09-18 2009-04-09 Fuji Xerox Co Ltd Image processing apparatus and program
JP2010182184A (en) * 2009-02-06 2010-08-19 Toshiba Corp Specification management apparatus and specification management program
JP2014044631A (en) * 2012-08-28 2014-03-13 Oki Electric Ind Co Ltd Data check device and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021044578A1 (en) * 2019-09-05 2021-03-11 三菱電機株式会社 Information processing device, information processing method, and information processing program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997016784A1 (en) * 1995-10-30 1997-05-09 Fumio Negoro Software production method, processor and recording medium
US6532586B1 (en) * 1995-10-30 2003-03-11 Information System Development Institute Software producing method, processor, processing method and recording medium
WO1998019232A1 (en) * 1996-10-30 1998-05-07 Information System Development Institute Software producing method, processor, processing method and recording medium
JPH11102365A (en) * 1997-09-26 1999-04-13 Fujitsu Ltd Office program generation support device and program storage medium
JPH11296360A (en) * 1998-04-13 1999-10-29 Nec Corp Device for converting data and its method
KR100400360B1 (en) * 2000-09-06 2003-10-04 삼성에스디에스 주식회사 System for automatic generating program products and method thereof
JP2004334464A (en) * 2003-05-07 2004-11-25 Business Brain Showa Ota Inc User-interface-support program generation device, user-interface-support program generation method and computer program
JP2009075634A (en) * 2007-09-18 2009-04-09 Fuji Xerox Co Ltd Image processing apparatus and program
JP2010182184A (en) * 2009-02-06 2010-08-19 Toshiba Corp Specification management apparatus and specification management program
JP4625868B2 (en) * 2009-02-06 2011-02-02 株式会社東芝 Specification management device and specification management program
JP2014044631A (en) * 2012-08-28 2014-03-13 Oki Electric Ind Co Ltd Data check device and program

Also Published As

Publication number Publication date
JP3186117B2 (en) 2001-07-11

Similar Documents

Publication Publication Date Title
US10970474B2 (en) Method and system for editing text with a find and replace function leveraging derivations of the find and replace input
US6098061A (en) Computer system for interactive help using human-understandable knowledge and computer-understandable knowledge
US7152053B2 (en) Approach for re-using business rules
US5495567A (en) Automatic interface layout generator for database systems
US6243835B1 (en) Test specification generation system and storage medium storing a test specification generation program
US6035300A (en) Method and apparatus for generating a user interface from the entity/attribute/relationship model of a database
US6041330A (en) System and method for generating year 2000 test cases
EP0475964B1 (en) Document generation apparatus and methods
US6698010B1 (en) System, method and computer program product for automatic generation of data processing program
JP3186117B2 (en) Automatic program generation system using data-centric software components
JP3227066B2 (en) Program generation method using program parts
US6333999B1 (en) Systematic enumerating of strings using patterns and rules
US6032149A (en) Vehicle electrical schematic management system
US20080270985A1 (en) Database application assembly and preparation
JPH1097417A (en) Program assembling device and storage medium
JP3345522B2 (en) Program development support device using data item parts
JPH04172529A (en) Automatic program generating system by data oriented software parts
JP2001273125A (en) Method and system for automatically generating source program, and program recording medium therefor
JP3446472B2 (en) Object model generation method and apparatus
KR100656559B1 (en) Program Automatic Generating Tools
JP3050467B2 (en) Data item dictionary generation method
JP3069050B2 (en) Program conversion method
JP2001117761A (en) Method and device for manufacturing picture program and recording medium stored with picture program manufacturing program
JP2003058370A (en) Source code generation system
JP2003281123A (en) Electronic application form preparing tool, method and program for preparing electronic application form

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080511

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090511

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100511

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 11