JP4483543B2 - Batch processing verification apparatus, batch processing verification program, and batch processing verification method - Google Patents

Batch processing verification apparatus, batch processing verification program, and batch processing verification method Download PDF

Info

Publication number
JP4483543B2
JP4483543B2 JP2004334786A JP2004334786A JP4483543B2 JP 4483543 B2 JP4483543 B2 JP 4483543B2 JP 2004334786 A JP2004334786 A JP 2004334786A JP 2004334786 A JP2004334786 A JP 2004334786A JP 4483543 B2 JP4483543 B2 JP 4483543B2
Authority
JP
Japan
Prior art keywords
name
input
execution
program
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.)
Expired - Fee Related
Application number
JP2004334786A
Other languages
Japanese (ja)
Other versions
JP2006146503A (en
Inventor
雅仁 熊崎
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
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2004334786A priority Critical patent/JP4483543B2/en
Publication of JP2006146503A publication Critical patent/JP2006146503A/en
Application granted granted Critical
Publication of JP4483543B2 publication Critical patent/JP4483543B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Description

本発明は、バッチファイルの処理条件の正当性、整合性、及び連続実行性を効率的に検証するバッチ処理検証装置、バッチ処理検証プログラム、及びバッチ処理検証方法に関する。   The present invention relates to a batch processing verification device, a batch processing verification program, and a batch processing verification method that efficiently verify the validity, consistency, and continuous execution performance of processing conditions of a batch file.

従来、LSIの設計においては、一連のツール群を連続実行するにあたり、バッチファイルを作成しての実行が一般的であった。このバッチファイル自体の正当性や実行環境を事前に検証する方法としては、目視確認やテスト環境での試行による手法が考えられる。
しかし、目視確認では手間がかかることに加え、処理単位の増大化に伴い、すべてのツール群について確認するのは実質的に困難な状況となってきている。
また、テスト環境での試行では、テスト環境の作成に手間がかかるうえ、テスト環境と、実際に使用する環境の整合性の確認は、処理単位の増大化に伴い困難になってきている。
Conventionally, in LSI design, a batch file is generally executed when a series of tools are continuously executed. As a method for verifying the validity of the batch file itself and the execution environment in advance, a method by visual confirmation or trial in a test environment can be considered.
However, in addition to the time and effort required for visual confirmation, as the number of processing units increases, it has become substantially difficult to confirm all tool groups.
Further, in trials in a test environment, it takes time to create a test environment, and confirmation of the consistency between the test environment and the environment that is actually used has become difficult as the number of processing units increases.

この結果、バッチファイルの品質が低下したり、不具合が作り込まれる場合があるという問題が生じていた。
さらに、実行に長時間かかった処理が異常終了し、再度の実行を必要としたり、バッチファイルの不具合箇所特定のための解析に時間を要したり、あるいはこのような問題を事前に抑えるため、バッチファイルの事前確認により多くの時間が必要となるなど、設計全体にかかるTAT(Turn−Around Time)が増加してしまうという問題もあった。
As a result, there has been a problem that the quality of the batch file is degraded or a defect is sometimes created.
In addition, processing that takes a long time to execute abnormally ends and requires re-execution, or it takes time to analyze the defect location of the batch file, or to suppress such problems in advance, There is also a problem that TAT (Turn-Around Time) related to the entire design increases, for example, a lot of time is required for prior confirmation of the batch file.

ここで、バッチファイルの処理条件に関連する先行技術としては、例えば特許文献1に記載のソフトウェア環境定義設計方式、特許文献2に記載のバッチジョブのオンラインによる起動管理方式、特許文献3に記載のプログラム起動管理システム等を挙げることができる。   Here, as prior arts related to the processing conditions of the batch file, for example, a software environment definition design method described in Patent Document 1, a batch job online activation management method described in Patent Document 2, and a patent document 3 Examples include a program start management system.

特許文献1に記載のソフトウェア環境定義設計方式によれば、環境定義を実施するソフトウェア名と環境定義情報を入力するだけで、ソフトウェア毎の環境定義情報の中から必要な環境定義を正しく選択してソフトウェアに設定することが可能となっている。
また、特許文献2に記載のバッチジョブのオンラインによる起動管理方式によれば、動作パラメータの正当性をバッチジョブを起動する前に確認することができるため、動作パラメータの不正時に生じる時間的損失を削減することが可能となっている。
さらに、特許文献3に記載のプログラム起動管理システムは、バッチ処理を行うジョブを構成するプログラムを、プログラム間の関係をもたずに作成し、プログラムの実行順序を意識せずにバッチ処理を実行することを可能とするものである。
According to the software environment definition design method described in Patent Document 1, the necessary environment definition is correctly selected from the environment definition information for each software only by inputting the name of the software that implements the environment definition and the environment definition information. It can be set in the software.
Further, according to the online start management method of the batch job described in Patent Document 2, since the validity of the operation parameter can be confirmed before starting the batch job, the time loss caused when the operation parameter is incorrect is reduced. It is possible to reduce.
Furthermore, the program activation management system described in Patent Document 3 creates a program that constitutes a job for performing batch processing without having a relationship between the programs, and executes the batch processing without being aware of the execution order of the programs. It is possible to do.

特開2000-330767号公報JP 2000-330767 A 特開平02-059951号公報Japanese Patent Laid-Open No. 02-059951 特開平10-063488号公報Japanese Patent Laid-Open No. 10-063488

しかしながら、特許文献1に記載のソフトウェア環境定義設計方式によれば、ソフトウェアの実行環境設定を効率的に行うことは可能となるが、環境設定などの正当性を検証することを可能とするものではない。また、このソフトウェア環境定義設計方式は、ソフトウェアの実行単位の実行順序が定義されたバッチファイル自体の正当性を効率的に検証することを可能とするものでもない。   However, according to the software environment definition design method described in Patent Document 1, it is possible to set the execution environment of the software efficiently, but it is not possible to verify the validity of the environment setting or the like. Absent. In addition, this software environment definition design method does not enable efficient verification of the validity of the batch file itself in which the execution order of software execution units is defined.

また、特許文献2に記載のバッチジョブのオンラインによる起動管理方式によれば、動作パラメータの正当性をバッチジョブを起動する前に確認することができるが、一連のツール群の組み合わせを定義したバッチファイルの検証に適するものでなく、処理単位の増大化に伴う上記の問題を解消可能なものではない。
さらに、特許文献3に記載のプログラム起動管理システムは、複数のプログラムがある場合に、これらの実行順序に依存関係があるケースを対象とするものではなく、プログラムの実行順序を意識せずにバッチ処理の実行を可能とするものである。したがって、プログラム間の実行順序に依存関係のある一連のツール群の組み合わせを定義したバッチファイルの検証に適するものではない。
In addition, according to the online start management system for batch jobs described in Patent Document 2, the validity of the operation parameters can be confirmed before starting the batch job, but a batch in which a combination of a series of tool groups is defined. It is not suitable for file verification, and cannot solve the above-mentioned problems associated with an increase in processing units.
Furthermore, the program activation management system described in Patent Document 3 is not intended for a case where there is a dependency in the execution order when there are a plurality of programs, and batches without regard to the execution order of the programs. The processing can be executed. Therefore, it is not suitable for verification of a batch file that defines a combination of a series of tool groups that have a dependency relationship on the execution order between programs.

本発明は、上記の事情にかんがみなされたものであり、バッチファイルにおけるすべてのプログラム実行単位について実行環境を検証するとともに、プログラム実行単位の実行、空実行の切り替えを可能とし、各プログラム実行単位の出力ファイルを後続のプログラム実行単位の入力ファイルとして、設計全体のTAT短縮を可能としたバッチ処理検証装置、バッチ処理検証プログラム、及びバッチ処理検証方法の提供を目的とする。   The present invention has been considered in view of the above circumstances, and verifies the execution environment for all program execution units in a batch file, enables execution of program execution units and switching between empty executions, and allows each program execution unit to be switched. An object of the present invention is to provide a batch processing verification apparatus, a batch processing verification program, and a batch processing verification method that can reduce the TAT of the entire design by using an output file as an input file for subsequent program execution units.

上記目的を達成するため、本発明のバッチ処理検証装置は、バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証装置であって、プログラム実行単位ごとに、処理名と、その処理に対応するプログラム実行単位の名称を示す処理対象名、プログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報、その処理で使用される入力ファイルの名称、その処理のプログラム実行に必要な環境情報を記憶し、かつ実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報が対応付けられ、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報が対応付けられた入力情報記憶手段と、処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を記憶する対応表記憶手段と、入力情報記憶手段からプログラム実行単位ごとに、処理名及び処理対象名を入力し、処理名-必須環境情報・入力ファイル対応表から処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と処理対象名を用いて変換された必須環境情報が入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも入力ファイルの名称又は処理対象名を用いて変換された必須環境情報のいずれかが入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了する必須環境情報・入力ファイル確認手段と、入力ファイルの名称及び処理対象名を用いて変換された必須環境情報が入力情報記憶手段に記憶されている場合、これらに対応する実行・空実行情報を入力情報記憶手段から取得し、当該実行・空実行情報が、プログラム実行単位を実際に実行することを示すものである場合、プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行する実行・空実行切り替え手段と、処理名-入出力ファイル・実行プログラム対応表から処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先にプログラム実行手段により実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、処理名-入出力ファイル・実行プログラム対応表から取得したプログラムを実行して、入力ファイルの名称に対応する入力ファイルにもとづき出力ファイルを生成するプログラム実行手段と、処理名-入出力ファイル・実行プログラム対応表から処理名に対応する、出力ファイルの名称の雛型を取得し、処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、この出力ファイルの名称に対応する出力ファイルを生成するプログラム空実行手段と、を備えた構成としてある。 To achieve the above object, the batch processing verification device of the present invention is a batch processing verification device that verifies whether input files necessary for executing a program execution unit defined in a batch file are prepared, For each program execution unit, a processing name, a processing target name indicating the name of the program execution unit corresponding to the processing, execution / empty execution information indicating whether the program execution unit is actually executed or empty execution processing is performed, Stores the name of the input file used in the process, the environment information necessary for program execution of the process , and all program execution units that are subsequently executed following the program execution unit associated with the execution information Is all programs that are executed after the program execution unit that is associated with the execution information and associated with the empty execution information An input information storage means for empty make information associated with the row unit, and processing name, environmental information necessary for program execution of the processing, processing name storing template name of the input file - Required environmental information and Input file correspondence table, process name, program executed in the process, input file name template used in the process, name of output file generated by execution of the program executed in the process Process name to store the template of the process-Input process name and process target name for each program execution unit from the input table storage means and the input table storage means to store the input / output file and execution program correspondence table, process name- Obtain the required environment information and input file name template corresponding to the processing name from the required environment information / input file correspondence table, and change the input file name template using the processing target name. To obtain the name of the input file or convert the input file name template using the processing target name of the previously executed program execution unit, and generate it according to the previously executed program execution unit. The name of the input file that is the same as the name of the output file obtained is obtained, and the required environment information converted using the name of the input file and the name of the processing target is stored in the input information storage means in accordance with the program execution unit. Check whether it is stored, and if at least one of the required environment information converted using the name of the input file or the name of the processing target is not stored in the input information storage means, an error is output and processing is performed. The required environment information / input file confirmation means to be terminated, and the required environment information converted using the input file name and the processing target name are stored in the input information storage means. If stored, execution / empty execution information corresponding to these is acquired from the input information storage means, and if the execution / empty execution information indicates that the program execution unit is actually executed, program execution is executed. When the program execution means for executing the unit to generate the output file is executed, and the execution / empty execution information indicates that the empty execution process is performed, the output file is executed without executing the program execution unit. Execution / empty execution switching means for executing the program empty execution means to be generated, the name of the program to be executed in the process corresponding to the process name from the process name-input / output file / execution program correspondence table, and the name of the input file , Obtain the output file name template, convert the input file name template using the processing target name, acquire the input file name, Is the name of the output file generated by the previously executed program execution unit by converting the input file name template using the processing target name of the program execution unit previously executed by the program execution means The input file name is acquired, and the output file name template is converted using the processing target name to obtain the output file name. From the processing name-input / output file / execution program correspondence table Program execution means that executes the acquired program and generates an output file based on the input file corresponding to the input file name, and the output file corresponding to the process name from the process name-input / output file / executable program correspondence table Get name template, convert output file name template using processing target name, and get output file name A configuration equipped with a program empty execution means for generating an output file corresponding to the name of the output file, a.

また、本発明のバッチ処理検証装置は、バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証装置であって、プログラム実行単位ごとに、処理名と、その処理に対応するプログラム実行単位の名称を示す処理対象名、その処理で使用される入力ファイルの名称、及びプログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報を記憶し、かつ実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報が対応付けられ、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報が対応付けられた入力情報記憶手段と、処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を記憶する対応表記憶手段と、入力情報記憶手段からプログラム実行単位ごとに、処理名及び処理対象名を入力し、処理名-必須環境情報・入力ファイル対応表から処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と処理対象名を用いて変換された必須環境情報が入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも入力ファイルの名称又は処理対象名を用いて変換された必須環境情報のいずれかが入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了する必須環境情報・入力ファイル確認手段と、入力ファイルの名称及び処理対象名を用いて変換された必須環境情報が入力情報記憶手段に記憶されている場合、処理名-入出力ファイル・実行プログラム対応表から処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先にプログラム実行手段により実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、かつ、入力ファイルの名称及び処理対象名を用いて変換された必須環境情報に対応する実行・空実行情報を入力情報記憶手段から取得し、当該実行・空実行情報が、プログラム実行単位を実際に実行することを示すものである場合、プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行する実行・空実行切り替え手段と、実行・空実行切り替え手段により処理名-入出力ファイル・実行プログラム対応表から取得されたプログラムを実行して、実行・空実行切り替え手段により変換して得られた入力ファイルの名称に対応する入力ファイルにもとづいて、出力ファイルを生成するプログラム実行手段と、実行・空実行切り替え手段により変換して得られた出力ファイルの名称に対応する出力ファイルを生成するプログラム空実行手段と、を備えた構成としてある。 The batch processing verification apparatus according to the present invention is a batch processing verification apparatus that verifies whether input files necessary for executing a program execution unit defined in a batch file are prepared, and for each program execution unit. , The processing name, the name of the processing target indicating the name of the program execution unit corresponding to the processing, the name of the input file used in the processing, and whether the program execution unit is actually executed or empty execution processing is performed Execution information is associated with the program execution unit associated with the execution information and associated with the execution information. an input information storage means for empty execution information is associated to all the program execution unit program is executed subsequently to the subsequent execution unit has Process name, environment information necessary for program execution of the process, input file name template to store the process name-required environment information / input file correspondence table, process name, and program executed in the process A process name-input / output file / executable program correspondence table that stores a model of the name of the input file used in the process and a model of the name of the output file generated by executing the program executed in the process Input the processing name and processing target name for each program execution unit from the correspondence table storage means to be stored and the input information storage means, and the required environment information corresponding to the processing name from the processing name-essential environment information / input file correspondence table and Acquires the input file name template, converts the input file name template using the processing target name, acquires the input file name, or executes the previously executed By converting the input file name template using the processing target name of the gram execution unit, the input file name that is the same as the output file name generated by the previously executed program execution unit is obtained and converted. The input information storage means checks whether or not the required environment information converted using the input file name and the processing target name is stored corresponding to the program execution unit, and at least the input file name or processing If any of the required environment information converted using the target name is not stored in the input information storage means, the required environment information / input file confirmation means for outputting an error and terminating the process, the name of the input file, and If the required environment information converted using the processing target name is stored in the input information storage means, the processing name-input / output file / execution program Get the program to be executed in the process, the input file name template, and the output file name template corresponding to the process name from the correspondence table, and use the processing target name to enter the input file name template. The input file name is obtained by conversion, or the input file name template is converted by using the processing target name of the program execution unit executed by the program execution means first, and the input file name is executed. Obtain the name of the input file that is the same as the name of the output file generated by the program execution unit, obtain the name of the output file by converting the output file name template using the processing target name, and The execution / empty execution information corresponding to the required environment information converted using the input file name and the processing target name is acquired from the input information storage means, and the execution / empty execution information is obtained. When the program execution unit is actually executed, the program execution unit that executes the program execution unit to generate the output file is executed, and the execution / empty execution information performs the empty execution process. If the program execution unit is not executed, the program empty execution means for executing the program empty execution means for generating the output file without executing the program execution unit, and the process name-input / output file by the execution / empty execution switching means A program execution means for generating an output file based on the input file corresponding to the name of the input file obtained by executing the program acquired from the execution program correspondence table and converting by the execution / empty execution switching means; An output file corresponding to the name of the output file obtained by conversion by the execution / empty execution switching means is generated. And an empty program execution means.

バッチ処理検証装置をこのような構成にすれば、バッチファイルにおけるすべてのプログラム実行単位についての処理条件を検証できるとともに、一連の処理を実行するバッチファイル及び実行環境を、プログラムを実際には実行せずに検証できる。By configuring the batch processing verification device in this way, it is possible to verify the processing conditions for all program execution units in the batch file, and to actually execute the program in the batch file and execution environment that execute a series of processing. Can be verified without
このため、実際にプログラムを実行したり、テスト環境を用意してバッチファイルや実行環境の正当性を確認するよりも、短TATでの検証が可能となる。For this reason, it is possible to perform verification with a short TAT rather than actually executing a program or preparing a test environment to check the validity of a batch file or an execution environment.

また、検証に使用していたバッチファイル及び実行環境を、実行モ-ドを切り替えることで、変更無しに実際に一連の処理の実行に使用することができる。In addition, the batch file and execution environment used for verification can be actually used for executing a series of processes without changing by switching the execution mode.
このため、検証に使用したバッチファイル及び実行環境と、実行に使用したバッチファイル及び実行環境の整合性の確認を省略することが可能となる。For this reason, it is possible to omit confirmation of consistency between the batch file and execution environment used for verification and the batch file and execution environment used for execution.

また、バッチ処理検証装置をこのような構成にすれば、処理名情報にもとづき処理名-必須環境情報・入力ファイル対応表から必須環境情報と必須入力ファイル情報を取得して、処理対象名情報にもとづき変換し、これらがそれぞれ環境情報,入力ファイル情報に存在するかを確認することで、環境設定や入力ファイル情報不足のエラーを検出することができる。If the batch processing verification device is configured in this way, the required environment information and the required input file information are acquired from the process name-essential environment information / input file correspondence table based on the process name information, and the processing target name information is obtained. It is possible to detect errors in the environment setting and the input file information shortage by performing the conversion on the basis and checking whether these exist in the environment information and the input file information, respectively.

また、処理名情報にもとづき処理名-入出力ファイル・実行プログラム対応表から入出力ファイル名,実行プログラム名を取得するとともに、実行・空実行情報にもとづきプログラム実行単位を選択的に実行又は空実行することができる。Also, the input / output file name and execution program name are obtained from the processing name-input / output file / execution program correspondence table based on the processing name information, and the program execution unit is selectively executed or empty execution based on the execution / empty execution information. can do.
このため、プログラムを実際には実行せずに、バッチファイル及び実行環境を検証できるとともに、検証に使用していたバッチファイル及び実行環境を、実行モ-ドを切り替えることで、変更無しに実際に一連の処理の実行に使用することができ、これらの実行環境の整合性の確認を省略することが可能となる。Therefore, the batch file and execution environment can be verified without actually executing the program, and the batch file and execution environment used for verification can be actually changed without changing the execution mode. It can be used to execute a series of processes, and it is possible to omit the confirmation of the consistency of these execution environments.

また、本発明のバッチ処理検証装置は、バッチファイルにおいて、実行順序が定義されたプログラム実行単位が、LSIの設計に係るものである構成としてある。The batch processing verification apparatus according to the present invention is configured such that the program execution unit in which the execution order is defined in the batch file relates to the design of the LSI.

バッチ処理検証装置をこのような構成にすれば、近年、処理単位の増大化に伴い、すべてのツ-ル群について確認するのは実質的に困難な状況にあるLSI設計を検証するバッチファイルに適用することができる。
このため、LSI設計を効果的に支援することが可能となる
With such a configuration of the batch processing verification apparatus, in recent years, as the number of processing units increases, it becomes a batch file for verifying LSI designs that are substantially difficult to check for all tool groups. Can be applied.
Therefore, it is possible to effectively support LSI design .

また、本発明のバッチ処理検証プログラムは、バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証プログラムであって、コンピュ-タを、プログラム実行単位ごとに、処理名と、その処理に対応するプログラム実行単位の名称を示す処理対象名、プログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報、その処理で使用される入力ファイルの名称、その処理のプログラム実行に必要な環境情報を記憶し、かつ実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報が対応付けられ、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報が対応付けられた入力情報記憶手段、処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を記憶する対応表記憶手段、入力情報記憶手段からプログラム実行単位ごとに、処理名及び処理対象名を入力し、処理名-必須環境情報・入力ファイル対応表から処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と取得した処理対象名を用いて変換された必須環境情報が入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも入力ファイルの名称又は処理対象名を用いて変換された必須環境情報のいずれかが入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了する必須環境情報・入力ファイル確認手段、入力ファイルの名称及び処理対象名を用いて変換された必須環境情報が入力情報記憶手段に記憶されている場合、これらに対応する実行・空実行情報を入力情報記憶手段から取得し、当該実行・空実行情報が、プログラム実行単位を実際に実行することを示すものである場合、プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行する実行・空実行切り替え手段、処理名-入出力ファイル・実行プログラム対応表から処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先にプログラム実行手段により実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、処理名-入出力ファイル・実行プログラム対応表から取得したプログラムを実行して、入力ファイルの名称に対応する入力ファイルにもとづき出力ファイルを生成するプログラム実行手段、及び、処理名-入出力ファイル・実行プログラム対応表から処理名に対応する、出力ファイルの名称の雛型を取得し、処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、この出力ファイルの名称に対応する出力ファイルを生成するプログラム空実行手段として機能させる構成としてある。 The batch processing verification program of the present invention is a batch processing verification program for verifying whether input files necessary for executing a program execution unit defined in a batch file are prepared, For each program execution unit, a processing name, a processing target name indicating the name of the program execution unit corresponding to the processing, execution / empty execution information indicating whether the program execution unit is actually executed or empty execution processing is performed, Stores the name of the input file used in the process, the environment information necessary for program execution of the process , and all program execution units that are subsequently executed following the program execution unit associated with the execution information Is associated with execution information, and all programs executed after the program execution unit associated with the empty execution information. The program execution unit is the input information storage means associated with the empty execution information , the process name, the environment information necessary for program execution of the process, and the process name to store the input file name template-required environment information Input file correspondence table, process name, program executed in the process, input file name template used in the process, name of output file generated by execution of the program executed in the process Process name to store the template-input / output file / execution program correspondence table storage means to store the processing name and processing target name for each program execution unit from the input information storage means, process name-required Obtain the required environment information corresponding to the process name and the input file name template from the environment information / input file correspondence table, and use the processing target name as the input file name template Convert the input file name by converting it, or convert the input file name template using the processing target name of the previously executed program execution unit. The name of the input file that is the same as the name of the generated output file is acquired, and the required environment information converted using the converted input file name and the acquired processing target name is stored in the input information storage means in the program execution unit. Check whether it is stored correspondingly, and if at least one of the required environment information converted using the name of the input file or the name of the processing target is not stored in the input information storage means, an error is output Required environment information / input file confirmation means to finish the process, the input file name and the target environment information converted using the processing target name When stored in the storage means, the corresponding execution / empty execution information is acquired from the input information storage means, and the execution / empty execution information indicates that the program execution unit is actually executed. If the program execution unit that executes the program execution unit to generate the output file is executed and the execution / empty execution information indicates that the empty execution process is performed, the program execution unit is not executed. Execution / empty execution switching means for executing program empty execution means for generating an output file, process name-input / output file / execution program correspondence table corresponding to the process name corresponding to the process name, input file name Obtain a template for the name of the template and output file, convert the template for the name of the input file using the processing target name, and change the name of the input file Or the output generated by the program execution unit executed earlier by converting the template of the input file name using the processing target name of the program execution unit executed by the program execution means first Acquires the same input file name as the file name, converts the output file name template using the processing target name, acquires the output file name, and the process name-input / output file / execution program Program execution means for executing the program acquired from the correspondence table and generating an output file based on the input file corresponding to the input file name, and corresponding to the process name from the process name-input / output file / executable program correspondence table The output file name template is obtained, the output file name template is converted using the processing target name, and the output file Gets the name, it is constituted to function as a program empty execution means for generating an output file corresponding to the name of the output file.

また、本発明のバッチ処理検証プログラムは、バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証プログラムであって、コンピュ-タを、プログラム実行単位ごとに、処理名と、その処理に対応するプログラム実行単位の名称を示す処理対象名、その処理で使用される入力ファイルの名称、及びプログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報を記憶し、かつ実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報が対応付けられ、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報が対応付けられた入力情報記憶手段、処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を記憶する対応表記憶手段、入力情報記憶手段からプログラム実行単位ごとに、処理名及び処理対象名を入力し、処理名-必須環境情報・入力ファイル対応表から処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と処理対象名を用いて変換された必須環境情報が入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも入力ファイルの名称又は処理対象名を用いて変換された必須環境情報のいずれかが入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了する必須環境情報・入力ファイル確認手段、入力ファイルの名称及び処理対象名を用いて変換された必須環境情報が入力情報記憶手段に記憶されている場合、処理名-入出力ファイル・実行プログラム対応表から処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先にプログラム実行手段により実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、かつ、入力ファイルの名称及び処理対象名を用いて変換された必須環境情報に対応する実行・空実行情報を入力情報記憶手段から取得し、当該実行・空実行情報が、プログラム実行単位を実際に実行することを示すものである場合、プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行する実行・空実行切り替え手段、実行・空実行切り替え手段により処理名-入出力ファイル・実行プログラム対応表から取得されたプログラムを実行して、実行・空実行切り替え手段により変換して得られた入力ファイルの名称に対応する入力ファイルにもとづいて、出力ファイルを生成するプログラム実行手段、及び、実行・空実行切り替え手段により変換して得られた出力ファイルの名称に対応する出力ファイルを生成するプログラム空実行手段として機能させる構成としてある。 The batch processing verification program of the present invention is a batch processing verification program for verifying whether input files necessary for executing a program execution unit defined in a batch file are prepared, For each program execution unit, the processing name and the name of the processing target indicating the name of the program execution unit corresponding to the processing, the name of the input file used in the processing, and the program execution unit are actually executed or empty execution Execution / empty execution information indicating whether to perform processing is stored , and execution information is associated with all program execution units that are subsequently executed following the program execution unit associated with the execution information. Empty execution information is associated with all program execution units that are executed after the program execution unit associated with the information. Vignetting input information storage means, and processing name, environmental information necessary for program execution of the processing, processing name storing template name of the input file - Required environmental information and input file correspondence table, and a processing name , The name of the input file used in that process, the name of the output file generated by the execution of the program executed in that process-input Input the processing name and processing target name for each program execution unit from the correspondence table storage means for storing the output file / executable program correspondence table and the input information storage means, and the processing name from the processing name-essential environment information / input file correspondence table Obtain the required environment information and input file name template corresponding to, convert the input file name template using the processing target name, acquire the input file name, Is the same input file name as the output file generated by the previously executed program execution unit by converting the input file name template using the processing target name of the previously executed program execution unit The required environment information converted by using the input file name and the processing target name is confirmed in the input information storage means in correspondence with the program execution unit. If at least one of the required environment information converted using the name of the input file or the name of the processing target is not stored in the input information storage means, the required environment information / input file confirmation means for outputting an error and ending the processing When the required environment information converted using the input file name and the processing target name is stored in the input information storage means, the processing name-input / output file The program to be executed in the process, input file name template, and output file name template corresponding to the process name are obtained from the file / executable program correspondence table, and the input file name is obtained using the process target name. By acquiring the input file name by converting the template of the input file, or by converting the template of the input file name using the processing target name of the program execution unit previously executed by the program execution means, Obtain the name of the input file that is the same as the name of the output file generated by the previously executed program execution unit, convert the output file name template using the processing target name, and change the name of the output file. Acquire and execute / empty execution information corresponding to the required environment information converted using the input file name and the processing target name from the input information storage means, If the execution / empty execution information indicates that the program execution unit is actually executed, program execution means for executing the program execution unit to generate an output file is executed, and the execution / empty execution information is In the case of indicating that an empty execution process is to be executed, processing is executed by an execution / empty execution switching means that executes a program empty execution means for generating an output file without executing a program execution unit, and an execution / empty execution switching means. Executes the program obtained from the name-input / output file / executable program correspondence table, and generates an output file based on the input file corresponding to the input file name obtained by conversion by the execution / empty execution switching means To the name of the output file obtained by conversion by the program executing means and the execution / empty execution switching means It is constituted to function as a program empty execution means for generating an output file to respond.

また、本発明のバッチ処理検証方法は、バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証方法であって、プログラム実行単位ごとに、処理名と、その処理に対応するプログラム実行単位の名称を示す処理対象名、プログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報、その処理で使用される入力ファイルの名称、その処理のプログラム実行に必要な環境情報を入力情報記憶手段に記憶させ、前記入力情報記憶手段において、実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報を対応付け、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報を対応付け、処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を対応表記憶手段に記憶させ、必須環境情報・入力ファイル確認手段が、入力情報記憶手段からプログラム実行単位ごとに、処理名及び処理対象名を入力し、処理名-必須環境情報・入力ファイル対応表から処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と処理対象名を用いて変換された必須環境情報が入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも入力ファイルの名称又は処理対象名を用いて変換された必須環境情報のいずれかが入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了し、実行・空実行切り替え手段が、入力ファイルの名称及び処理対象名を用いて変換された必須環境情報が入力情報記憶手段に記憶されている場合、これらに対応する実行・空実行情報を入力情報記憶手段から取得し、当該実行・空実行情報が、プログラム実行単位を実際に実行することを示すものである場合、プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行し、プログラム実行手段が、処理名-入出力ファイル・実行プログラム対応表から処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先にプログラム実行手段により実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、処理名-入出力ファイル・実行プログラム対応表から取得したプログラムを実行して、入力ファイルの名称に対応する入力ファイルにもとづき出力ファイルを生成し、プログラム空実行手段が、処理名-入出力ファイル・実行プログラム対応表から処理名に対応する、出力ファイルの名称の雛型を取得し、処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、この出力ファイルの名称に対応する出力ファイルを生成する方法としてある。 The batch processing verification method of the present invention is a batch processing verification method for verifying whether input files necessary for executing a program execution unit defined in a batch file are prepared, and for each program execution unit. , Processing name, processing target name indicating the name of the program execution unit corresponding to the processing, execution / empty execution information indicating whether the program execution unit is actually executed or empty execution processing, and used in the processing The input information storage means stores the input file name and the environment information necessary for the program execution of the processing, and the input information storage means executes the program execution unit associated with the execution information after the program execution unit. Execution information is associated with all program execution units, and the program execution unit associated with the empty execution information is followed by the execution information. Associates an empty execution information for all program execution units, processing name and the process name is stored environmental information necessary for program execution of the processing, the template name of the input file - Required environmental information and input file Correspondence table, process name, program executed in the process, input file name model used in the process, output file name model generated by executing the program Process name storage type-I / O file / execution program correspondence table is stored in the correspondence table storage means, and the required environment information / input file confirmation means is the process name and processing target for each program execution unit from the input information storage means. Enter the name, obtain the required environment information corresponding to the process name and the template of the input file name from the process name-essential environment information / input file correspondence table, and process target The input file name template is obtained by converting the input file name template, or the input file name template is converted using the processing target name of the previously executed program execution unit. The required environment information converted by using the input file name and the processing target name is obtained as the input file name that is the same as the output file name generated by the previously executed program execution unit. In the storage means, it is confirmed whether or not it is stored corresponding to the program execution unit, and at least one of the required environment information converted by using the name of the input file or the processing target name is stored in the input information storage means If not, an error is output and the process ends, and the execution / empty execution switching means is converted using the input file name and the processing target name. When the environment information is stored in the input information storage means, the execution / empty execution information corresponding to these is acquired from the input information storage means, and the execution / empty execution information actually executes the program execution unit. The program execution unit that executes the program execution unit to generate the output file is executed, and the execution / empty execution information indicates that the empty execution process is performed. The program empty execution means for generating the output file is executed without executing, and the program execution means corresponds to the process name from the process name-input / output file / executable program correspondence table, the program executed in the process, and the input Obtains a template for the file name and a template for the output file name, converts the input file name template using the processing target name, and converts the input file name template The program execution unit executed earlier by acquiring the file name or converting the input file name template using the processing target name of the program execution unit executed earlier by the program execution means The name of the input file that is the same as the name of the output file generated by, is obtained, the output file name template is converted using the processing target name, the name of the output file is obtained, and the processing name-input / output Executes the program obtained from the file / executable program correspondence table to generate an output file based on the input file corresponding to the input file name, and the program empty execution means uses the process name-input / output file / executable program correspondence table. Obtain the output file name template corresponding to the process name, convert the output file name template using the processing target name, Get the name of the force file is a method of generating an output file corresponding to the name of the output file.

また、本発明のバッチ処理検証方法は、バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証方法であって、プログラム実行単位ごとに、処理名と、その処理に対応するプログラム実行単位の名称を示す処理対象名、その処理で使用される入力ファイルの名称、及びプログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報を入力情報記憶手段に記憶させ、前記入力情報記憶手段において、実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報を対応付け、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報を対応付け、処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を対応表記憶手段に記憶させ、必須環境情報・入力ファイル確認手段が、入力情報記憶手段からプログラム実行単位ごとに、処理名及び処理対象名を入力し、処理名-必須環境情報・入力ファイル対応表から処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と処理対象名を用いて変換された必須環境情報が入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも入力ファイルの名称又は処理対象名を用いて変換された必須環境情報のいずれかが入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了し、実行・空実行切り替え手段が、入力ファイルの名称及び処理対象名を用いて変換された必須環境情報が入力情報記憶手段に記憶されている場合、処理名-入出力ファイル・実行プログラム対応表から処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先にプログラム実行手段により実行されたプログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行されたプログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、かつ、入力ファイルの名称及び処理対象名を用いて変換された必須環境情報に対応する実行・空実行情報を入力情報記憶手段から取得し、当該実行・空実行情報が、プログラム実行単位を実際に実行することを示すものである場合、プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行し、プログラム実行手段が、実行・空実行切り替え手段により処理名-入出力ファイル・実行プログラム対応表から取得されたプログラムを実行して、実行・空実行切り替え手段により変換して得られた入力ファイルの名称に対応する入力ファイルにもとづいて、出力ファイルを生成し、プログラム空実行手段が、実行・空実行切り替え手段により変換して得られた出力ファイルの名称に対応する出力ファイルを生成する方法としてある。 The batch processing verification method of the present invention is a batch processing verification method for verifying whether input files necessary for executing a program execution unit defined in a batch file are prepared, and for each program execution unit. , The processing name, the name of the processing target indicating the name of the program execution unit corresponding to the processing, the name of the input file used in the processing, and whether the program execution unit is actually executed or empty execution processing is performed Execution / empty execution information is stored in the input information storage means, and in the input information storage means, execution information is stored in all program execution units that are subsequently executed following the program execution unit associated with the execution information. All program execution units executed after the program execution unit associated with the association and empty execution information are empty. Associating line information, and process name, process name and stores environment information required to program execution of the processing, the template name of the input file - the essential environmental information and input file correspondence table, and the process name, its Process name-input / output file that stores the program executed in the process, the input file name template used in the process, and the output file name template generated by the execution of the program executed in the process The execution program correspondence table is stored in the correspondence table storage means, and the required environment information / input file confirmation means inputs the processing name and processing target name for each program execution unit from the input information storage means, and the processing name-essential environment Obtain the required environment information and input file name template corresponding to the process name from the information / input file correspondence table, and change the input file name template using the process target name. To obtain the name of the input file or convert the input file name template using the processing target name of the previously executed program execution unit, and generate it according to the previously executed program execution unit. The name of the input file that is the same as the name of the output file obtained is obtained, and the required environment information converted using the name of the input file and the name of the processing target is stored in the input information storage means in accordance with the program execution unit. Check whether it is stored, and if at least one of the required environment information converted using the name of the input file or the name of the processing target is not stored in the input information storage means, an error is output and processing is performed. When the execution / empty execution switching unit is finished, the essential environment information converted by using the input file name and the processing target name is stored in the input information storage unit. If the process name-input / output file / execution program correspondence table, the program executed in that process, the input file name template, and the output file name template corresponding to the process name are acquired and processed. The input file name template is obtained by converting the input file name template using the name, or the input file name template is processed using the processing target name of the program execution unit executed by the program execution unit previously. By converting the type, the name of the input file that is the same as the name of the output file generated by the previously executed program execution unit is acquired, and the template of the output file name is converted using the processing target name The name of the output file is acquired, and the execution / empty execution information corresponding to the required environment information converted using the name of the input file and the processing target name is input. If the execution / empty execution information obtained from the information storage means indicates that the program execution unit is actually executed, the program execution means for executing the program execution unit to generate an output file is executed, If the execution / empty execution information indicates that an empty execution process is performed, the program execution means for generating an output file is executed without executing the program execution unit, and the program execution means Based on the input file corresponding to the input file name obtained by executing the program acquired from the processing name-input / output file / execution program correspondence table by the empty execution switching means and converting by the execution / empty execution switching means An output file is generated, and the program empty execution means converts the output obtained by the execution / empty execution switching means. This is a method for generating an output file corresponding to the name of the input file.

バッチ処理検証プログラムをこれらのような構成とし、バッチ処理検証方法をこれらのような方法にすれば、バッチファイルにおけるすべてのプログラム実行単位について処理条件を検証できるとともに、一連の処理を実行するバッチファイル及び実行環境を、プログラムを実際には実行せずに検証できる。また、検証に使用していたバッチファイル及び実行環境を、実行モードを切り替えることで、変更無しに実際に一連の処理の実行に使用することができる。
このため、実際にプログラムを実行したり、テスト環境を用意してバッチファイルや実行環境の正当性を確認するよりも、短TATで検証でき、検証に使用したバッチファイル及び実行環境と、実行に使用したバッチファイル及び実行環境の整合性の確認を省略することも可能となる。
If the batch processing verification program is configured as described above and the batch processing verification method is configured as described above, the processing conditions can be verified for all program execution units in the batch file, and a batch file that executes a series of processing And the execution environment can be verified without actually executing the program. Further, the batch file and the execution environment used for verification can be actually used for executing a series of processes without changing by switching the execution mode.
Therefore, rather than actually executing a program or preparing a test environment to check the validity of a batch file or execution environment, verification can be performed with short TAT, and the batch file and execution environment used for verification and execution It is also possible to omit confirmation of the consistency of the used batch file and the execution environment.

本発明によれば、バッチファイルにおけるすべてのプログラム実行単位について処理条件を検証するとともに、プログラム実行単位の実行、空実行の切り替えを可能とし、設計全体のTAT短縮を実現することが可能となる。   According to the present invention, it is possible to verify processing conditions for all program execution units in a batch file and to switch between execution and empty execution of program execution units, thereby realizing TAT shortening of the entire design.

以下、本発明に係るバッチ処理検証装置の好ましい実施形態について、図面を参照しつつ説明する。
なお、以下の実施形態に示す本発明のバッチ処理検証装置は、プログラムに制御されたコンピュータにより動作するようになっている。コンピュータのCPUは、プログラムにもとづいてコンピュータの各構成要素に指令を送り、バッチ処理検証装置の動作に必要となる所定の処理、例えば、必須環境情報・入力ファイル確認処理、実行・空実行切り替え処理、ツール群実行処理、ツール群空実行処理等を行わせる。このように、本発明のバッチ処理検証装置における各処理,動作は、プログラムとコンピュータとが協働した具体的手段により実現できるものである。
Hereinafter, a preferred embodiment of a batch processing verification apparatus according to the present invention will be described with reference to the drawings.
Note that the batch processing verification apparatus according to the present invention shown in the following embodiments is operated by a computer controlled by a program. The CPU of the computer sends a command to each component of the computer based on the program, and predetermined processing necessary for the operation of the batch processing verification device, for example, essential environment information / input file confirmation processing, execution / empty execution switching processing The tool group execution process, the tool group empty execution process, etc. are performed. As described above, each processing and operation in the batch processing verification apparatus of the present invention can be realized by specific means in which the program and the computer cooperate.

プログラムは予めROM,RAM等の記録媒体に格納され、コンピュータに実装された記録媒体から当該コンピュータにプログラムを読み込ませて実行されるが、例えば通信回線を介してコンピュータに読み込ませることもできる。
また、プログラムを格納する記録媒体は、例えば半導体メモリ,磁気ディスク,光ディスク、その他任意のコンピュータで読取り可能な任意の記録手段により構成できる。
The program is stored in advance in a recording medium such as a ROM and a RAM, and is executed by causing the computer to read the program from a recording medium mounted on the computer. For example, the program may be read by the computer via a communication line.
Further, the recording medium for storing the program can be constituted by, for example, a semiconductor memory, a magnetic disk, an optical disk, or any other recording means that can be read by any computer.

まず、本発明の一実施形態の構成について、図1を参照して説明する。同図は、本実施形態のバッチ処理検証装置の構成を示すブロック図である。
図1に示すように、本実施形態のバッチ処理検証装置は、入力情報記憶手段10,処理手段20,対応表記憶手段30,出力情報記憶手段40を有している。なお、これらの各構成要素は、それぞれ別個の装置上に設けて実現してもよい。
First, the configuration of an embodiment of the present invention will be described with reference to FIG. FIG. 2 is a block diagram showing the configuration of the batch processing verification apparatus of this embodiment.
As shown in FIG. 1, the batch processing verification apparatus according to the present embodiment includes an input information storage unit 10, a processing unit 20, a correspondence table storage unit 30, and an output information storage unit 40. In addition, you may implement | achieve these each component provided in a respectively separate apparatus.

入力情報記憶手段10は、バッチ処理検証装置への入力情報を記憶する記憶装置であり、図1に示すように、処理対象名情報11,処理名情報12,実行・空実行情報13,入力ファイル情報14,環境情報15を備えている。入力ファイル情報14,環境情報15と後述の処理名-必須環境情報・入力ファイル対応表31,処理名-入出力ファイル・実行ツール対応表32等は、バッチファイルの処理条件を規定するものである。   The input information storage means 10 is a storage device that stores input information to the batch processing verification device. As shown in FIG. 1, the processing target name information 11, the processing name information 12, the execution / empty execution information 13, and the input file Information 14 and environmental information 15 are provided. The input file information 14, the environment information 15, and a processing name-essential environment information / input file correspondence table 31, a processing name-input / output file / execution tool correspondence table 32, etc., which will be described later, define the processing conditions of the batch file. .

処理対象名情報11は、プログラム実行の対象となる設計分割単位の名称を定義する。
処理名情報12は、プログラム実行にて行われる処理の名称を定義する。
実行・空実行情報13は、実際にプログラムを実行するか、空実行処理を行うかを定義する。
The processing target name information 11 defines the name of the design division unit that is the target of program execution.
The process name information 12 defines the name of the process performed by program execution.
The execution / empty execution information 13 defines whether the program is actually executed or an empty execution process is performed.

入力ファイル情報14は、バッチファイルにおける各ツール群実行単位のプログラム実行で使用する入力ファイルの名称を定義する。
環境情報15は、バッチファイルにおける各ツール群実行単位のプログラムを実行する実行環境の情報を定義する。
これらの入力情報は、全てのツール群実行単位について入力情報記憶手段10に記憶される。なお、ツール群とは、所定の動作を実行し、ひとまとまりとして実行される複数のプログラムからなるプログラムを意味している。
The input file information 14 defines the name of the input file used in the program execution of each tool group execution unit in the batch file.
The environment information 15 defines information on an execution environment in which a program for each tool group execution unit in the batch file is executed.
The input information is stored in the input information storage unit 10 for all tool group execution units. The tool group means a program composed of a plurality of programs that execute a predetermined operation and are executed as a group.

処理手段20は、バッチ処理検証装置における各種処理を実行する装置であり、図1に示すように、必須環境情報・入力ファイル確認手段21,実行・空実行切り替え手段22,ツール群実行手段23,ツール群空実行手段24を備えている。
必須環境情報・入力ファイル確認手段21は、処理対象名情報と処理名情報にもとづき処理名-必須環境情報・入力ファイル対応表を検索して、必須環境情報と必須入力ファイルの情報を取得し、必須環境情報が環境情報15に存在するかどうかと、必須入力ファイルの名称が入力ファイル情報14に存在するかどうかを確認して、確認結果情報41を生成する。
The processing means 20 is an apparatus for executing various processes in the batch processing verification apparatus. As shown in FIG. 1, the processing means 20 includes essential environment information / input file confirmation means 21, execution / empty execution switching means 22, tool group execution means 23, A tool group empty execution means 24 is provided.
The required environment information / input file confirmation means 21 searches the process name-required environment information / input file correspondence table based on the process target name information and the process name information, acquires the required environment information and the information of the required input file, Confirmation result information 41 is generated by confirming whether the essential environment information exists in the environment information 15 and whether the name of the essential input file exists in the input file information 14.

実行・空実行切り替え手段22は、実行・空実行情報13を参照し、実行・空実行情報13として実行が定義されている場合、ツール群実行手段23を実行し、実行・空実行情報13として空実行が定義されている場合、ツール群空実行手段24を実行する。
ツール群実行手段23は、処理名情報12にもとづき処理名-入出力ファイル・実行ツール対応表32を検索し、得られた入力ファイル,出力ファイル,プログラムの組み合わせ情報を処理対象名情報11にもとづき変換し、当該プログラムを逐次実行して、出力ファイルを生成する。
ツール群空実行手段24は、処理名情報12にもとづき処理名-入出力ファイル・実行ツール対応表32を検索し、得られた出力ファイルの情報を処理対象名情報11にもとづき変換し、出力ファイルを生成する。
The execution / empty execution switching means 22 refers to the execution / empty execution information 13, and if execution is defined as the execution / empty execution information 13, the execution / empty execution information 13 is executed as the execution / empty execution information 13. If empty execution is defined, the tool group empty execution means 24 is executed.
The tool group execution means 23 searches the process name-input / output file / execution tool correspondence table 32 based on the process name information 12, and uses the obtained combination information of the input file, output file, and program based on the process target name information 11. The program is converted and the program is sequentially executed to generate an output file.
The tool group empty execution means 24 searches the process name-input / output file / execution tool correspondence table 32 based on the process name information 12, converts the obtained output file information based on the process target name information 11, and outputs the output file. Is generated.

対応表記憶手段30は、処理名情報12にもとづき必須環境情報や入力ファイル等を特定するためのテ-ブルを記憶する記憶装置であり、図1に示すように、処理名-必須環境情報・入力ファイル対応表31,処理名-入出力ファイル・実行ツール対応表32を備えている。
処理名-必須環境情報・入力ファイル対応表31は、処理名情報12と、その処理のプログラム実行に必要な環境情報及び入力ファイルの対応関係を定義する。
処理名-入出力ファイル・実行ツール対応表32は、処理名情報12と、その処理のプログラム実行で実行されるプログラム、使用される入力ファイル、プログラム実行後生成される出力ファイルの対応関係を定義する。
The correspondence table storage means 30 is a storage device for storing essential environment information, a table for specifying input files and the like based on the process name information 12, and as shown in FIG. An input file correspondence table 31 and a process name / input / output file / execution tool correspondence table 32 are provided.
The process name-essential environment information / input file correspondence table 31 defines the correspondence between the process name information 12, the environment information necessary for program execution of the process, and the input file.
The process name / input / output file / execution tool correspondence table 32 defines the correspondence between the process name information 12 and the program executed by the program execution of the process, the input file used, and the output file generated after the program execution. To do.

出力情報記憶手段40は、処理手段20により出力される情報を記憶する記憶装置であり、図1に示すように、確認結果情報41,出力ファイル情報42を備えている。
確認結果情報41には、必須環境情報・入力ファイル確認手段21により、ツール群を実行するのに必須となる環境、入力ファイルが用意されているかどうかが確認された結果が出力される。
出力ファイル情報42は、ツール群実行手段23により、又はツール群空実行手段24により生成される出力ファイルの名称を定義する。
The output information storage means 40 is a storage device that stores information output by the processing means 20, and includes confirmation result information 41 and output file information 42 as shown in FIG.
The confirmation result information 41 is output by the required environment information / input file confirmation means 21 to confirm whether the environment and the input file that are essential for executing the tool group are prepared.
The output file information 42 defines the name of the output file generated by the tool group executing means 23 or the tool group empty executing means 24.

次に、本実施形態のバッチ処理検証装置における処理手順について、図2を参照して説明する。同図は、本実施形態のバッチ処理検証装置における処理手順を示すフローチャートである。
バッチ処理検証装置は、処理対象であるバッチファイルに定義されているツール群実行単位ごとに以下の処理を実行する。
Next, a processing procedure in the batch processing verification apparatus of the present embodiment will be described with reference to FIG. FIG. 5 is a flowchart showing a processing procedure in the batch processing verification apparatus of the present embodiment.
The batch processing verification apparatus executes the following processing for each tool group execution unit defined in the batch file to be processed.

まず、バッチ処理検証装置は、ツール群実行単位の処理対象名情報11を入力し(ステップ10)、処理名情報12を入力する(ステップ11)。
これらの処理対象名情報11及び処理名情報12は、バッチファイルから読み込んで、入力情報記憶手段10に記憶させるようにすることができる。
また、バッチファイルにもとづき予め入力情報記憶手段10に記憶させておいた処理対象名情報11及び処理名情報12を、必須環境情報・入力ファイル確認手段21による処理の際に、バッチ処理検証装置におけるメモリに読み込むようにすることもできる。
First, the batch processing verification apparatus inputs the processing target name information 11 of the tool group execution unit (step 10), and inputs the processing name information 12 (step 11).
The processing target name information 11 and the processing name information 12 can be read from a batch file and stored in the input information storage unit 10.
Further, the processing target name information 11 and the processing name information 12 previously stored in the input information storage unit 10 based on the batch file are processed in the batch processing verification apparatus when the essential environment information / input file confirmation unit 21 performs the processing. It can also be read into memory.

次に、バッチ処理検証装置の必須環境情報・入力ファイル確認手段21は、処理名情報12をキーとして、処理名-必須環境情報・入力ファイル対応表31に対して検索処理を実行し、対応する必須環境情報と必須入力ファイルの名称を抽出する(ステップ12)。
そして、必須環境情報・入力ファイル確認手段21は、抽出した必須環境情報と必須入力ファイルの名称を、処理対象名情報11を用いて変換し(ステップ13)、変換した必須入力ファイル名をキーとして、入力ファイル情報14に対して検索処理を実行する(ステップ14)。
Next, the required environment information / input file confirmation unit 21 of the batch processing verification apparatus executes a search process on the process name-essential environment information / input file correspondence table 31 using the process name information 12 as a key, and responds accordingly. The required environment information and the name of the required input file are extracted (step 12).
The essential environment information / input file confirmation means 21 converts the extracted essential environment information and the name of the essential input file using the processing target name information 11 (step 13), and uses the converted essential input file name as a key. The search process is executed for the input file information 14 (step 14).

必須入力ファイルの名称が入力ファイル情報14に存在しなかった場合(ステップ15のYes)、必須環境情報・入力ファイル確認手段21は、確認結果情報41に入力ファイル不備エラーを出力して(ステップ16)、処理を終了する。
必須入力ファイルの名称が入力ファイル情報14に存在する場合(ステップ15のNo)、必須環境情報・入力ファイル確認手段21は、変換した必須環境情報をキーとして、環境情報15に対して検索処理を実行する(ステップ17)。これによって、実行環境内の必須環境設定の正当性が検証される。
When the name of the essential input file does not exist in the input file information 14 (Yes in Step 15), the essential environment information / input file confirmation means 21 outputs an input file incomplete error to the confirmation result information 41 (Step 16). ), The process is terminated.
If the name of the required input file exists in the input file information 14 (No in step 15), the required environment information / input file confirmation means 21 performs a search process on the environment information 15 using the converted required environment information as a key. Execute (step 17). Thereby, the validity of the essential environment setting in the execution environment is verified.

抽出した必須環境情報の全部又は一部が環境情報15に存在しない場合、すなわち実行環境内の必須設定に不備がある場合(ステップ18のYes)、必須環境情報・入力ファイル確認手段21は、確認結果情報41に環境設定不備エラーを出力して(ステップ19)、処理を終了する。   If all or a part of the extracted essential environment information does not exist in the environment information 15, that is, if the essential setting in the execution environment is incomplete (Yes in step 18), the essential environment information / input file confirmation means 21 confirms An environment setting deficiency error is output to the result information 41 (step 19), and the process is terminated.

抽出した必須環境情報の全部が環境情報15に存在する場合、すなわち実行環境内の必須設定に不備がない場合(ステップ18のNo)、バッチ処理検証装置は、実行・空実行情報13を入力する(ステップ20)。
この実行・空実行情報13についても、バッチファイルから読み込んで、入力情報記憶手段10に記憶させるようにすることができる。
When all of the extracted essential environment information exists in the environment information 15, that is, when there is no defect in the essential setting in the execution environment (No in Step 18), the batch processing verification apparatus inputs the execution / empty execution information 13. (Step 20).
The execution / empty execution information 13 can also be read from the batch file and stored in the input information storage means 10.

また、バッチファイルにもとづき予め入力情報記憶手段10に記憶させておいた実行・空実行情報13を、実行・空実行切り替え手段22による処理の際に、バッチ処理検証装置におけるメモリに読み込むようにすることもできる。
バッチ処理検証装置の実行・空実行切り替え手段22は、実行・空実行情報13が空実行かどうかを確認し(ステップ21)、空実行でなければ(ステップ21のNo)、バッチ処理検証装置のツール群実行手段23を実行する。
In addition, the execution / empty execution information 13 stored in advance in the input information storage unit 10 based on the batch file is read into the memory in the batch processing verification device when the execution / empty execution switching unit 22 performs processing. You can also.
The execution / empty execution switching means 22 of the batch processing verification device checks whether the execution / empty execution information 13 is empty execution (step 21). If it is not empty execution (No in step 21), the batch processing verification device The tool group execution means 23 is executed.

このとき、ツール群実行手段23は、処理名情報12をキーとして、処理名-入出力ファイル・実行ツール対応表32に対して検索処理を実行し、対応する入力ファイル名,出力ファイル名,ツールのファイル名を抽出する(ステップ22)。そして、処理対象名情報11を用いて、入力ファイル及び出力ファイルの名称を変換する(ステップ23)。
そして、ツール群実行手段23は、当該ツール群実行単位の入力ファイルとして上記変換した入力ファイルを、出力ファイルとして上記変換した出力ファイルを設定し、実行ツール群を順次実行して、出力ファイルを生成する(ステップ24)。
At this time, the tool group executing means 23 executes a search process on the process name-input / output file / execution tool correspondence table 32 using the process name information 12 as a key, and the corresponding input file name, output file name, tool Are extracted (step 22). Then, the names of the input file and the output file are converted using the processing target name information 11 (step 23).
Then, the tool group execution unit 23 sets the converted input file as an input file of the tool group execution unit, sets the converted output file as an output file, and executes the execution tool group sequentially to generate an output file. (Step 24).

一方、空実行の場合は(ステップ21のYes)、バッチ処理検証装置のツール群空実行手段24を実行する。
このとき、ツール群空実行手段24は、処理名情報12をキーとして、処理名-入出力ファイル・実行ツール対応表32に対して検索処理を実行し、対応する出力ファイル名を抽出する(ステップ25)。そして、処理対象名情報11を用いて、出力ファイルの名称を変換する(ステップ26)。
そして、ツール群空実行手段24は、実行ツール群を実行せずに、当該ツール群実行単位の出力ファイルとして上記変換した出力ファイル名の出力ファイルを生成する(ステップ27)。このとき、入力ファイルは使用されない。
バッチ処理検証装置は、以上説明したステップS10〜S27の処理をバッチファイルに定義されたツール群実行単位の実行順に順次実行していく。
On the other hand, in the case of empty execution (Yes in step 21), the tool group empty execution means 24 of the batch processing verification device is executed.
At this time, the tool group empty execution means 24 performs a search process on the process name-input / output file / execution tool correspondence table 32 using the process name information 12 as a key, and extracts a corresponding output file name (step S31). 25). Then, the name of the output file is converted using the processing target name information 11 (step 26).
Then, the tool group empty execution means 24 generates the output file with the converted output file name as the output file of the tool group execution unit without executing the execution tool group (step 27). At this time, the input file is not used.
The batch processing verification apparatus sequentially executes the processes in steps S10 to S27 described above in the order of execution of the tool group execution units defined in the batch file.

なお、ステップ14〜ステップ16の必須入力ファイルの確認処理と、ステップ17〜ステップ19の必須環境情報の確認処理の実行順序は、入れ替えてもかまわない。
また、ステップ22,23及びステップ25,26において、処理名-入出力ファイル・実行ツール対応表32からの抽出・変換処理を行うのではなく、図3に示すように、環境設定不備の判定処理(ステップ38)の直後に、必須環境情報・入力ファイル確認手段21又は実行・空実行切り替え手段22などによって、ステップ22及びステップ23の抽出・変換処理を実行するようにすることもできる(ステップ38〜ステップ42)。そして、ツール群実行手段23及びツール群空実行手段24は、このように空実行の判定処理(ステップ43)の前に抽出・変換された情報を用いて、図2について上述した処理と同様に、それぞれの処理を実行することもできる(ステップ44,45)。
It should be noted that the execution order of the confirmation process of the essential input file in steps 14 to 16 and the confirmation process of the essential environment information in steps 17 to 19 may be interchanged.
Further, in steps 22 and 23 and steps 25 and 26, extraction / conversion processing from the processing name-input / output file / execution tool correspondence table 32 is not performed, but as shown in FIG. Immediately after (Step 38), the extraction / conversion processing of Step 22 and Step 23 may be executed by the essential environment information / input file confirmation means 21 or the execution / empty execution switching means 22 (Step 38). To Step 42). The tool group execution unit 23 and the tool group empty execution unit 24 use the information extracted and converted before the empty execution determination process (step 43) in the same manner as the process described above with reference to FIG. Each process can also be executed (steps 44 and 45).

次に、本実施形態のバッチ処理検証装置における処理手順について、図4及び図5を参照してより具体的に説明する。図4は、本実施形態のバッチ処理検証装置におけるツール群実行手段によりバッチファイルを実際に実行する処理を説明する図である。図5は、同装置装置におけるツール群空実行手段によりツールを実際に実行せずにバッチ処理の問題を検出する処理を説明する図である。   Next, the processing procedure in the batch processing verification apparatus of this embodiment will be described more specifically with reference to FIG. 4 and FIG. FIG. 4 is a diagram for explaining the process of actually executing a batch file by the tool group execution means in the batch process verification apparatus of this embodiment. FIG. 5 is a diagram for explaining processing for detecting a batch processing problem without actually executing the tool by the tool group empty execution means in the apparatus.

図4は、AとBのツール群実行単位を並列実行して出力ファイルを生成した後、これらの出力ファイルをCのツール群実行単位の入力ファイルとして使用するバッチファイルを実際に実行する例を示している。
まず、バッチ処理検証装置は、AとBのツール群実行単位について、処理対象名情報11として「A」を,処理名情報12として「合成」を入力する(ステップS10及びS11)。
FIG. 4 shows an example of actually executing a batch file that uses these output files as input files of the C tool group execution unit after generating the output files by executing the tool group execution units of A and B in parallel. Show.
First, the batch processing verification apparatus inputs “A” as the processing target name information 11 and “synthesis” as the processing name information 12 for the tool group execution units of A and B (steps S10 and S11).

次に、バッチ処理検証装置の必須環境情報・入力ファイル確認手段21は、処理名情報12にもとづいて、処理名-必須環境情報・入力ファイル対応表31から必須入力ファイルの名称として、「処理対象名.v」と、「処理対象名.SCR」を抽出する(ステップ12)。
そして、必須環境情報・入力ファイル確認手段21は、これらの必須入力ファイルの名称を、A、Bのツール群実行単位につき処理対象名11にもとづき変換し、Aのツール群実行単位については、「A.v」と「A.SCR」を、Bのツール群実行単位については、「B.v」と「B.SCR」を取得して(ステップ13)、これらが入力ファイル情報14に存在するかどうかを検索する(ステップ14)。
Next, the required environment information / input file confirmation unit 21 of the batch processing verification apparatus uses the process name-essential environment information / input file correspondence table 31 as the name of the required input file based on the process name information 12 as “process target”. “Name.v” and “processing object name.SCR” are extracted (step 12).
The essential environment information / input file confirmation unit 21 converts the names of these essential input files based on the processing target name 11 for the A and B tool group execution units, and for the A tool group execution unit, “ “A.v” and “A.SCR”, and “B.v” and “B.SCR” are acquired for the tool group execution unit of B (step 13), and these are present in the input file information 14. Whether or not (step 14).

図4の例では、A、Bのツール群実行単位について、ともに上記必須入力ファイルの名称が入力ファイル情報14に存在するため(ステップ15のNo)、必須環境情報・入力ファイル確認手段21は、次に同様にして必須環境の確認を行うが(ステップ17)、同図の例では、処理名-必須環境情報・入力ファイル対応表31に必須環境情報が存在しない。このため、ステップ12において、必須環境情報は抽出されず、環境設定不備の判断は、不備ではないとされる(ステップ18のNo)。または、ステップ18を省略して、ステップ20に進むものとすることもできる。   In the example of FIG. 4, since the names of the above-mentioned essential input files are present in the input file information 14 for both the A and B tool group execution units (No in step 15), the essential environment information / input file confirmation means 21 Next, the essential environment is checked in the same manner (step 17). In the example of FIG. 6, the essential name information does not exist in the processing name-essential environment information / input file correspondence table 31. For this reason, in step 12, the essential environment information is not extracted, and it is determined that the determination of incomplete environment setting is not incomplete (No in step 18). Alternatively, step 18 may be omitted and the process may proceed to step 20.

次に、図4の例では、実行・空実行情報13として、実行が入力されて定義されているので(ステップ20,ステップ21のNo)、バッチ処理検証装置の実行・空実行切り替え手段22は、バッチ処理検証装置のツール群実行手段23を実行する。
ツール群実行手段23は、処理名情報12の「合成」にもとづいて、処理名-入出力ファイル・実行ツール対応表32から入力ファイル名として、「処理対象名.v」,「処理対象名.SCR」、出力ファイル名として、「処理対象名.NET」、ツールのファイル名として、「合成ツール」を抽出する(ステップ22)。なお、ファイルが複数存在する場合は、それぞれのファイル名(ファイル名群)が抽出され、これらを用いた複数の処理が実行されることになる。
Next, in the example of FIG. 4, since execution is input and defined as the execution / empty execution information 13 (No in Step 20 and Step 21), the execution / empty execution switching means 22 of the batch processing verification apparatus is Then, the tool group execution means 23 of the batch processing verification apparatus is executed.
Based on the “combination” of the processing name information 12, the tool group execution means 23 uses “processing target name.v” and “processing target name.” As input file names from the processing name-input / output file / execution tool correspondence table 32. “SCR”, “processing object name.NET” as the output file name, and “synthesis tool” as the tool file name are extracted (step 22). When there are a plurality of files, each file name (file name group) is extracted, and a plurality of processes using these are executed.

さらに、ツール群実行手段23は、A,Bのそれぞれのツール群実行単位について、入力ファイル名及び出力ファイル名をそれぞれの処理対象名情報11の「A」,「B」にもとづき変換する(ステップ23)。
これによって、Aのツール群実行単位の入力ファイルとして「A.v」と「A.SCR」が、出力ファイルとして「A.NET」が、ツールとして「合成ツール」が使用され、Bのツール群実行単位の入力ファイルとして「B.v」と「B.SCR」が、出力ファイルとして「B.NET」が、ツールとして「合成ツール」が使用される。
そして、ツール群実行手段23は、実際にツール群(合成ツール)を実行し、出力ファイルとして、Aのツール群実行単位については、「A.NET」、Bのツール群実行単位については、「B.NET」を生成する(ステップ24)。
Further, the tool group execution means 23 converts the input file name and the output file name for each tool group execution unit of A and B based on “A” and “B” of the respective processing target name information 11 (steps). 23).
As a result, “A.v” and “A.SCR” are used as the input file for the execution unit of the tool group of A, “A.NET” is used as the output file, “synthesis tool” is used as the tool, and the tool group of B is used. “B.v” and “B.SCR” are used as input files for execution units, “B.NET” is used as an output file, and “synthesis tool” is used as a tool.
Then, the tool group execution means 23 actually executes the tool group (synthetic tool), and outputs “A.NET” for the tool group execution unit of A and “B. B.NET "is generated (step 24).

次に、バッチ処理検証装置は、Cのツール群実行単位に対し、A,Bのツール群実行単位における場合と同様に、ステップ10〜ステップ24の処理を実行する。
このとき、A,Bのツール群実行単位の出力ファイルは、Cのツール群実行単位の入力ファイルとして用いられる。
Next, the batch processing verification apparatus executes the processing of step 10 to step 24 for the C tool group execution unit as in the case of the A and B tool group execution units.
At this time, the output file of the tool group execution unit of A and B is used as the input file of the C tool group execution unit.

すなわち、図4の例では、Cの必須入力ファイル名は、処理名情報12にもとづき処理名-必須環境情報・入力ファイル対応表31から得られる「下位対象名.NET」を、Aのツール群実行単位に係る処理対象名情報11の「A」を用いて変換して得られる「A.NET」と、Bのツール群実行単位に係る処理対象名情報11の「B」を用いて変換して得られる「B.NET」である。
一方、Cの入力ファイル情報14は、初期の時点では何もない状態であるが、A,Bのツール群実行単位についてのステップ10〜ステップ24の処理により、A.NET及びB.NETが追加される。
そして、Cのツール群実行単位に対するステップ10〜ステップ24の処理の結果、出力ファイルとして、C.NETが生成される。
このようにしてバッチファイルにおける全てのツール群を実行することが可能である。
In other words, in the example of FIG. 4, the required input file name of C is “subordinate target name.NET” obtained from the process name-essential environment information / input file correspondence table 31 based on the process name information 12 and the tool group of A Conversion is performed using “A.NET” obtained by conversion using “A” of the processing target name information 11 related to the execution unit and “B” of processing target name information 11 related to the B tool group execution unit. “B.NET” obtained in this way.
On the other hand, the input file information 14 of C is in an empty state at the initial point, but A.NET and B.NET are added by the processing of steps 10 to 24 for the tool group execution units of A and B. Is done.
Then, C.NET is generated as an output file as a result of the processing in steps 10 to 24 for the C tool group execution unit.
In this way, all the tools in the batch file can be executed.

次に、図5を参照して、ツールを実際に実行せずにバッチファイル及び実行環境の問題を検出する処理について説明する。同図は、AとBのツール群実行単位を並列処理した後に、Cのツール群実行単位を処理する場合において、実際にツールの実行を行うことなくバッチファイル等を検証する例を示している。   Next, a process for detecting a problem in a batch file and an execution environment without actually executing the tool will be described with reference to FIG. This figure shows an example of verifying a batch file or the like without actually executing the tool when processing the tool group execution unit of C after processing the tool group execution units of A and B in parallel. .

まず、A,Bのツール群実行単位について、処理対象名情報11と処理名情報12を入力し、処理名-必須環境情報・入力ファイル対応表31を用いて必須入力ファイル名を抽出する動作から、抽出した必須入力ファイル名が入力ファイル情報14に存在するかどうかを確認するまでの動作(ステップ10〜ステップ14)は、図4についての場合と同様である。   First, for the A and B tool group execution units, the processing target name information 11 and the processing name information 12 are input, and the required input file name is extracted using the processing name-essential environment information / input file correspondence table 31. The operation (step 10 to step 14) until it is confirmed whether or not the extracted essential input file name exists in the input file information 14 is the same as in the case of FIG.

図5の例では、Aのツール群実行単位については、図4の場合と同様に、必須入力ファイルの「A.v」と「A.SCR」が入力ファイル情報14に存在するとともに、必須環境情報が処理名-必須環境情報・入力ファイル対応表31に存在しないことから、ステップ20に進むことになる(ステップ15のNo〜ステップ18のNo)。   In the example of FIG. 5, for the tool group execution unit of A, as in the case of FIG. 4, “A.v” and “A.SCR” of the essential input file exist in the input file information 14 and the essential environment. Since the information does not exist in the processing name-essential environment information / input file correspondence table 31, the process proceeds to Step 20 (No in Step 15 to No in Step 18).

一方、Bのツール群実行単位については、必須入力ファイルのうち「B.SCR」のみが入力ファイル情報14に存在し、「B.v」が入力ファイル情報14に存在しないため、必須環境情報・入力ファイル確認手段21は、確認結果として入力ファイル不備エラーを出力し(ステップ16)、Bのツール群実行単位についての処理を終了する。このため、Bのツール群実行単位については、出力ファイルは作成されない。   On the other hand, for the B tool group execution unit, only “B.SCR” of the required input files is present in the input file information 14 and “B.v” is not present in the input file information 14. The input file confirmation unit 21 outputs an input file deficiency error as a confirmation result (step 16), and ends the process for the B tool group execution unit. For this reason, no output file is created for the B tool group execution unit.

次に、Aのツール群実行単位については、Aの実行・空実行情報13は空実行であるため(ステップ21のYes)、ツール群空実行手段24は、処理名情報12にもとづき処理名-入出力ファイル・実行ツール対応表32から出力ファイル名「対象名.NET」を抽出して(ステップ25)これを処理対象名情報11の「A」にもとづき変換し(ステップ26)、ツール群(CHIP生成)を実行せずに、出力ファイルとして「A.NET」を生成する(ステップ27)。   Next, for the tool group execution unit of A, since the execution / empty execution information 13 of A is empty execution (Yes in step 21), the tool group empty execution means 24 uses the process name-based on the process name information 12. The output file name “target name.NET” is extracted from the input / output file / execution tool correspondence table 32 (step 25), and is converted based on “A” of the processing target name information 11 (step 26). “A.NET” is generated as an output file without executing (CHIP generation) (step 27).

次に、Cのツール群実行単位について、ステップ10〜ステップ27の処理が実行される。このとき、Cの入力ファイル情報14は、初期の時点では何もなかった状態からA及びBのツール群実行単位についての上述の処理により、「A.NET」が追加され、「B.NET」が追加されない状態となる。
そして、図5の場合、Cのツール群実行単位の必須入力ファイルは、処理名-必須環境情報・入力ファイル対応表31とA,Bの処理名情報12にもとづき「A.NET」,「B.NET」となることから、必須環境情報・入力ファイル確認手段21は、確認結果として、入力ファイルの「B.NET」が不足している旨を出力し、処理を終了する。
このように、本発明によれば、バッチファイルのツール群を実行せずに、バッチファイルや実行環境の問題を検出することが可能となる。
Next, the processing of step 10 to step 27 is executed for the C tool group execution unit. At this time, in the input file information 14 of C, “A.NET” is added by the above-described processing with respect to the tool group execution unit of A and B from the state where there is nothing at the initial time point, and “B.NET”. Will not be added.
In the case of FIG. 5, the required input file of the C tool group execution unit is “A.NET”, “B” based on the process name-essential environment information / input file correspondence table 31 and the process name information 12 of A and B. .NET ”, the essential environment information / input file confirmation unit 21 outputs the confirmation result indicating that“ B.NET ”of the input file is insufficient, and ends the process.
As described above, according to the present invention, it is possible to detect a problem in a batch file or an execution environment without executing a batch file tool group.

なお、本実施形態において、バッチファイル、入力ファイルの本体、出力ファイルの本体、ツールの本体は、バッチ処理検証装置又はバッチ処理検証装置に接続された記憶装置等に記憶することができる。また、入力ファイルの本体、及びツールの本体は、それぞれ入力ファイル名、ツールの名称にもとづき取得されて用いることができ、出力ファイルの本体は、出力ファイル名で生成されることは言うまでもない。   In this embodiment, the batch file, the input file main body, the output file main body, and the tool main body can be stored in the batch processing verification apparatus or a storage device connected to the batch processing verification apparatus. The input file body and the tool body can be acquired and used based on the input file name and the tool name, respectively. Needless to say, the output file body is generated with the output file name.

以上説明したように、本実施形態のバッチ処理検証装置によれば、バッチファイルにおけるすべてのプログラム実行単位について処理条件を検証できるとともに、一連の処理を実行するバッチファイル及び実行環境を、プログラムを実際には実行せずに検証できる。また、検証に使用していたバッチファイル及び実行環境を、実行モードを切り替えることで、変更無しに実際に一連の処理の実行に使用することができる。
このため、実際にプログラムを実行したり、テスト環境を用意してバッチファイルや実行環境の正当性を確認するよりも、短TATでの検証が可能となる。
As described above, according to the batch processing verification apparatus of the present embodiment, the processing conditions can be verified for all the program execution units in the batch file, and the batch file for executing a series of processing and the execution environment can be Can be verified without running. Further, the batch file and the execution environment used for verification can be actually used for executing a series of processes without changing by switching the execution mode.
For this reason, it is possible to perform verification with a short TAT rather than actually executing a program or preparing a test environment to check the validity of a batch file or an execution environment.

なお、本発明は、以上の実施形態に限定されるものではなく、本発明の範囲内において、種々の変更実施が可能であることは言うまでもない。
例えば、上記実施形態においては、ツール群として、合成及びCHIP生成を用いたが、その他のツール群を使用することも勿論可能である。
また、ツール群実行単位の処理順序を、例えばA,B,Cのツール群実行単位の出力ファイルを入力ファイルとして実行したDのツール群実行単位の出力ファイルと、Eのツール群実行単位の出力ファイルとを入力ファイルとしてFのツール群実行単位を実行するなど適宜変更することが可能である。
It should be noted that the present invention is not limited to the above embodiment, and it goes without saying that various modifications can be made within the scope of the present invention.
For example, in the above embodiment, synthesis and CHIP generation are used as the tool group, but other tool groups can of course be used.
In addition, the processing order of the tool group execution unit, for example, the output file of the tool group execution unit of D executed by using the output file of the tool group execution unit of A, B, and C as an input file, and the output of the tool group execution unit of E The tool group execution unit of F can be appropriately changed by using the file as an input file.

本発明のバッチ処理検証装置は、複数のコンピュータ資源を有する分散環境を使用する大規模LSIの設計を支援するための装置などとして好適に利用することが可能である。   The batch processing verification apparatus of the present invention can be suitably used as an apparatus for supporting the design of a large-scale LSI using a distributed environment having a plurality of computer resources.

本発明の一実施形態のバッチ処理検証装置の構成を示すブロック図である。It is a block diagram which shows the structure of the batch processing verification apparatus of one Embodiment of this invention. 本発明の一実施形態のバッチ処理検証装置における処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in the batch processing verification apparatus of one Embodiment of this invention. 本発明の一実施形態のバッチ処理検証装置における他の処理手順を示すフローチャートである。It is a flowchart which shows the other process sequence in the batch processing verification apparatus of one Embodiment of this invention. 本発明の一実施形態のバッチ処理検証装置におけるツール群実行手段によりバッチファイルを実際に実行する処理におけるツール群実行単位を示すものである。4 shows a tool group execution unit in a process of actually executing a batch file by a tool group execution means in the batch processing verification apparatus of one embodiment of the present invention. 本発明の一実施形態のバッチ処理検証装置におけるツール群空実行手段によりツールを実際に実行せずにバッチファイルの問題を検出する処理におけるツール群実行単位を示すものである。4 shows a tool group execution unit in a process of detecting a problem in a batch file without actually executing the tool by the tool group empty execution means in the batch processing verification apparatus of one embodiment of the present invention.

符号の説明Explanation of symbols

10 入力情報記憶手段
11 処理対象名情報
12 処理名情報
13 実行・空実行情報
14 入力ファイル情報
15 環境情報
20 処理手段
21 必須環境情報・入力ファイル確認手段
22 実行・空実行切り替え手段
23 ツール群実行手段
24 ツール群空実行手段
30 対応表記憶手段
31 処理名-必須環境情報・入力ファイル対応表
32 処理名-入出力ファイル・実行ツール対応表
40 出力情報記憶手段
41 確認結果情報
42 出力ファイル情報
DESCRIPTION OF SYMBOLS 10 Input information storage means 11 Process target name information 12 Process name information 13 Execution / empty execution information 14 Input file information 15 Environment information 20 Processing means 21 Essential environment information / input file confirmation means 22 Execution / empty execution switching means 23 Tool group execution Means 24 Tool group empty execution means 30 Correspondence table storage means 31 Process name-essential environment information / input file correspondence table 32 Process name-input / output file / execution tool correspondence table 40 Output information storage means 41 Confirmation result information 42 Output file information

Claims (7)

バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証装置であって、
前記プログラム実行単位ごとに、処理名と、その処理に対応する前記プログラム実行単位の名称を示す処理対象名、前記プログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報、その処理で使用される入力ファイルの名称、その処理のプログラム実行に必要な環境情報を記憶し、かつ実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報が対応付けられ、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報が対応付けられた入力情報記憶手段と、
処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を記憶する対応表記憶手段と、
前記入力情報記憶手段から前記プログラム実行単位ごとに、前記処理名及び前記処理対象名を入力し、前記処理名-必須環境情報・入力ファイル対応表から前記処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも前記入力ファイルの名称又は前記処理対象名を用いて変換された前記必須環境情報のいずれかが前記入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了する必須環境情報・入力ファイル確認手段と、
前記入力ファイルの名称及び前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段に記憶されている場合、これらに対応する実行・空実行情報を前記入力情報記憶手段から取得し、当該実行・空実行情報が、前記プログラム実行単位を実際に実行することを示すものである場合、前記プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、前記プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行する実行・空実行切り替え手段と、
前記処理名-入出力ファイル・実行プログラム対応表から前記処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に前記プログラム実行手段により実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、前記処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、前記処理名-入出力ファイル・実行プログラム対応表から取得したプログラムを実行して、前記入力ファイルの名称に対応する入力ファイルにもとづき前記出力ファイルを生成する前記プログラム実行手段と、
前記処理名-入出力ファイル・実行プログラム対応表から前記処理名に対応する、出力ファイルの名称の雛型を取得し、前記処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、この出力ファイルの名称に対応する出力ファイルを生成する前記プログラム空実行手段と、を備えた
ことを特徴とするバッチ処理検証装置。
A batch processing verification device for verifying whether input files necessary for executing a program execution unit defined in a batch file are available,
For each program execution unit, a processing name, a processing target name indicating the name of the program execution unit corresponding to the processing, and an execution / empty state indicating whether the program execution unit is actually executed or empty execution processing is performed. Execution information, name of input file used in the process, environment information necessary for program execution of the process , and all programs executed after the program execution unit associated with the execution information Execution information is associated with the execution unit, and an input information storage means in which empty execution information is associated with all program execution units executed subsequently to the program execution unit associated with the empty execution information. ,
Process name, environment information necessary for program execution of the process, input file name template to store the process name-required environment information / input file correspondence table, process name, and program executed in the process A process name-input / output file / executable program correspondence table that stores a model of the name of the input file used in the process and a model of the name of the output file generated by executing the program executed in the process Correspondence table storage means for storing;
The processing name and the processing target name are input for each program execution unit from the input information storage means, and the required environment information and input file corresponding to the processing name from the processing name-essential environment information / input file correspondence table And obtain the input file name by converting the input file name template using the processing target name, or the processing target name of the previously executed program execution unit Is used to obtain the input file name that is the same as the output file name generated by the previously executed program execution unit by converting the input file name template, and the converted input file name and Check whether the required environment information converted using the processing target name is stored in the input information storage unit corresponding to the program execution unit. If at least one of the required environment information converted using the name of the input file or the name of the processing target is not stored in the input information storage unit, an essential environment for outputting an error and ending the process Information / input file confirmation means,
When the essential environment information converted using the name of the input file and the processing target name is stored in the input information storage unit, execution / empty execution information corresponding to the essential environment information is acquired from the input information storage unit If the execution / empty execution information indicates that the program execution unit is actually executed, a program execution unit that executes the program execution unit to generate an output file is executed, When the empty execution information indicates that an empty execution process is performed, an execution / empty execution switching unit that executes a program empty execution unit that generates an output file without executing the program execution unit;
The process name-input / output file / execution program correspondence table is used to obtain the program executed in the process, the input file name model, and the output file name model corresponding to the process name, and the processing target The name of the input file is obtained by converting the template of the name of the input file using the name, or the name of the input file using the processing target name of the program execution unit previously executed by the program execution means By converting the template, the name of the input file that is the same as the name of the output file generated by the previously executed program execution unit is obtained, and the name of the output file is obtained using the processing target name. Convert the template, acquire the name of the output file, execute the program acquired from the processing name-input / output file / executable program correspondence table, And said program execution means for generating the output file based on the input file corresponding to the name of the entry power files,
Obtain the output file name template corresponding to the process name from the process name-input / output file / executable program correspondence table, and convert the output file name template using the process target name, A batch processing verification apparatus comprising: the program empty execution means for acquiring an output file name and generating an output file corresponding to the output file name.
バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証装置であって、
前記プログラム実行単位ごとに、処理名と、その処理に対応する前記プログラム実行単位の名称を示す処理対象名、その処理で使用される入力ファイルの名称、及び前記プログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報を記憶し、かつ実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報が対応付けられ、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報が対応付けられた入力情報記憶手段と、
処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を記憶する対応表記憶手段と、
前記入力情報記憶手段から前記プログラム実行単位ごとに、前記処理名及び前記処理対象名を入力し、前記処理名-必須環境情報・入力ファイル対応表から前記処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも前記入力ファイルの名称又は前記処理対象名を用いて変換された前記必須環境情報のいずれかが前記入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了する必須環境情報・入力ファイル確認手段と、
前記入力ファイルの名称及び前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段に記憶されている場合、前記処理名-入出力ファイル・実行プログラム対応表から前記処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に前記プログラム実行手段により実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、前記処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、かつ、前記入力ファイルの名称及び前記処理対象名を用いて変換された前記必須環境情報に対応する実行・空実行情報を前記入力情報記憶手段から取得し、当該実行・空実行情報が、前記プログラム実行単位を実際に実行することを示すものである場合、前記プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、前記プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行する実行・空実行切り替え手段と、
前記実行・空実行切り替え手段により前記処理名-入出力ファイル・実行プログラム対応表から取得されたプログラムを実行して、前記実行・空実行切り替え手段により変換して得られた前記入力ファイルの名称に対応する入力ファイルにもとづいて、前記出力ファイルを生成する前記プログラム実行手段と、
前記実行・空実行切り替え手段により変換して得られた出力ファイルの名称に対応する出力ファイルを生成する前記プログラム空実行手段と、を備えた
ことを特徴とするバッチ処理検証装置。
A batch processing verification device for verifying whether input files necessary for executing a program execution unit defined in a batch file are available,
For each program execution unit, a process name, a process target name indicating the name of the program execution unit corresponding to the process, an input file name used in the process, and whether the program execution unit is actually executed Alternatively, execution / empty execution information indicating whether to perform empty execution processing is stored , and execution information is associated with all program execution units that are subsequently executed following the program execution unit associated with the execution information. Input information storage means in which empty execution information is associated with all program execution units subsequently executed following the program execution unit associated with the empty execution information ;
Process name, environment information necessary for program execution of the process, input file name template to store the process name-required environment information / input file correspondence table, process name, and program executed in the process A process name-input / output file / executable program correspondence table that stores a model of the name of the input file used in the process and a model of the name of the output file generated by executing the program executed in the process Correspondence table storage means for storing;
The processing name and the processing target name are input for each program execution unit from the input information storage means, and the required environment information and input file corresponding to the processing name from the processing name-essential environment information / input file correspondence table And obtain the input file name by converting the input file name template using the processing target name, or the processing target name of the previously executed program execution unit Is used to obtain the input file name that is the same as the output file name generated by the previously executed program execution unit by converting the input file name template, and the converted input file name and Check whether the required environment information converted using the processing target name is stored in the input information storage unit corresponding to the program execution unit. If at least one of the required environment information converted using the name of the input file or the name of the processing target is not stored in the input information storage unit, an essential environment for outputting an error and ending the process Information / input file confirmation means,
When the required environment information converted using the name of the input file and the processing target name is stored in the input information storage means, the processing name is converted into the processing name from the processing name-input / output file / execution program correspondence table. The corresponding program executed in the process, input file name template, output file name template are acquired, and the input file name template is converted using the processing target name to input file. The program executed earlier is obtained by converting the template of the name of the input file using the processing target name of the program execution unit executed by the program execution unit previously. Obtains the same input file name as the output file name generated by the execution unit, and changes the output file name template using the processing target name. In other words, the name of the output file is acquired, and the execution / empty execution information corresponding to the essential environment information converted by using the name of the input file and the processing target name is acquired from the input information storage unit. If the execution / empty execution information indicates that the program execution unit is actually executed, a program execution unit that executes the program execution unit to generate an output file is executed, When the empty execution information indicates that an empty execution process is performed, an execution / empty execution switching unit that executes a program empty execution unit that generates an output file without executing the program execution unit;
By executing the program acquired from the processing name-input / output file / execution program correspondence table by the execution / empty execution switching means, the name of the input file obtained by conversion by the execution / empty execution switching means The program execution means for generating the output file based on a corresponding input file;
A batch processing verification apparatus comprising: the program empty execution means for generating an output file corresponding to an output file name obtained by conversion by the execution / empty execution switching means.
前記バッチファイルにおいて、実行順序が定義された前記プログラム実行単位が、LSIの設計に係るものであることを特徴とする請求項1又は2記載のバッチ処理検証装置。   3. The batch processing verification apparatus according to claim 1, wherein the program execution unit in which an execution order is defined in the batch file relates to LSI design. バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証プログラムであって、
コンピュ-タを、
前記プログラム実行単位ごとに、処理名と、その処理に対応する前記プログラム実行単位の名称を示す処理対象名、前記プログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報、その処理で使用される入力ファイルの名称、その処理のプログラム実行に必要な環境情報を記憶し、かつ実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報が対応付けられ、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報が対応付けられた入力情報記憶手段、
処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を記憶する対応表記憶手段、
前記入力情報記憶手段から前記プログラム実行単位ごとに、前記処理名及び前記処理対象名を入力し、前記処理名-必須環境情報・入力ファイル対応表から前記処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と取得した前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも前記入力ファイルの名称又は前記処理対象名を用いて変換された前記必須環境情報のいずれかが前記入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了する必須環境情報・入力ファイル確認手段、
前記入力ファイルの名称及び前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段に記憶されている場合、これらに対応する実行・空実行情報を前記入力情報記憶手段から取得し、当該実行・空実行情報が、前記プログラム実行単位を実際に実行することを示すものである場合、前記プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、前記プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行する実行・空実行切り替え手段、
前記処理名-入出力ファイル・実行プログラム対応表から前記処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に前記プログラム実行手段により実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、前記処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、前記処理名-入出力ファイル・実行プログラム対応表から取得したプログラムを実行して、前記入力ファイルの名称に対応する入力ファイルにもとづき前記出力ファイルを生成する前記プログラム実行手段、及び、
前記処理名-入出力ファイル・実行プログラム対応表から前記処理名に対応する、出力ファイルの名称の雛型を取得し、前記処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、この出力ファイルの名称に対応する出力ファイルを生成する前記プログラム空実行手段
として機能させるためのバッチ処理検証プログラム。
A batch processing verification program for verifying whether input files necessary for executing a program execution unit defined in a batch file are available,
Computer
For each program execution unit, a processing name, a processing target name indicating the name of the program execution unit corresponding to the processing, and an execution / empty state indicating whether the program execution unit is actually executed or empty execution processing is performed. Execution information, name of input file used in the process, environment information necessary for program execution of the process , and all programs executed after the program execution unit associated with the execution information Execution information is associated with the execution unit, and input information storage means in which empty execution information is associated with all program execution units that are subsequently executed following the program execution unit associated with the empty execution information ,
Process name, environment information necessary for program execution of the process, input file name template to store the process name-required environment information / input file correspondence table, process name, and program executed in the process A process name-input / output file / executable program correspondence table that stores a model of the name of the input file used in the process and a model of the name of the output file generated by executing the program executed in the process Correspondence table storage means for storing,
The processing name and the processing target name are input for each program execution unit from the input information storage means, and the required environment information and input file corresponding to the processing name from the processing name-essential environment information / input file correspondence table And obtain the input file name by converting the input file name template using the processing target name, or the processing target name of the previously executed program execution unit Is used to obtain the input file name that is the same as the output file name generated by the previously executed program execution unit by converting the input file name template, and the converted input file name and Whether or not the required environment information converted using the acquired processing target name is stored in the input information storage unit corresponding to the program execution unit. If at least one of the required environment information converted using the input file name or the processing target name is not stored in the input information storage means, an error is output and the process is terminated. To check the required environment information and input file,
When the essential environment information converted using the name of the input file and the processing target name is stored in the input information storage unit, execution / empty execution information corresponding to the essential environment information is acquired from the input information storage unit If the execution / empty execution information indicates that the program execution unit is actually executed, a program execution unit that executes the program execution unit to generate an output file is executed, If the empty execution information indicates that an empty execution process is performed, an execution / empty execution switching unit that executes a program empty execution unit that generates an output file without executing the program execution unit,
The process name-input / output file / execution program correspondence table is used to obtain the program executed in the process, the input file name model, and the output file name model corresponding to the process name, and the processing target The name of the input file is obtained by converting the template of the name of the input file using the name, or the name of the input file using the processing target name of the program execution unit previously executed by the program execution means By converting the template, the name of the input file that is the same as the name of the output file generated by the previously executed program execution unit is obtained, and the name of the output file is obtained using the processing target name. Convert the template, acquire the name of the output file, execute the program acquired from the processing name-input / output file / executable program correspondence table, Said program executing means for generating the output file based on the input file corresponding to the name of the entry force file and,
Obtain the output file name template corresponding to the process name from the process name-input / output file / executable program correspondence table, and convert the output file name template using the process target name, A batch processing verification program for obtaining the name of an output file and causing it to function as the empty program execution means for generating an output file corresponding to the name of the output file.
バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証プログラムであって、
コンピュ-タを、
前記プログラム実行単位ごとに、処理名と、その処理に対応する前記プログラム実行単位の名称を示す処理対象名、その処理で使用される入力ファイルの名称、及び前記プログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報を記憶し、かつ実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報が対応付けられ、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報が対応付けられた入力情報記憶手段、
処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を記憶する対応表記憶手段、
前記入力情報記憶手段から前記プログラム実行単位ごとに、前記処理名及び前記処理対象名を入力し、前記処理名-必須環境情報・入力ファイル対応表から前記処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも前記入力ファイルの名称又は前記処理対象名を用いて変換された前記必須環境情報のいずれかが前記入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了する必須環境情報・入力ファイル確認手段、
前記入力ファイルの名称及び前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段に記憶されている場合、前記処理名-入出力ファイル・実行プログラム対応表から前記処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に前記プログラム実行手段により実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、前記処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、かつ、前記入力ファイルの名称及び前記処理対象名を用いて変換された前記必須環境情報に対応する実行・空実行情報を前記入力情報記憶手段から取得し、当該実行・空実行情報が、前記プログラム実行単位を実際に実行することを示すものである場合、前記プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、前記プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行する実行・空実行切り替え手段、
前記実行・空実行切り替え手段により前記処理名-入出力ファイル・実行プログラム対応表から取得されたプログラムを実行して、前記実行・空実行切り替え手段により変換して得られた前記入力ファイルの名称に対応する入力ファイルにもとづいて、前記出力ファイルを生成する前記プログラム実行手段、及び、
前記実行・空実行切り替え手段により変換して得られた出力ファイルの名称に対応する出力ファイルを生成する前記プログラム空実行手段
として機能させるためのバッチ処理検証プログラム。
A batch processing verification program for verifying whether input files necessary for executing a program execution unit defined in a batch file are available,
Computer
For each program execution unit, a process name, a process target name indicating the name of the program execution unit corresponding to the process, an input file name used in the process, and whether the program execution unit is actually executed Alternatively, execution / empty execution information indicating whether to perform empty execution processing is stored , and execution information is associated with all program execution units that are subsequently executed following the program execution unit associated with the execution information. Input information storage means in which empty execution information is associated with all program execution units executed subsequently to the program execution unit associated with the empty execution information ,
Process name, environment information necessary for program execution of the process, input file name template to store the process name-required environment information / input file correspondence table, process name, and program executed in the process A process name-input / output file / executable program correspondence table that stores a model of the name of the input file used in the process and a model of the name of the output file generated by executing the program executed in the process Correspondence table storage means for storing,
The processing name and the processing target name are input for each program execution unit from the input information storage means, and the required environment information and input file corresponding to the processing name from the processing name-essential environment information / input file correspondence table And obtain the input file name by converting the input file name template using the processing target name, or the processing target name of the previously executed program execution unit Is used to obtain the name of the input file that is the same as the name of the output file generated by the previously executed program execution unit. Check whether the required environment information converted using the processing target name is stored in the input information storage unit corresponding to the program execution unit. If at least one of the required environment information converted using the name of the input file or the name of the processing target is not stored in the input information storage unit, an essential environment for outputting an error and ending the process Information / input file confirmation means,
When the required environment information converted using the name of the input file and the processing target name is stored in the input information storage means, the processing name is converted into the processing name from the processing name-input / output file / execution program correspondence table. The corresponding program executed in the process, input file name template, output file name template are acquired, and the input file name template is converted using the processing target name to input file. The program executed earlier is obtained by converting the template of the name of the input file using the processing target name of the program execution unit executed by the program execution unit previously. Obtains the same input file name as the output file name generated by the execution unit, and changes the output file name template using the processing target name. In other words, the name of the output file is acquired, and the execution / empty execution information corresponding to the essential environment information converted by using the name of the input file and the processing target name is acquired from the input information storage unit. If the execution / empty execution information indicates that the program execution unit is actually executed, a program execution unit that executes the program execution unit to generate an output file is executed, If the empty execution information indicates that an empty execution process is performed, an execution / empty execution switching unit that executes a program empty execution unit that generates an output file without executing the program execution unit,
By executing the program acquired from the processing name-input / output file / execution program correspondence table by the execution / empty execution switching means, the name of the input file obtained by conversion by the execution / empty execution switching means The program execution means for generating the output file based on a corresponding input file; and
A batch processing verification program for functioning as the program empty execution means for generating an output file corresponding to an output file name obtained by conversion by the execution / empty execution switching means.
バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証方法であって、
前記プログラム実行単位ごとに、処理名と、その処理に対応する前記プログラム実行単位の名称を示す処理対象名、前記プログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報、その処理で使用される入力ファイルの名称、その処理のプログラム実行に必要な環境情報を入力情報記憶手段に記憶させ、前記入力情報記憶手段において、実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報を対応付け、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報を対応付け、
処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を対応表記憶手段に記憶させ、
必須環境情報・入力ファイル確認手段が、前記入力情報記憶手段から前記プログラム実行単位ごとに、前記処理名及び前記処理対象名を入力し、前記処理名-必須環境情報・入力ファイル対応表から前記処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも前記入力ファイルの名称又は前記処理対象名を用いて変換された前記必須環境情報のいずれかが前記入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了し、
実行・空実行切り替え手段が、前記入力ファイルの名称及び前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段に記憶されている場合、これらに対応する実行・空実行情報を前記入力情報記憶手段から取得し、当該実行・空実行情報が、前記プログラム実行単位を実際に実行することを示すものである場合、前記プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、前記プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行し、
前記プログラム実行手段が、前記処理名-入出力ファイル・実行プログラム対応表から前記処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に前記プログラム実行手段により実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、前記処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、前記処理名-入出力ファイル・実行プログラム対応表から取得したプログラムを実行して、前記入力ファイルの名称に対応する入力ファイルにもとづき前記出力ファイルを生成し、
前記プログラム空実行手段が、前記処理名-入出力ファイル・実行プログラム対応表から前記処理名に対応する、出力ファイルの名称の雛型を取得し、前記処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、この出力ファイルの名称に対応する出力ファイルを生成する
ことを特徴とするバッチ処理検証方法。
A batch processing verification method for verifying whether input files necessary for executing a program execution unit defined in a batch file are prepared,
For each program execution unit, a processing name, a processing target name indicating the name of the program execution unit corresponding to the processing, and an execution / empty state indicating whether the program execution unit is actually executed or empty execution processing is performed. Execution information, the name of the input file used in the process, and environment information necessary for program execution of the process are stored in the input information storage means, and the program execution unit associated with the execution information in the input information storage means The execution information is associated with all program execution units that are subsequently executed, and the empty execution information is provided for all program execution units that are subsequently executed following the program execution unit associated with the empty execution information. Map
Process name, environment information necessary for program execution of the process, input file name template to store the process name-required environment information / input file correspondence table, process name, and program executed in the process A process name-input / output file / executable program correspondence table that stores a model of the name of the input file used in the process and a model of the name of the output file generated by executing the program executed in the process Store it in the correspondence table storage means,
The essential environment information / input file confirmation means inputs the process name and the process target name for each program execution unit from the input information storage means, and the process from the process name-essential environment information / input file correspondence table. Get the required environment information and input file name template corresponding to the name, convert the input file name template using the processing target name, and acquire the input file name, or execute first The input file name that is the same as the output file name generated by the previously executed program execution unit is converted by converting the input file name template using the processed name of the program execution unit that has been executed. The required environment information converted by using the acquired input file name and the processing target name is stored in the input information storage means. Whether at least one of the name of the input file or the essential environment information converted using the processing target name is stored in the input information storage means. If this happens, output an error and terminate the process.
When the essential environment information converted by the execution / empty execution switching means using the input file name and the processing target name is stored in the input information storage means, the execution / empty execution information corresponding thereto Is executed from the input information storage means, and when the execution / empty execution information indicates that the program execution unit is actually executed, the program execution unit generates the output file by executing the program execution unit. And executing the program empty execution means for generating an output file without executing the program execution unit when the execution / empty execution information indicates that the empty execution process is performed,
The program execution means selects a program to be executed in the process, a template of the input file name, and a template of the output file name corresponding to the process name from the process name-input / output file / executable program correspondence table. Obtain the input file name by converting the input file name template using the processing target name, or the processing target name of the program execution unit previously executed by the program execution unit By using the input file name to convert the input file name template, the same input file name as the output file name generated by the previously executed program execution unit is obtained, and the processing target name is used. The output file name template is converted to obtain the output file name and obtained from the processing name-input / output file / executable program correspondence table. Program running, to generate the output file based on the input file corresponding to the name of the input file,
The program empty execution means obtains an output file name template corresponding to the process name from the process name-input / output file / executable program correspondence table, and uses the process target name to determine the name of the output file. A batch processing verification method characterized by converting a template, obtaining an output file name, and generating an output file corresponding to the output file name.
バッチファイルに定義されているプログラム実行単位を実行するために必要な入力ファイルが揃っているかを検証するバッチ処理検証方法であって、
前記プログラム実行単位ごとに、処理名と、その処理に対応する前記プログラム実行単位の名称を示す処理対象名、その処理で使用される入力ファイルの名称、及び前記プログラム実行単位を実際に実行するか又は空実行処理を行うかを示す実行・空実行情報を入力情報記憶手段に記憶させ、前記入力情報記憶手段において、実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には実行情報を対応付け、空実行情報に対応付けられたプログラム実行単位に続いてその後に実行される全てのプログラム実行単位には空実行情報を対応付け、
処理名と、その処理のプログラム実行に必要な環境情報、入力ファイルの名称の雛型を格納する処理名-必須環境情報・入力ファイル対応表、及び、処理名と、その処理で実行されるプログラム、その処理で使用される入力ファイルの名称の雛型、その処理で実行されるプログラムの実行により生成される出力ファイルの名称の雛型を格納する処理名-入出力ファイル・実行プログラム対応表を対応表記憶手段に記憶させ、
必須環境情報・入力ファイル確認手段が、前記入力情報記憶手段から前記プログラム実行単位ごとに、前記処理名及び前記処理対象名を入力し、前記処理名-必須環境情報・入力ファイル対応表から前記処理名に対応する必須環境情報及び入力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得し、変換した入力ファイルの名称と前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段において、当該プログラム実行単位に対応して記憶されているか否かを確認し、少なくとも前記入力ファイルの名称又は前記処理対象名を用いて変換された前記必須環境情報のいずれかが前記入力情報記憶手段に記憶されていない場合、エラー出力を行って処理を終了し、
実行・空実行切り替え手段が、前記入力ファイルの名称及び前記処理対象名を用いて変換された前記必須環境情報が前記入力情報記憶手段に記憶されている場合、前記処理名-入出力ファイル・実行プログラム対応表から前記処理名に対応する、その処理で実行されるプログラム、入力ファイルの名称の雛型、出力ファイルの名称の雛型を取得し、前記処理対象名を用いて入力ファイルの名称の雛型を変換して入力ファイルの名称を取得し、又は、先に前記プログラム実行手段により実行された前記プログラム実行単位の処理対象名を用いて入力ファイルの名称の雛型を変換することで、当該先に実行された前記プログラム実行単位により生成した出力ファイルの名称と同一の入力ファイルの名称を取得するとともに、前記処理対象名を用いて出力ファイルの名称の雛型を変換して、出力ファイルの名称を取得し、かつ、前記入力ファイルの名称及び前記処理対象名を用いて変換された前記必須環境情報に対応する実行・空実行情報を前記入力情報記憶手段から取得し、当該実行・空実行情報が、前記プログラム実行単位を実際に実行することを示すものである場合、前記プログラム実行単位を実行して出力ファイルを生成するプログラム実行手段を実行し、当該実行・空実行情報が、空実行処理を行うことを示すものである場合、前記プログラム実行単位を実行することなく、出力ファイルを生成するプログラム空実行手段を実行し、
前記プログラム実行手段が、前記実行・空実行切り替え手段により前記処理名-入出力ファイル・実行プログラム対応表から取得されたプログラムを実行して、前記実行・空実行切り替え手段により変換して得られた前記入力ファイルの名称に対応する入力ファイルにもとづいて、前記出力ファイルを生成し、
前記プログラム空実行手段が、前記実行・空実行切り替え手段により変換して得られた出力ファイルの名称に対応する出力ファイルを生成する
ことを特徴とするバッチ処理検証方法。
A batch processing verification method for verifying whether input files necessary for executing a program execution unit defined in a batch file are prepared,
For each program execution unit, a process name, a process target name indicating the name of the program execution unit corresponding to the process, an input file name used in the process, and whether the program execution unit is actually executed Alternatively, execution / empty execution information indicating whether to perform empty execution processing is stored in the input information storage unit, and in the input information storage unit, all program executions subsequently executed following the program execution unit associated with the execution information Execution information is associated with a program execution unit, and empty execution information is associated with all program execution units that are subsequently executed following the program execution unit associated with empty execution information,
Process name, environment information necessary for program execution of the process, input file name template to store the process name-required environment information / input file correspondence table, process name, and program executed in the process A process name-input / output file / executable program correspondence table that stores a model of the name of the input file used in the process and a model of the name of the output file generated by executing the program executed in the process Store it in the correspondence table storage means,
The essential environment information / input file confirmation means inputs the process name and the process target name for each program execution unit from the input information storage means, and the process from the process name-essential environment information / input file correspondence table. Get the required environment information and input file name template corresponding to the name, convert the input file name template using the processing target name, and acquire the input file name, or execute first The input file name that is the same as the output file name generated by the previously executed program execution unit is converted by converting the input file name template using the processed name of the program execution unit that has been executed. The required environment information converted by using the acquired input file name and the processing target name is stored in the input information storage means. Whether at least one of the name of the input file or the essential environment information converted using the processing target name is stored in the input information storage means. If this happens, output an error and terminate the process.
When the required environment information converted by the execution / empty execution switching means using the input file name and the processing target name is stored in the input information storage means, the processing name-input / output file / execution Acquires the program executed in the process, the input file name model, and the output file name model corresponding to the process name from the program correspondence table, and uses the process target name to determine the name of the input file. By converting the template to obtain the name of the input file, or by converting the template of the name of the input file using the processing target name of the program execution unit previously executed by the program execution unit, While obtaining the name of the input file that is the same as the name of the output file generated by the previously executed program execution unit, and using the processing target name Execution / empty execution information corresponding to the required environment information converted using the input file name and the processing target name by converting the output file name template to obtain the output file name Is executed from the input information storage means, and when the execution / empty execution information indicates that the program execution unit is actually executed, the program execution unit generates the output file by executing the program execution unit. And executing the program empty execution means for generating an output file without executing the program execution unit when the execution / empty execution information indicates that the empty execution process is performed,
The program execution means is obtained by executing the program acquired from the processing name-input / output file / execution program correspondence table by the execution / empty execution switching means and converting by the execution / empty execution switching means. Generating the output file based on the input file corresponding to the name of the input file;
The batch processing verification method, wherein the program empty execution means generates an output file corresponding to the name of the output file obtained by conversion by the execution / empty execution switching means.
JP2004334786A 2004-11-18 2004-11-18 Batch processing verification apparatus, batch processing verification program, and batch processing verification method Expired - Fee Related JP4483543B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004334786A JP4483543B2 (en) 2004-11-18 2004-11-18 Batch processing verification apparatus, batch processing verification program, and batch processing verification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004334786A JP4483543B2 (en) 2004-11-18 2004-11-18 Batch processing verification apparatus, batch processing verification program, and batch processing verification method

Publications (2)

Publication Number Publication Date
JP2006146503A JP2006146503A (en) 2006-06-08
JP4483543B2 true JP4483543B2 (en) 2010-06-16

Family

ID=36626119

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004334786A Expired - Fee Related JP4483543B2 (en) 2004-11-18 2004-11-18 Batch processing verification apparatus, batch processing verification program, and batch processing verification method

Country Status (1)

Country Link
JP (1) JP4483543B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6028657B2 (en) * 2013-03-28 2016-11-16 富士通株式会社 Verification program, verification method, and verification apparatus
JP6256115B2 (en) 2014-03-10 2018-01-10 富士通株式会社 Operation search program, operation search method, and operation search device
KR101762283B1 (en) 2016-05-19 2017-07-31 주식회사 티맥스 소프트 Method and computer program stored in computer-readable medium for converting sort script to reuse jcl in different encoding environment

Also Published As

Publication number Publication date
JP2006146503A (en) 2006-06-08

Similar Documents

Publication Publication Date Title
JP6249016B2 (en) Fault recovery procedure generation device, fault recovery procedure generation method, and fault recovery procedure generation program
CN105005295A (en) Test system and test method for control logic
JP4483543B2 (en) Batch processing verification apparatus, batch processing verification program, and batch processing verification method
EP2271982A1 (en) A method and a system for transforming an object model
JP4672532B2 (en) Operator simulation system and operator simulation method
US20080189095A1 (en) Method and tool for generating simulation case for ic device
JP5353063B2 (en) Coping knowledge generation program, coping knowledge generation device, and coping knowledge generation method
JP2009289162A (en) Apparatus for automatically creating control program and testing method plan
JP2006155047A (en) Verification system and verification method
CN108733028A (en) A kind of test system and method for control logic
WO2012049816A1 (en) Model checking device, method, and program
KR101013415B1 (en) Apparatus and mehtod for testing rtc module
JP4390639B2 (en) LSI design system, LSI design program
CN113297085B (en) SOC platform-based algorithm verification method and device
CN116009836B (en) RPA programming method, device, equipment and storage medium based on script language
JP5215835B2 (en) Program application support tool
JP2013228938A (en) Working simulation device and method
JP2010102446A (en) Automatic software test device
JP7283569B2 (en) Operation pattern generation device, operation pattern generation method and program
JP6855886B2 (en) Logic generator
JP2006338391A (en) State machine and operation method for it
JP2008171034A (en) Program creation support device, program creation support program and program creation support method
CN105786689B (en) The efficiency automatic test approach and its system of the Linux server of ARM
JP2002323992A (en) Device and method for generating test case condition
JP2020087311A (en) Simulation system and simulation method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090428

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090929

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091116

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100302

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100315

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130402

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees