JPH03282636A - Data storing method for execution of test package - Google Patents

Data storing method for execution of test package

Info

Publication number
JPH03282636A
JPH03282636A JP2082794A JP8279490A JPH03282636A JP H03282636 A JPH03282636 A JP H03282636A JP 2082794 A JP2082794 A JP 2082794A JP 8279490 A JP8279490 A JP 8279490A JP H03282636 A JPH03282636 A JP H03282636A
Authority
JP
Japan
Prior art keywords
source
catalog
file
command
reading
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
JP2082794A
Other languages
Japanese (ja)
Inventor
Yuichi Iguchi
井口 祐一
Tomio Tsuchiya
土屋 富美夫
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.)
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP2082794A priority Critical patent/JPH03282636A/en
Publication of JPH03282636A publication Critical patent/JPH03282636A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To store many test packages with the small file capacity by cataloging a correction operating procedure set by a command given to a source for storing this procedure in a catalog file and then taking out the catalog information on the designated source as necessary for correction of the command. CONSTITUTION:The source information on the member name, the device class, the medium name, etc., and the command correction history are previously turned into the catalogs and registered in a catalog file 2 for the subject one of those sources filed in a source file 1. Then the catalog information is read out for the source as necessary and this relevant source is read out of the file 1 for execution of the command correction. Then the corrected source is obtained. Thus it is possible to deal with the storage of a large number of test packages with the small file capacity.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はテストパッケージ実行のためのデータ保存方法
に関し、特にテストパッケージ等の多数の類似ブロクラ
ムの縮小保存のための方法に関′1−る。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a data storage method for executing a test package, and particularly relates to a method for reducing and storing a large number of similar blocks such as a test package. .

[従来の技術] 従来、この種のデータ保存方法は、例えは数百本のテス
トパッケージの場合、十数本の基本JCLスケルトンに
修正コマンドを実行させて、その結果をライブラリに保
存しておき、保存されたパッケージから必要なものを取
り出して実行していた。
[Prior art] Conventionally, this type of data storage method, for example, in the case of several hundred test packages, involves executing modification commands on more than a dozen basic JCL skeletons and saving the results in a library. , I was extracting what I needed from the saved package and running it.

[発明か解決しようとする課題] 上述した従来のテストパッケージ実行のためのデータ保
存方法は、基本JCLスケルトンに修正コマンドを実行
させた後の結果をライブラリに保存していたために、大
きいJCLスケルトンかありそのパッケージ数か数百本
を超えると非常に大きな保存領域を必要とし、また、フ
ァイルがオーバーフローすることかしばしばあり、その
たびに保存ファイルを作り直さなければならないという
欠点かある。
[Problem to be solved by the invention] The conventional data storage method for executing a test package described above saves the results after the basic JCL skeleton executes the correction commands in a library, which makes it difficult to use large JCL skeletons. If the number of packages exceeds several hundred, it requires a very large storage area, and the disadvantage is that the files often overflow, and the storage file must be recreated each time.

本発明の目的は、ソースに対してコマンド修1丁−を施
した多数のテストパッケージを保存する場合よりも少な
いファイル容量ですむテストパッケージ実行のためのデ
ータ保存方法を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data storage method for executing a test package that requires less file capacity than when storing a large number of test packages in which a single command modification is applied to the source.

[課題を解決するだめの手段] 本発明のテストパッケージ実行のためのデータ保存方法
は、 ソースファイルからその内容の読み込みを行う読み込み
手段と、 読み込み手段により読み込まれたソース情報とコマンド
修正の履歴とをカタログするソース修正カタログ手段と
、 ソース修正カタログ手段の作成したカタログ情報をカタ
ログファイルに書き込むカタログファイル書き込み手段
と、 指定されたカタログ情報をカタログファイルから読み込
み、当該メンバを再びソースファイルから読み込むとと
もに、登録されているコマンド修正の履歴を実行するカ
タログファイル読み込み実行手段とを有している。
[Means for solving the problem] The data storage method for executing a test package of the present invention includes a reading means for reading the contents from a source file, and a history of source information and command modification read by the reading means. a source modification catalog means for cataloging the source modification catalog means; a catalog file writing means for writing catalog information created by the source modification catalog means into a catalog file; reading specified catalog information from the catalog file, reading the member again from the source file; A catalog file reading/executing means for executing a registered history of command corrections is provided.

[作  用] ソースファイルにファイルされているソースのうち、対
象とされるソースについて、予め、そのメンバ名や装置
クラス、媒体名などのソース情報と、そのソースのコマ
ンド修正の履歴とをカタログ化して、カタログファイル
に登録しておく。次に、必要に応じて目的とするソース
についてこのカタログ情報を読み出し、そのソースをソ
ースファイルから読み出してコマンド修正を実行するこ
とにより、修正後のソースを作成する。このようにして
、従来の方法に比べて、少ないファイル容量で大量のテ
ストパッケージの保存に対処することかできる。
[Operation] For the target source among the sources stored in the source file, source information such as its member name, device class, and media name, as well as the command modification history of the source, are cataloged in advance. and register it in the catalog file. Next, if necessary, this catalog information is read for the target source, the source is read from the source file, and command correction is executed to create a corrected source. In this way, it is possible to store a large number of test packages with a smaller file size than with conventional methods.

[実施例] 次に、本発明の実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明のテストパッケージ実行のためのデータ
保存方法の一実施例の構成を示ずブロック図、第2図は
本実施例のカタログファイル書き込み手段5の有するソ
ース情報格納テーブルのフオームを示す図、第3図は本
実施例のソース修正カタログ手段6の有する修正コマン
ド履歴格納テーブルのフオームを示す図、第4図は本実
施例によるソースの読み込みからカタログファイル2へ
のカタログ書き込み処理を示すフローチャート、第5図
は本実施例のカタログファイル読み込み実行手段4の処
理を示すフローチャートである。
FIG. 1 is a block diagram showing the configuration of an embodiment of a data storage method for executing a test package of the present invention, and FIG. 2 shows the form of a source information storage table possessed by the catalog file writing means 5 of this embodiment. FIG. 3 is a diagram showing the form of a modification command history storage table possessed by the source modification catalog means 6 of this embodiment, and FIG. FIG. 5 is a flowchart showing the processing of the catalog file reading execution means 4 of this embodiment.

ディスク装置7は、本実施例に用いられる基となるソー
スをファイルするソースファイル1と、中央処理装置8
に読み込まれたソース情報とそのコマンド修正の履歴と
かカタログされるカタログファイル2とよりなる。中央
制御装置8は、ソースファイル1から処理対象であるソ
ースを読み込む読み込み手段3と、読み込んだソースに
ついてのコマンド修正の履歴を修正コマンド履歴格納テ
ーブル(第3図)に登録するソース修正カタログ手段6
と、読み込み手段3により読み込まれたソース情報をソ
ース情報格納テーブル(第2図)に登録し、そのソース
情報とソース修正カタログ手段6に登録されたコマンド
修正履歴とをカタログファイル2に書き込むカタログフ
ァイル書き込み手段5と、ソースファイル1から当該ソ
ースを再び読み込み、カタログファイル2からそのコマ
ンド修正履歴を読み込んでコマンドを実行するカタログ
ファイル読み込み実行手段4とを有している。入力装置
9はオペレータによる操作のための装置で、読み込み手
段3か読み出したソースのコマントイ1r正を行うエデ
ィタ機能とカタログファイル読み込み実行手段4か実行
したコマンド修正後のソースを表示する機能を有してい
る。なお、第2区に示すカタログファイル書き込み手段
5の有するソース情報格納テーブルは、読み込み手段3
で読み込まれたソースのメンバ名をテーブル中のメンへ
属欄201に、装置クラスをチーフル中の装置クラス欄
202に、媒体名をテーブル中の媒体名欄203に、そ
れぞれ格納する。また、第3図に示す修正コマンド履歴
格納チーフルは読み込み手段3て読み込んたソースを修
正するコマンドをテフル中のコマンド欄301に、その
コマンドのパラメータをチーフル中のパラメータ欄30
2に格納し、コマンド修正の履歴に対応して内容か追加
される。
The disk device 7 stores a source file 1 for storing the source source used in this embodiment, and a central processing unit 8.
It consists of a catalog file 2 that catalogs the source information read into the system and the history of its command modifications. The central control unit 8 includes a reading unit 3 that reads the source to be processed from the source file 1, and a source correction catalog unit 6 that registers the history of command corrections for the read source in a correction command history storage table (FIG. 3).
and a catalog file in which the source information read by the reading means 3 is registered in the source information storage table (FIG. 2), and the source information and the command modification history registered in the source modification catalog means 6 are written in the catalog file 2. It has a writing means 5 and a catalog file reading/executing means 4 which reads the source again from the source file 1, reads its command modification history from the catalog file 2, and executes the command. The input device 9 is a device for operation by an operator, and has an editor function for correcting the source command read by the reading means 3 and a function for displaying the corrected source by the command executed by the catalog file reading execution means 4. ing. Note that the source information storage table possessed by the catalog file writing means 5 shown in the second section is the same as that of the reading means 3.
The member name of the source read in is stored in the member column 201 of the table, the device class is stored in the device class column 202 of the source, and the medium name is stored in the medium name column 203 of the table. In addition, in the modification command history storage chifur shown in FIG. 3, the command for modifying the source read by the reading means 3 is stored in the command column 301 of the chifur, and the parameters of that command are stored in the parameter column 30 of the chifur.
2, and contents are added according to the command modification history.

次に、第4図を参照して読み込み手段3とソース修正カ
タログ手段6とカタログファイル書き込み手段5との処
理手順を説明する。
Next, the processing procedure of the reading means 3, source modification catalog means 6, and catalog file writing means 5 will be explained with reference to FIG.

処理の開始により、まず、読み込み手段3はソースファ
イルlから修正を行うソースを読み込み(ステップ40
1 ) 、ソース修正カタログ手段6は読み込まれたソ
ースに対してのコマンド修正カタログ機能を開始して(
ステップ402 ) 、ソース修正カタログを行うか行
わないかを判断しくステップ403 ) 、行わないと
きは通常の画面操作に移り(ステップ408 ) 、行
うときはコマンドによるソース修正の履歴採取を行い(
このとき、コマンド行以外のカーソル移動は不可として
おく)、ここで行った結果を修正コマンド履歴格納テー
ブルに格納する(ステップ404)。ソース修正のカタ
ログを行っている途中で処理を中断する場合でステップ
405)、中断指定を行い通常の画面操作を行う(ステ
ップ408)。中断しない場合はでステップ405)、
コマンド修正か終了か否か判断しくステップ406 )
 、終了でなければステップ404へ戻って同じ動作を
繰り返す。コマンド修正を終了するときはカタログの書
き込み指定を行い、カタログファイル書き込み手段5は
ソース情報格納テーブルに当該ソースの情報を格納し、
このテーブルと修正コマンド履歴格納テーブルとの内容
をカタログファイル2に書き込んで処理を終了する。
Upon starting the process, the reading means 3 first reads the source to be modified from the source file l (step 40).
1), the source modification catalog means 6 starts the command modification catalog function for the loaded source (
In step 402), it is determined whether or not to perform the source modification catalog (step 403). If not, the process proceeds to normal screen operations (step 408), and if it is to be performed, the source modification history is collected using commands (step 403).
At this time, cursor movement other than the command line is disabled), and the results here are stored in the modified command history storage table (step 404). If the process is to be interrupted during cataloging of source corrections (step 405), the interruption is designated and normal screen operations are performed (step 408). If not interrupted, step 405),
Step 406) to determine whether to modify the command or terminate the command.
, if not completed, the process returns to step 404 and repeats the same operation. When finishing the command modification, a catalog write specification is performed, and the catalog file writing means 5 stores the information of the source in the source information storage table,
The contents of this table and the modified command history storage table are written to the catalog file 2, and the process ends.

次に、第5図を参照してカタログファイル読み込み実行
手段4の処理手順を説明する。
Next, the processing procedure of the catalog file reading execution means 4 will be explained with reference to FIG.

カタログファイル読み込み実行手段4は、入力装置9を
介する指示によりカタログファイル2からカタログファ
イル書き込み手段5て書き込まれたソース情報のメンバ
を読み込み(ステップ501)、ソース情報格納テーブ
ルに格納されているその他の情報から当該ソースを再び
読み込んて(ステップ502) 、そのソースに対して
修正コマンド履歴格納テーブルに格納されているコマン
ドの履歴を自動的に実行して(ステップ503)、修正
後のソースへと展開しくステップ504)、処理を終了
する。
The catalog file reading execution means 4 reads the members of the source information written by the catalog file writing means 5 from the catalog file 2 in response to an instruction via the input device 9 (step 501), and reads other members of the source information stored in the source information storage table. The source is read again from the information (step 502), and the command history stored in the modified command history storage table is automatically executed for the source (step 503), and expanded to the modified source. At step 504), the process ends.

[発明の効果] 以上説明したように本発明は、ソースに対するコマンド
による修止の操作手順をカタログし、カタログファイル
に保存して置いて、必要なとき、指定されたソースのカ
タログ情報を取り出してコマンド修正を行うことにより
、多数のソースに対して修正を行った結果そのものを保
存する場合に必要とするファイル容量よりも、少ないフ
ァイル容量で保存できる効果かある。
[Effects of the Invention] As explained above, the present invention catalogs the operation procedure for modifying a source using commands, stores it in a catalog file, and retrieves the catalog information of a specified source when necessary. By modifying commands, it is possible to save the file in a smaller file size than that required when saving the results of modifying a large number of sources.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明のテストパッケージ実行のためのデータ
保存方法の一実施例の構成を示すブロック図、第2図は
本実施例のカタログファイル書き込み手段5の有するソ
ース情報格納テーブルのフオームを示す図、第3図は本
実施例のソース修正カタログ手段6の有する修正コマン
ド履歴格納テーブルのフオームを示す図、第4図は本実
施例によるソースの読み込みからカタログファイル2へ
のカタログ書き込み処理を示すフローチャート、第5図
は本実施例のカタログファイル読み込み実行手段4の処
理を示すフローチャートである。 l・・・ソースファイル、 2・・・カタログファイル、 3・・・読み込み手段、 4・・・カタログファイル読み込み実行手段、5・・・
カタログファイル書き込み手段、6・・・ソース修正カ
タログ手段、 7・・・ディスク装置、  8・・・中央処理装置、9
・・・入力装置、   201・・・メン八属、202
・・・装置クラス、 203・・・媒体名、 0 30】 ・・・コマンド、302・・・パラメータ、4
01〜408 、501〜504・・・ステップ。
FIG. 1 is a block diagram showing the configuration of an embodiment of a data storage method for executing a test package according to the present invention, and FIG. 2 shows the form of a source information storage table possessed by the catalog file writing means 5 of this embodiment. 3 is a diagram showing the form of a modification command history storage table possessed by the source modification catalog means 6 of this embodiment, and FIG. 4 is a diagram showing the process of reading a source and writing a catalog to the catalog file 2 according to this embodiment. Flowchart FIG. 5 is a flowchart showing the processing of the catalog file reading execution means 4 of this embodiment. l... Source file, 2... Catalog file, 3... Reading means, 4... Catalog file reading execution means, 5...
Catalog file writing means, 6... Source modification catalog means, 7... Disk device, 8... Central processing unit, 9
...input device, 201...men eight genera, 202
... Device class, 203 ... Media name, 0 30] ... Command, 302 ... Parameter, 4
01-408, 501-504...step.

Claims (1)

【特許請求の範囲】 JCLジョブ起動機能とカタログプロシージャ機能とを
備えたオペレーティングシステムにおいて、 ソースファイルからその内容の読み込みを行う読み込み
手段と、 読み込み手段により読み込まれたソース情報とコマンド
修正の履歴とをカタログするソース修正カタログ手段と
、 ソース修正カタログ手段の作成したカタログ情報をカタ
ログファイルに書き込むカタログファイル書き込み手段
と、 指定されたカタログ情報をカタログファイルから読み込
み、当該メンバを再びソースファイルから読み込むとと
もに、登録されているコマンド修正の履歴を実行するカ
タログファイル読み込み実行手段とよりなるテストパッ
ケージ実行のためのデータ保存方法。
[Scope of Claim] In an operating system equipped with a JCL job startup function and a catalog procedure function, there is provided a reading means for reading the contents from a source file, and a history of command modification and source information read by the reading means. A source modification catalog means for cataloging; a catalog file writing means for writing catalog information created by the source modification catalog means into a catalog file; and a catalog file writing means for writing catalog information created by the source modification catalog means into a catalog file, reading specified catalog information from the catalog file, reading the member again from the source file, and registering the member. A data storage method for executing a test package, which consists of a means for reading and executing a catalog file that executes the history of command corrections that have been made.
JP2082794A 1990-03-29 1990-03-29 Data storing method for execution of test package Pending JPH03282636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2082794A JPH03282636A (en) 1990-03-29 1990-03-29 Data storing method for execution of test package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2082794A JPH03282636A (en) 1990-03-29 1990-03-29 Data storing method for execution of test package

Publications (1)

Publication Number Publication Date
JPH03282636A true JPH03282636A (en) 1991-12-12

Family

ID=13784310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2082794A Pending JPH03282636A (en) 1990-03-29 1990-03-29 Data storing method for execution of test package

Country Status (1)

Country Link
JP (1) JPH03282636A (en)

Similar Documents

Publication Publication Date Title
JPH03282636A (en) Data storing method for execution of test package
JPH0863205A (en) Programmable controller
JP3022011B2 (en) Data backup system
JPH01259432A (en) Reexecution system for batch job
JP2961781B2 (en) Data processing device
JP2658699B2 (en) Method of managing device under test of input / output device test program
JPH04342037A (en) Operand checking system for program
JPH0573390A (en) Deadlock handling process system for data base
JPH09218829A (en) Write testing method for external storage and information processing system adopting the same
JPH1091504A (en) Versatile backup selection and start method for network distribution environment
JPH05143422A (en) Updated journal managing system
JPS5842487B2 (en) Program loading method
JPH02250166A (en) Information processor
JPS6046747B2 (en) Initial program loading method
JPH04105128A (en) High speed command starting system by residence
JPH01201728A (en) Program correcting system
JPS63276629A (en) Sorting system for record in file
JPH0250734A (en) System restoration processing method
JPS6042492B2 (en) Processing phase execution control method
JPH04175823A (en) Edit table initialization control system
JPH0520089A (en) Assembly system
JPH02165358A (en) Program loading system with learning function
JPS63213029A (en) Microprogram controller
JPH03240135A (en) Ct device
JPH01205331A (en) Large-scale program link system