JP2006003978A - Conversion error record recovery program - Google Patents

Conversion error record recovery program Download PDF

Info

Publication number
JP2006003978A
JP2006003978A JP2004177075A JP2004177075A JP2006003978A JP 2006003978 A JP2006003978 A JP 2006003978A JP 2004177075 A JP2004177075 A JP 2004177075A JP 2004177075 A JP2004177075 A JP 2004177075A JP 2006003978 A JP2006003978 A JP 2006003978A
Authority
JP
Japan
Prior art keywords
error
data
conversion
record
code
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.)
Withdrawn
Application number
JP2004177075A
Other languages
Japanese (ja)
Inventor
Toshiaki Kubota
利秋 久保田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2004177075A priority Critical patent/JP2006003978A/en
Publication of JP2006003978A publication Critical patent/JP2006003978A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a conversion error record recovery program that allows easily performing a process for recovering error data without interrupting a data conversion process. <P>SOLUTION: The conversion error record recovery program includes a code conversion step for subjecting an input file 10 to code conversion according to a code conversion table, an error record output step for outputting error record information that does not correspond to the code conversion table to an error logging file 30, and an error data code conversion step for reading and subjecting the error logging file 30 to code conversion according to the corrected code conversion table, so that the program can easily perform a process for recovering error data by use of the error logging file 30 without interrupting the code conversion process. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、コンピュータシステム間などにおける異なるデータのコード体系を持つデータの流通およびデータ属性の変更に関し、特に、変換エラーに対するリカバリ処理を行うコード変換エラーレコードリカバリプログラムに関するものである。   The present invention relates to the distribution of data having different data code systems between computer systems and the like, and the change of data attributes, and more particularly to a code conversion error record recovery program that performs recovery processing for conversion errors.

従来、コード変換処理を行う場合、例えば、入力ファイルに格納されたシフトJISコードのデータを、EUCコードのデータにコード変換し、出力ファイルに格納するには、シフトJISコードからEUCコードへの変換テーブルを用いて、入力ファイルの各レコードをコード変換し、コード変換ができないレコードがあった場合には、コード変換を行った利用者にエラーメッセージを出力して、通知する。その後、利用者は、コード変換エラーのメッセージによりエラーとなったレコードを特定し、コード変換処理の入力ファイルから該当レコードを取り出し、コード変換エラーの原因を取り除いたコード変換処理の環境のもとで、そのレコードのコード変換処理を再実行することで、コード変換エラーのリカバリを行っていた。   Conventionally, when code conversion processing is performed, for example, to convert shift JIS code data stored in an input file into EUC code data and store it in an output file, conversion from shift JIS code to EUC code Using the table, each record of the input file is code-converted. If there is a record that cannot be code-converted, an error message is output to the user who has performed the code conversion and notified. After that, the user identifies the record in error by the code conversion error message, retrieves the record from the input file of the code conversion process, and removes the cause of the code conversion error in the environment of the code conversion process. The code conversion error was recovered by re-executing the code conversion processing of the record.

また、データ属性の変更の場合も、例えば、文字属性のデータ(□□100、□:ブランクを示す)を数値属性のデータ(00100)に変更する際、ブランク(□□)は数値でないために不当データエラーとなる。不当データエラーのリカバリもコード変換エラーの対応と同様にエラーメッセージをもとに入力ファイルからエラーとなったレコードを特定し、そのレコードのエラー箇所を変更(ブランクを数値に変更など)後、そのレコードのリカバリを行っていた。   Also, in the case of data attribute change, for example, when character attribute data (□□ 100, □: indicates a blank) is changed to numeric attribute data (00100), the blank (□□) is not a numerical value. An invalid data error occurs. For recovery of invalid data error, the error record is identified from the input file based on the error message in the same way as for the code conversion error, the error part of the record is changed (blank is changed to a numerical value, etc.) The record was being recovered.

ここで、他のシステムで作成された既存のデータを、自システムで利用できる形にフォーマット変換を行う従来のフォーマット変換装置(データ変換装置)のブロック図を図13に、処理フローチャートを図14に示し、説明する。   Here, FIG. 13 is a block diagram of a conventional format conversion apparatus (data conversion apparatus) that converts existing data created by another system into a form that can be used by the own system, and FIG. 14 is a process flowchart. Show and explain.

図13に示すように、従来のフォーマット変換装置は、フォーマット変換処理部105およびこのフォーマット変換処理部105に接続された変換元データ101、変換方法パラメータファイル102、変換先データ103、アラームログファイル104および複数の外部変換処理モジュール106より構成される。   As shown in FIG. 13, a conventional format conversion apparatus includes a format conversion processing unit 105, conversion source data 101, conversion method parameter file 102, conversion destination data 103, and alarm log file 104 connected to the format conversion processing unit 105. And a plurality of external conversion processing modules 106.

ここで、変換元データ101は、他のシステムで作成されたデータである。変換方法パラメータファイル102は、変換方法などを記述した変換方法のパラメータファイルである。変換先データ103は、自システムで使用するデータである。アラームログファイル104は、変換元データ101に不正なデータを発見した場合に、その結果を保存するファイルである。フォーマット変換処理部105は、変換元データ101のフォーマット変換を行うフォーマット変換処理部である。また、外部変換処理モジュール106は、フォーマット変換部105の内部で処理できない変換処理を行う場合に呼び出す外部変換処理モジュール群である。   Here, the conversion source data 101 is data created by another system. The conversion method parameter file 102 is a conversion method parameter file describing a conversion method and the like. The conversion destination data 103 is data used in the own system. The alarm log file 104 is a file for storing the result when invalid data is found in the conversion source data 101. The format conversion processing unit 105 is a format conversion processing unit that performs format conversion of the conversion source data 101. The external conversion processing module 106 is an external conversion processing module group that is called when performing conversion processing that cannot be processed inside the format conversion unit 105.

また、図14に示すように、従来のフォーマット変換装置は、まず、ステップ201において、フォーマット変換処理部105が、変換方法パラメータファイル102を読み込み内部に保存する。ステップ202で、変換元データ101のデータ件数分ループを開始する。次に、ステップ203において、変換元データ101の1件分を読み込み、ステップ204で変換方法パラメータファイル102に指示されている変換方法の件数分ループを開始する。ステップ205で、変換元データ入力順位で指定されたデータが、データ形式および桁数に指定された通りのデータであるかチェックする。ステップ206で、そのチェック結果を判断し、不正なデータであると判断した場合には、ステップ207で、エラー処理としてアラームログファイル104へアラームデータの書き込みを行う。このとき、変換元データ入力順位、データ形式および桁数が指定されていない場合には、チェックを行わず正常なデータであると判断して処理を継続する。   As shown in FIG. 14, in the conventional format conversion apparatus, first, in step 201, the format conversion processing unit 105 reads the conversion method parameter file 102 and stores it inside. In step 202, a loop is started for the number of data items of the conversion source data 101. Next, in step 203, one conversion source data 101 is read, and in step 204, a loop is started for the number of conversion methods specified in the conversion method parameter file 102. In step 205, it is checked whether the data specified by the conversion source data input order is the data specified by the data format and the number of digits. In step 206, the check result is determined. If it is determined that the data is invalid, alarm data is written in the alarm log file 104 as error processing in step 207. At this time, if the conversion source data input order, the data format, and the number of digits are not designated, it is determined that the data is normal without checking, and the processing is continued.

以下、ステップ206で正常なデータであると判断した場合には、ステップ208に進み、フォーマット変換方法から変換処理が内部処理で行えるのかまたは外部変換処理モジュール群106を呼び出す必要があるのかを判断する。内部処理により変換処理が行えると判断した場合には、内部処理によりフォーマット変換を行い、外部変換処理モジュール106を呼び出す必要があると判断した場合には、フォーマット変換方法から呼び出すべき外部変換処理モジュール106を判断し、適切な外部変換処理モジュール106を呼び出して、フォーマット変換処理を行う。   Thereafter, if it is determined in step 206 that the data is normal, the process proceeds to step 208, where it is determined whether the conversion process can be performed by the internal process from the format conversion method or whether the external conversion process module group 106 needs to be called. . When it is determined that conversion processing can be performed by internal processing, format conversion is performed by internal processing, and when it is determined that it is necessary to call the external conversion processing module 106, the external conversion processing module 106 to be called from the format conversion method. And an appropriate external conversion processing module 106 is called to perform format conversion processing.

その後、ステップ204からステップ212のフォーマット変換処理を、指示されている変換方法の件数分繰り返して、変換先データ1件分を作成し、ステップ215で、変換先データ103として出力する。さらに、変換元データ101の件数分繰り返したら処理を終了する(例えば、特許文献1参照)。
特開2001−184190号公報
Thereafter, the format conversion processing from step 204 to step 212 is repeated for the number of conversion methods instructed to create one conversion destination data, and the conversion destination data 103 is output in step 215. Further, when the number of conversion source data 101 is repeated, the processing is terminated (see, for example, Patent Document 1).
JP 2001-184190 A

しかしながら、このような従来のデータ変換処理装置においては、エラーデータをアラームログファイルに書き込んでいるだけで、そのリカバリ処理を行うことができない。したがって、データ変換処理を行うことができないデータのリカバリ処理については、コード変換エラーのレコードをコード変換処理の入力ファイルから検索し、特定した後、コード変換環境を修正し、再度、そのレコードのコード変換を実行しなくてはならないため、リカバリ方法として、時間がかかってしまうという問題があった。また、不当データエラーのリカバリ処理についても、同様の問題があった。   However, in such a conventional data conversion processing apparatus, the recovery process cannot be performed only by writing error data in the alarm log file. Therefore, for recovery processing of data that cannot be converted, the code conversion error record is searched from the input file of the code conversion process, identified, the code conversion environment is corrected, and the code of the record is again recorded. Since the conversion must be executed, there is a problem that it takes time as a recovery method. In addition, there is a similar problem with the recovery process of an illegal data error.

また、データ変換処理の最中に、変換不能なパターンが現れた場合、その場で常に代替え処理を入力させようとすると、データ変換処理が一旦停止してしまい、処理効率が悪くなるとともに、オペレータが常に対応しなければならず、その変換方法についても熟知していなければ処理を行うことができなくなってしまうという問題がある。   In addition, if a pattern that cannot be converted appears during the data conversion process, if an attempt is made to always input a replacement process on the spot, the data conversion process is temporarily stopped, the processing efficiency deteriorates, and the operator However, there is a problem that processing cannot be performed unless the conversion method is well known.

そこで、本発明は、このような従来の問題を解決するためになされたもので、データ変換処理を中断することなく、また、エラーとなったレコードを検索することもなく、容易にエラーデータのリカバリ処理を行うことができるコード変換エラーリカバリプログラムを提供するものである。   Therefore, the present invention has been made to solve such a conventional problem, and it is easy to detect error data without interrupting the data conversion process and without searching for an error record. A code conversion error recovery program capable of performing a recovery process is provided.

本発明の変換エラーレコードリカバリプログラムは、コンピュータを、データレコードをコード変換テーブルにしたがってコード変換するコード変換手段、前記データレコードが前記コード変換テーブルに該当せずにコード変換エラーとなるとき、前記データレコードを含むエラーレコード情報を、エラーロギングファイルに出力するエラーレコード出力手段、修正されたコード変換テーブルにしたがって、前記エラーロギングファイルからエラーレコード情報に含まれるコード変換エラーを起こしたデータレコードを取り出して、コード変換するエラーコード変換手段、前記コード変換されたデータレコードを出力する変換レコード出力手段、として機能させることを特徴としている。   The conversion error record recovery program of the present invention provides a computer with code conversion means for code-converting a data record according to a code conversion table, and when the data record does not correspond to the code conversion table and a code conversion error occurs, the data In accordance with the error record output means for outputting error record information including records to the error logging file, and the corrected code conversion table, the data record causing the code conversion error included in the error record information is extracted from the error logging file. , Functioning as error code conversion means for code conversion, and conversion record output means for outputting the code-converted data record.

この構成により、入力ファイルとは別ファイルにエラーデータの抽出を行うので、コード変換処理と別にデータリカバリ処理を行うことができ、コード変換処理を中断することなく、また、エラーとなったデータを改めて検索することもなく、容易にコード変換処理のリカバリ処理を行うことができる。   With this configuration, error data is extracted to a separate file from the input file, so data recovery processing can be performed separately from code conversion processing, and data that has become error can be processed without interrupting code conversion processing. The recovery process of the code conversion process can be easily performed without searching again.

また、本発明の変換エラーレコードリカバリプログラムは、前記エラーコード変換手段においてコード変換に失敗したときには、前記エラーレコード情報を更新する手段として更に機能させることを特徴としている。   The conversion error record recovery program of the present invention is further characterized in that when the error code conversion means fails in code conversion, it further functions as means for updating the error record information.

この構成により、リカバリ処理ができなかったデータについては、エラーロギングファイルの更新レコードにより再度リカバリ処理を行うことができる。   With this configuration, for data that could not be recovered, the recovery process can be performed again using the update record of the error logging file.

また、本発明の変換エラーレコードリカバリプログラムは、コンピュータを、データレコードをデータ属性テーブルにしたがって該データレコードの属性を変換する属性変換手段、前記データレコードが前記データ属性テーブルに該当せずに属性変換エラーとなるとき、前記データレコードを含むエラーレコード情報を、エラーロギングファイルに出力するエラーレコード出力手段、属性変換エラー発生時の処置を含むエラー修復形態にしたがって、前記エラーロギングファイルからエラーレコード情報に含まれる属性変換エラーを起こしたデータレコードを取り出して、該データレコードを修復するエラーデータ修復手段、修復されたデータレコードを出力する修復レコード出力手段、として機能させることを特徴としている。   Further, the conversion error record recovery program of the present invention provides a computer, attribute conversion means for converting the attribute of the data record according to the data attribute table, and attribute conversion without the data record corresponding to the data attribute table. When an error occurs, the error record information including the data record is output from the error logging file to the error record information in accordance with an error record output means for outputting to the error logging file, and an error recovery mode including an action when an attribute conversion error occurs. It is characterized by functioning as an error data repairing means for taking out a data record in which an attribute conversion error is included and repairing the data record, and a repair record output means for outputting the repaired data record.

この構成により、データ属性変換エラーとなったデータに対して、エラー修復形態を設定しリカバリ処理を行うので、同様のデータ属性変換エラーのデータもこのエラー修復形態によってリカバリすることができる。   With this configuration, an error recovery form is set for the data having a data attribute conversion error and recovery processing is performed, so that data with the same data attribute conversion error can also be recovered by this error repair form.

さらに、本発明の変換エラーレコードリカバリプログラムは、前記エラーコード修復手段において、前記データレコードの修復に失敗したときには、前記エラーレコード情報を更新する手段として更に機能させることを特徴としている。   Further, the conversion error record recovery program of the present invention is characterized in that the error code recovery means further functions as means for updating the error record information when the data record repair fails.

この構成により、リカバリ処理で不当データエラーを解消できなかったデータについては、エラーロギングファイルの更新レコードにより再度リカバリ処理を行うことができる。   With this configuration, the recovery process can be performed again with the update record of the error logging file for the data for which the invalid data error could not be resolved by the recovery process.

さらに、本発明の変換エラーレコードリカバリプログラムは、前記属性変換手段において前記データレコードが前記データ属性テーブルに該当せずに属性変換エラーとなるとき、かつ、前記エラー修復形態があるとき、前記エラー修復形態にしたがって、該データレコードの属性を変換する手段として更に機能させることを特徴としている。   Furthermore, the conversion error record recovery program according to the present invention provides the error recovery when the attribute conversion means causes an attribute conversion error when the data record does not correspond to the data attribute table and there is the error recovery form. According to the form, it is further characterized by further functioning as means for converting the attribute of the data record.

この構成により、データ属性変更時にエラー修復形態があればこのエラー修復形態にしたがってエラーを修復する。   With this configuration, if there is an error repair mode when the data attribute is changed, the error is repaired according to this error repair mode.

本発明は、データレコードをコード変換テーブルにしたがってコード変換し、前記データレコードが前記コード変換テーブルに該当せずにコード変換エラーとなるとき、前記データレコードを含むエラーレコード情報をエラーロギングファイルに出力して、修正されたコード変換テーブルにしたがって、前記エラーロギングファイルからエラーレコード情報に含まれるコード変換エラーを起こしたデータレコードを取り出してコード変換することにより、入力ファイルとは別ファイルにエラーデータの抽出を行うので、コード変換処理と別にデータリカバリ処理を行うことができ、コード変換処理を中断することなく、また、エラーとなったデータを改めて検索することもなく、容易にコード変換処理のリカバリ処理を行うことができるという効果を有するコード変換エラーレコードリカバリプログラムを提供することができるものである。   The present invention performs code conversion on a data record according to a code conversion table, and outputs error record information including the data record to an error logging file when the data record does not correspond to the code conversion table and a code conversion error occurs. Then, according to the corrected code conversion table, the data record in which the code conversion error has occurred included in the error record information is extracted from the error logging file and converted, so that the error data is stored in a file separate from the input file. Because the data is extracted, the data recovery process can be performed separately from the code conversion process, and the code conversion process can be easily recovered without interrupting the code conversion process and searching for the data that has become an error again. When processing can be done It is capable of providing transcoding error record recovery program having an effect.

また、本発明は、前記エラーコード変換においてコード変換に失敗したときには、前記エラーレコード情報を更新することにより、リカバリ処理ができなかったデータについては、エラーロギングファイルの更新レコードにより再度リカバリ処理を行うことができる。   Further, according to the present invention, when the code conversion fails in the error code conversion, the error record information is updated, and for the data that could not be recovered, the recovery process is performed again by the update record of the error logging file. be able to.

また、本発明は、データレコードをデータ属性テーブルにしたがって該データレコードの属性を変換し、前記データレコードが前記データ属性テーブルに該当せずに属性変換エラーとなるとき、前記データレコードを含むエラーレコード情報を、エラーロギングファイルに出力し、属性変換エラー発生時の処置を含むエラー修復形態にしたがって、前記エラーロギングファイルからエラーレコード情報に含まれる属性変換エラーを起こしたデータレコードを取り出して、該データレコードを修復することにより、データ属性変換エラーとなったデータに対して、エラー修復形態を設定しリカバリ処理を行うので、同様のデータ属性変換エラーのデータもこのエラー修復形態によってリカバリすることができる。   Further, the present invention converts an attribute of a data record according to a data attribute table, and when the data record does not correspond to the data attribute table and an attribute conversion error occurs, an error record including the data record Information is output to an error logging file, and the data record in which the attribute conversion error is included in the error record information is extracted from the error logging file in accordance with the error repair mode including the action when the attribute conversion error occurs, and the data By repairing a record, an error recovery mode is set for the data that has a data attribute conversion error and recovery processing is performed. Therefore, data with the same data attribute conversion error can also be recovered by this error recovery mode. .

さらに、本発明は、前記エラーコード修復において、前記データレコードの修復に失敗したときには、前記エラーレコード情報を更新することにより、リカバリ処理で不当データエラーを解消できなかったデータについては、エラーロギングファイルの更新レコードにより再度リカバリ処理を行うことができる。   Further, according to the present invention, in the error code repair, when the data record cannot be repaired, the error record information is updated to update the error record information. Recovery processing can be performed again using the updated record.

さらに、本発明は、前記属性変換において前記データレコードが前記データ属性テーブルに該当せずに属性変換エラーとなるとき、かつ、前記エラー修復形態があるとき、前記エラー修復形態にしたがって、該データレコードの属性を変換することにより、データ属性変更時にエラー修復形態があればこのエラー修復形態にしたがってエラーを修復するので、すでに対応済みのデータ属性変更エラーのデータを不当データとせずにデータ変換することができ、不当データエラーを過去のデータで解消することができる。   Further, the present invention provides the data record according to the error repair mode when the data record does not correspond to the data attribute table in the attribute conversion and an attribute conversion error occurs and the error repair mode exists. By converting the attribute of the data, if there is an error repair form when the data attribute is changed, the error is repaired according to the error repair form. Therefore, the data attribute change error data that has already been handled is converted to data without making it illegal. And invalid data errors can be resolved with past data.

以下、本発明の実施の形態におけるコード変換エラーリカバリプログラムの概略説明図を図1に示し、説明する。   Hereinafter, a schematic explanatory diagram of a code conversion error recovery program according to an embodiment of the present invention will be described with reference to FIG.

図1に示すように、本発明のコード変換エラーリカバリプログラムは、入力ファイル10からデータレコードを入力し、コード変換処理、データ属性変更処理を行って、出力ファイル20を作成する際に、コード変換エラー、または、不当データエラーが発生したら、新たに用意したエラーロギングファイル30へエラーレコード情報を出力して、このエラーロギングファイル30を入力とし、リカバリ処理を行う。   As shown in FIG. 1, the code conversion error recovery program of the present invention inputs a data record from an input file 10, performs code conversion processing and data attribute change processing, and creates an output file 20. If an error or an invalid data error occurs, error record information is output to a newly prepared error logging file 30, and the error logging file 30 is used as an input to perform recovery processing.

(第1の実施の形態)
まず、図2にコード変換処理、エラーロギングファイル30とリカバリ処理の関係を示し、説明する。ここで、図2に示す処理の前に付けた番号1から10は、全体の処理順序を示し、コード変換処理でコード変換エラーが発生するときのエラーロギングファイル30へのエラー情報出力とコード変換エラーの環境を修復した後のリカバリ処理を示す。
(First embodiment)
First, FIG. 2 shows the relationship between the code conversion process, the error logging file 30, and the recovery process. Here, numbers 1 to 10 given before the processing shown in FIG. 2 indicate the entire processing order, and error information output and code conversion to the error logging file 30 when a code conversion error occurs in the code conversion processing. The recovery process after repairing the error environment is shown.

コード変換エラーリカバリ処理は、コード変換処理、エラー環境修復処理およびリカバリ処理の3つに大別される。   Code conversion error recovery processing is broadly divided into three types: code conversion processing, error environment repair processing, and recovery processing.

図3に、コード変換処理のフローチャートを、図4に、リカバリ処理のフローチャートを示す。   FIG. 3 shows a flowchart of the code conversion process, and FIG. 4 shows a flowchart of the recovery process.

以下、図2、図3、図4を参照して、コード変換エラーリカバリ処理を説明する。   Hereinafter, the code conversion error recovery process will be described with reference to FIGS. 2, 3, and 4.

まず、コード変換処理では、コード変換対象の入力ファイル10を入力し(s11)、上記入力ファイル10のコード変換対象レコードを読み込む(s12)。上記入力ファイル10の全てのレコードが変換対象であれば、1件目のレコードから読み込む。続いて、読み込んだレコードの先頭のデータから、コード変換テーブルにしたがってコード変換を行う(s13)。   First, in the code conversion process, the code conversion target input file 10 is input (s11), and the code conversion target record of the input file 10 is read (s12). If all the records of the input file 10 are to be converted, the first record is read. Subsequently, code conversion is performed in accordance with the code conversion table from the top data of the read record (s13).

ここで、図5に、コード変換について具体例を挙げて説明する。図5に示すコード変換テーブルは、JISコードのコード表にEUCの対応コードを付加したものである。したがって、このコード変換テーブルによってJISコードとEUCコードとの相互変換を行うことができる。   Here, a specific example is given and demonstrated about code conversion in FIG. The code conversion table shown in FIG. 5 is obtained by adding an EUC corresponding code to a JIS code table. Therefore, mutual conversion between the JIS code and the EUC code can be performed by this code conversion table.

図5に示すように、例えば、JISコード体系で作成された入力ファイル10のレコードの"あ"という文字は、JISコードで"2422"(16進表記)とあらわされている。したがって、入力ファイル10上では、X"2422"(Xは16進表記であることを示す)というコードでデータを持っている。これをEUCコード体系であらわされる環境で正しく認識、表示できるように、コード変換テーブルでコード体系を変換する。"あ"は、EUCコード体系では、X"A4A2"であるので、コード変換時に、このコード変換テーブルにしたがって、X"2422"がX"A4A2"に変換される。   As shown in FIG. 5, for example, the character “A” in the record of the input file 10 created by the JIS code system is expressed as “2422” (hexadecimal notation) in the JIS code. Therefore, the input file 10 has data with a code of X "2422" (X indicates hexadecimal notation). The code system is converted by the code conversion table so that this can be correctly recognized and displayed in the environment represented by the EUC code system. "A" is X "A4A2" in the EUC code system, so X "2422" is converted to X "A4A2" according to this code conversion table during code conversion.

同様にして、入力レコードの"A"という文字であれば、JISコードのX"2341"からEUCコードのX"A3C1"に変換される。このようにして、JISコード体系で持っていたデータを、EUCコード体系のデータに変換する。   Similarly, the character “A” in the input record is converted from X “2341” of the JIS code to X “A3C1” of the EUC code. In this way, data held in the JIS code system is converted into data in the EUC code system.

コード変換エラーリカバリ処理説明に戻り、上記コード変換処理(s13)において、正しくコード変換が行われたか否かを判定し(s14)、正しくコード変換が行われれば、出力ファイル20に変換されたレコードを出力する(s21)。   Returning to the description of the code conversion error recovery process, it is determined whether or not the code conversion is correctly performed in the code conversion process (s13) (s14). If the code conversion is correctly performed, the record converted into the output file 20 is determined. Is output (s21).

コード変換処理(s13)時に、対応コードが無くコード変換が行えずにエラーとなった場合には、エラーメッセージを出力し(s15)、エラーロギングファイル30にエラーのあったレコードの情報を出力する(s16)。このエラー情報とは、エラー発生の日時、エラーメッセージコード/内容、エラー発生項目、入力レコード等である。   In the code conversion process (s13), if there is no corresponding code and the code conversion cannot be performed and an error occurs, an error message is output (s15), and information on the record in error is output to the error logging file 30. (S16). The error information includes date and time of error occurrence, error message code / content, error occurrence item, input record, and the like.

続いて、入力ファイル10の次のコード変換対象レコードがあるか否かを判別し(s17)、対象レコードがある場合には、そのレコードを読み出して、上記処理(s12〜s17)を繰り返し、コード変換対象レコードが無くなったら、コード変換処理を終了する。   Subsequently, it is determined whether or not there is a next code conversion target record in the input file 10 (s17). If there is a target record, the record is read and the above processing (s12 to s17) is repeated, When there are no more conversion target records, the code conversion process is terminated.

全てのレコードのコード変換処理の終了のいかんにかかわらず、コード変換エラー発生以後、エラーメッセージ等からエラーのあったデータが正しく変換されるように、オペレータがエラー環境の修復を行う。このエラー環境の修復では、コード変換できなかったものが、正しく変換されるように、オペレータがコード変換テーブルの修正を行う。   Regardless of the end of the code conversion process for all records, after the code conversion error occurs, the operator repairs the error environment so that the error data is correctly converted from the error message or the like. In repairing this error environment, the operator corrects the code conversion table so that those that could not be converted are converted correctly.

例えば、汎用コンピュータGSシリーズのコンピュータからUNIX(登録商標)コンピュータへデータを流通させる場合、GSシリーズで使用しているJEFコードの拡張漢字は、UNIX(登録商標)のEUCコードでは扱っていないため、単純にコード変換を行うとエラーとなる。具体的には、JEF拡張漢字が該当する。図6に、JEF拡張漢字の一部を示す。   For example, when data is distributed from a general-purpose computer GS series computer to a UNIX (registered trademark) computer, the extended Kanji characters of the JEF code used in the GS series are not handled by the UNIX (registered trademark) EUC code. If code conversion is simply performed, an error occurs. Specifically, JEF extended kanji is applicable. FIG. 6 shows a part of JEF extended kanji.

変換エラーとなった場合、図7に示すように、エラー環境修復として、GSシリーズの拡張漢字をUNIX(登録商標)で扱うために、拡張漢字をそれぞれ、JEFコードの利用者定義文字と、EUCコードの外字領域に定義が必要となる。   When a conversion error occurs, as shown in FIG. 7, in order to handle the GS series extended kanji as UNIX (registered trademark) as an error environment repair, each extended kanji is defined as a user-defined character in the JEF code and EUC. Definition is required in the external character area of the code.

エラー環境が修復できたら、リカバリ処理を行う。リカバリ処理では、コード変換処理ができなかった入力レコード情報の入ったエラーロギングファイル30を入力し(s41)、上記エラーロギングファイル30のリカバリ対象レコードを読み込む(s42)。上記エラーロギングファイル30の全てのレコードがリカバリ対象であれば、1件目のレコードから読み込む。   When the error environment can be repaired, recovery processing is performed. In the recovery process, the error logging file 30 containing the input record information for which the code conversion process could not be performed is input (s41), and the recovery target record of the error logging file 30 is read (s42). If all the records of the error logging file 30 are to be recovered, read from the first record.

また、ここで、コード変換テーブルの修正日時以前のレコードのみをリカバリ対象レコードとすることにより、余分なコード変換処理を行わずに、効率よくリカバリ処理を行うことができる。さらに、エラーコードなどにより、コード変換テーブルを修正したものと対応がとれれば、ピンポイントで対象レコードを指定でき、リカバリ処理の効率を上げることができる。   Here, by making only the records before the correction date and time of the code conversion table as the recovery target records, the recovery process can be efficiently performed without performing the extra code conversion process. Furthermore, if the error code or the like can correspond to the code conversion table corrected, the target record can be pinpointed and the efficiency of the recovery process can be increased.

続いて、読み込んだレコードの先頭のデータから、修正されたコード変換テーブルにしたがってコード変換を行う(s43)。   Subsequently, code conversion is performed from the top data of the read record according to the corrected code conversion table (s43).

上記コード変換処理(s43)において、正しくコード変換が行われたか否かを判定し(s44)、正しくコード変換が行われれば、出力ファイル20に変換されたレコードを出力する(s51)。そして、この正しくコード変換できたレコードを、エラーロギングファイル30から削除する(s52)。   In the code conversion process (s43), it is determined whether or not the code conversion is correctly performed (s44). If the code conversion is correctly performed, the converted record is output to the output file 20 (s51). Then, the record that has been correctly transcoded is deleted from the error logging file 30 (s52).

上記コード変換処理(s43)時に、エラーがあった場合には、エラーメッセージを出力し(s45)、このエラー情報で、エラーロギングファイル30の該当データレコードを更新する(s46)。   If there is an error during the code conversion process (s43), an error message is output (s45), and the corresponding data record in the error logging file 30 is updated with this error information (s46).

続いて、エラーロギングファイル30の次のリカバリ対象レコードがあるか否かを判別し(s47)、対象レコードがある場合には、そのレコードを読み出して、上記処理(s42〜s47)を繰り返し、リカバリ対象レコードの全てに処理を行ったら、リカバリ処理を終了する。   Subsequently, it is determined whether or not there is a next recovery target record in the error logging file 30 (s47). If there is a target record, the record is read and the above processing (s42 to s47) is repeated to recover. When processing has been performed on all of the target records, the recovery processing is terminated.

また、上記コード変換処理のリカバリ処理においては、エラーロギングファイル30からのコード変換時(s43)に、コード変換ができたとき該当するレコードを削除し(s52)、コード変換エラーがあったときエラーレコード情報を更新する(s46)ようにしたが、コード変換ができたときにレコード削除を行わず、コード変換エラーがあったとき、新たなエラーロギングファイルにエラーレコード情報を出力するようにしても良い。この場合、新たなエラーロギングファイルを使用してエラーリカバリ中に新たなエラーリカバリ処理を行うことができ、エラー環境を修復するごとに次々とリカバリ処理を行うことができ、コード変換定義のできたものから順にデータ変換していくことができる。   In the recovery process of the code conversion process, the corresponding record is deleted when the code conversion is completed during the code conversion from the error logging file 30 (s43), and an error occurs when there is a code conversion error. The record information is updated (s46), but when the code conversion is completed, the record is not deleted, and when there is a code conversion error, the error record information is output to a new error logging file. good. In this case, new error recovery processing can be performed during error recovery using a new error logging file, and recovery processing can be performed one after another every time the error environment is repaired, and the code conversion definition has been completed. The data can be converted in order.

以上の処理により、コード変換処理を中断することなく、また、エラーとなったレコードを改めて検索することもなく、容易にコード変換処理のリカバリ処理を行うことができる。   With the above processing, the recovery processing of the code conversion processing can be easily performed without interrupting the code conversion processing and without searching again for the record in error.

(第2の実施の形態)
次に、データ属性変更処理を例に、データ属性変更処理、エラーロギングファイル30とリカバリ処理の関係を、図8に示す。ここで、図8に示す処理の前に付けた番号1から10は、上記コード変換処理の説明図と同様に全体の処理順序を示し、データ属性変更処理で不当データエラーが発生するときのエラーロギングファイル30へのエラー情報出力とデータ属性変更エラーの環境を修復した後のリカバリ処理を示す。
(Second Embodiment)
Next, taking the data attribute change process as an example, the relationship between the data attribute change process, the error logging file 30 and the recovery process is shown in FIG. Here, the numbers 1 to 10 given before the processing shown in FIG. 8 indicate the entire processing order as in the explanatory diagram of the code conversion processing, and an error when an illegal data error occurs in the data attribute change processing. The recovery process after the error information output to the logging file 30 and the data attribute change error environment have been repaired is shown.

データ属性変更のリカバリ処理は、データ属性変更処理、エラー環境修復処理およびリカバリ処理の3つに大別される。   Data attribute change recovery processing is roughly divided into three: data attribute change processing, error environment repair processing, and recovery processing.

図9に、データ属性変更処理のフローチャートを、図10に、データ属性変更処理のエラーリカバリ処理のフローチャートを示す。ここで、データ属性変更処理では、出力先のデータ属性は決まっているので、この出力先のデータ属性を定義しているものを、出力データ属性定義ファイルとする。   FIG. 9 shows a flowchart of the data attribute change process, and FIG. 10 shows a flowchart of the error recovery process of the data attribute change process. Here, since the data attribute of the output destination is determined in the data attribute changing process, the data defining the data attribute of the output destination is defined as an output data attribute definition file.

以下、図8、図9、図10を参照して、データ属性変更のエラーリカバリ処理を説明する。   Hereinafter, error recovery processing for changing data attributes will be described with reference to FIGS.

まず、データ属性変更処理では、データ属性変更対象の入力ファイル10を入力し(s61)、上記入力ファイル10のデータ属性変更対象レコードを読み込む(s62)。続いて、読み込んだレコードを、出力データ属性定義ファイルの定義にしたがってデータ属性変更を行う(s63)。   First, in the data attribute change process, the input file 10 that is the data attribute change target is input (s61), and the data attribute change target record of the input file 10 is read (s62). Subsequently, the data attribute of the read record is changed according to the definition of the output data attribute definition file (s63).

次に、上記データ属性変更処理(s63)において、正しくデータ属性変更が行われたか否かを判定し(s64)、正しくデータ属性変更が行われれば、出力ファイル20に変換されたレコードを出力する(s71)。   Next, in the data attribute changing process (s63), it is determined whether or not the data attribute has been correctly changed (s64). If the data attribute has been correctly changed, the converted record is output to the output file 20. (S71).

データ属性変更処理(s63)時に、不当データエラーがあった場合には、エラーメッセージを出力し(s65)、エラーロギングファイル30に不当データエラーのあったレコードの情報を出力する(s66)。このエラー情報とは、コード変換時と同様に、エラー発生の日時、エラーメッセージコード/内容、エラー発生項目、入力レコード等である。   If there is an invalid data error during the data attribute change process (s63), an error message is output (s65), and information on the record having the illegal data error is output to the error logging file 30 (s66). This error information includes the date and time of error occurrence, error message code / contents, error occurrence item, input record, etc., as in code conversion.

続いて、入力ファイル10の次のデータ属性変更対象レコードがあるか否かを判別し(s67)、対象レコードがある場合には、そのレコードを読み出して、上記処理(s62〜s67)を繰り返し、データ属性変更対象レコードが無くなったら、データ属性変更処理を終了する。   Subsequently, it is determined whether or not there is a next data attribute change target record in the input file 10 (s67). If there is a target record, the record is read and the above processing (s62 to s67) is repeated. When there are no more data attribute change target records, the data attribute change process is terminated.

全てのレコードのデータ属性変更処理の終了のいかんにかかわらず、データ属性変更エラー発生以後、エラーメッセージ等から不当データエラーのあったデータが正しく変換されるように、エラー環境の修復をオペレータが行う。このエラー環境の修復では、不当データエラーになってしまったもののエラー修復ができるように、オペレータがエラー修復形態を作成し、ファイルに設定する。   Regardless of the end of the data attribute change processing for all records, after the data attribute change error occurs, the operator repairs the error environment so that the data with the invalid data error is correctly converted from the error message etc. . In this error environment repair, an operator creates an error repair form and sets it in a file so that an error can be repaired even if an invalid data error has occurred.

ここで、図11に、データ属性変更エラー例とエラー修復形態の作成例を示し、説明する。   Here, FIG. 11 shows an example of data attribute change error and an example of creating an error repair mode, which will be described.

例えば、入力ファイル10の入力レコードMのm項目が「□□100」(□はブランクを示す)であって、これを出力ファイル20では、数値属性の項目と設定されていたとする。この場合、□は数値項目ではないため、データ属性変更処理において、データ属性エラーとなる。   For example, it is assumed that the m item of the input record M in the input file 10 is “□□ 100” (□ indicates a blank), and this is set as a numerical attribute item in the output file 20. In this case, since □ is not a numerical item, a data attribute error occurs in the data attribute change process.

そこで、エラー修復として、エラーとなったレコードの□の扱いを、「数値属性に項目設定するデータで、数値桁以上の□は0に置き換える(つまり100の上位桁の□は0に変更)」とエラー修復形態を定義することで、同様なデータ属性のエラーが入力レコードMのx項目、あるいは、入力レコードNのある項目で発生しても、上記エラー修復形態によってリカバリすることができる。   Therefore, as an error repair, the handling of □ of the record that caused the error is “Replace □ of numeric digits or more with 0 (that is, change the □ of the upper digit of 100 to 0)”. Thus, even if an error with the same data attribute occurs in the x item of the input record M or an item in the input record N, the error recovery mode can be recovered.

他の例として、文字項目からパック形式の数値変換(□123→X"0123C"(パック形式):Cは数値が正であることを表す符号である)、数値項目から文字項目への0サプレス(00123→□□123)等が考えられる。   As another example, numeric conversion from character items to packed format (□ 123 → X "0123C" (pack format): C is a sign indicating that the numeric value is positive), 0 suppression from numeric item to character item (00123 → □□ 123) or the like can be considered.

次に、エラー環境修復後のデータ属性変更エラーリカバリ処理を説明する。データ属性変更エラーのリカバリ処理では、データ属性変更処理ができなかった入力レコード情報の入ったエラーロギングファイル30を入力し(s91)、上記エラーロギングファイル30のデータ属性変更リカバリ対象レコードを読み込む(s92)。上記エラーロギングファイル30の全てのレコードがデータ属性変更リカバリ対象であれば、1件目のレコードから読み込む。続いて、読み込んだレコードを、エラー修復形態にしたがって修復する(s93)。   Next, data attribute change error recovery processing after error environment repair will be described. In the recovery process for the data attribute change error, the error logging file 30 containing the input record information for which the data attribute change process could not be performed is input (s91), and the data attribute change recovery target record of the error logging file 30 is read (s92). ). If all the records of the error logging file 30 are data attribute change recovery targets, read from the first record. Subsequently, the read record is repaired according to the error repair mode (s93).

次に、上記エラー修復処理(s93)において、正しくデータ属性の変更が行われ、エラー修復が行われたか否かを判定し(s94)、正しくデータ属性変更が行われれば、出力ファイル20にデータ属性変更されたレコードを出力する(s101)。そして、この正しくデータ属性変更できたレコードを、エラーロギングファイル30から削除する(s102)。   Next, in the error repair process (s93), it is determined whether or not the data attribute has been correctly changed and the error has been repaired (s94). If the data attribute has been correctly changed, the data is stored in the output file 20. The record whose attribute has been changed is output (s101). Then, the record whose data attribute has been correctly changed is deleted from the error logging file 30 (s102).

上記エラー修復処理(s93)時に、再びエラーがあった場合には、エラーメッセージを出力し(s95)、このエラー情報で、エラーロギングファイル30の該当データレコードを更新する(s96)。   If there is an error again during the error recovery process (s93), an error message is output (s95), and the corresponding data record in the error logging file 30 is updated with this error information (s96).

続いて、エラーロギングファイル30の次のリカバリ対象レコードがあるか否かを判別し(s97)、対象レコードがある場合には、そのレコードを読み出して、上記処理(s92〜s97)を繰り返し、リカバリ対象レコードの全てに処理を行ったら、リカバリ処理を終了する。   Subsequently, it is determined whether or not there is a next recovery target record in the error logging file 30 (s97). If there is a target record, the record is read and the above processing (s92 to s97) is repeated to recover. When processing has been performed on all of the target records, the recovery processing is terminated.

また、上記コード変換処理と同様に、データ属性変更リカバリ処理において、データ属性変更ができたときにレコード削除を行わず、データ属性変更エラーがあったとき、新たなエラーロギングファイルにエラーレコード情報を出力するようにしても良い。   Similarly to the above code conversion process, in the data attribute change recovery process, when the data attribute can be changed, the record is not deleted. When there is a data attribute change error, the error record information is stored in a new error logging file. You may make it output.

さらに、データ属性変更処理において、自動的にエラー修復を行う自動修復処理について、図12に示し、説明する。   Furthermore, an automatic repair process that automatically performs error repair in the data attribute change process is shown in FIG.

図12に示すように、自動修復処理においては、過去に作成されたエラー修復形態を使用して、自動修復処理を行う。すなわち、データ属性変更処理において、不当データを検出した際(s64で判断)、エラー修復形態があるか否かを判定し(s111)、過去に同様のデータ属性エラーが発生していれば(エラー種別が同じであれば)、エラー修復形態のエラー発生時の処置にしたがってエラーデータを修復し(s112)、出力ファイル20に変換レコードを出力する(s71)。   As shown in FIG. 12, in the automatic repair process, the automatic repair process is performed using an error repair form created in the past. That is, in the data attribute change process, when invalid data is detected (determined in s64), it is determined whether there is an error repair mode (s111), and if a similar data attribute error has occurred in the past (error If the types are the same), the error data is repaired in accordance with the action when an error occurs in the error repair mode (s112), and the conversion record is output to the output file 20 (s71).

この自動修復処理により、過去にデータ属性変更において同様の不当データとなったデータに対しては、過去の修復方法を参照して、自動的に不当データエラーを解消することができる。   By this automatic repair process, the invalid data error can be automatically resolved by referring to the past repair method for the data that has become the same invalid data in the data attribute change in the past.

以上のように、本発明によれば、入力ファイルとは別ファイルにコード変換エラー・データ属性変換エラーのデータ情報を抽出するので、コード変換テーブル・エラー修復形態を設定後に、コード変換・データ属性変更とは別にデータリカバリ処理を行うことができ、コード変換処理・データ属性変更処理を中断することなく、また、エラーとなったレコードを改めて検索することもなく、容易にコード変換処理・データ属性変更処理のリカバリ処理を行うことができる。   As described above, according to the present invention, since the data information of the code conversion error / data attribute conversion error is extracted to a file different from the input file, the code conversion / data attribute is set after setting the code conversion table / error repair form. Data recovery processing can be performed separately from the change, and the code conversion processing and data attributes can be easily performed without interrupting the code conversion processing and data attribute changing processing, and without re-searching the record in error. The recovery process of the change process can be performed.

さらに、本発明に関して以下を付記する。   Furthermore, the following is added to the present invention.

(付記1) コンピュータを、
入力ファイルからデータレコードを読み込む読み込み手段、
読み込んだデータレコードをコード変換テーブルにしたがってコード変換するコード変換手段、
前記コード変換手段において前記データレコードが前記コード変換テーブルに該当せずにコード変換エラーとなるとき、前記データレコードを含むエラーレコード情報を、エラーロギングファイルに出力するエラーレコード出力手段、
コード変換エラーが起こらないように修正されたコード変換テーブルにしたがって、前記エラーロギングファイルからエラーレコード情報に含まれるコード変換エラーを起こしたデータレコードを取り出して、コード変換するエラーコード変換手段、
前記エラーコード変換手段においてコード変換されたデータレコードを出力する変換レコード出力手段、
として機能させるための変換エラーレコードリカバリプログラム。
(Appendix 1)
Reading means for reading data records from the input file,
Code conversion means for converting the read data record according to the code conversion table;
In the code conversion means, when the data record does not correspond to the code conversion table and a code conversion error occurs, error record information including the data record is output to an error logging file.
In accordance with a code conversion table that has been corrected so as not to cause a code conversion error, an error code conversion unit that takes out the data record in which the code conversion error has occurred included in the error record information from the error logging file and converts the code.
Conversion record output means for outputting the data record that has been code-converted in the error code conversion means,
Conversion error record recovery program to function as.

(付記2) 前記エラーコード変換手段においてコード変換に失敗したときには、前記エラーレコード情報を更新する手段として更に機能させるための請求項1記載の変換エラーレコードリカバリプログラム。   (Additional remark 2) The conversion error record recovery program of Claim 1 for functioning further as a means to update the said error record information, when the code conversion in the said error code conversion means fails.

(付記3) コンピュータを、
入力ファイルからデータレコードを読み込む読み込み手段、
読み込んだデータレコードをデータ属性テーブルにしたがって該データレコードの属性を変換する属性変換手段、
前記属性変換手段において前記データレコードが前記データ属性テーブルに該当せずに属性変換エラーとなるとき、前記データレコードを含むエラーレコード情報を、エラーロギングファイルに出力するエラーレコード出力手段、
属性変換エラー発生時の処置を含むエラー修復形態にしたがって、前記エラーロギングファイルからエラーレコード情報に含まれる属性変換エラーを起こしたデータレコードを取り出して、該データレコードを修復するエラーデータ修復手段、
修復されたデータレコードを出力する修復レコード出力手段、
として機能させるための変換エラーレコードリカバリプログラム。
(Appendix 3)
Reading means for reading data records from the input file,
Attribute conversion means for converting the attributes of the read data record according to the data attribute table;
In the attribute conversion means, when the data record does not correspond to the data attribute table and an attribute conversion error occurs, error record information including the data record is output to an error logging file.
In accordance with an error repair mode including an action when an attribute conversion error occurs, an error data repairing unit that takes out a data record in which an attribute conversion error is included in the error record information from the error logging file and repairs the data record;
Repair record output means for outputting the repaired data record,
Conversion error record recovery program to function as.

(付記4) 前記エラーコード修復手段において、前記データレコードの修復に失敗したときには、前記エラーレコード情報を更新する手段として更に機能させるための付記3記載の変換エラーレコードリカバリプログラム。   (Additional remark 4) The conversion error record recovery program of Additional remark 3 for making it further function as a means to update the said error record information, when the said error code repair means fails in the recovery of the said data record.

(付記5) 前記属性変換手段において前記データレコードが前記データ属性テーブルに該当せずに属性変換エラーとなるとき、かつ、前記エラー修復形態があるとき、前記エラー修復形態にしたがって、該データレコードの属性を変換する手段として更に機能させるための付記3または付記4記載の変換エラーレコードリカバリプログラム。   (Additional remark 5) When the said data record does not correspond to the said data attribute table in the said attribute conversion means, but an attribute conversion error occurs, and there exists the said error repair form, according to the said error repair form, The conversion error record recovery program according to appendix 3 or appendix 4 for further functioning as a means for converting an attribute.

以上のように、本発明にかかるコード変換エラーレコードリカバリプログラムは、コード変換処理を中断することなく、エラーロギングファイルによって、容易にエラーデータのリカバリ処理を行うことができるという効果を有し、コンピュータシステム間などにおける異なるデータのコード体系を持つデータの流通およびデータ属性の変更に関し、特に、変換エラーに対するリカバリ処理を行うコード変換エラーレコードリカバリプログラム等として有用である。   As described above, the code conversion error record recovery program according to the present invention has an effect that error data recovery processing can be easily performed by an error logging file without interrupting code conversion processing. It is particularly useful as a code conversion error record recovery program for performing recovery processing for conversion errors, regarding the distribution of data having different data code systems between systems and the like and the change of data attributes.

本発明のコード変換エラーリカバリプログラムの概略説明図である。It is a schematic explanatory drawing of the code conversion error recovery program of this invention. 本発明のコード変換処理、エラーロギングファイルとリカバリ処理の関係を示す図である。It is a figure which shows the relationship between the code conversion process of this invention, an error logging file, and a recovery process. コード変換処理を示すフローチャートである。It is a flowchart which shows a code conversion process. リカバリ処理を示すフローチャートである。It is a flowchart which shows a recovery process. JIS、EUCコード変換テーブルの一例を示す図である。It is a figure which shows an example of a JIS and EUC code conversion table. JEF拡張漢字の一覧表(一部)を示す図である。It is a figure which shows the list (part) of a JEF expansion Kanji. JEF拡張漢字のコード変換エラーにおけるエラー環境修復処理例を示す図である。It is a figure which shows the example of an error environment repair process in the code conversion error of a JEF expansion kanji. 本発明のデータ属性変更処理、エラーロギングファイルとリカバリ処理の関係を示す図である。It is a figure which shows the relationship of the data attribute change process of this invention, an error logging file, and a recovery process. データ属性変更処理を示すフローチャートである。It is a flowchart which shows a data attribute change process. データ属性変更処理のリカバリ処理を示すフローチャートである。It is a flowchart which shows the recovery process of a data attribute change process. データ属性変更エラー例とエラー修復形態の作成例を示す図である。It is a figure which shows the creation example of the example of a data attribute change error, and an error repair form. 自動エラー修復を行うデータ属性変更処理を示すフローチャートである。It is a flowchart which shows the data attribute change process which performs automatic error correction. 従来のフォーマット変換装置を示すブロック図である。It is a block diagram which shows the conventional format conversion apparatus. 従来のフォーマット変換装置の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation of the conventional format conversion apparatus.

符号の説明Explanation of symbols

10 入力ファイル
20 出力ファイル
30 エラーロギングファイル
101 変換元データ
102 変換方法パラメータファイル
103 変換先データ
104 アラームログファイル
105 フォーマット変換処理部
106 外部変換処理モジュール
10 Input File 20 Output File 30 Error Logging File 101 Conversion Source Data 102 Conversion Method Parameter File 103 Conversion Destination Data 104 Alarm Log File 105 Format Conversion Processing Unit 106 External Conversion Processing Module

Claims (3)

コンピュータを、
入力ファイルからデータレコードを読み込む読み込み手段、
読み込んだデータレコードをコード変換テーブルにしたがってコード変換するコード変換手段、
前記コード変換手段において前記データレコードが前記コード変換テーブルに該当せずにコード変換エラーとなるとき、前記データレコードを含むエラーレコード情報を、エラーロギングファイルに出力するエラーレコード出力手段、
コード変換エラーが起こらないように修正されたコード変換テーブルにしたがって、前記エラーロギングファイルからエラーレコード情報に含まれるコード変換エラーを起こしたデータレコードを取り出して、コード変換するエラーコード変換手段、
前記エラーコード変換手段においてコード変換されたデータレコードを出力する変換レコード出力手段、
として機能させるための変換エラーレコードリカバリプログラム。
Computer
Reading means for reading data records from the input file,
Code conversion means for converting the read data record according to the code conversion table;
In the code conversion means, when the data record does not correspond to the code conversion table and a code conversion error occurs, error record information including the data record is output to an error logging file.
In accordance with a code conversion table that has been corrected so as not to cause a code conversion error, an error code conversion unit that takes out the data record in which the code conversion error has occurred included in the error record information from the error logging file and converts the code.
Conversion record output means for outputting the data record that has been code-converted in the error code conversion means,
Conversion error record recovery program to function as.
コンピュータを、
入力ファイルからデータレコードを読み込む読み込み手段、
読み込んだデータレコードをデータ属性テーブルにしたがって該データレコードの属性を変換する属性変換手段、
前記属性変換手段において前記データレコードが前記データ属性テーブルに該当せずに属性変換エラーとなるとき、前記データレコードを含むエラーレコード情報を、エラーロギングファイルに出力するエラーレコード出力手段、
属性変換エラー発生時の処置を含むエラー修復形態にしたがって、前記エラーロギングファイルからエラーレコード情報に含まれる属性変換エラーを起こしたデータレコードを取り出して、該データレコードを修復するエラーデータ修復手段、
修復されたデータレコードを出力する修復レコード出力手段、
として機能させるための変換エラーレコードリカバリプログラム。
Computer
Reading means for reading data records from the input file,
Attribute conversion means for converting the attributes of the read data record according to the data attribute table;
In the attribute conversion means, when the data record does not correspond to the data attribute table and an attribute conversion error occurs, error record information including the data record is output to an error logging file.
In accordance with an error repair mode including an action when an attribute conversion error occurs, an error data repairing unit that takes out a data record in which an attribute conversion error is included in the error record information from the error logging file and repairs the data record;
Repair record output means for outputting the repaired data record,
Conversion error record recovery program to function as.
前記属性変換手段において前記データレコードが前記データ属性テーブルに該当せずに属性変換エラーとなるとき、かつ、前記エラー修復形態があるとき、前記エラー修復形態にしたがって、該データレコードの属性を変換する手段として更に機能させるための請求項2記載の変換エラーレコードリカバリプログラム。 In the attribute conversion means, when the data record does not correspond to the data attribute table and an attribute conversion error occurs, and there is the error repair mode, the attribute of the data record is converted according to the error repair mode The conversion error record recovery program according to claim 2 for further functioning as means.
JP2004177075A 2004-06-15 2004-06-15 Conversion error record recovery program Withdrawn JP2006003978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004177075A JP2006003978A (en) 2004-06-15 2004-06-15 Conversion error record recovery program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004177075A JP2006003978A (en) 2004-06-15 2004-06-15 Conversion error record recovery program

Publications (1)

Publication Number Publication Date
JP2006003978A true JP2006003978A (en) 2006-01-05

Family

ID=35772352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004177075A Withdrawn JP2006003978A (en) 2004-06-15 2004-06-15 Conversion error record recovery program

Country Status (1)

Country Link
JP (1) JP2006003978A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010262587A (en) * 2009-05-11 2010-11-18 Fujitsu Ltd Program, method and apparatus for converting data
JP2014026587A (en) * 2012-07-30 2014-02-06 Nippon Telegr & Teleph Corp <Ntt> Distributed database system, first database device of distributed database system, second database device of distributed database system and computer program
US8843570B2 (en) 2008-02-18 2014-09-23 Telefonaktiebolaget Lm Ericsson (Publ) Method of enabling a service at a communication network node

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8843570B2 (en) 2008-02-18 2014-09-23 Telefonaktiebolaget Lm Ericsson (Publ) Method of enabling a service at a communication network node
JP2010262587A (en) * 2009-05-11 2010-11-18 Fujitsu Ltd Program, method and apparatus for converting data
JP2014026587A (en) * 2012-07-30 2014-02-06 Nippon Telegr & Teleph Corp <Ntt> Distributed database system, first database device of distributed database system, second database device of distributed database system and computer program

Similar Documents

Publication Publication Date Title
JP2006268638A (en) Document difference detector
JP2012248050A (en) Static analysis support device, static analysis support method, and program
JP2013246644A (en) Software object correction support device, software object correction support method and program
CN115688675A (en) Method for flexibly checking and correcting circuit schematic diagram parameters on line
JP5747698B2 (en) Requirements management support device
JP2007128123A (en) Influential range extraction system
US20150193459A1 (en) Data file searching method
JP2006003978A (en) Conversion error record recovery program
JPH07175629A (en) Character code converting device
JP2006268661A (en) Data import method and data import device
JP2008052439A (en) Image processing system and image processing program
EP3608804A1 (en) Analysis device
JP5702265B2 (en) Program automatic generation apparatus and program automatic generation method
JP2001060240A (en) Format correcting method and data converting method
CN113704574B (en) Address standardization method and device
JP2001076014A (en) Cad data file converting method and computer-readable recording medium where cad data file converting program is recorded
JP2013152580A (en) Code generation device, code generation method, and program
JPH1185536A (en) Device and method for automatically correcting error of source program
JP2009288962A (en) Information processing apparatus, program and, method of generating clause of insurance product
JP2007072833A (en) Data conversion method, computer program performing data conversion, and data conversion device
JP4756962B2 (en) Product configuration management program, product configuration management method, and product configuration management apparatus
JP2007041996A (en) Document management system, document management method and document management program
JP4935768B2 (en) Information processing apparatus and information processing program
JP3335851B2 (en) Software coding system
US20180004490A1 (en) Non-transitory computer-readable storage medium, editing support method, and editing support device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070904