JP2002244889A - File dump output method and device, dump program generating program, and recording medium - Google Patents

File dump output method and device, dump program generating program, and recording medium

Info

Publication number
JP2002244889A
JP2002244889A JP2001036240A JP2001036240A JP2002244889A JP 2002244889 A JP2002244889 A JP 2002244889A JP 2001036240 A JP2001036240 A JP 2001036240A JP 2001036240 A JP2001036240 A JP 2001036240A JP 2002244889 A JP2002244889 A JP 2002244889A
Authority
JP
Japan
Prior art keywords
dump
program
file
data
data file
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.)
Pending
Application number
JP2001036240A
Other languages
Japanese (ja)
Inventor
Kunimitsu Imai
邦光 今井
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.)
Sumisho Computer Systems Corp
Original Assignee
Sumisho Computer Systems Corp
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 Sumisho Computer Systems Corp filed Critical Sumisho Computer Systems Corp
Priority to JP2001036240A priority Critical patent/JP2002244889A/en
Publication of JP2002244889A publication Critical patent/JP2002244889A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To make a verifier able to easily verify the layout of a data file as a dump target without being consciout of it. SOLUTION: A dump program generating part 2 generates a dump program 16 for sectioning a result of dump processing into data item units and outputting them, on the basis of, for example, file layout definition information 11 indicating the organization of a dump target data file 17 and saves it in a storing part 4. A program executing part 3 then applies the data file 17 to the dump program 16 saved in the storing part 4 to execute dump processing. This sets all necessary information such as a layout definition in advance in the dump program 16 itself, so that a verifier, when executing the dump processing, can execute it only by specifying the necessary data file 17 and without inputting the layout definition information in each operation.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はファイルダンプ出力
方法および装置、ダンププログラムを生成する手段とし
てコンピュータを機能させるためのダンププログラム生
成プログラム、コンピュータ読み取り可能な記録媒体に
関し、特に、ファイル定義情報に基づいてデータ項目単
位に区分けしたリスト形式にてファイルダンプの出力を
行うファイルダンプ出力方法および装置に用いて好適な
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for outputting a file dump, a program for generating a dump program for causing a computer to function as a means for generating a dump program, and a computer-readable recording medium. It is suitable for use in a file dump output method and apparatus for outputting a file dump in a list format divided into data item units.

【0002】[0002]

【従来の技術】一般に、開発したコンピュータシステム
(プログラム)のテストや異常調査等を行う際には、テ
ストデータを作成してシステムに入力し、当該システム
のプログラム処理の結果出力されるデータと、正解とし
て期待されるデータ(テストオラクル)とを比較検証す
ることが行われる。その際、システムに入力するテスト
データや出力される処理結果データの整合性を確認する
ために、これらのデータファイルをダンプ(DUMP)
して出力することが一般に行われている。
2. Description of the Related Art In general, when testing a computer system (program) or examining abnormalities, etc., the developed computer system generates test data, inputs the test data to the system, and outputs data output as a result of program processing of the system. Comparison and verification with data (test oracle) expected as a correct answer is performed. At this time, dump these data files (DUMP) to confirm the consistency of the test data input to the system and the processing result data output.
It is generally done to output.

【0003】従来、種々のファイルダンプ出力ツールが
提供されているが、その多くは、データファイルの中身
を16進コードで羅列して出力するタイプ(以下、ヘキ
サDUMPツールと呼ぶ)のものであった。また、例え
ば特開平11−272433号公報に記載されているよ
うに、データファイルの中身を項目単位に区分けしてリ
スト形式にて出力するタイプ(以下、リストDUMPツ
ールと呼ぶ)のものも一部では提供されている。
Conventionally, various file dump output tools have been provided, but most of them are of a type that outputs the contents of data files in hexadecimal code (hereinafter referred to as a hexa-DUMP tool). Was. Also, as described in, for example, Japanese Patent Application Laid-Open No. H11-272433, some data files are divided into items and output in a list format (hereinafter referred to as a list DUMP tool). Is provided.

【0004】後者のリストDUMPツールは、ダンプ対
象とするデータファイルの他に、データファイルのレイ
アウト(個々のデータ項目の項目名、属性タイプ、桁数
など)を定義したレイアウト定義情報をも読み込む。そ
して、その定義情報をリストDUMPツールが解析して
個々の項目名をテーブル展開し、それらにデータファイ
ル中のデータ値を当てはめて出力するようになされてい
る。
The latter list DUMP tool reads layout definition information defining the layout of data files (item names, attribute types, digits, etc. of individual data items) in addition to the data files to be dumped. Then, the list DUMP tool analyzes the definition information, develops individual item names into a table, applies the data values in the data file to them, and outputs them.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
ファイルダンプ出力ツールでは、何れのタイプを用いて
も、データファイル中のデータ項目の値を適確に捉える
ことが容易にできず、システム(プログラム)開発のテ
スト検証作業に多大な労力がかかっていた。そのため、
これがプログラムの生産性向上および品質向上の阻害要
因となっているという問題があった。
However, with the conventional file dump output tool, it is not easy to accurately grasp the value of the data item in the data file regardless of which type is used. A great deal of effort was required to test and verify the development. for that reason,
There is a problem that this is a hindrance to improving the productivity and quality of the program.

【0006】すなわち、従来のヘキサDUMPツールで
は、データファイルの中身を単に16進コードで羅列し
て出力するだけなので、一見してデータ項目の区切りが
分からない。そのため、検証者自身が16進コード列を
データ項目の桁数(文字数)ごとに区切って見ていく必
要があり、極めて効率の悪い作業になってしまう。ま
た、似たような数字列を目で追っていく作業なので、見
間違いも生じやすく、正確な検証を行うことが困難でも
ある。
That is, in the conventional hexa-DUMP tool, the contents of a data file are simply output in hexadecimal code, and therefore, at a glance, the delimitation of data items cannot be recognized. Therefore, it is necessary for the verifier to look at the hexadecimal code string by dividing it by the number of digits (the number of characters) of the data item, which is extremely inefficient. In addition, since the user works to follow a similar number sequence with his / her eyes, it is easy to make mistakes and it is difficult to perform accurate verification.

【0007】一方、従来のリストDUMPツールでは、
データファイルのレイアウトをツールが判断できるよう
にするために、ダンプ対象とするデータファイルとは別
にレイアウト定義情報等を検証者自身がその都度入力す
る必要がある。したがって、その入力作業が面倒である
だけでなく、ダンプを行おうとする検証者がデータファ
イルのレイアウト定義を知らなければダンプを行うこと
ができないという問題もあった。
On the other hand, in the conventional list DUMP tool,
In order for the tool to be able to determine the layout of the data file, the verifier needs to input layout definition information and the like separately from the data file to be dumped each time. Therefore, not only is the input operation cumbersome, but also the problem is that the dump cannot be performed unless the verifier who intends to perform the dump knows the layout definition of the data file.

【0008】また、従来のリストDUMPツールでは、
データファイルの中身を項目単位に区分けして出力する
ので、一見してデータ項目の区切りが分かり、ヘキサD
UMPツールに比べてダンプ出力結果は見やすいものと
なっている。ところが、1つのデータファイル中に複数
件のデータが存在し、それらのレイアウトが互いに異な
る場合、いわゆるマルチレイアウトのデータファイルを
ダンプした場合には、データ項目の区切りが正確に捉え
られず、間違った結果が出力されてしまうという問題が
あった。
Further, in the conventional list DUMP tool,
Since the contents of the data file are divided into items and output, the breaks of data items can be seen at a glance,
The dump output result is easier to see than the UMP tool. However, when a plurality of data exists in one data file and their layouts are different from each other, or when a so-called multi-layout data file is dumped, the data item delimiters cannot be accurately detected, resulting in an incorrect data item. There was a problem that the result was output.

【0009】すなわち、従来のリストDUMPツール
は、複数のレイアウトを判別する機能を備えていない。
そのため、1つのデータのレイアウトしか認識できず、
1つのデータファイルに関してはその中のデータを全て
同じレイアウトで出力してしまう。よって、マルチレイ
アウトのデータファイルをダンプした場合には、1件目
のデータについて最初に認識したレイアウトに従って2
件目以降のデータも出力してしまうため、2件目以降で
は間違った場所でデータ項目が区切られる結果となって
しまう。
That is, the conventional list DUMP tool does not have a function of determining a plurality of layouts.
As a result, only one data layout can be recognized,
For one data file, all the data in the data file is output with the same layout. Therefore, when the data file of the multi-layout is dumped, the data of the first data is dumped according to the first recognized layout.
Since the data after the first case is also output, the data items are separated at an incorrect place in the second and subsequent cases.

【0010】本発明は、このような問題を解決するため
に成されたものであり、対象とするデータファイルのレ
イアウトを検証者が特に意識することなく、データ項目
の値を的確に捉えて検証を容易に行うことができるよう
にすることを目的とする。また、本発明は、マルチレイ
アウトのデータファイルでも、データ項目単位に正確に
編集して見やすいダンプリストを出力できるようにする
ことをも目的としている。
The present invention has been made in order to solve such a problem, and verifies the layout of a target data file by accurately grasping the value of a data item without the verifier being particularly conscious of the layout. Is to be able to be easily performed. It is another object of the present invention to output a dump list that is easy to read by accurately editing even a multi-layout data file in data item units.

【0011】[0011]

【課題を解決するための手段】本発明のファイルダンプ
出力方法は、データファイルの編成を表したファイル定
義情報を解析し、上記データファイルのダンプ処理結果
をデータ項目単位に区分けして出力するファイルダンプ
出力方法であって、ダンププログラム生成手段が、上記
ファイル定義情報と、上記データファイルをダンプして
その結果を出力するための基本的な処理を記述した基本
プログラムとに基づいて、ダンプ処理の結果をデータ項
目単位に区分けして出力するためのダンププログラムを
生成して記録媒体に保存する第1のステップと、プログ
ラム実行手段が、上記記録媒体に保存されたダンププロ
グラムに上記データファイルを適用してダンプ処理を実
行し、その結果を出力する第2のステップとを有するこ
とを特徴とする。
A file dump output method according to the present invention analyzes file definition information representing the organization of a data file, and outputs the data file dump processing result in units of data items. A dump output method, wherein the dump program generating means performs dump processing based on the file definition information and a basic program describing basic processing for dumping the data file and outputting the result. A first step of generating a dump program for outputting the results in the form of data items and storing the dump program in a recording medium, and the program executing means applying the data file to the dump program stored in the recording medium And a second step of executing the dump processing and outputting the result.

【0012】本発明の他の態様では、上記第1のステッ
プでは、複数のデータファイルに対応した複数のファイ
ル定義情報を用いて、複数のダンププログラムを生成し
て上記記録媒体に保存し、上記第2のステップでは、上
記記録媒体に保存されている複数のダンププログラムの
中から、ダンプ処理の対象とするデータファイルに対応
したダンププログラムを選択的に用いて上記ダンプ処理
を実行することを特徴とする。
In another aspect of the present invention, in the first step, a plurality of dump programs are generated using a plurality of file definition information corresponding to a plurality of data files and stored in the recording medium. In the second step, the dump processing is executed by selectively using a dump program corresponding to a data file to be subjected to the dump processing from a plurality of dump programs stored in the recording medium. And

【0013】本発明のその他の態様では、上記ダンププ
ログラム生成手段が、上記第1のステップで生成される
ダンププログラムに対し、その生成に用いる上記ファイ
ル定義情報に対応するデータファイルを識別するための
情報を付加するようにしたことを特徴とする。
[0013] In another aspect of the present invention, the dump program generating means for identifying the data file corresponding to the file definition information used for generating the dump program generated in the first step. It is characterized in that information is added.

【0014】本発明のその他の態様では、データファイ
ルの編成を表したファイル定義情報を解析し、上記デー
タファイルのダンプ処理結果をデータ項目単位に区分け
して出力するファイルダンプ出力方法であって、ダンプ
プログラム生成手段が、上記ファイル定義情報と、上記
データファイルをダンプしてその結果を出力するための
基本的な処理を記述した基本プログラムとに基づいて、
ダンプ処理の結果をデータ項目単位に区分けして出力す
るためのダンププログラムを生成して記録媒体に保存す
る第1のステップと、プログラム変更手段がユーザから
の指示に応じて、上記記録媒体に保存されたダンププロ
グラムの内容を変更する第2のステップと、プログラム
実行手段が、上記記録媒体に保存されたダンププログラ
ムに上記データファイルを適用してダンプ処理を実行
し、その結果を出力する第3のステップとを有すること
を特徴とする。
According to another aspect of the present invention, there is provided a file dump output method for analyzing file definition information representing the organization of a data file, and outputting the data file dump processing results in units of data items. Dump program generating means, based on the file definition information and a basic program describing a basic process for dumping the data file and outputting the result,
A first step of generating a dump program for outputting the results of the dump processing in data item units and storing the dump program in a recording medium, and storing the program in the recording medium in accordance with an instruction from a user by a program changing unit. A second step of changing the contents of the obtained dump program, and a third step of executing the dump processing by applying the data file to the dump program stored in the recording medium and outputting the result. And the following steps.

【0015】また、本発明のファイルダンプ出力装置
は、データファイルの編成を表したファイル定義情報を
解析し、上記データファイルのダンプ処理結果をデータ
項目単位に区分けして出力するファイルダンプ出力装置
であって、上記ファイル定義情報と、上記データファイ
ルをダンプしてその結果を出力するための基本的な処理
を記述した基本プログラムとに基づいて、ダンプ処理の
結果をデータ項目単位に区分けして出力するためのダン
ププログラムを生成するダンププログラム生成手段と、
上記ダンププログラム生成手段により生成されたダンプ
プログラムを記憶して保存する記憶手段と、上記記憶手
段に保存されたダンププログラムに上記データファイル
を適用してダンプ処理を実行し、その結果を出力するプ
ログラム実行手段とを備えたことを特徴とする。
The file dump output device of the present invention is a file dump output device that analyzes file definition information representing the organization of a data file, and outputs the data file dump processing results in units of data items. Output the results of the dump processing in units of data items based on the file definition information and the basic program describing the basic processing for dumping the data file and outputting the results. Dump program generating means for generating a dump program for performing
Storage means for storing and storing the dump program generated by the dump program generation means, and a program for executing the dump processing by applying the data file to the dump program stored in the storage means and outputting the result Execution means.

【0016】本発明の他の態様では、上記記憶手段は、
上記ダンププログラム生成手段により複数のファイル定
義情報を用いて生成された複数のダンププログラムを記
憶して保存し、上記プログラム実行手段は、上記記憶手
段に保存されている複数のダンププログラムのうち、ユ
ーザの選択に係るダンププログラムを用いて、上記デー
タファイルを適用してダンプ処理を実行することを特徴
とする。
In another aspect of the present invention, the storage means includes:
A plurality of dump programs generated by using the plurality of file definition information by the dump program generating means are stored and stored, and the program executing means includes a user program among the plurality of dump programs stored in the storing means. The dump process is executed by applying the data file by using the dump program according to the selection of (1).

【0017】本発明のその他の態様では、上記ダンププ
ログラム生成手段によって生成されるダンププログラム
に対し、その生成に用いる上記ファイル定義情報に対応
するデータファイルを識別するための情報をパラメータ
として設定する第1のパラメータ設定手段を備えたこと
を特徴とする。
In another aspect of the present invention, information for identifying a data file corresponding to the file definition information used for the generation of the dump program generated by the dump program generating means is set as a parameter. A first parameter setting means is provided.

【0018】本発明のその他の態様では、上記基本プロ
グラムを上記データファイルのタイプ毎に用意し、上記
データファイルのタイプをパラメータとして設定する第
2のパラメータ設定手段を備え、上記ダンププログラム
生成手段は、上記第2のパラメータ設定手段により設定
されたタイプに対応する基本プログラムを用いて上記ダ
ンププログラムを生成することを特徴とする。
According to another aspect of the present invention, the basic program is provided for each type of the data file, and a second parameter setting means for setting the type of the data file as a parameter is provided. The dump program is generated using a basic program corresponding to the type set by the second parameter setting means.

【0019】本発明のその他の態様では、上記データフ
ァイル中のデータ項目およびその桁数をパラメータとし
て設定する第3のパラメータ設定手段を備え、上記ダン
ププログラム生成手段は、上記第3のパラメータ設定手
段により設定されたデータ項目をその桁数で一項目にま
とめて出力するためのダンププログラムを生成すること
を特徴とする。
According to another aspect of the present invention, there is provided third parameter setting means for setting a data item in the data file and the number of digits thereof as parameters, and the dump program generating means is provided with the third parameter setting means. And generating a dump program for collectively outputting the data items set according to the number of digits in one item.

【0020】本発明のその他の態様では、上記ダンププ
ログラム生成手段は、複数件のデータを有するデータフ
ァイル中のデータ項目を全て抽出し、抽出した全てのデ
ータ項目単位に区分けして上記データファイルのダンプ
処理結果を出力するためのダンププログラムを生成する
ことを特徴とする。
In another aspect of the present invention, the dump program generating means extracts all data items in a data file having a plurality of data, and divides the data items into units of all the extracted data items. A dump program for outputting a dump processing result is generated.

【0021】本発明のその他の態様では、上記記憶手段
に保存されたダンププログラムの内容をユーザからの指
示に応じて変更するプログラム変更手段を備えたことを
特徴とする。
Another aspect of the present invention is characterized in that a program changing means for changing the contents of the dump program stored in the storage means in accordance with an instruction from a user is provided.

【0022】また、本発明のダンププログラム生成プロ
グラムは、データファイルの編成を表したファイル定義
情報と、上記データファイルをダンプしてその結果を出
力するための基本的な処理を記述した基本プログラムと
に基づいて、ダンプ処理の結果をデータ項目単位に区分
けして出力するためのダンププログラムを生成するダン
ププログラム生成手段、および上記ダンププログラム生
成手段により生成されたダンププログラムを記録媒体に
記録して保存する記録手段、としてコンピュータを機能
させることを特徴とする。
Further, the dump program generation program of the present invention comprises a file definition information representing the organization of a data file, a basic program describing a basic process for dumping the data file and outputting the result. Dump program generating means for generating a dump program for dividing and outputting a result of a dump process in data item units based on the dump program, and recording and storing the dump program generated by the dump program generating means on a recording medium A computer functioning as recording means for performing the function.

【0023】本発明の他の態様では、上記ダンププログ
ラム生成手段によって生成されるダンププログラムに対
し、その生成に用いる上記ファイル定義情報に対応する
データファイルを識別するための情報をパラメータとし
て設定する第1のパラメータ設定手段としてコンピュー
タを機能させることを特徴とする。
According to another aspect of the present invention, information for identifying a data file corresponding to the file definition information used for the generation of the dump program generated by the dump program generating means is set as a parameter. A computer is caused to function as one parameter setting means.

【0024】本発明のその他の態様では、上記データフ
ァイルのタイプをパラメータとして設定する第2のパラ
メータ設定手段、および上記データファイルのタイプ毎
に用意された上記基本プログラムのうち、上記第2のパ
ラメータ設定手段により設定されたタイプに対応する基
本プログラムを用いて上記ダンププログラムを生成する
上記ダンププログラム生成手段、としてコンピュータを
機能させることを特徴とする。
According to another aspect of the present invention, the second parameter setting means for setting the type of the data file as a parameter, and the second parameter setting means of the basic program prepared for each type of the data file The computer is caused to function as the dump program generating means for generating the dump program using a basic program corresponding to the type set by the setting means.

【0025】本発明のその他の態様では、上記データフ
ァイル中のデータ項目およびその桁数をパラメータとし
て設定する第3のパラメータ設定手段、および上記第3
のパラメータ設定手段により設定されたデータ項目をそ
の桁数で一項目にまとめて出力するためのダンププログ
ラムを生成する上記ダンププログラム生成手段、として
コンピュータを機能させることを特徴とする。
According to another aspect of the present invention, a third parameter setting means for setting a data item in the data file and the number of digits thereof as parameters, and the third parameter setting means
And causing the computer to function as the dump program generating means for generating a dump program for outputting the data items set by the parameter setting means into one item by the number of digits.

【0026】本発明のその他の態様では、複数件のデー
タを有するデータファイル中のデータ項目を全て抽出
し、抽出した全てのデータ項目単位に区分けして上記デ
ータファイルのダンプ処理結果を出力するためのダンプ
プログラムを生成する上記ダンププログラム生成手段と
してコンピュータを機能させることを特徴とする。
In another aspect of the present invention, all data items in a data file having a plurality of data items are extracted, and the data file dump processing results are output in units of all the extracted data items. And causing a computer to function as the dump program generating means for generating the dump program.

【0027】本発明のその他の態様では、上記記録媒体
に保存されたダンププログラムの内容をユーザからの指
示に応じて変更するプログラム変更手段としてコンピュ
ータを機能させることを特徴とする。
Another aspect of the present invention is characterized in that a computer is caused to function as program changing means for changing the contents of a dump program stored in the recording medium in accordance with an instruction from a user.

【0028】また、本発明のコンピュータ読み取り可能
な記録媒体は、データファイルの編成を表したファイル
定義情報と、上記データファイルをダンプしてその結果
を出力するための基本的な処理を記述した基本プログラ
ムとに基づいて、ダンプ処理の結果をデータ項目単位に
区分けして出力するためのダンププログラムを生成する
ダンププログラム生成手段、および上記ダンププログラ
ム生成手段により生成されたダンププログラムを記録媒
体に記録して保存する記録手段、としてコンピュータを
機能させるためのプログラムを記録したことを特徴とす
る。
Further, the computer-readable recording medium of the present invention has a file definition information representing the organization of a data file and a basic description describing a basic process for dumping the data file and outputting the result. A dump program generating means for generating a dump program for dividing and outputting a result of the dump processing in data item units based on the program, and recording the dump program generated by the dump program generating means on a recording medium. A program for causing a computer to function as recording means for storing the program.

【0029】本発明の他の態様では、複数件のデータを
有するデータファイル中のデータ項目を全て抽出し、抽
出した全てのデータ項目単位に区分けして上記データフ
ァイルのダンプ処理結果を出力するためのダンププログ
ラムを生成する上記ダンププログラム生成手段、および
上記記録媒体に保存されたダンププログラムの内容をユ
ーザからの指示に応じて変更するプログラム変更手段と
してコンピュータを機能させるためのプログラムを記録
したことを特徴とする。
In another aspect of the present invention, all data items in a data file having a plurality of data items are extracted, and the data file is dumped in units of all the extracted data items. And a program for causing a computer to function as program changing means for changing the contents of the dump program stored in the recording medium in accordance with an instruction from a user. Features.

【0030】[0030]

【発明の実施の形態】(第1の実施形態)まず、本発明
の第1の実施形態を図面に基づいて説明する。図1は、
第1の実施形態によるファイルダンプ出力装置の機能構
成を示すブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) First, a first embodiment of the present invention will be described with reference to the drawings. FIG.
FIG. 2 is a block diagram illustrating a functional configuration of the file dump output device according to the first embodiment.

【0031】図1に示すように、本実施形態のファイル
ダンプ出力装置1は、ダンププログラム生成部2と、プ
ログラム実行部3と、記憶部4とを備えている。ダンプ
プログラム生成部2は、ファイルレイアウト定義情報1
1、コピー句12、ダンププログラムスケルトンソース
13、制御用パラメータ14などの各種情報を入力し、
これらの情報を用いてダンププログラム生成プログラム
15を実行することにより、ダンププログラム16を自
動生成する。
As shown in FIG. 1, the file dump output device 1 according to the present embodiment includes a dump program generation unit 2, a program execution unit 3, and a storage unit 4. The dump program generation unit 2 generates the file layout definition information 1
1. Input various information such as a copy phrase 12, a dump program skeleton source 13, and a control parameter 14,
The dump program 16 is automatically generated by executing the dump program generation program 15 using these pieces of information.

【0032】ダンププログラム生成部2により生成され
たダンププログラム16は、ハードディスク等の記憶部
4に記憶される。つまり、ダンププログラム生成部2
は、本発明のダンププログラム生成手段および記録手段
の双方を含む。プログラム実行部3は、記憶部4に記憶
されているダンププログラム16を実行し、ダンプ対象
のデータファイル17をデータ項目単位に編集して見や
すいダンプリスト18として出力する。
The dump program 16 generated by the dump program generator 2 is stored in the storage unit 4 such as a hard disk. That is, the dump program generation unit 2
Includes both the dump program generating means and the recording means of the present invention. The program execution unit 3 executes the dump program 16 stored in the storage unit 4, edits the data file 17 to be dumped in data item units, and outputs it as a dump list 18 that is easy to see.

【0033】上述のダンププログラム生成プログラム1
5は、例えばファイルダンプ出力装置1のRAMやRO
M、あるいはハードディスク等に記憶されている。ま
た、このダンププログラム生成プログラム15を例えば
CD−ROMのような記録媒体に記録し、これを装置1
に読み込ませることによってダンププログラム生成部2
の機能を実現するようにしても良い。
The above-mentioned dump program generation program 1
5 is, for example, the RAM or RO of the file dump output device 1
M or stored in a hard disk or the like. Further, the dump program generation program 15 is recorded on a recording medium such as a CD-ROM, and
To the dump program generation unit 2
May be realized.

【0034】上記ダンププログラム生成プログラム15
を記録する記録媒体としては、CD−ROM以外に、フ
ロッピー(登録商標)ディスク、磁気テープ、光ディス
ク、光磁気ディスク、DVD、不揮発性メモリカード等
を用いることができる。また、本実施形態のファイルダ
ンプ出力装置1をネットワーク環境で利用するべく、ダ
ンププログラム生成プログラム15の全部あるいは一部
が他のコンピュータで実行されるようになっていても良
い。
The dump program generation program 15
In addition to the CD-ROM, a floppy (registered trademark) disk, a magnetic tape, an optical disk, a magneto-optical disk, a DVD, a non-volatile memory card, and the like can be used as a recording medium for recording the information. Further, in order to use the file dump output device 1 of the present embodiment in a network environment, all or a part of the dump program generation program 15 may be executed by another computer.

【0035】なお、ここでは、記憶部4をファイルダン
プ出力装置1が備える構成としているが、ファイルダン
プ出力装置1に任意に挿抜可能な記録媒体(例えば、コ
ンパクトディスク、フロッピーディスク、光ディスク、
光磁気ディスク、DVDなど)により記憶部4を構成し
ても良い。また、記憶部4を外部のホストコンピュータ
内等に備え、ネットワークを介して任意にアクセスでき
るように構成しても良い。
Although the storage unit 4 is provided in the file dump output device 1 here, a recording medium (for example, a compact disk, a floppy disk, an optical disk,
The storage unit 4 may be composed of a magneto-optical disk, a DVD, or the like. Further, the storage unit 4 may be provided in an external host computer or the like, and may be configured to be arbitrarily accessible via a network.

【0036】また、上述のダンププログラム生成部2お
よびプログラム実行部3は、実際にはコンピュータのC
PUあるいはMPUなどで構成されるものであり、ダン
ププログラム生成部2は上述のようにRAMやROMに
記憶されたダンププログラム生成プログラム15が動作
することによって実現される。また、プログラム実行部
3は、記憶部4に記憶されたダンププログラム16が動
作することによって実現される。
The above-described dump program generation unit 2 and program execution unit 3 are actually provided by the C
The dump program generation unit 2 is realized by the operation of the dump program generation program 15 stored in the RAM or the ROM as described above. The program execution unit 3 is realized by the operation of the dump program 16 stored in the storage unit 4.

【0037】このように構成されたファイルダンプ出力
装置1の用い方としては、データファイルのレイアウト
(ファイル編成)について専門知識を有する者が、様々
なタイプのデータファイルについて、ファイルレイアウ
ト定義情報11、コピー句12、ダンププログラムスケ
ルトンソース13、制御用パラメータ14などの各種情
報を入力して装置1にダンププログラム16を自動生成
させ、記憶部4に保存しておく。その後、実際にダンプ
対象データファイル17についてダンプを行う検証者
が、そのダンプ対象データファイル17のタイプに応じ
て記憶部4の中から適当なダンププログラム16を選択
し、プログラム実行部3によりダンプ処理を実行する。
As a method of using the file dump output device 1 configured as described above, a person who has expertise in the layout (file organization) of a data file can use file layout definition information 11 for various types of data files. Various kinds of information such as a copy phrase 12, a dump program skeleton source 13, and a control parameter 14 are input to cause the apparatus 1 to automatically generate a dump program 16 and store it in the storage unit 4. Thereafter, the verifier who actually dumps the data file 17 to be dumped selects an appropriate dump program 16 from the storage unit 4 according to the type of the data file 17 to be dumped, and performs dump processing by the program execution unit 3. Execute

【0038】以下、上述した各構成要素の詳細を説明し
ていく。ファイルレイアウト定義情報11は、コピー句
名、データファイル中の個々のデータ項目名(日本語表
記およびプログラミング言語用の英数字表記)、各デー
タの型を表す属性タイプ、文字数を表す桁数、繰り返し
回数など、ファイル編成を定義した情報である。これ
は、レコード定義情報とも言う。
Hereinafter, the details of each component described above will be described. The file layout definition information 11 includes a copy phrase name, individual data item names in a data file (Japanese notation and alphanumeric notation for a programming language), an attribute type indicating a type of each data, a number of digits indicating a number of characters, and repetition. Information defining the file organization such as the number of times. This is also called record definition information.

【0039】図2は、ファイルレイアウト定義情報11
のフォーマット例を示す図である。図2に示すように、
ファイルレイアウト定義情報11では、データファイル
中に含まれる各データ項目のレベル番号、日本語の項目
名、英数字による項目名、属性タイプ、桁数、小数点以
下桁数、繰り返し回数などの情報によってファイル編成
を定義している。図3は、上記図2のようなフォーマッ
トを用いたファイルレイアウト定義情報11の具体例を
示す図である。
FIG. 2 shows the file layout definition information 11
FIG. 3 is a diagram showing a format example. As shown in FIG.
In the file layout definition information 11, the file includes information such as a level number of each data item included in the data file, a Japanese item name, an alphanumeric item name, an attribute type, the number of digits, the number of decimal places, and the number of repetitions. The organization is defined. FIG. 3 is a diagram showing a specific example of the file layout definition information 11 using the format as shown in FIG.

【0040】コピー句12は、データファイルの中身を
属性タイプや桁数などに従って区切ることにより、プロ
グラムが扱えるレコードとして定義したものである。こ
のコピー句12は、ファイルレイアウト定義情報11か
ら自動的に生成することも可能である。
The copy phrase 12 is defined as a record that can be handled by the program by dividing the contents of the data file according to the attribute type and the number of digits. This copy phrase 12 can be automatically generated from the file layout definition information 11.

【0041】図4は、コピー句12の一例を示す図であ
る。ここでは、プログラミング言語としてCOBOLを
用いた場合のコピー句の例を示している。この図4に示
すコピー句12は、上記図3のファイルレイアウト定義
情報11から生成したものである。
FIG. 4 is a diagram showing an example of the copy phrase 12. Here, an example of a copy phrase when COBOL is used as a programming language is shown. The copy phrase 12 shown in FIG. 4 is generated from the file layout definition information 11 shown in FIG.

【0042】図4において、レベル番号が“01”で項
目名が“KOJIN-REC.”のデータ項目と、レベル番号が
“02”で項目名が“SEINENGAPPI”のデータ項目は、
集団項目(階層を持って定義されているデータ項目。例
えば、項目名“SEINENGAPPI”は“NEN”“TUKI”“HI”
の3項目を下階層として持つ)であり、それ以外のデー
タ項目は基本項目である。この例で基本項目には、英数
字と特殊文字とを扱うことが可能なXタイプ、数字のみ
を扱うことが可能な9タイプの何れかの属性タイプが設
定されている。
In FIG. 4, a data item having a level number “01” and an item name “KOJIN-REC.” And a data item having a level number “02” and an item name “SEINENGAPPI” are:
Group item (a data item defined with a hierarchy. For example, the item name "SEINENGAPPI" is "NEN""TUKI""HI"
Are the lower layers), and the other data items are basic items. In this example, in the basic item, any one of the attribute types of X type capable of handling alphanumeric characters and special characters and nine types capable of handling only numbers is set.

【0043】ダンププログラムスケルトンソース13
は、生成すべきダンププログラム16の骨格となる基本
的なプログラム(データ項目を出力する処理等)のみを
持ったソースコードである。このダンププログラムスケ
ルトンソース13は、データファイル中の各データが固
定長のFB型・各データが可変長のVB型・データ読み
出しに独自のキーを必要とするVSAM型などのファイ
ルタイプごとに異なるものを用意する。
Dump program skeleton source 13
Is a source code having only a basic program (a process of outputting a data item) serving as a skeleton of the dump program 16 to be generated. The dump program skeleton source 13 is different for each file type such as FB type in which each data in a data file is fixed length, VB type in which each data is variable length, and VSAM type in which a unique key is required for data reading. Prepare

【0044】何れかのファイルタイプのダンププログラ
ムスケルトンソース13を選択的に用いることにより、
それぞれのタイプに合った形のダンププログラム16を
ダンププログラム生成部2が自動生成してくれるので、
過去の方法で行ったレコード長指定や、ファイルの長さ
変更を不要にすることができる。また、ダンププログラ
ム16の実行時に利用JCLを作成するときには、単純
にファイル名を指定することで対応することが可能とな
る。
By selectively using the dump program skeleton source 13 of any file type,
The dump program generator 2 automatically generates a dump program 16 of a type suitable for each type.
It is not necessary to specify the record length and change the file length by the past method. In addition, when a use JCL is created when the dump program 16 is executed, it is possible to cope with the situation simply by specifying a file name.

【0045】制御用パラメータ14は、ダンププログラ
ム16の生成制御用パラメータと、ダンプ対象データフ
ァイル17の項目制御用パラメータとを含む。図5は、
本実施形態で用いる制御用パラメータ14の一例を示す
図であり、図5(a)は生成制御用パラメータを示し、
図5(b)は項目制御用パラメータを示している。
The control parameters 14 include parameters for controlling generation of the dump program 16 and parameters for controlling items of the data file 17 to be dumped. FIG.
FIG. 5A is a diagram illustrating an example of a control parameter 14 used in the present embodiment. FIG. 5A illustrates a generation control parameter.
FIG. 5B shows parameter for item control.

【0046】図5(a)に示すように、生成制御用パラ
メータには、ファイルタイプ、プログラムID、コピー
句名の3つがある。ファイルタイプのパラメータでは、
FB型=“1”、VB型=“2”、VSAM型=“3”
の何れかの値を設定する。プログラムIDのパラメータ
では、ファイルレイアウト定義情報11に対応するデー
タファイルを識別するための情報を設定する。また、コ
ピー句名のパラメータでは、複数のダンププログラムで
参照可能なコピー句を設定する。図4に示したコピー句
12の場合、ファイルタイプ=“1”、プログラムID
=“KOJINFILE”(任意)、コピー句名=“KOJIN”と設
定する。
As shown in FIG. 5A, there are three generation control parameters: a file type, a program ID, and a copy phrase name. In the file type parameter,
FB type = “1”, VB type = “2”, VSAM type = “3”
Set any value of In the parameter of the program ID, information for identifying the data file corresponding to the file layout definition information 11 is set. The copy phrase name parameter sets a copy phrase that can be referred to by a plurality of dump programs. In the case of the copy phrase 12 shown in FIG. 4, the file type = "1" and the program ID
= "KOJINFILE" (optional), copy phrase name = "KOJIN".

【0047】また、図5(b)に示すように、項目制御
用パラメータには、項目名と桁数との2つがある。ここ
で何もパラメータを設定しない場合は、データファイル
中に含まれる全てのデータ項目が個別にダンプ出力項目
として設定されるが、このパラメータを任意に設定する
ことにより、複数のデータ項目を1つのダンプ出力項目
にまとめるように制御することが可能である。
As shown in FIG. 5B, there are two item control parameters: an item name and the number of digits. If no parameter is set here, all data items included in the data file are individually set as dump output items. By setting this parameter arbitrarily, multiple data items It is possible to control so as to collect them into dump output items.

【0048】例えば、図3および図4の例において、項
目名“SEINENGAPPI”の桁数を12桁とするように項目
制御用パラメータを設定すると、データ項目“NEN”“T
UKI”“HI”は個別のダンプ出力項目として設定されな
くなる。つまり、年・月・日が個別のデータ項目として
出力されるのではなく、年月日の集団項目が1つのデー
タ項目としてまとめて出力されるようになる。
For example, in the example of FIGS. 3 and 4, when the item control parameter is set so that the number of digits of the item name “SEINENGAPPI” is 12 digits, the data items “NEN”, “T
UKI "" HI "will no longer be set as a separate dump output item, meaning that year / month / day will not be output as separate data items, Will be output.

【0049】ダンププログラム生成部2は、以上詳しく
示したファイルレイアウト定義情報11、コピー句1
2、ダンププログラムスケルトンソース13および制御
用パラメータ14を用いてダンププログラム16を自動
生成する。その際の動作を、図6のフローチャートに従
って詳しく説明する。
The dump program generation unit 2 executes the file layout definition information 11 and the copy phrase 1 described in detail above.
2. The dump program 16 is automatically generated using the dump program skeleton source 13 and the control parameters 14. The operation at that time will be described in detail with reference to the flowchart of FIG.

【0050】図6において、まず最初に、ダンププログ
ラム生成部2は、図5(a)の生成制御用パラメータに
て設定されたファイルタイプを読み込んで認識する(ス
テップS1)。生成すべきダンププログラム16は、フ
ァイルタイプによって作りが異なってくるので、このパ
ラメータを読み込むことによって生成すべきダンププロ
グラム16のタイプを把握する。
In FIG. 6, first, the dump program generator 2 reads and recognizes the file type set by the generation control parameters of FIG. 5A (step S1). Since the creation of the dump program 16 to be generated differs depending on the file type, the type of the dump program 16 to be generated is grasped by reading this parameter.

【0051】次に、図5(a)の生成制御用パラメータ
にて設定されたプログラムIDを、生成されるダンププ
ログラム16のIDに設定する(ステップS2)。従来
は、対象としているデータファイルのIDを認識するこ
とができなかったが、本実施形態のようにデータファイ
ルの識別名称を表すプログラムIDをダンププログラム
16に設定することにより、生成されたダンププログラ
ム16がどのデータファイルに対応するのかをIDによ
って容易に確認することができる。これにより、検証者
によるダンププログラム16の選択時およびダンプ出力
結果の確認時における対象ファイルの確認を容易に行う
ことができる。
Next, the program ID set by the generation control parameters of FIG. 5A is set to the ID of the dump program 16 to be generated (step S2). Conventionally, the ID of the target data file could not be recognized. However, by setting the program ID representing the identification name of the data file in the dump program 16 as in the present embodiment, the generated dump program Which data file 16 corresponds to can be easily confirmed by the ID. This makes it possible to easily confirm the target file when the verifier selects the dump program 16 and confirms the dump output result.

【0052】次に、図5(a)の生成制御用パラメータ
にて設定されたコピー句を、生成されるダンププログラ
ム16で展開されるように設定する(ステップS3)。
コピー句を利用していた従来のリストDUMPツールで
は、コピー句の各項目をダンププログラム内のデータ値
として利用していたため、対象項目の選択および項目の
値の判断により出力制御を行うことはできなかった。こ
れに対して、本実施形態によれば、コピー句名のパラメ
ータで設定されたコピー句の実項目をダンププログラム
16の処理記述に利用するため、対象項目の出力制御
(具体例は第2の実施形態で説明する)を行うことが可
能となる。
Next, the copy phrase set by the generation control parameters shown in FIG. 5A is set so as to be expanded by the generated dump program 16 (step S3).
In the conventional list DUMP tool using a copy clause, each item of the copy clause is used as a data value in the dump program, so that output control can be performed by selecting a target item and determining the value of the item. Did not. On the other hand, according to the present embodiment, since the actual item of the copy phrase set by the parameter of the copy phrase name is used for the process description of the dump program 16, the output control of the target item (a specific example is the second example). (Described in the embodiment) can be performed.

【0053】次に、図5(b)の項目制御用パラメータ
にて設定された項目名と桁数とを全て取り込んで設定す
ることにより、集団項目の下層に属する個々の基本項目
がダンプ出力項目とならないように制御する(ステップ
S4)。従来のリストDUMPツールでは、複数のデー
タファイルについて個別にダンプ出力項目の指定を行え
るだけであったが、本実施形態によれば、複数のデータ
ファイルで共通的に用いられる可能性の高いデータ項目
を、ダンププログラム16の自動生成時にパラメータの
指定によって共通的に指定することが可能となり、ダン
プ出力用JCLの作成を容易にすることができる。
Next, by taking in and setting all the item names and the number of digits set by the item control parameters in FIG. 5B, the individual basic items belonging to the lower layer of the group item are dumped. (Step S4). In the conventional list DUMP tool, only dump output items can be individually specified for a plurality of data files. However, according to the present embodiment, data items that are likely to be commonly used for a plurality of data files Can be commonly specified by specifying a parameter when the dump program 16 is automatically generated, and the creation of the dump output JCL can be facilitated.

【0054】このようにして各種パラメータの設定が完
了したら、ダンププログラム生成部2は、ファイルレイ
アウト定義情報11およびコピー句12を順次読み込み
ながら、これをダンププログラムスケルトンソース13
の基本的な処理定義文に当てはめて、各データ項目の出
力処理を表したダンププログラム16を自動的に記述す
る(ステップS5)。
When the setting of the various parameters is completed in this way, the dump program generation unit 2 reads the file layout definition information 11 and the copy phrase 12 sequentially, and reads them in the dump program skeleton source 13.
The dump program 16 representing the output process of each data item is automatically described by applying the basic process definition statement (step S5).

【0055】このとき、ダンププログラム生成部2は、
上記ステップS4で設定された集団項目より下位階層に
ある基本項目を出力しないようにプログラムを記述す
る。その際、集団項目に対する桁数を算出し、桁数表示
を行う。また、ファイルレイアウト定義情報11によっ
てあるデータ項目について繰り返し回数が指定されてい
る場合は、そのデータ項目については昇順の番号を付加
して出力項目を設定するようにプログラムを記述する。
従来のリストDUMPツールでは、繰り返しのデータ項
目を内部にデータ値として展開して出力していたので、
繰り返し回数に制限があったが、本実施形態によれば繰
り返し回数の制限はなくなる。
At this time, the dump program generation unit 2
The program is described so as not to output the basic items in the lower hierarchy than the group item set in step S4. At that time, the number of digits for the group item is calculated and the number of digits is displayed. If the number of repetitions is specified for a certain data item by the file layout definition information 11, the program is described so as to add an ascending number to the data item and set an output item.
In the conventional list DUMP tool, since repeated data items are expanded and output as data values inside,
Although the number of repetitions is limited, according to the present embodiment, the number of repetitions is not limited.

【0056】このようにしてダンププログラム生成部2
により生成されたダンププログラム16は、そのソース
コードをコンパイルすることにより、実行可能なダンプ
プログラムモジュールとなる。本実施形態では、このよ
うなダンププログラム16の自動生成処理を、種々のデ
ータファイルごとにあらかじめ行って記憶部4に保存し
ておく。記憶部4には、ダンププログラム16のソース
コードあるいはコンパイル後のモジュールの何れの形式
で保存しても良い。
In this way, the dump program generator 2
The dump program 16 generated by the above becomes an executable dump program module by compiling the source code. In the present embodiment, such an automatic generation process of the dump program 16 is performed in advance for each of various data files and stored in the storage unit 4. The storage unit 4 may store the source program of the dump program 16 or a module after compilation.

【0057】プログラム実行部3は、記憶部4に保存さ
れているダンププログラム16を実行し、ダンプ対象デ
ータファイル17をデータ項目単位に編集して見やすい
ダンプリスト18として出力する。その際、従来のリス
トDUMPツールではJCLでしかダンプ処理を実行で
きなかったが、本実施形態によればコマンドプロシジャ
ー(タイムシェアリングにより対話形式で画面出力をす
る方式)を利用した画面表示を行うこともできる。
The program execution unit 3 executes the dump program 16 stored in the storage unit 4, edits the data file 17 to be dumped in data item units, and outputs it as a dump list 18 which is easy to see. At this time, the conventional list DUMP tool can execute the dump processing only in the JCL, but according to the present embodiment, the screen display is performed using the command procedure (a method of interactively outputting the screen by time sharing). You can also.

【0058】図7は、ファイルダンプ処理の例を示す図
であり、図7(a)はJCLを利用したダンプ処理の例
を示し、図7(b)はコマンドプロシジャーを利用した
ダンプ処理の例を示す。図7(b)に示すコマンドプロ
シジャーの例では、画面対応でデータ項目の置き換えが
可能である(下線部等)。
FIG. 7 is a diagram showing an example of a file dump process. FIG. 7 (a) shows an example of a dump process using JCL, and FIG. 7 (b) shows an example of a dump process using a command procedure. Is shown. In the example of the command procedure shown in FIG. 7B, the data items can be replaced in correspondence with the screen (underlined portion and the like).

【0059】図8は、プログラム実行部3の動作を示す
フローチャートである。図8において、まず、記憶部4
に保存されている種々のダンププログラム16の中か
ら、ダンプ対象データファイル17に対応するダンププ
ログラム16をユーザが選択する(ステップS11)。
このとき、ダンププログラム16に付されたデータファ
イル識別情報であるプログラムIDを確認することによ
って、ダンプ対象データファイル17に対応してどのダ
ンププログラム16を選択すれば良いかを容易に把握す
ることが可能である。
FIG. 8 is a flowchart showing the operation of the program execution unit 3. In FIG. 8, first, the storage unit 4
The user selects the dump program 16 corresponding to the data file 17 to be dumped from the various dump programs 16 stored in the program (step S11).
At this time, by confirming the program ID which is the data file identification information attached to the dump program 16, it is possible to easily grasp which dump program 16 should be selected corresponding to the data file 17 to be dumped. It is possible.

【0060】次に、ダンプ対象データファイル17をプ
ログラム実行部3に入力する(ステップS12)。本実
施形態では、ファイル編成およびレコードの長さ(コピ
ー句12に記述されている全データ項目の合計桁数)
が、ダンプ対象データファイル17に対応したダンププ
ログラム16の自動生成時に既に設定されているため、
JCLでは入力ファイル名を指定するだけでファイルの
オープン(入力開始宣言)および入力処理を行うことが
できる。すなわち、従来のリストDUMPツールでは、
データファイルのレイアウト定義指定、ファイルの長さ
を変更する処理などの対応がその都度必要であったが、
本実施形態ではこのような対応を不要とすることができ
る。
Next, the data file 17 to be dumped is input to the program execution unit 3 (step S12). In the present embodiment, the file organization and record length (total number of digits of all data items described in the copy clause 12)
Is already set when the dump program 16 corresponding to the dump target data file 17 is automatically generated.
In JCL, a file can be opened (input start declaration) and input processing can be performed only by specifying an input file name. That is, in the conventional list DUMP tool,
Each time it was necessary to specify the layout definition of the data file, change the file length, etc.
In the present embodiment, such a measure can be eliminated.

【0061】次に、ファイルのレコードごとに各データ
項目の名称、属性タイプ、桁数およびその値を出力する
ことにより、ダンプ対象データファイル17をデータ項
目ごとに区分けしたダンプリスト18を出力する(ステ
ップS13)。このとき、小数点を持つデータ項目につ
いては、小数点を含めた表示を行う。従来のリストDU
MPツールでは、データ項目ごとにこのような表示オプ
ションを含めることができなかったが、本実施形態では
このような表示オプションをダンププログラム16の自
動生成機能によって実現している。
Next, by outputting the name, attribute type, number of digits, and the value of each data item for each record of the file, a dump list 18 in which the data files 17 to be dumped are classified for each data item is output ( Step S13). At this time, for data items having a decimal point, a display including the decimal point is performed. Conventional list DU
In the MP tool, such a display option could not be included for each data item, but in the present embodiment, such a display option is realized by the automatic generation function of the dump program 16.

【0062】図9は、図3に示したファイルレイアウト
定義情報11から自動生成されたダンププログラム16
と、入力したダンプ対象データファイル17とから生成
されたダンプリスト18の出力イメージを示す図であ
る。このダンプリスト18はデータ項目ごとに区分けし
て整理されているので、ダンプ出力結果が非常に見やす
いものとなっている。
FIG. 9 shows a dump program 16 automatically generated from the file layout definition information 11 shown in FIG.
FIG. 6 is a diagram showing an output image of a dump list 18 generated from the input dump target data file 17. Since the dump list 18 is sorted and arranged for each data item, the dump output result is very easy to see.

【0063】以上詳しく説明したように、第1の実施形
態によれば、種々のデータファイルごとに異なるダンプ
プログラム16をあらかじめ自動生成し、記憶部4に保
存する。そして、その後の検証実行時に、ダンプ対象デ
ータファイル17に対応するダンププログラム16を選
択的に用いてダンプ処理を行うようにしている。このと
き選択された自動生成に係るダンププログラム16は、
そのダンプ対象データファイル17の専用のプログラム
となっており、ファイル編成の定義やパラメータなどの
必要な情報は全てダンププログラム16自身が保持して
いる。
As described in detail above, according to the first embodiment, a different dump program 16 is automatically generated for each of various data files in advance and stored in the storage unit 4. Then, at the time of subsequent verification execution, dump processing is performed by selectively using the dump program 16 corresponding to the dump target data file 17. At this time, the selected dump program 16 related to automatic generation is
The dump program 16 is a dedicated program for the data file 17 to be dumped, and the dump program 16 itself holds all necessary information such as file organization definition and parameters.

【0064】したがって、検証者がダンプ処理を行う際
に、ファイル編成の定義情報やパラメータをその都度入
力しなくても、必要なダンプ対象データファイル17を
指定すればダンプ処理を実行することが可能となり、プ
ログラムの検証作業、ひいてはプログラム開発の生産性
を向上させることができる。また、ファイル編成等につ
いて専門知識を持たない者でも、それを特に意識するこ
となく容易にダンプ処理によるプログラム検証を行うこ
とができる。
Therefore, when the verifier performs the dump processing, the dump processing can be executed by designating the necessary dump target data file 17 without inputting the definition information and parameters of the file organization each time. As a result, the program verification work and, consequently, the productivity of program development can be improved. Further, even a person who does not have specialized knowledge of file organization or the like can easily perform program verification by dump processing without being particularly conscious of it.

【0065】また、出力されるダンプリスト18は、デ
ータ項目ごとに区分けして整理されているので、一見し
て見やすいダンプ出力結果を得ることができる。これに
より、検証者によるダンプリストの見間違いが起きにく
くなり、正確なプログラム検証を行うことが可能とな
る。したがって、プログラムの検証作業、ひいてはプロ
グラム開発の品質を向上させることができる。
The dump list 18 to be output is sorted and arranged for each data item, so that a dump output result that is easy to see at a glance can be obtained. This makes it difficult for the verifier to mistakenly view the dump list, and enables accurate program verification. Therefore, the quality of the program verification work and, consequently, the program development quality can be improved.

【0066】(第2の実施形態)次に、本発明の第2の
実施形態を図面に基づいて説明する。図10は、第2の
実施形態によるファイルダンプ出力装置の機能構成を示
すブロック図である。なお、図10において、図1に示
した符号と同一の符号を付したものは同一の機能を有す
るものであり、ここでは重複する説明を省略する。
(Second Embodiment) Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 10 is a block diagram illustrating a functional configuration of the file dump output device according to the second embodiment. Note that in FIG. 10, components denoted by the same reference numerals as those illustrated in FIG. 1 have the same functions, and redundant description is omitted here.

【0067】図10に示すように、第2の実施形態のフ
ァイルダンプ出力装置10は、図1に示したダンププロ
グラム生成部2、ダンププログラム生成プログラム15
の代わりにダンププログラム生成部5、ダンププログラ
ム生成プログラム21を備えるとともに、本発明のプロ
グラム変更手段に相当する手修正実行部6を更に備えて
いる。この手修正実行部6も、実際にはコンピュータの
CPUあるいはMPUなどで構成されるものであり、R
AMやROM、ハードディスク等に記憶されたダンププ
ログラム生成プログラム21が動作することによって実
現される。
As shown in FIG. 10, the file dump output device 10 according to the second embodiment includes a dump program generation unit 2 and a dump program generation program 15 shown in FIG.
In place of the above, a dump program generating unit 5 and a dump program generating program 21 are provided, and a manual correction executing unit 6 corresponding to a program changing unit of the present invention is further provided. This manual correction execution unit 6 is also actually constituted by a CPU or MPU of a computer.
This is realized by the operation of the dump program generation program 21 stored in an AM, a ROM, a hard disk, or the like.

【0068】ダンププログラム生成プログラム21は、
ダンププログラム生成部5に加え、手修正実行部6とし
てもコンピュータを機能させるためのプログラムであ
る。ダンププログラム生成部5は、図1に示したダンプ
プログラム生成部2とほぼ同様の機能を有するものであ
るが、複数のコピー句(複数件のデータ)を使用してい
るマルチレイアウトのデータファイルを各データ項目単
位に正確にダンプするためのダンププログラム16を自
動生成する機能を有している。
The dump program generation program 21
This is a program for causing the computer to function as the manual correction execution unit 6 in addition to the dump program generation unit 5. The dump program generation unit 5 has substantially the same function as the dump program generation unit 2 shown in FIG. 1, but stores a multi-layout data file using a plurality of copy phrases (a plurality of data). It has a function of automatically generating a dump program 16 for accurately dumping each data item.

【0069】すなわち、ダンププログラム生成部5は、
図6に示した動作の中で、ステップS5においてダンプ
プログラム16を生成する際に、複数のコピー句に対応
したファイルレイアウト定義情報11を連続して入力
し、各定義情報に含まれる全てのデータ項目を抽出す
る。つまり、従来のリストDUMPツールのように、最
初のコピー句に含まれるデータ項目だけでなく、複数の
コピー句に含まれるデータ項目を全て抽出する。
That is, the dump program generation unit 5
In the operation shown in FIG. 6, when generating the dump program 16 in step S5, the file layout definition information 11 corresponding to a plurality of copy phrases is continuously input, and all the data included in each definition information are input. Extract items. That is, unlike the conventional list DUMP tool, not only the data items included in the first copy phrase but also all the data items included in a plurality of copy phrases are extracted.

【0070】従来のリストDUMPツールでは、複数の
コピー句を用いたマルチレイアウトのデータファイルに
ついて全てのデータ項目の内容を出力することは、2件
目以降のデータについてデータ項目の位置が判断できな
いために実現できなかった。これに対して、本実施形態
によれば、コピー句のデータ項目を実際に利用した出力
となるため、データ項目の位置を確認する必要がなく、
複数のコピー句に含まれるデータ項目を全て抽出するこ
とが可能である。
In the conventional list DUMP tool, the contents of all data items are output for a multi-layout data file using a plurality of copy phrases because the position of the data items cannot be determined for the second and subsequent data. Could not be realized. On the other hand, according to the present embodiment, since the output is made by actually using the data item of the copy phrase, there is no need to confirm the position of the data item.
It is possible to extract all data items included in a plurality of copy phrases.

【0071】ダンププログラム生成部5はさらに、各コ
ピー句ごとに抽出したデータ項目を用いて第1の実施形
態と同様の処理を行い、データ項目単位に区分けしたダ
ンプリスト18を各コピー句ごとに自動生成する。この
とき、複数のコピー句を利用することによって同じデー
タ項目名が同一のデータファイル内で使用されることを
考慮して、データ項目のレベル番号を判断して各データ
項目に対してそれを識別するための情報を自動的に生成
する。
The dump program generation unit 5 further performs the same processing as in the first embodiment using the data items extracted for each copy phrase, and stores a dump list 18 divided into data item units for each copy phrase. Generate automatically. At this time, considering that the same data item name is used in the same data file by using multiple copy clauses, determine the level number of the data item and identify it for each data item. Automatically generate information for

【0072】ただし、このとき自動生成されたダンププ
ログラム16は、データ項目の値に応じて異なるコピー
句のレイアウトでデータ項目を出力することには対応し
ていない。しかし、本実施形態では、自動生成されたダ
ンププログラム16を手修正実行部6によって手修正す
ることができるようにしている。この場合、上述したよ
うに各コピー句に含まれるデータ項目は全て抽出されて
いるので、データ項目のある値に応じて条件分岐をして
必要なコピー句のデータ項目のみを出力するようにダン
ププログラム16をカスタマイズすることが容易にでき
る。
However, the dump program 16 automatically generated at this time does not support outputting a data item with a different layout of a copy phrase according to the value of the data item. However, in the present embodiment, the automatically generated dump program 16 can be manually corrected by the manual correction execution unit 6. In this case, since all the data items included in each copy phrase have been extracted as described above, a conditional branch is performed in accordance with a certain value of the data item, and a dump is performed so that only the data items of the necessary copy phrase are output. The program 16 can be easily customized.

【0073】すなわち、レベル番号あるいはコピー句名
などのデータ値に応じてデータファイル中のコピー句を
識別し、その識別したコピー句に対応するレイアウトに
従って、各レコードごとに正しいデータ項目単位に区分
けしたダンプリスト18を出力するようにダンププログ
ラム16を容易にカスタマイズすることができる。
That is, a copy phrase in the data file is identified according to a data value such as a level number or a copy phrase name, and each record is classified into correct data item units according to a layout corresponding to the identified copy phrase. The dump program 16 can be easily customized to output the dump list 18.

【0074】また、手修正実行部6を用いれば、データ
項目の値に応じて項目の取扱いを異ならせた再定義項目
の出力にも対応することができる。例えば、ダンププロ
グラム生成部5によって生成されたダンププログラム1
6が、ダンプ対象データファイル17をダンプしたとき
に図11のようなダンプリスト18を出力する内容のプ
ログラムであるとする。
Further, the use of the manual correction executing section 6 can cope with the output of the redefined item in which the handling of the item is changed according to the value of the data item. For example, the dump program 1 generated by the dump program generator 5
6 is a program that outputs a dump list 18 as shown in FIG. 11 when the data file 17 to be dumped is dumped.

【0075】このプログラムは、図12(a)に示すよ
うに、ファイルレイアウト定義情報11に記述されてい
る順に従ってデータ項目を順次出力する処理を記述した
ものである。したがって、その1項目の出力文単位で条
件分岐などの制御手続を加えることが容易にできる。例
えば、図12(b)のように、偏差値が60未満のとき
は、5つの口座番号のうち第1の口座番号(001)の
みを出力するように修正することが可能である。このよ
うに修正したダンププログラム16を用いてダンプ対象
データファイル17をダンプすると、ダンプリスト18
は図13のようになる。
This program, as shown in FIG. 12A, describes a process of sequentially outputting data items in the order described in the file layout definition information 11. Therefore, it is easy to add a control procedure such as a conditional branch for each output statement of one item. For example, as shown in FIG. 12B, when the deviation value is less than 60, it is possible to modify so that only the first account number (001) among the five account numbers is output. When the dump target data file 17 is dumped using the dump program 16 modified in this way, the dump list 18
Is as shown in FIG.

【0076】従来のリストDUMPツールでは、データ
ファイルの内容によらず固定のダンププログラムに従っ
てダンプ処理を行うので、あらかじめ決められた方法で
の項目出力しか行うことができず、また、オプションと
して機能を組み込むことも不可能であった。また、ダン
プ対象のデータファイルを入力してダンプリストを出力
する機能を備えるだけなので、ダンプ出力処理が上記固
定のダンププログラムの内部処理によって一気に行わ
れ、ダンププログラムの内容を確認して手修正すること
は全くできなかった。
In the conventional list DUMP tool, dump processing is performed according to a fixed dump program irrespective of the contents of the data file. Therefore, it is only possible to output items in a predetermined method. It was impossible to incorporate them. In addition, since only the function of inputting the data file to be dumped and outputting the dump list is provided, the dump output processing is performed at once by the internal processing of the fixed dump program, and the contents of the dump program are confirmed and manually corrected. I couldn't do anything at all.

【0077】これに対して、本実施形態では、一般的な
プログラミング言語(例えばCOBOL)のスケルトン
ソースをベースとしてダンププログラム16を自動生成
し、これを記憶部4に一旦保存しているので、ダンププ
ログラム16の項目出力処理の内容を確認することがで
きる。しかも、このダンププログラム16は、データ項
目を順に出力する処理を単に1項目ずつの命令として集
約記述したものであるから、多少のプログラミング経験
のある者であれば自由にカスタマイズすることが容易に
できる。
On the other hand, in the present embodiment, the dump program 16 is automatically generated based on a skeleton source of a general programming language (for example, COBOL), and is temporarily stored in the storage unit 4. The contents of the item output process of the program 16 can be confirmed. In addition, the dump program 16 simply describes the process of sequentially outputting data items as an instruction for each item, so that anyone with some programming experience can easily customize the dump program 16 freely. .

【0078】以上詳しく説明したように、第2の実施形
態によれば、種々のデータファイルごとに異なるダンプ
プログラム16をあらかじめ自動生成し、記憶部4に保
存する。そして、この記憶部4に保存されたダンププロ
グラム16を手修正により任意にカスタマイズすること
ができるようにしている。これにより、第1の実施形態
で説明した効果に加えて以下のような効果も得ることが
できる。
As described in detail above, according to the second embodiment, a different dump program 16 is automatically generated for each of various data files in advance and stored in the storage unit 4. The dump program 16 stored in the storage unit 4 can be customized by hand. Thereby, the following effects can be obtained in addition to the effects described in the first embodiment.

【0079】すなわち、ダンププログラム生成部5によ
り生成されたダンププログラム16に対して、手修正に
よって条件分岐の制御処理を適当に追加することによ
り、マルチレイアウトのデータファイルについても、デ
ータ項目単位に正確に編集して見やすいダンプリスト1
8を出力することができる。この場合の手修正は、大元
のダンププログラム生成プログラム15に修正を加える
場合に比べて容易に行うことができるので、プログラム
の検証作業、ひいてはプログラム開発の生産性および品
質を格段に向上させることができる。
That is, by appropriately adding a conditional branching control process to the dump program 16 generated by the dump program generating unit 5 by manual correction, a multi-layout data file can be accurately stored in data item units. Dump list 1 that is easy to edit and view
8 can be output. In this case, the manual correction can be easily performed as compared with the case where the original dump program generation program 15 is corrected, so that the program verification work and, consequently, the productivity and quality of the program development can be significantly improved. Can be.

【0080】上述したように、上記第1および第2の実
施形態によるファイルダンプ出力装置は、コンピュータ
のCPUあるいはMPU、RAM、ROMなどで構成さ
れるものであり、RAMやROMに記憶されたプログラ
ムが動作することによって実現できる。したがって、コ
ンピュータが上記機能を果たすように動作させるプログ
ラムを例えばCD−ROMのような記録媒体に記録し、
コンピュータに読み込ませることによって実現できるも
のである。
As described above, the file dump output device according to the first and second embodiments is constituted by the CPU or MPU of the computer, RAM, ROM, etc., and the program stored in the RAM or ROM is used. Can be realized by operating. Therefore, a program that causes the computer to perform the above functions is recorded on a recording medium such as a CD-ROM,
It can be realized by reading it into a computer.

【0081】また、コンピュータが供給されたプログラ
ムを実行することにより上述の実施形態の機能が実現さ
れるだけでなく、そのプログラムがコンピュータにおい
て稼働しているOS(オペレーティングシステム)ある
いは他のアプリケーションソフト等と共同して上述の実
施形態の機能が実現される場合や、供給されたプログラ
ムの処理の全てあるいは一部がコンピュータの機能拡張
ボードや機能拡張ユニットにより行われて上述の実施形
態の機能が実現される場合も、かかるプログラムは本発
明の実施形態に含まれる。
Further, not only the functions of the above-described embodiments are realized by the computer executing the supplied program, but also the OS (Operating System) or other application software running on the computer. When the functions of the above-described embodiment are realized in cooperation with the computer, or when all or a part of the processing of the supplied program is performed by a function expansion board or a function expansion unit of a computer, the functions of the above-described embodiment are realized. Such a program is also included in the embodiment of the present invention.

【0082】なお、上記第2の実施形態では、自動生成
されたダンププログラム16を手修正することによって
マルチレイアウトのデータファイルにも対応できるよう
にしているが、本発明はこの例に限定されるものではな
い。例えば、所定のレベル番号をコピー句を識別するた
めの情報に割り当てておくことにより、ダンププログラ
ム生成部5がレベル番号に応じてデータファイル中の各
コピー句を識別し、その結果に応じて必要なデータ項目
のみを出力するような条件分岐の制御処理をダンププロ
グラム16中に自動的に組み込むようにすることも可能
である。
In the second embodiment, the dump program 16 automatically generated is adapted to be compatible with a multi-layout data file, but the present invention is limited to this example. Not something. For example, by assigning a predetermined level number to the information for identifying the copy phrase, the dump program generation unit 5 identifies each copy phrase in the data file according to the level number, and determines the necessary according to the result. It is also possible to automatically incorporate in the dump program 16 a control processing of a conditional branch that outputs only a simple data item.

【0083】その他、以上に説明した各実施形態は、何
れも本発明を実施するにあたっての具体化の一例を示し
たものに過ぎず、これらによって本発明の技術的範囲が
限定的に解釈されてはならないものである。すなわち、
本発明はその精神、またはその主要な特徴から逸脱する
ことなく、様々な形で実施することができる。
In addition, each of the embodiments described above is merely an example of a concrete example for carrying out the present invention, and the technical scope of the present invention is interpreted in a limited manner. It must not be. That is,
The present invention may be embodied in various forms without departing from its spirit or its main features.

【0084】[0084]

【発明の効果】本発明は上述したように、データファイ
ルの編成を表したファイル定義情報と、ダンププログラ
ムの基本的な処理を記述した基本プログラムとに基づい
て、ダンプ処理の結果をデータ項目単位に区分けして出
力するためのダンププログラムを生成して記録媒体に保
存し、この記録媒体に保存されたダンププログラムにデ
ータファイルを適用してダンプ処理を実行するようにし
たので、データファイルごとにそのファイル編成に合わ
せたダンププログラムをあらかじめ生成して保存してお
くことができる。したがって、検証者がダンプ処理を行
う際に、ファイル編成の定義情報をその都度入力しなく
ても、ダンプ対象のデータファイルを指定するだけでダ
ンプ処理を実行することが可能となり、プログラムの検
証作業、ひいてはプログラム開発の生産性を向上させる
ことができる。また、ファイル編成等の定義について専
門知識を持たない者でも、それを特に意識することなく
容易にダンプ処理を行うことができる。さらに、出力さ
れるダンプ処理結果は、データ項目ごとに区分けして整
理されているので、一見して見やすいダンプ出力結果を
得ることができる。これにより、検証者によるダンプリ
ストの見間違いが起きにくくなり、正確なプログラム検
証を行うことが可能となる。したがって、プログラムの
検証作業、ひいてはプログラム開発の品質を向上させる
ことができる。
As described above, according to the present invention, the result of dump processing is converted into data item units based on file definition information representing the organization of data files and a basic program describing the basic processing of a dump program. Since a dump program for outputting the data in a divided manner is generated and stored in a recording medium, a data file is applied to the dump program stored in the recording medium to execute the dump processing. A dump program matching the file organization can be generated and stored in advance. Therefore, when the verifier performs the dump process, the dump process can be executed only by specifying the data file to be dumped, without having to input the definition information of the file organization each time. As a result, the productivity of program development can be improved. Further, even a person who does not have the specialized knowledge of the definition of the file organization or the like can easily perform the dump processing without being particularly conscious of the fact. Further, since the output dump processing results are sorted and arranged for each data item, it is possible to obtain a dump output result that is easy to see at a glance. This makes it difficult for the verifier to mistakenly view the dump list, and enables accurate program verification. Therefore, the quality of the program verification work and, consequently, the program development quality can be improved.

【0085】また、本発明の他の特徴によれば、ダンプ
プログラムの生成に用いるファイル定義情報に対応する
データファイルの識別情報をパラメータとして設定する
ようにしたので、記録媒体に複数のダンププログラムが
保存されている場合に、ダンプ対象のデータファイルに
対応するダンププログラムを識別情報をもとに容易に判
断することができる。したがって、検証者はダンプ対象
とするデータファイルの編成について全く知らなくて
も、適切なダンププログラムを選択してダンプ処理を行
うことができる。
According to another feature of the present invention, the identification information of the data file corresponding to the file definition information used for generating the dump program is set as a parameter. When stored, the dump program corresponding to the data file to be dumped can be easily determined based on the identification information. Therefore, the verifier can perform a dump process by selecting an appropriate dump program without knowing the organization of the data file to be dumped at all.

【0086】また、本発明のその他の特徴によれば、デ
ータファイルのタイプをパラメータとして設定し、設定
されたタイプに対応する基本プログラムを用いてダンプ
プログラムを生成するようにしたので、データファイル
のタイプごとにそのファイル編成に合わせたダンププロ
グラムをあらかじめ生成して保存しておくことができ
る。したがって、検証者がダンプ処理を行う際に、ファ
イルタイプのパラメータをその都度設定しなくても、ダ
ンプ対象のデータファイルを指定するだけでダンプ処理
を実行することが可能となり、プログラムの検証作業、
ひいてはプログラム開発の生産性を向上させることがで
きる。
According to another feature of the present invention, the data file type is set as a parameter, and the dump program is generated using the basic program corresponding to the set type. A dump program can be generated and stored in advance according to the file organization for each type. Therefore, when a verifier performs a dump process, the dump process can be executed only by specifying a data file to be dumped, without setting a file type parameter each time.
As a result, the productivity of program development can be improved.

【0087】また、本発明のその他の特徴によれば、デ
ータファイル中のデータ項目およびその桁数をパラメー
タとして設定し、設定されたデータ項目をその桁数で一
項目にまとめて出力するためのダンププログラムを生成
するようにしたので、複数のデータ項目を1つの集団項
目としてまとめて出力するようなダンプ処理をパラメー
タの設定によって簡単に実現することができる。
According to another feature of the present invention, a data item in a data file and the number of digits thereof are set as parameters, and the set data items are collectively output by the number of digits into one item. Since the dump program is generated, a dump process in which a plurality of data items are collectively output as one group item can be easily realized by setting parameters.

【0088】また、本発明のその他の特徴によれば、デ
ータファイルが複数件のデータを有する場合に、全ての
データ項目を抽出し、抽出した全てのデータ項目単位に
区分けしてデータファイルのダンプ処理結果を出力する
ためのダンププログラムを生成するようにしたので、条
件分岐などの制御を追加することによって、各件ごとに
適切なデータ項目を利用してダンプ出力するようにダン
ププログラムを修正することができる。したがって、い
わゆるマルチレイアウトのデータファイルにおいても、
全てのレイアウトについてデータ項目単位に正確に編集
して見やすいダンプリストを出力することができる。こ
の場合の修正は比較的容易に行うことができるので、プ
ログラムの検証作業、ひいてはプログラム開発の生産性
および品質を向上させることができる。
According to another feature of the present invention, when a data file has a plurality of data items, all data items are extracted, and the data file is dumped by dividing the extracted data item units. A dump program to output the processing result is generated. By adding controls such as conditional branching, the dump program is modified to output a dump using appropriate data items for each case. be able to. Therefore, even in a so-called multi-layout data file,
It is possible to output a dump list that is easy to read by accurately editing all layouts in data item units. Since the correction in this case can be made relatively easily, it is possible to improve the program verification work and, consequently, the productivity and quality of program development.

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

【図1】第1の実施形態によるファイルダンプ出力装置
の機能構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a functional configuration of a file dump output device according to a first embodiment.

【図2】ファイルレイアウト定義情報のフォーマット例
を示す図である。
FIG. 2 is a diagram showing a format example of file layout definition information.

【図3】図2のようなフォーマットを用いたファイルレ
イアウト定義情報の具体例を示す図である。
FIG. 3 is a diagram showing a specific example of file layout definition information using a format as shown in FIG. 2;

【図4】コピー句の一例を示す図である。FIG. 4 is a diagram showing an example of a copy phrase.

【図5】本実施形態で用いる制御用パラメータの一例を
示す図である。
FIG. 5 is a diagram illustrating an example of control parameters used in the present embodiment.

【図6】ダンププログラム生成部の動作を示すフローチ
ャートである。
FIG. 6 is a flowchart illustrating an operation of a dump program generation unit.

【図7】ファイルダンプ処理の一例を示す図である。FIG. 7 illustrates an example of a file dump process.

【図8】プログラム実行部の動作を示すフローチャート
である。
FIG. 8 is a flowchart illustrating an operation of a program execution unit.

【図9】ダンプリストの出力イメージを示す図である。FIG. 9 is a diagram showing an output image of a dump list.

【図10】第2の実施形態によるファイルダンプ出力装
置の機能構成を示すブロック図である。
FIG. 10 is a block diagram illustrating a functional configuration of a file dump output device according to a second embodiment.

【図11】ダンプリストの出力イメージを示す図であ
る。
FIG. 11 is a diagram illustrating an output image of a dump list.

【図12】自動生成されたダンププログラムの修正例を
示す図である。
FIG. 12 is a diagram illustrating a modification example of an automatically generated dump program.

【図13】修正されたダンププログラムに基づくダンプ
リストの出力イメージを示す図である。
FIG. 13 is a diagram showing an output image of a dump list based on a corrected dump program.

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

1 ファイルダンプ出力装置 2 ダンププログラム生成部 3 プログラム実行部 4 記憶部 5 ダンププログラム生成部 6 手修正実行部 10 ファイルダンプ出力装置 11 ファイルレイアウト定義情報 12 コピー句 13 ダンププログラムスケルトンソース 14 制御用パラメータ 15 ダンププログラム生成プログラム 16 ダンププログラム 17 ダンプ対象データファイル 18 ダンプリスト 21 ダンププログラム生成プログラム REFERENCE SIGNS LIST 1 file dump output device 2 dump program generation unit 3 program execution unit 4 storage unit 5 dump program generation unit 6 manual correction execution unit 10 file dump output device 11 file layout definition information 12 copy phrase 13 dump program skeleton source 14 control parameters 15 Dump program generation program 16 Dump program 17 Dump target data file 18 Dump list 21 Dump program generation program

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 データファイルの編成を表したファイル
定義情報を解析し、上記データファイルのダンプ処理結
果をデータ項目単位に区分けして出力するファイルダン
プ出力方法であって、 ダンププログラム生成手段が、上記ファイル定義情報
と、上記データファイルをダンプしてその結果を出力す
るための基本的な処理を記述した基本プログラムとに基
づいて、ダンプ処理の結果をデータ項目単位に区分けし
て出力するためのダンププログラムを生成して記録媒体
に保存する第1のステップと、 プログラム実行手段が、上記記録媒体に保存されたダン
ププログラムに上記データファイルを適用してダンプ処
理を実行し、その結果を出力する第2のステップとを有
することを特徴とするファイルダンプ出力方法。
1. A file dump output method for analyzing file definition information indicating the organization of a data file and outputting the data file dump processing results in units of data items, wherein the dump program generating means comprises: Based on the file definition information and a basic program describing a basic process for dumping the data file and outputting the result, the dump process result is divided into data item units and output. A first step of generating a dump program and storing it on a recording medium; and a program executing means for executing the dump processing by applying the data file to the dump program stored on the recording medium and outputting the result. A file dump output method, comprising:
【請求項2】 上記第1のステップでは、複数のデータ
ファイルに対応した複数のファイル定義情報を用いて、
複数のダンププログラムを生成して上記記録媒体に保存
し、 上記第2のステップでは、上記記録媒体に保存されてい
る複数のダンププログラムの中から、ダンプ処理の対象
とするデータファイルに対応したダンププログラムを選
択的に用いて上記ダンプ処理を実行することを特徴とす
る請求項1に記載のファイルダンプ出力方法。
2. In the first step, using a plurality of file definition information corresponding to a plurality of data files,
A plurality of dump programs are generated and stored in the recording medium. In the second step, a dump corresponding to a data file to be dumped is selected from the plurality of dump programs stored in the recording medium. 2. The file dump output method according to claim 1, wherein the dump processing is executed by selectively using a program.
【請求項3】 上記ダンププログラム生成手段が、上記
第1のステップで生成されるダンププログラムに対し、
その生成に用いる上記ファイル定義情報に対応するデー
タファイルを識別するための情報を付加するようにした
ことを特徴とする請求項2に記載のファイルダンプ出力
方法。
3. The dump program generating means according to claim 1, further comprising:
3. The file dump output method according to claim 2, wherein information for identifying a data file corresponding to the file definition information used for the generation is added.
【請求項4】 データファイルの編成を表したファイル
定義情報を解析し、上記データファイルのダンプ処理結
果をデータ項目単位に区分けして出力するファイルダン
プ出力方法であって、 ダンププログラム生成手段が、上記ファイル定義情報
と、上記データファイルをダンプしてその結果を出力す
るための基本的な処理を記述した基本プログラムとに基
づいて、ダンプ処理の結果をデータ項目単位に区分けし
て出力するためのダンププログラムを生成して記録媒体
に保存する第1のステップと、 プログラム変更手段がユーザからの指示に応じて、上記
記録媒体に保存されたダンププログラムの内容を変更す
る第2のステップと、 プログラム実行手段が、上記記録媒体に保存されたダン
ププログラムに上記データファイルを適用してダンプ処
理を実行し、その結果を出力する第3のステップとを有
することを特徴とするファイルダンプ出力方法。
4. A file dump output method for analyzing file definition information representing the organization of a data file and outputting the data file dump processing results in units of data items, wherein the dump program generating means comprises: Based on the file definition information and a basic program describing a basic process for dumping the data file and outputting the result, the dump process result is divided into data item units and output. A first step of generating a dump program and storing it in a recording medium, a second step in which a program changing unit changes the contents of the dump program stored in the recording medium in response to an instruction from a user, Executing means for applying the data file to the dump program stored in the recording medium to perform a dump process; And a third step of executing the process and outputting the result.
【請求項5】 データファイルの編成を表したファイル
定義情報を解析し、上記データファイルのダンプ処理結
果をデータ項目単位に区分けして出力するファイルダン
プ出力装置であって、 上記ファイル定義情報と、上記データファイルをダンプ
してその結果を出力するための基本的な処理を記述した
基本プログラムとに基づいて、ダンプ処理の結果をデー
タ項目単位に区分けして出力するためのダンププログラ
ムを生成するダンププログラム生成手段と、 上記ダンププログラム生成手段により生成されたダンプ
プログラムを記憶して保存する記憶手段と、 上記記憶手段に保存されたダンププログラムに上記デー
タファイルを適用してダンプ処理を実行し、その結果を
出力するプログラム実行手段とを備えたことを特徴とす
るファイルダンプ出力装置。
5. A file dump output device that analyzes file definition information representing the organization of a data file, and outputs the data file dump processing results in units of data items, wherein the file definition information includes: A dump program for generating a dump program for outputting the results of the dump processing in units of data items based on a basic program describing the basic processing for dumping the data file and outputting the results A program generation unit, a storage unit for storing and storing the dump program generated by the dump program generation unit, and executing a dump process by applying the data file to the dump program stored in the storage unit. File dump characterized by comprising a program execution means for outputting a result Output device.
【請求項6】 上記記憶手段は、上記ダンププログラム
生成手段により複数のファイル定義情報を用いて生成さ
れた複数のダンププログラムを記憶して保存し、 上記プログラム実行手段は、上記記憶手段に保存されて
いる複数のダンププログラムのうち、ユーザの選択に係
るダンププログラムを用いて、上記データファイルを適
用してダンプ処理を実行することを特徴とする請求項5
に記載のファイルダンプ出力装置。
6. The storage means stores and stores a plurality of dump programs generated by the dump program generation means using a plurality of file definition information, and the program execution means is stored in the storage means. The dump processing is executed by applying the data file by using a dump program selected by a user from among the plurality of dump programs.
File dump output device according to.
【請求項7】 上記ダンププログラム生成手段によって
生成されるダンププログラムに対し、その生成に用いる
上記ファイル定義情報に対応するデータファイルを識別
するための情報をパラメータとして設定する第1のパラ
メータ設定手段を備えたことを特徴とする請求項6に記
載のファイルダンプ出力装置。
7. A first parameter setting means for setting, as a parameter, information for identifying a data file corresponding to the file definition information used for generating the dump program generated by the dump program generating means. The file dump output device according to claim 6, further comprising:
【請求項8】 上記基本プログラムを上記データファイ
ルのタイプ毎に用意し、上記データファイルのタイプを
パラメータとして設定する第2のパラメータ設定手段を
備え、 上記ダンププログラム生成手段は、上記第2のパラメー
タ設定手段により設定されたタイプに対応する基本プロ
グラムを用いて上記ダンププログラムを生成することを
特徴とする請求項5〜7の何れか1項に記載のファイル
ダンプ出力装置。
8. The system according to claim 1, further comprising: a second parameter setting unit that prepares the basic program for each type of the data file and sets the type of the data file as a parameter. The file dump output device according to any one of claims 5 to 7, wherein the dump program is generated using a basic program corresponding to the type set by the setting unit.
【請求項9】 上記データファイル中のデータ項目およ
びその桁数をパラメータとして設定する第3のパラメー
タ設定手段を備え、 上記ダンププログラム生成手段は、上記第3のパラメー
タ設定手段により設定されたデータ項目をその桁数で一
項目にまとめて出力するためのダンププログラムを生成
することを特徴とする請求項5〜8の何れか1項に記載
のファイルダンプ出力装置。
9. A method according to claim 8, further comprising: third parameter setting means for setting a data item in the data file and the number of digits thereof as parameters, wherein the dump program generating means includes a data item set by the third parameter setting means. The file dump output device according to any one of claims 5 to 8, wherein the dump program generates a dump program for collectively outputting a single item with the number of digits.
【請求項10】 上記ダンププログラム生成手段は、複
数件のデータを有するデータファイル中のデータ項目を
全て抽出し、抽出した全てのデータ項目単位に区分けし
て上記データファイルのダンプ処理結果を出力するため
のダンププログラムを生成することを特徴とする請求項
5〜9の何れか1項に記載のファイルダンプ出力装置。
10. The dump program generating means extracts all data items in a data file having a plurality of data, outputs the data file in units of all the extracted data items, and outputs a dump processing result of the data file. 10. The file dump output device according to claim 5, wherein a dump program for generating the file is generated.
【請求項11】 上記記憶手段に保存されたダンププロ
グラムの内容をユーザからの指示に応じて変更するプロ
グラム変更手段を備えたことを特徴とする請求項10に
記載のファイルダンプ出力装置。
11. The file dump output device according to claim 10, further comprising program changing means for changing contents of the dump program stored in said storage means in accordance with an instruction from a user.
【請求項12】 データファイルの編成を表したファイ
ル定義情報と、上記データファイルをダンプしてその結
果を出力するための基本的な処理を記述した基本プログ
ラムとに基づいて、ダンプ処理の結果をデータ項目単位
に区分けして出力するためのダンププログラムを生成す
るダンププログラム生成手段、および上記ダンププログ
ラム生成手段により生成されたダンププログラムを記録
媒体に記録して保存する記録手段、としてコンピュータ
を機能させるためのダンププログラム生成プログラム。
12. Based on file definition information indicating the organization of a data file and a basic program describing a basic process for dumping the data file and outputting the result, a dump processing result is obtained. A computer functions as a dump program generating means for generating a dump program for outputting data in units of data items, and a recording means for recording and storing the dump program generated by the dump program generating means on a recording medium. Dump program generation program for.
【請求項13】 上記ダンププログラム生成手段によっ
て生成されるダンププログラムに対し、その生成に用い
る上記ファイル定義情報に対応するデータファイルを識
別するための情報をパラメータとして設定する第1のパ
ラメータ設定手段としてコンピュータを機能させるため
の請求項12に記載のダンププログラム生成プログラ
ム。
13. A first parameter setting means for setting, as a parameter, information for identifying a data file corresponding to the file definition information used for generating the dump program generated by the dump program generating means. The dump program generation program according to claim 12 for causing a computer to function.
【請求項14】 上記データファイルのタイプをパラメ
ータとして設定する第2のパラメータ設定手段、および
上記データファイルのタイプ毎に用意された上記基本プ
ログラムのうち、上記第2のパラメータ設定手段により
設定されたタイプに対応する基本プログラムを用いて上
記ダンププログラムを生成する上記ダンププログラム生
成手段、としてコンピュータを機能させるための請求項
12または13に記載のダンププログラム生成プログラ
ム。
14. The second parameter setting means for setting the type of the data file as a parameter, and the second parameter setting means among the basic programs prepared for each type of the data file. 14. The dump program generation program according to claim 12, which causes a computer to function as the dump program generation unit that generates the dump program using a basic program corresponding to a type.
【請求項15】 上記データファイル中のデータ項目お
よびその桁数をパラメータとして設定する第3のパラメ
ータ設定手段、および上記第3のパラメータ設定手段に
より設定されたデータ項目をその桁数で一項目にまとめ
て出力するためのダンププログラムを生成する上記ダン
ププログラム生成手段、としてコンピュータを機能させ
るための請求項12〜14の何れか1項に記載のダンプ
プログラム生成プログラム。
15. A third parameter setting means for setting the data item and the number of digits in the data file as parameters, and the data item set by the third parameter setting means is converted into one item by the number of digits. The dump program generation program according to any one of claims 12 to 14, which causes a computer to function as the dump program generation means for generating a dump program for collective output.
【請求項16】 複数件のデータを有するデータファイ
ル中のデータ項目を全て抽出し、抽出した全てのデータ
項目単位に区分けして上記データファイルのダンプ処理
結果を出力するためのダンププログラムを生成する上記
ダンププログラム生成手段としてコンピュータを機能さ
せるための請求項12〜15の何れか1項に記載のダン
ププログラム生成プログラム。
16. A dump program for extracting all data items in a data file having a plurality of data, dividing the data items into units of all the extracted data items, and outputting a dump processing result of the data file. The dump program generation program according to any one of claims 12 to 15, which causes a computer to function as the dump program generation means.
【請求項17】 上記記録媒体に保存されたダンププロ
グラムの内容をユーザからの指示に応じて変更するプロ
グラム変更手段としてコンピュータを機能させるための
請求項16に記載のダンププログラム生成プログラム。
17. The program according to claim 16, wherein the program functions as a program changing means for changing the contents of the dump program stored in the recording medium in accordance with an instruction from a user.
【請求項18】 データファイルの編成を表したファイ
ル定義情報と、上記データファイルをダンプしてその結
果を出力するための基本的な処理を記述した基本プログ
ラムとに基づいて、ダンプ処理の結果をデータ項目単位
に区分けして出力するためのダンププログラムを生成す
るダンププログラム生成手段、および上記ダンププログ
ラム生成手段により生成されたダンププログラムを記録
媒体に記録して保存する記録手段、としてコンピュータ
を機能させるためのプログラムを記録したことを特徴と
するコンピュータ読み取り可能な記録媒体。
18. A dump processing result based on file definition information representing the organization of a data file and a basic program describing basic processing for dumping the data file and outputting the result. A computer functions as a dump program generating means for generating a dump program for outputting data in units of data items, and a recording means for recording and storing the dump program generated by the dump program generating means on a recording medium. A computer-readable recording medium on which a program for recording is recorded.
【請求項19】 複数件のデータを有するデータファイ
ル中のデータ項目を全て抽出し、抽出した全てのデータ
項目単位に区分けして上記データファイルのダンプ処理
結果を出力するためのダンププログラムを生成する上記
ダンププログラム生成手段、および上記記録媒体に保存
されたダンププログラムの内容をユーザからの指示に応
じて変更するプログラム変更手段としてコンピュータを
機能させるためのプログラムを記録したことを特徴とす
る請求項18に記載のコンピュータ読み取り可能な記録
媒体。
19. A dump program for extracting all data items in a data file having a plurality of data, dividing the data items into units of all the extracted data items, and outputting a dump processing result of the data file. 19. A program for causing a computer to function as the dump program generating means and a program changing means for changing the contents of the dump program stored in the recording medium in accordance with an instruction from a user. A computer-readable recording medium according to claim 1.
JP2001036240A 2001-02-14 2001-02-14 File dump output method and device, dump program generating program, and recording medium Pending JP2002244889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001036240A JP2002244889A (en) 2001-02-14 2001-02-14 File dump output method and device, dump program generating program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001036240A JP2002244889A (en) 2001-02-14 2001-02-14 File dump output method and device, dump program generating program, and recording medium

Publications (1)

Publication Number Publication Date
JP2002244889A true JP2002244889A (en) 2002-08-30

Family

ID=18899538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001036240A Pending JP2002244889A (en) 2001-02-14 2001-02-14 File dump output method and device, dump program generating program, and recording medium

Country Status (1)

Country Link
JP (1) JP2002244889A (en)

Similar Documents

Publication Publication Date Title
US7721253B2 (en) Software development support system
US20050005239A1 (en) System and method for automatic insertion of cross references in a document
JP3521147B2 (en) User interface customizing method and apparatus
JPH0683598A (en) Job flow specification automatic generating method
JP7055064B2 (en) Database migration support system and program
US7739593B2 (en) Information processing apparatus and method for handling forms
JPH08212106A (en) Device and method for supporting system test
JP2002244889A (en) File dump output method and device, dump program generating program, and recording medium
JP5504212B2 (en) Test case automatic generation system, test case automatic generation method, and test case automatic generation program
JPH06110733A (en) Test case generating device of program
JP3464159B2 (en) Test specification creation device and storage medium storing the program
JPH04290126A (en) Input/output format customizing method
JP2720768B2 (en) Program customization equipment
JPH1153391A (en) Database access method
JPH0588863A (en) Program development supporting system
JP3540241B2 (en) Application startup menu definition file generation device and application startup menu generation device
JP2007094453A (en) Program development support system, program development support method and program
JPS60200346A (en) Production of program test data
JPH0721066A (en) Data classification display device
JP4576872B2 (en) Information processing apparatus and program
JP3237709B2 (en) Document processing apparatus and document processing method
JP2020161102A (en) Drawing creation support device, drawing creation support program and drawing creation support method
JPH09212354A (en) Visual programming system
JPH0793144A (en) Program analyzer
JP2000112747A (en) Device for verifying equivalence of non-executable statement in program resource

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050208

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050614