JPH07104989A - Data item definition standardizing device - Google Patents

Data item definition standardizing device

Info

Publication number
JPH07104989A
JPH07104989A JP5244998A JP24499893A JPH07104989A JP H07104989 A JPH07104989 A JP H07104989A JP 5244998 A JP5244998 A JP 5244998A JP 24499893 A JP24499893 A JP 24499893A JP H07104989 A JPH07104989 A JP H07104989A
Authority
JP
Japan
Prior art keywords
data item
definition
copy
source
standard
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
JP5244998A
Other languages
Japanese (ja)
Other versions
JP3307476B2 (en
Inventor
Toshikazu Kawahara
利和 河原
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP24499893A priority Critical patent/JP3307476B2/en
Publication of JPH07104989A publication Critical patent/JPH07104989A/en
Application granted granted Critical
Publication of JP3307476B2 publication Critical patent/JP3307476B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To perform the comparison and extraction of a data item and the replacement work of the data item by a simple operation by performing the replacement of labels so as to refer to the definition of a common record when a data item definition where the common record is defined is extracted and the definition of the common record is selected. CONSTITUTION:A standardizing object investigation means 1 analyzes file assignment information 112 and a source program to be handled in plural source programs and extracts plural definition sentences defining a common record. A standardizing copy preparation means 2 selects one record definition from the record definitions and generates a standard copy 113 A to be the definition of the common record. An item name replacement means 5 generates a standard source 116 by replacing an instruction sentence referring to the standard copy 113 A as for the instruction sentence defining the common record and by replacing the label which is used in the standard copy 113A as for the instruction sentence referring to each data item within the common record.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データ項目定義(レコ
ードの定義)の標準化装置に関し、計算機システムのプ
ログラム中のデータ項目定義のうち共通のものについ
て、ソースプログラムファイルとは別のファイルに格納
しておき、ソースプログラム内でそのファイルを参照す
る命令(COBOLの場合はコピー句という命令)に置
き換えることにより(以降、コピー句化と呼ぶ)、保守
作業時の修正による影響検索が容易になり、修正の範囲
の縮小も可能とし、さらに、プログラムを再構築する際
においても、データ項目定義の基礎情報の抽出が容易に
なり保守作業及び再構築作業の効率化を可能とするデー
タ項目標準化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data item definition (record definition) standardization device, in which common data item definitions in a computer system program are stored in a file different from the source program file. In addition, by substituting an instruction that refers to that file in the source program (in the case of COBOL, an instruction called a copy phrase) (hereinafter, referred to as copy phrase conversion), it becomes easier to search for the effect of corrections during maintenance work. A data item standardization device that enables reduction of the scope of correction and facilitates extraction of basic information for data item definition even when reconstructing a program, and enables efficient maintenance and reconstruction work. Regarding

【0002】[0002]

【従来の技術】既存のソースプログラム中のデータ項目
定義を標準化する場合、従来技術においては、作業者自
身が、ソースプログラムを解析および理解した上で、ど
のデータ項目定義がコピー句化可能であるかを判断して
いた。
2. Description of the Related Art When standardizing data item definitions in an existing source program, in the prior art, an operator himself can analyze and understand the source program, and which data item definition can be converted into a copy phrase. I was deciding.

【0003】[0003]

【発明が解決しようとする課題】このような従来のデー
タ項目定義の標準化作業では、作業を自動化するための
ユーティリティがなく、特に、データ項目の比較及び抽
出、標準化されたデータ項目である標準コピーのチェッ
ク、ソースプログラム中のデータ項目のコピー句への置
換等において、人的な判断及び加工により作業負担が高
く、充分な品質の確保も難しい。
In such conventional standardization work of data item definition, there is no utility for automating the work, and in particular, comparison and extraction of data items, and standard copy which is a standardized data item. Checking, replacing data items in the source program with copy phrases, etc. requires a heavy work load due to human judgment and processing, and it is difficult to secure sufficient quality.

【0004】本発明の目的は、データ項目定義の標準化
作業の内、データ項目の比較および抽出、標準コピーの
チェック、データ項目の置換作業を、簡易な操作で行え
るようにして、人的な作業負担を軽減することである。
The object of the present invention is to perform a manual operation by making it possible to perform data item comparison and extraction, standard copy check, and data item replacement work in a standard operation of data item definition by simple operations. It is to reduce the burden.

【0005】[0005]

【課題を解決するための手段】本発明は、複数のソース
プログラム中で扱われる論理的なファイルと物理的なフ
ァイルとの関係を定義したファイル割当情報112およ
び前記ソースプログラムを解析して、共通のレコードを
定義する複数の定義文を抽出する標準化対象調査手段1
と、前記標準化対象調査手段1により抽出された、共通
のレコードを定義した複数のレコード定義の中から一つ
を選択して、複数のソースプログラム中で共通のレコー
ドの定義である標準コピー113Aを生成する標準コピ
ー作成手段2と、前記複数のソースプログラム中の共通
のレコードを定義した命令文について、前記標準コピー
113Aを参照する命令文に置換し、前記複数のソース
プログラム中の共通のレコード内の各データ項目を参照
する命令文について、前記標準コピー113Aで使用さ
れている名標に置換して、標準ソース116を生成する
項目名標置換手段11を備えるように構成している。
According to the present invention, the file allocation information 112 defining the relationship between a logical file and a physical file handled in a plurality of source programs and the source program are analyzed and shared. Standardization target survey means 1 for extracting a plurality of definition statements that define each record
Then, one is selected from a plurality of record definitions that define the common record extracted by the standardization target investigation means 1, and a standard copy 113A that is the definition of the common record in the plurality of source programs is selected. The standard copy creating means 2 to generate and the command statement that defines a common record in the plurality of source programs is replaced with a command statement that refers to the standard copy 113A, and in the common record in the plurality of source programs. The command name referring to each data item is replaced with the name tag used in the standard copy 113A, and the item name tag replacement means 11 for generating the standard source 116 is provided.

【0006】また、共通のレコードの定義が、複数のソ
ースプログラムの中で異なるレベルの定義を含むものに
ついて、レコード内の各データ項目の相対位置および項
目長を解析し、複数のソースプログラム中で共通のレコ
ードの定義である標準コピー113Bを生成する標準コ
ピーチェック手段9を備えるように構成している。
For a common record definition including definitions at different levels in a plurality of source programs, the relative position and the item length of each data item in the record are analyzed and the common record definition is used in the plurality of source programs. The standard copy check means 9 for generating the standard copy 113B, which is the definition of the common record, is provided.

【0007】[0007]

【作用】複数のソースプログラム中の、共通のレコード
を定義したデータ項目定義を、標準化対象調査手段1に
て抽出し、オペレータは抽出したものから、共通のレコ
ードの定義とするものを選択する。すると、項目名置換
手段11により、複数のソースプログラムにおいて、前
記共通のレコードの定義を参照するように、名標の置換
等が行われる。
The data item definition that defines a common record in a plurality of source programs is extracted by the standardization target investigation means 1, and the operator selects a common record definition from the extracted items. Then, the item name replacement unit 11 replaces the name tag in the plurality of source programs so as to refer to the definition of the common record.

【0008】また、共通のレコードの定義が、複数のソ
ースプログラムの中で異なるレベルの定義を含むものに
ついては、標準コピーチェック手段9により、レコード
内の各データ項目の相対位置および項目長が解析され、
その結果に基づいて、詳細なレベルまでの定義が含むよ
うに、共通のレコードを定義した標準コピー113Bが
生成され、これに基づいて、項目名標置換手段11によ
り、複数のソースプログラムにおいて、この共通のレコ
ードの定義を参照するように、名標の置換等が行われ
る。
If the common record definition includes definitions at different levels in a plurality of source programs, the standard copy check means 9 analyzes the relative position and item length of each data item in the record. Is
Based on the result, the standard copy 113B defining the common record is generated so that the definition up to the detailed level is included, and based on this, the item name replacement unit 11 uses this in the plurality of source programs. The name tag is replaced so as to refer to the common record definition.

【0009】[0009]

【実施例】図1は本発明によるコピー句化によるデータ
項目定義標準化装置の構成図である図1において、11
0〜116はプログラム、データ等を格納するファイル
(記憶装置)、1〜5はデータ項目標準化装置における
処理手段、20は表示装置である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of a data item definition standardization device by copy phraseization according to the present invention.
Reference numerals 0 to 116 are files (storage devices) for storing programs, data, etc., 1 to 5 are processing means in the data item standardization device, and 20 is a display device.

【0010】110は標準化対象のソースプログラムを
格納するファイルである現状ソース、111は標準化対
象のソースプログラム内で参照されるデータ項目定義を
格納するファイルである現状コピー、112は標準化対
象のプログラム内で参照、更新するファイルについて、
プログラム内で参照される論理的なファイル名と、物理
的なファイル名(例えばどのDASD上のどのファイル
であるか)の関係を指定する命令文であるファイル割当
情報である。113A,113Bは本発明におけるデー
タ項目標準化装置で生成される標準化したデータ項目定
義を格納するファイルである標準コピーであって、11
3Aは標準化処理の途中で生成される標準コピーであ
り、113Bは最終的に生成される標準コピーである。
114はデータ項目定義にある各データ項目の属性情報
を格納するファイルである属性情報ファイルである。1
15はどのデータ項目をどのように標準化するかの情報
を格納したファイルである対応ファイルである。116
は本発明のデータ項目定義標準化装置で生成されるソー
スプログラムを格納するファイルである標準ソースであ
る。
Reference numeral 110 is a current status source that is a file that stores a standardization target source program, 111 is a current status copy that is a file that stores a data item definition referenced in the standardization target source program, and 112 is a standardization target program. For files to be referenced and updated in
It is file allocation information that is a command statement that specifies the relationship between the logical file name referenced in the program and the physical file name (for example, which file on which DASD). Reference numerals 113A and 113B are standard copies that are files that store standardized data item definitions generated by the data item standardization device of the present invention.
3A is a standard copy generated during the standardization process, and 113B is a finally generated standard copy.
An attribute information file 114 is a file that stores attribute information of each data item in the data item definition. 1
Reference numeral 15 is a corresponding file that is a file that stores information on how to standardize which data item. 116
Is a standard source that is a file that stores a source program generated by the data item definition standardization device of the present invention.

【0011】1は、現状ソース110中にある複数のソ
ースプログラム中にあるデータ項目について、ファイル
割当情報112に基づいて、共通のデータ項目を見つけ
出しグルーピングする標準化対象調査手段である。2
は、標準化対象調査手段1にて共通のデータ項目として
選択された複数のデータ項目のうち、任意の一つを選択
して、標準化したデータ項目として標準コピー113A
に格納する標準コピー作成手段である。3は、標準化対
象調査手段1にてグルーピングされたデータ項目定義に
ついて、その属性を解析するデータ項目属性解析手段で
ある。4は、データ項目属性解析手段3の結果に基づい
て、グルーピングされたデータ項目定義の各データ項目
の対応を表示装置20に出力して、オペレータの指示お
よび確認を入力させ、どのデータ項目をどのように標準
化するかの情報を格納したファイルである対応ファイル
115を作成する標準コピーチェック手段である。5
は、対応ファイル115に基づいて、標準ソース116
および標準コピー113Bを作成する項目名標置換手段
である。
Reference numeral 1 is a standardization target investigation means for finding and grouping common data items among data items in a plurality of source programs in the current source 110 based on the file allocation information 112. Two
Is a standard copy 113A as a standardized data item by selecting any one of a plurality of data items selected as common data items by the standardization target survey means 1.
It is a standard copy creation means to be stored in. Reference numeral 3 is a data item attribute analysis means for analyzing the attributes of the data item definitions grouped by the standardization target investigation means 1. 4 outputs the correspondence of each data item of the grouped data item definition to the display device 20 based on the result of the data item attribute analysis means 3 to prompt the operator to input and confirm which data item Is a standard copy check means for creating a corresponding file 115 which is a file storing information on whether to standardize. 5
Based on the corresponding file 115, the standard source 116
And an item name tag replacing means for creating a standard copy 113B.

【0012】図2は本発明の標準化処理のフローチャー
トであり、図3は、各処理手段とファイルとの関係を示
した図である。図2および図3に沿って以下に説明す
る。標準化対象調査(S1)では、標準化対象調査手段
1が、ファイル割当情報112を解析し、物理的なファ
イル(データセット)と論理的なファイルの紐付けを行
い、さらに、現状ソース110(プログラム)中に定義
されている論理的なファイルのファイル形式の定義(デ
ータ項目の定義)を示すレコード名との紐付けを行う。
この際、ファイル形式の定義にコピー句を使用している
ものについては、現状コピー111内のファイル名との
紐付けを行う。このようにして、一つの物理的なファイ
ルと紐付けられた(グルーピングした)、現状ソース1
10内のレコード名および現状コピー111内のファイ
ル名とを表示装置20に出力する。オペレータはこの表
示に対し、どれを標準コピーにするかを指定する。
FIG. 2 is a flow chart of the standardization process of the present invention, and FIG. 3 is a diagram showing the relationship between each processing means and the file. This will be described below with reference to FIGS. 2 and 3. In the standardization target survey (S1), the standardization target survey means 1 analyzes the file allocation information 112, associates a physical file (data set) with a logical file, and further, the current source 110 (program). Associates with the record name that indicates the definition of the file format (data item definition) of the logical file defined inside.
At this time, if the copy phrase is used in the definition of the file format, the file name in the current copy 111 is linked. In this way, the current source 1 linked (grouped) with one physical file
The record name in 10 and the file name in the current copy 111 are output to the display device 20. The operator specifies for this display which is the standard copy.

【0013】図4は、標準化対象調査において、表示装
置20にグルーピングした6つのものを出力したもので
ある。メンバ名の欄は、現状ソース110および現状コ
ピー111のファイル名を意味している。属性の欄は
「PROGRAM」または「COPY」のいずれかが表
示され、「PROGRAM」の場合は、該当するメンバ
名が現状ソース110内にあることを示し、「COP
Y」の場合は該当するメンバ名が現状コピー111内に
あることを示す。プログラム名の欄は、該当するメンバ
名が「PROGRAM」の属性の時のみ有効であって、
該当するメンバをコンパイルした時に生成されるプログ
ラム名が表示されている。レコード名の欄はデータ項目
の定義であるレコード名を示している。使用コピー名の
欄には、データ項目の定義中にコピー句が使用されてい
る場合には、参照されているコピーのメンバ名が示され
ている。図4の場合、「PROG05」というPROG
RAM属性のメンバのB−RECというデータ項目定義
中に「MASTER」というメンバをコピー句で参照し
ていることを示している。オペレータは指示の欄で、標
準コピーとすべきメンバまたはメンバ内のデータ項目定
義に「M」を入力する。また、グルーピングの対象から
外したいものについては、オペレータは「D」を入力す
る。
FIG. 4 shows the output of the six items grouped on the display device 20 in the standardization target survey. The member name column means the file names of the current status source 110 and the current status copy 111. In the attribute column, either "PROGRAM" or "COPY" is displayed. If "PROGRAM", it means that the corresponding member name is currently in the source 110, and "COPY"
In the case of “Y”, it indicates that the corresponding member name is in the current copy 111. The program name column is valid only when the corresponding member name has the attribute "PROGRAM",
The program name generated when the corresponding member is compiled is displayed. The record name column shows the record name that is the definition of the data item. The Used Copy Name column shows the member name of the referenced copy if a copy phrase is used in the definition of the data item. In the case of FIG. 4, a PROG called “PROG05”
This indicates that the member "MASTER" is referenced by the copy phrase in the data item definition B-REC of the member of the RAM attribute. The operator inputs "M" to the member to be the standard copy or the data item definition in the member in the instruction field. Further, the operator inputs "D" for the item that is desired to be excluded from the grouping target.

【0014】標準コピー作成(S2)では、標準コピー
作成手段2が、図4でオペレータが「M」と指示したメ
ンバまたはメンバ内のデータ項目定義を抽出し、標準コ
ピー113Aに格納する。データ項目属性解析(S3)
では、データ項目属性解析手段3が、現状ソース11
0、現状コピー111および標準コピー113A内のグ
ルーピングしたメンバのデータ項目定義について、その
各データ項目のレコード内変位(オフセット)、項目
長、項目属性(数値、文字列等)などを解析して、その
結果を属性情報ファイル114に出力する。
In standard copy creation (S2), the standard copy creation means 2 extracts the member or the data item definition in the member designated by the operator as "M" in FIG. 4 and stores it in the standard copy 113A. Data item attribute analysis (S3)
Then, the data item attribute analysis means 3 uses the current source 11
0, regarding the data item definition of the grouped members in the current copy 111 and the standard copy 113A, the in-record displacement (offset), item length, item attribute (numerical value, character string, etc.) of each data item are analyzed, The result is output to the attribute information file 114.

【0015】標準コピーチェック(S4)では、標準コ
ピーチェック手段4が、属性ファイル114を入力し、
上記でグルーピングした現状ソース110と現状コピー
111の属性情報と、標準コピー113Aの属性情報を
それぞれレコード内変位と項目長をキーにして並びかえ
る。そして、現状ソース110と現状コピー111の属
性情報と、標準コピー113Aの属性情報を比較し、一
致した場合には、各データ項目の名標の対応が対応ファ
イル115に出力されることになる。比較した結果一致
しないものがあれば、一致しないデータ項目定義のレイ
アウトと、標準コピー112のレイアウトとの対応を表
示装置20に出力する。
In the standard copy check (S4), the standard copy check means 4 inputs the attribute file 114,
The attribute information of the current state source 110 and the current state copy 111 and the attribute information of the standard copy 113A, which are grouped as described above, are rearranged using the in-record displacement and item length as keys. Then, the attribute information of the current source 110 and the current copy 111 is compared with the attribute information of the standard copy 113A, and if they match, the correspondence of the name tag of each data item is output to the corresponding file 115. If there is a mismatch as a result of the comparison, the correspondence between the layout of the data item definition that does not match and the layout of the standard copy 112 is output to the display device 20.

【0016】図5は標準コピーチェック画面であり、比
較した結果一致しないデータ項目定義のレイアウトと、
標準コピー112のレイアウトとの対応を表示装置20
に出力した例である。左側が標準コピー112のレイア
ウトであり、右側が比較した結果一致しなかったデータ
項目定義(以降「対応プログラム」と呼ぶ)のレイアウ
トである。両者とも同じデータ項目を参照するものであ
るが、オフセット「0009」より始まる標準コピー1
12のデータ項目「MST−DATE」の部分に、対応
プログラムと不一致がある。標準コピー112のオフセ
ット「009」からは長さ6バイトを日付のデータ項目
として定義しているが、「対応プログラム」では日付の
データ項目を、年「A−YY」として2バイト、月「A
−MM」として2バイト、日「A−DD」として2バイ
トと3つに分割して定義している。オペレータはこの出
力を見て、「対応プログラム」にある日付のデータ項目
の詳細な定義を標準コピー112に追加すればよいこと
を容易に判定することができ、表示されている標準コピ
ー112に対し修正を加える。図6が修正された標準コ
ピーを示している。
FIG. 5 is a standard copy check screen, showing a layout of data item definitions that do not match as a result of comparison,
The display device 20 shows the correspondence with the layout of the standard copy 112.
It is an example output to. The left side is the layout of the standard copy 112, and the right side is the layout of the data item definitions that do not match as a result of the comparison (hereinafter referred to as “corresponding program”). Both refer to the same data item, but standard copy 1 starting at offset "0009"
The 12th data item "MST-DATE" has a mismatch with the corresponding program. From the offset “009” of the standard copy 112, a length of 6 bytes is defined as a date data item, but in the “corresponding program”, the date data item is 2 bytes as the year “A-YY” and the month “A
-MM "is divided into 2 bytes, and day" A-DD "is divided into 2 bytes and defined. By looking at this output, the operator can easily determine that the detailed definition of the date data item in the “corresponding program” should be added to the standard copy 112. Make corrections. FIG. 6 shows the modified standard copy.

【0017】標準コピー112が修正されると、再度、
データ項目属性解析(S3)および標準コピーチェック
(S4)が実行され、現状ソース110と現状コピー1
11の属性情報と、標準コピー113Aの属性情報の比
較処理で一致したものについて、各データ項目の名標の
対応が対応ファイル115に出力されることになる。上
記比較処理において、不一致のものがなくなるか、オペ
レータによる終了の指示があるまで上記の処理が繰り返
される。
Once the standard copy 112 has been modified,
Data item attribute analysis (S3) and standard copy check (S4) are executed, and the current status source 110 and the current status copy 1
The correspondence of the name marks of each data item is output to the corresponding file 115 when the attribute information of 11 and the attribute information of the standard copy 113A match each other. In the comparison processing, the above processing is repeated until there is no mismatch or the operator gives an instruction to end.

【0018】項目名標置換(S5)では、項目名標置換
手段5が、対応ファイル115に格納された情報に基づ
いて、現状ソース110内で使用されているデータ項目
の名標と、現状コピー内のデータ項目の名標を、標準コ
ピーの名標に統一する処理を行う。その結果、現状ソー
ス110と現状コピー111と標準コピー113Aから
最終的な標準コピー113Bが作成され、また、現状ソ
ース110を修正して最終的なソースプログラムを格納
する標準ソース116が作成される。
In the item name tag replacement (S5), the item name tag replacement means 5 uses the information stored in the corresponding file 115 to copy the name tag of the data item used in the current status source 110 and the current status. Perform the process of unifying the name tag of the data item in the item with the standard copy name tag. As a result, a final standard copy 113B is created from the current status source 110, the current status copy 111, and the standard copy 113A, and a standard source 116 that modifies the current status source 110 and stores the final source program is created.

【0019】図7は、本標準化装置に入力する前の現状
ソース110の例であり、図8は本標準化装置により生
成される標準化ソース115の例である。図7におい
て、ソースプログラムBは、コピー句(「COPY F
ILEB」という命令を参照)を使用しているが他のソ
ースプログラムAとCはソースプログラム自体にデータ
項目の定義を直接記述されている。図8では、すべての
ソースプログラムにコピー句(「COPY MASTE
R」という命令を参照)が使用されている。また、図7
においては、ソースプログラムAでは「A−KBN」、
ソースプログラムBでは「B−KBN」、ソースプログ
ラムCでは「C−KBN」と同じデータ項目が別の名標
で参照されているが、図8では、すべてのソースプログ
ラムにおいて同じ名標「MST−KBN」で参照されて
いる。
FIG. 7 shows an example of the current state source 110 before inputting to the standardization device, and FIG. 8 shows an example of the standardization source 115 generated by the standardization device. In FIG. 7, the source program B is a copy phrase (“COPY F
Other source programs A and C have the data item definitions directly described in the source programs themselves. In FIG. 8, the copy phrase (“COPY MASTE
R ”) is used. Also, FIG.
In the source program A, "A-KBN",
Although the same data item as "B-KBN" in the source program B and "C-KBN" in the source program C are referred to by different names, in FIG. 8, the same name "MST-" is used in all the source programs. KBN ".

【0020】[0020]

【発明の効果】以上説明したように、本発明によれば、
複数のソースプログラム中で共通に使用しているデータ
項目定義をコピー句化することができ、保守作業時の修
正による影響の検索が容易になり、修正範囲を少なくす
ることができ、さらに、プログラムの再構築作業におい
てもデータ項目定義の基礎情報の抽出が容易になり、保
守作業およびプログラム再構築作業の効率化を可能とす
る効果がある。
As described above, according to the present invention,
Data item definitions that are commonly used in multiple source programs can be made into a copy phrase, which makes it easier to search the effects of modifications during maintenance work and reduce the scope of modification. Even in the restructuring work, the basic information of the data item definition can be easily extracted, and the maintenance work and the program restructuring work can be efficiently performed.

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

【図1】本発明のデータ項目定義標準化装置の構成図。FIG. 1 is a configuration diagram of a data item definition standardization device of the present invention.

【図2】データ項目定義標準化装置の処理フロー。FIG. 2 is a processing flow of a data item definition standardization device.

【図3】データ項目定義標準化装置における処理手段お
よびファイルとの関係を示す図。
FIG. 3 is a diagram showing a relationship between processing means and files in a data item definition standardization device.

【図4】グルーピング確認画面。FIG. 4 is a grouping confirmation screen.

【図5】標準コピーチェック画面。FIG. 5 is a standard copy check screen.

【図6】標準コピーの修正例。FIG. 6 is a modification example of a standard copy.

【図7】現状ソースの例。FIG. 7 shows an example of a current source.

【図8】標準ソースの例。FIG. 8 shows an example of standard source.

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

1…標準化対象調査手段 2…標準コピー作成手段 3…データ項目属性解析手段 4…標準コピーチェック手段 5…項目名標置換手段 20…表示装置 110…現状ソース 111…現状コピー 112…ファイル割当情報 113A…標準コピー 113B…標準コピー 114…属性情報ファイル 115…対応ファイル 116…標準ソース 1 ... Standardization target investigation means 2 ... Standard copy creation means 3 ... Data item attribute analysis means 4 ... Standard copy check means 5 ... Item name replacement means 20 ... Display device 110 ... Current status source 111 ... Current status copy 112 ... File allocation information 113A ... Standard copy 113B ... Standard copy 114 ... Attribute information file 115 ... Corresponding file 116 ... Standard source

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のソースプログラム中で扱われる論
理的なファイルと物理的なファイルとの関係を定義した
ファイル割当情報(112)および前記ソースプログラ
ムを解析して、共通のレコードを定義する複数の定義文
を抽出する標準化対象調査手段(1)と、 前記標準化対象調査手段(1)により抽出された、共通
のレコードを定義した複数のレコード定義の中から一つ
を選択して、複数のソースプログラム中で共通のレコー
ドの定義である標準コピー(113A)を生成する標準
コピー作成手段(2)と、 前記複数のソースプログラム中の共通のレコードを定義
した命令文について、前記標準コピー(113A)を参
照する命令文に置換し、前記複数のソースプログラム中
の共通のレコード内の各データ項目を参照する命令文に
ついて、前記標準コピー(113A)で使用されている
名標に置換して、標準ソース(116)を生成する項目
名標置換手段(11)を備えたことを特徴とするデータ
項目定義標準化装置。
1. File allocation information (112) defining a relationship between a logical file and a physical file handled in a plurality of source programs and a plurality of files defining a common record by analyzing the source programs. Of the standardized object investigation means (1) for extracting the definition sentence of, and one selected from the plurality of record definitions defining the common record extracted by the standardized object investigation means (1), Standard copy creating means (2) for generating a standard copy (113A) that is a definition of a common record in the source program, and the standard copy (113A) for the statement statement that defines the common record in the plurality of source programs. ) Is replaced with an instruction statement that refers to each of the data items in the common record in the plurality of source programs. The substituted on are used Name Plate with standard copy (113A), the data item definition standardized apparatus comprising the items Name Plate replacement means for generating a standard source (116) (11).
【請求項2】 共通のレコードを定義した命令文であっ
て、複数のソースプログラム中で異なるレベルの定義を
含むものについて、レコード内の各データ項目の相対位
置および項目長を解析し、複数のソースプログラム中で
共通のレコードの定義である標準コピー(113B)を
生成する標準コピーチェック手段(9)と、 前記複数のソースプログラム中のレコードを定義した命
令文について、前記標準コピー(113B)を参照する
命令文に置換し、前記複数のソースプログラム中のレコ
ード内の各データ項目を参照する命令文について、前記
標準コピー(113B)で使用されている名標に置換し
て、標準ソース(116)を生成する項目名標置換手段
(11)を備えたことを特徴とするデータ項目定義標準
化装置。
2. A command statement defining a common record, which includes definitions of different levels in a plurality of source programs, analyzes the relative position and item length of each data item in the record, and Standard copy check means (9) for generating a standard copy (113B) that is a common record definition in the source program, and the standard copy (113B) for the command statement defining the records in the plurality of source programs. The standard statement (116) is replaced with the reference statement, and the statement that references each data item in the records in the plurality of source programs is replaced with the name tag used in the standard copy (113B). The data item definition standardization device is provided with an item name tag replacement means (11) for generating
JP24499893A 1993-09-30 1993-09-30 Data item definition standardization device Expired - Fee Related JP3307476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24499893A JP3307476B2 (en) 1993-09-30 1993-09-30 Data item definition standardization device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24499893A JP3307476B2 (en) 1993-09-30 1993-09-30 Data item definition standardization device

Publications (2)

Publication Number Publication Date
JPH07104989A true JPH07104989A (en) 1995-04-21
JP3307476B2 JP3307476B2 (en) 2002-07-24

Family

ID=17127067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24499893A Expired - Fee Related JP3307476B2 (en) 1993-09-30 1993-09-30 Data item definition standardization device

Country Status (1)

Country Link
JP (1) JP3307476B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002082802A (en) * 2000-06-27 2002-03-22 Ns Solutions Corp Device and method for analyzing influence, recording medium and program
JP2016115071A (en) * 2014-12-12 2016-06-23 Tis株式会社 Program conversion system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002082802A (en) * 2000-06-27 2002-03-22 Ns Solutions Corp Device and method for analyzing influence, recording medium and program
JP2016115071A (en) * 2014-12-12 2016-06-23 Tis株式会社 Program conversion system

Also Published As

Publication number Publication date
JP3307476B2 (en) 2002-07-24

Similar Documents

Publication Publication Date Title
US6279006B1 (en) Structured data management system and computer-readable recording medium storing structured data management program
US5732262A (en) Database definition language generator
US5652899A (en) Software understanding aid for generating and displaying simiplified code flow paths with respect to target code statements
CN109614315A (en) A kind of automatic generation method and system of data synchronism detection use-case
US6922704B2 (en) Method for generating application specific input files
JP2001060150A (en) Automatic data processing program generation system, method therefor and computer readable recording medium
Edwards et al. RECAST: Reverse engineering from COBOL to SSADM specification
JPH07141168A (en) Method for preparing hierarchical specification information
JPH0540616A (en) Method for generating program specifications
US9098263B2 (en) Database application assembly and preparation
JP2000268109A (en) Template production device for electronic clinical chart system and input device for electronic clinical chart using the template
JPH07104989A (en) Data item definition standardizing device
JP2001256043A (en) Correction history managing method and correction history management system of program source
Andrews et al. The formal definition of Modula-2 and its associated interpreter
JP2785317B2 (en) Software standardization method
JP4777740B2 (en) Test support system
JP2007128520A (en) Method and system for generating manual
JP2702986B2 (en) How to replace data in a program
JP2762934B2 (en) Test item design support system
WO1998040829A1 (en) A computerised method for dynamically creating, modifying, removing and maintaining information in a database
JP3112623B2 (en) Program production support equipment
JPH08255012A (en) Plant operation recording and report generating device
JP3245635B2 (en) Standardization and analysis of software products
CN117875275A (en) Nursing medical record document form editing method and system
Rogers University of Adelaide Biometry Hub Introduction to R Workshop: Course Notes

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011106

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020402

LAPS Cancellation because of no payment of annual fees