JPH0713833A - Sequential file processing system - Google Patents

Sequential file processing system

Info

Publication number
JPH0713833A
JPH0713833A JP5152558A JP15255893A JPH0713833A JP H0713833 A JPH0713833 A JP H0713833A JP 5152558 A JP5152558 A JP 5152558A JP 15255893 A JP15255893 A JP 15255893A JP H0713833 A JPH0713833 A JP H0713833A
Authority
JP
Japan
Prior art keywords
data
file
output
end position
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5152558A
Other languages
Japanese (ja)
Other versions
JPH0820993B2 (en
Inventor
Takao Yamada
孝雄 山田
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 JP5152558A priority Critical patent/JPH0820993B2/en
Publication of JPH0713833A publication Critical patent/JPH0713833A/en
Publication of JPH0820993B2 publication Critical patent/JPH0820993B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the workload at the time of restoration and shorten the operation time if a sequential file is outputted by mistake. CONSTITUTION:The sequential file processing system consists of an output open processing 30 having data output direction information for managing the forward and backward access directions of a file, primary data start and end position information at the time of the forward access, secondary data start and end position information at the time of the backward access, and a data position setting means 32 which determines which data position information is used, a data access processing 20 having a forward access means 21 which inputs and outputs the sequential file at the time of the forward access, a backward access means 22 which inputs and outputs the sequential file at the time of the backward access, and an end decision means 23 which decides whether the access means 21 and 22 reach the end of the input data or the end position of a data output area, and a data restoring processing 40 having a restoration state decision means 41 which decides a restoration state and a file state changing means 42 which changes the data output direction information 55.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、順編成ファイル処理方
式に関し、特にランダムアクセス可能な記憶装置内にあ
るデータを物理的な順序に記録する順編成ファイルの処
理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sequential file processing method, and more particularly to a sequential file processing method for recording data in a randomly accessible storage device in a physical order.

【0002】[0002]

【従来の技術】従来の順編成ファイルの処理方式は、図
2の構成図に示すように、プログラム100により実行
されるデータアクセス処理200,出力オープン処理3
00,ファイル情報400およびファイルデータ部50
0から構成され、また、データアクセス処理200は順
アクセス手段210と終了判定手段220とを有し、出
力オープン処理300はデータ終了位置設定手段310
を有している。
2. Description of the Related Art A conventional sequential file processing method is, as shown in the configuration diagram of FIG. 2, a data access process 200 and an output open process 3 executed by a program 100.
00, file information 400 and file data section 50
0, the data access processing 200 has a sequential access means 210 and an end determination means 220, and the output open processing 300 has a data end position setting means 310.
have.

【0003】さらに、出力処理後のファイル情報400
内にはデータの終了位置情報(以下、End Of D
ata:EODと略す)410を有し、ファイルのデー
タ部500は出力データ領域510およびデータレコー
ド520を有している。
Further, the file information 400 after the output processing
End position information of data (hereinafter referred to as End Of D
(data: EOD) 410, and the data portion 500 of the file has an output data area 510 and a data record 520.

【0004】図中、構成図の各ブロック間を接続する鎖
線の矢印は、参照する情報の流れる方向を示している。
In the figure, the chain line arrow connecting the blocks in the block diagram indicates the direction of reference information flow.

【0005】従来の順編成ファイルの処理方式において
は、ファイルのデータは、ファイルデータ部500の開
始位置(以下、Beginnig Of File:B
OFと略す)からファイル情報400内にあるEOD4
10で示される位置までが有効データとなる。すなわ
ち、常にデータ部の先頭からデータは有効となる。
In the conventional sequential file processing method, the file data is stored at the start position of the file data section 500 (hereinafter referred to as "Beginning Of File: B").
(Abbreviated as OF) to EOD4 in the file information 400
The valid data is up to the position indicated by 10. That is, the data is always valid from the beginning of the data section.

【0006】そして、出力オープン処理300では、デ
ータをファイルデータ部500の開始位置(BOF)か
ら出力するために、データ終了位置設定手段310によ
りEOD410をファイルデータ部500の先頭位置に
設定する。
Then, in the output open processing 300, in order to output the data from the start position (BOF) of the file data part 500, the data end position setting means 310 sets the EOD 410 to the head position of the file data part 500.

【0007】次に、データアクセス処理200は、順ア
クセス手段210によりプログラム100の命令により
渡されたデータをEOD410の位置から順に出力す
る。終了判定手段220は、順アクセス手段210が入
力データの終了に達しているか否か、もしくはデータ出
力可能領域の終了位置に達しているか否かを判定する。
そして、出力処理後の出力データ領域510は、データ
終了位置判定手段310によって監視され、EOD41
0の物理終了位置と一致する。
Next, the data access processing 200 sequentially outputs the data passed by the instruction of the program 100 by the sequential access means 210 from the position of the EOD 410. The end determination unit 220 determines whether the forward access unit 210 has reached the end of the input data, or has reached the end position of the data output possible area.
Then, the output data area 510 after the output processing is monitored by the data end position determination means 310, and the EOD 41
It matches the physical end position of 0.

【0008】[0008]

【発明が解決しようとする課題】上述した従来の順編成
ファイル処理方式では、誤ってデータの出力処理を行っ
た場合、データは常にファイルデータ部の先頭から出力
されるため、新しいデータを出力処理前のデータ上に上
書きして消去されるという欠点がある。
In the conventional sequential file processing method described above, when data output processing is erroneously performed, the data is always output from the head of the file data section, and therefore new data output processing is performed. There is a drawback that the previous data is overwritten and erased.

【0009】また、データ出力処理前のファイル情報が
消去されると、復旧のための作業量が増大するととも
に、復旧時間が長くなるという欠点がある。
Further, if the file information before the data output process is erased, there is a drawback that the amount of work for restoration increases and the restoration time becomes long.

【0010】[0010]

【課題を解決するための手段】本発明は、順編成ファイ
ルにおいて、ファイルの物理的開始位置から終了位置の
方向へ書き出す出力方向を示す順アクセス方向と前記フ
ァイルの物理的終了位置から開始位置方向へ書き出す出
力方向を示す逆アクセス方向とを管理するデータ出力方
向設定手段と、このデータ出力方向報設定手段によりデ
ータの開始位置および終了位置として順アクセスのとき
ファイルのデータの開始位置を示す1次データ開始位置
情報とデータの終了位置を示す1次データ終了位置情報
とを用いるか、もしくは逆アクセスのとき前記ファイル
のデータの開始位置を示す2次データ開始位置情報とデ
ータの終了位置を示す2次データ終了位置情報とを用い
るかを決定するデータ位置設定手段とからなる出力オー
プン処理と;前記出力オープン処理によるデータ出力方
向情報が順アクセス方向を示すとき前記ファイルの物理
的開始位置からファイルの物理的終了位置方向へ順編成
ファイルの入出力を行う順アクセス手段と、前記データ
出力方向情報が逆アクセス方向を示すとき前記ファイル
の物理的終了位置からファイルの物理的開始位置方向へ
順編成ファイルの入出力を行う逆アクセス手段と、前記
順アクセス手段および逆アクセス手段によるデータ入力
が終了したか否か、もしくはデータ出力可能領域の終了
位置に達したか否かを判定する終了判定手段とからなる
データアクセス処理と;前記ファイルにデータの出力処
理した後のファイル情報と次に同じファイルにデータの
出力処理した後のファイル情報とから出力処理を行う前
のファイルに対し復旧するための復旧状態を判定する復
旧状態判定手段と、データ出力方向情報を前の出力デー
タ方向情報に変更するファイル状態変更手段と、出力処
理前のデータ終了位置を復旧するための前データ復旧手
段とからなるデータ復旧処理と;を備えることを特徴と
する。
According to the present invention, in a sequential file, a forward access direction indicating an output direction for writing from the physical start position of the file to the end position and the physical end position of the file to the start position direction. A data output direction setting means for managing a reverse access direction indicating an output direction to be written to and a data output direction information setting means for indicating the start position of the data of the file when the data is sequentially accessed as the start position and end position of the data. The data start position information and the primary data end position information indicating the end position of the data are used, or the secondary data start position information indicating the start position of the data of the file and the end position of the data 2 indicating the data start position at the time of reverse access. An output open process comprising data position setting means for determining whether to use the next data end position information; When the data output direction information by the force open process indicates the forward access direction, the forward access means for inputting and outputting the forward organized file from the physical start position of the file to the physical end position of the file, and the data output direction information are Reverse access means for inputting and outputting a sequentially organized file from the physical end position of the file toward the physical start position of the file when indicating the reverse access direction, and whether the data input by the normal access means and the reverse access means is completed. Data access processing comprising an end determination means for determining whether or not the end position of the data outputable area is reached; file information after the data output processing to the file and data in the same file next. The recovery information for the file before output processing from the file information after the output processing of Data consisting of a recovery status determination means for determining the status, a file status change means for changing the data output direction information to the previous output data direction information, and a previous data recovery means for recovering the data end position before the output processing And a recovery process.

【0011】[0011]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0012】図は、本発明の一実施例を示す構成図であ
る。本発明の順編成ファイル処理方式は、図1の構成図
に示すように、プログラム10により実行されるデータ
アクセス処理20,出力オープン処理30,データ復旧
処理40,ファイル情報50およびファイルデータ部6
0から構成される。
FIG. 1 is a block diagram showing an embodiment of the present invention. The sequential file processing method of the present invention is, as shown in the configuration diagram of FIG. 1, a data access process 20, an output open process 30, a data recovery process 40, a file information 50 and a file data section 6 executed by a program 10.
It consists of zero.

【0013】また、ファイル情報50は、前データ出力
処理時の1次データ開始位置情報(以下、Beginn
ig Of Data 1:BOD1と略す)51と、
前データ出力処理時の1次データ終了位置情報(以下、
End Of Data1:EOD1と略す)52と、
データ出力処理時の2次データ開始位置情報(以下、B
eginnig Of Data 2:BOD2と略
す)53と、データ出力処理時の2次データ終了位置情
報(以下、End Of Data 2:EOD2と略
す)54と、データ出力方向を設定するために用いるデ
ータ出力方向情報(以下、DIODと略す)55とを備
えている。
The file information 50 is the primary data start position information (hereinafter, Beginn) at the time of the previous data output process.
ig Of Data 1: abbreviated as BOD1) 51,
Primary data end position information (hereinafter,
End Of Data1: abbreviated as EOD1) 52,
Secondary data start position information (hereinafter, B
(eginnig Of Data 2: abbreviated as BOD2) 53, secondary data end position information (hereinafter referred to as End Of Data 2: EOD2) 54 at the time of data output processing, and a data output direction used to set the data output direction. Information (hereinafter, abbreviated as DIOD) 55.

【0014】さらに、ファイルデータ部60は、ファイ
ルの物理的開始位置(以下、Beginnig Of
File:BOFと略す)70から順アクセス方向情報
71として、出力処理前のデータ領域61と出力処理前
のデータレコード62とを有し、ファイルの物理的終了
位置(以下、End Of File:EOFと略す)
80から逆アクセス方向情報81として、出力処理後の
データ領域64と出力処理後のデータレコード63とを
有している。
Further, the file data section 60 is provided with a physical start position of the file (hereinafter referred to as "Beginning Of").
A file area 61 before output processing and a data record 62 before output processing are provided as forward access direction information 71 from File (BOF) 70 to a physical end position of the file (hereinafter referred to as End Of File: EOF). (Omitted)
The reverse access direction information 81 from 80 includes a data area 64 after output processing and a data record 63 after output processing.

【0015】次に、出力オープン処理30は、DIOD
(55)を設定するデータ出力方向設定手段31と、B
OD1(51),EOD1(52),BOD2(5
3),EOD2(54)を設定するデータ位置設定手段
32とにより実行する。
Next, the output open processing 30 is performed by DIOD.
Data output direction setting means 31 for setting (55), and B
OD1 (51), EOD1 (52), BOD2 (5
3) and data position setting means 32 for setting EOD2 (54).

【0016】データアクセス処理20は、ファイルの物
理的開始位置70からファイルの物理的終了位置80へ
順編成ファイルの入出力をするための順アクセス手段2
1と、ファイルの物理的終了位置80からファイルの物
理的開始位置70へ順編成ファイルの入出力をするため
の逆アクセス手段22と、順アクセス手段21および逆
アクセス手段22が入力データの終了に達しているか否
か、もしくはデータ出力可能領域の終了位置に達してい
るか否かを判定する終了判定手段23とにより実行す
る。
The data access processing 20 is a sequential access means 2 for inputting and outputting a sequential organization file from the physical start position 70 of the file to the physical end position 80 of the file.
1 and the reverse access means 22 for inputting and outputting the sequential organization file from the physical end position 80 of the file to the physical start position 70 of the file, and the forward access means 21 and the reverse access means 22 end the input data. This is executed by the end determination means 23 which determines whether or not it has reached the end position of the data output possible area.

【0017】データ復旧処理40は、現出力データのフ
ァイル情報と前出力データのファイル情報から出力処理
前への復旧状態を判定する復旧状態判定手段41と、前
データ出力方向情報に変更するファイル処理状態変更手
段42と、出力処理前のデータ開始位置と出力処前のデ
ータ終了位置を復旧する前データ位置復旧手段43とに
より実行する。
The data restoration processing 40 is a restoration state judgment means 41 for judging the restoration state before the output processing from the file information of the current output data and the file information of the previous output data, and the file processing for changing to the previous data output direction information. This is executed by the state changing means 42 and the pre-data position restoring means 43 for restoring the data start position before the output processing and the data end position before the output processing.

【0018】また、構成図の各ブロック間を接続する実
線の矢印は、処理を行うための命令の流れを示し、鎖線
の矢印は参照する情報の流れを示している。
The solid arrows connecting the blocks in the configuration diagram show the flow of instructions for processing, and the chain arrows show the flow of information to be referred to.

【0019】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0020】まず、プログラム10が実行されると、出
力オープン処理30では、データ出力方向設定手段31
により、DIOD(55)が順アクセス方向への出力処
理として設定される(ここで、データの出力処理が行わ
れる前のデータ書き出し方向情報は逆アクセス方向情報
81であるとする)。そして、データ位置設定手段32
によりBOD1(51)とEOD1(52)とがファイ
ルデータ部60の物理的開始位置であるBOF70に設
定される。
First, when the program 10 is executed, in the output open processing 30, the data output direction setting means 31
Thus, the DIOD (55) is set as the output process in the forward access direction (here, the data writing direction information before the data output process is the reverse access direction information 81). Then, the data position setting means 32
Thus, BOD1 (51) and EOD1 (52) are set in the BOF 70 which is the physical start position of the file data section 60.

【0021】データアクセス処理20では、プログラム
10の要求によりデータ出力方向設定手段32で設定さ
れた順アクセス手段21が、出力処理前のデータ領域6
1のデータレコード62を出力する。これにより出力処
理前のデータ領域61が作成される。
In the data access processing 20, the forward access means 21 set by the data output direction setting means 32 in response to the request of the program 10 causes the data area 6 before the output processing.
The data record 62 of 1 is output. As a result, the data area 61 before the output processing is created.

【0022】ここで、再び、プログラム10が実行され
ると、出力オープン処理30では、まず、データ出力方
向設定手段31により逆アクセス方向への出力処理とし
て設定される。すなわち、先の出力処理であるDIOD
(55)が順アクセス方向情報71に設定されているた
め、ここでは逆アクセス方向情報81に設定され、BO
D2(53)がファイルの開始位置情報になり、EOD
2(54)がファイルの終了位置情報になる。そして、
データ位置設定手段32によりBOD2(53)とEO
D2(54)とがファイルデータ部60の物理的終了位
置であるEOF80に設定される。
Here, when the program 10 is executed again, in the output open processing 30, first, the data output direction setting means 31 sets it as output processing in the reverse access direction. That is, DIOD, which is the previous output process
Since (55) is set in the forward access direction information 71, it is set in the reverse access direction information 81 here, and BO
D2 (53) becomes the file start position information, and EOD
2 (54) becomes the end position information of the file. And
BOD2 (53) and EO by the data position setting means 32
D2 (54) is set in the EOF 80 which is the physical end position of the file data section 60.

【0023】データアクセス処理20では、プログラム
10の要求によってデータ出力方向設定手段31で設定
された逆アクセス手段22が、出力処理後のデータ領域
64にデータレコード63を出力する。
In the data access processing 20, the reverse access means 22 set by the data output direction setting means 31 at the request of the program 10 outputs the data record 63 to the data area 64 after the output processing.

【0024】そして、データ出力時には、逆アクセス手
段22が出力データ領域の終了位置に達しているか否
か、すなわち、アクセス位置がBOD1(51)に達し
ているか否かを判定する。そして、出力データ領域の終
了位置に達している場合は、逆アクセス手段22にデー
タ出力不可能であることを通知する。
At the time of data output, it is determined whether the reverse access means 22 has reached the end position of the output data area, that is, whether the access position has reached BOD1 (51). When the end position of the output data area has been reached, the reverse access means 22 is notified that the data cannot be output.

【0025】ここで、プログラム10により出力された
データが誤りであり、そのために出力前のデータの復旧
を行う場合には、まず、上位装置からデータの復旧のた
めの信号が出力されると、データ復旧処理40では、復
旧判定処理手段41によりファイル情報50の出力後の
ファイル情報であるEOD2(54)と、出力前のファ
イル情報であるEOD1(52)とから復旧したときの
救済可能なデータの状態を表示する。そして、 EOD1(52)< EOD2(54) であれば、データの完全復旧が可能であると判断する。
Here, when the data output by the program 10 is erroneous and therefore the data before output is restored, first, when a signal for data restoration is output from the host device, In the data restoration process 40, the salvageable data when the restoration judgment processing unit 41 restores the EOD2 (54) which is the file information after the output of the file information 50 and the EOD1 (52) which is the file information before the output. Display the status of. Then, if EOD1 (52) <EOD2 (54), it is determined that the complete recovery of data is possible.

【0026】次に、ファイル状態変更手段42によりD
IOD55を設定されている方向とは逆の方向情報(こ
こでは、DIOD55を逆アクセス方向情報81から順
アクセス方向情報71に設定)に設定する。
Next, the file status changing means 42 D
The IOD 55 is set to the direction information opposite to the set direction (here, the DIOD 55 is set from the reverse access direction information 81 to the forward access direction information 71).

【0027】すなわち、これ以後このファイルに入出力
を行う場合には、ファイル情報50のデータ開始位置と
してBOD1(51)を参照し、データ終了位置情報と
してEOD1(52)を参照するため、ファイルは復旧
したことになる。また、 EOD1(52)> EOD2(54) であれば、前データ位置復旧手段43によりEOD1
(52)がEOD2(54)に設定され、これによりフ
ァイルが復旧したことになる。
That is, when inputting and outputting to this file thereafter, BOD1 (51) is referred to as the data start position of the file information 50, and EOD1 (52) is referred to as the data end position information. It has been restored. If EOD1 (52)> EOD2 (54), the previous data position recovery means 43 causes EOD1.
(52) is set to EOD2 (54), which means that the file has been restored.

【0028】[0028]

【発明の効果】以上説明したように本発明は、誤ってデ
ータの出力処理を行った場合、出力データが出力処理前
のデータ出力位置の逆方向からデータが出力されるた
め、出力処理前のデータが消去されてしまう確率が低く
なる。すなわち、出力前のデータを復旧できる確率が高
くなるという効果がある。
As described above, according to the present invention, when the data output processing is erroneously performed, the output data is output from the direction opposite to the data output position before the output processing. The probability that data will be erased is reduced. That is, there is an effect that the probability that the data before output can be recovered is increased.

【0029】また、出力処理前のデータ開始位置,デー
タ終了位置およびデータ出力方向を保持しているので、
出力処理前のデータを復旧する場合、出力処理前のファ
イル情報が容易に作成でき、復旧時における作業量の減
少および復旧時間の短縮をはかることができる。
Since the data start position, data end position and data output direction before the output processing are held,
When recovering the data before the output processing, the file information before the output processing can be easily created, and the amount of work at the time of recovery and the recovery time can be shortened.

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

【図1】本発明を実現する一実施例を示す構成図であ
る。
FIG. 1 is a configuration diagram showing an embodiment for realizing the present invention.

【図2】従来例を示す構成図である。FIG. 2 is a configuration diagram showing a conventional example.

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

10,100 プログラム 20,200 データアクセス処理 21,210 順アクセス手段 22 逆アクセス手段 23,220 終了判定手段 30,300 出力オープン処理 31 データ出力方向設定手段 32 データ位置設定手段 40 データ復旧処理 41 復旧状態判定手段 42 ファイル状態変更手段 43 前データ位置復旧手段 50,400 ファイル情報 51 1次データ開始位置情報(BOD1) 52 1次データ終了位置情報(EOD1) 53 2次データ開始位置情報(BOD1) 54 2次データ終了位置情報(EOD2) 55 データ出力方向情報(DIOD) 60,500 ファイルデータ部 61 出力処理前のデータ領域 62,63,520 データレコード 64,510 出力処理後のデータ領域 70 ファイルの物理的開始位置(BOF) 71 順アクセス方向情報 80 ファイルの物理的終了位置(EOF) 81 逆アクセス方向情報 310 データ終了位置設定手段 410 データ終了位置情報(EOD) 10,100 Program 20,200 Data access processing 21,210 Forward access means 22 Reverse access means 23,220 End determination means 30,300 Output open processing 31 Data output direction setting means 32 Data position setting means 40 Data recovery processing 41 Recovery status Judgment means 42 File status change means 43 Previous data position restoration means 50,400 File information 51 Primary data start position information (BOD1) 52 Primary data end position information (EOD1) 53 Secondary data start position information (BOD1) 54 2 Next data end position information (EOD2) 55 Data output direction information (DIOD) 60,500 File data section 61 Data area before output processing 62,63,520 Data record 64,510 Data area after output processing 70 Physical of file start Location (BOF) 71 physical end position of the forward access direction information 80 file (EOF) 81 reverse access direction information 310 data end position setting means 410 data end position information (EOD)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 順編成ファイルにおいて、ファイルの物
理的開始位置から終了位置の方向へ書き出す出力方向を
示す順アクセス方向と前記ファイルの物理的終了位置か
ら開始位置方向へ書き出す出力方向を示す逆アクセス方
向とを管理するデータ出力方向設定手段と、このデータ
出力方向報設定手段によりデータの開始位置および終了
位置として順アクセスのときファイルのデータの開始位
置を示す1次データ開始位置情報とデータの終了位置を
示す1次データ終了位置情報とを用いるか、もしくは逆
アクセスのとき前記ファイルのデータの開始位置を示す
2次データ開始位置情報とデータの終了位置を示す2次
データ終了位置情報とを用いるかを決定するデータ位置
設定手段とからなる出力オープン処理と;前記出力オー
プン処理によるデータ出力方向情報が順アクセス方向を
示すとき前記ファイルの物理的開始位置からファイルの
物理的終了位置方向へ順編成ファイルの入出力を行う順
アクセス手段と、前記データ出力方向情報が逆アクセス
方向を示すとき前記ファイルの物理的終了位置からファ
イルの物理的開始位置方向へ順編成ファイルの入出力を
行う逆アクセス手段と、前記順アクセス手段および逆ア
クセス手段によるデータ入力が終了したか否か、もしく
はデータ出力可能領域の終了位置に達したか否かを判定
する終了判定手段とからなるデータアクセス処理と;前
記ファイルにデータの出力処理した後のファイル情報と
次に同じファイルにデータの出力処理した後のファイル
情報とから出力処理を行う前のファイルに対し復旧する
ための復旧状態を判定する復旧状態判定手段と、データ
出力方向情報を前の出力データ方向情報に変更するファ
イル状態変更手段と、出力処理前のデータ終了位置を復
旧するための前データ復旧手段とからなるデータ復旧処
理と;を備えることを特徴とする順編成ファイル処理方
式。
1. In a sequential file, a forward access direction indicating an output direction for writing from the physical start position of the file to the end position, and a reverse access direction indicating an output direction for writing from the physical end position of the file to the start position. Data output direction setting means for managing the direction, and primary data start position information indicating the start position of the data of the file and the end of the data at the time of forward access as the start position and end position of the data by the data output direction information setting means. The primary data end position information indicating the position is used, or the secondary data end position information indicating the start position of the data of the file and the secondary data end position information indicating the end position of the file are used in the case of reverse access. An output open process comprising a data position setting means for determining whether or not the data by the output open process. When the data output direction information indicates the forward access direction, the forward access means for inputting and outputting the forward organized file from the physical start position of the file to the physical end position direction of the file, and the data output direction information indicate the reverse access direction. At the time of showing, the reverse access means for inputting and outputting the sequential organization file from the physical end position of the file toward the physical start position of the file, and whether or not the data input by the forward access means and the reverse access means is completed, or A data access process comprising an end determination means for determining whether or not the end position of the data outputable area is reached; and the file information after the data output process to the file and the data output process to the same file next. The recovery status judgment that determines the recovery status for recovering the file before output processing from the later file information A data state changing means for changing the data output direction information to the previous output data direction information, and a previous data restoring means for restoring the data end position before the output processing. A sequential file processing method characterized by.
JP5152558A 1993-06-24 1993-06-24 Sequential file processing method Expired - Lifetime JPH0820993B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5152558A JPH0820993B2 (en) 1993-06-24 1993-06-24 Sequential file processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5152558A JPH0820993B2 (en) 1993-06-24 1993-06-24 Sequential file processing method

Publications (2)

Publication Number Publication Date
JPH0713833A true JPH0713833A (en) 1995-01-17
JPH0820993B2 JPH0820993B2 (en) 1996-03-04

Family

ID=15543106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5152558A Expired - Lifetime JPH0820993B2 (en) 1993-06-24 1993-06-24 Sequential file processing method

Country Status (1)

Country Link
JP (1) JPH0820993B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100761418B1 (en) * 2006-09-27 2007-09-27 대성전기공업 주식회사 Emergency reporting apparatus for vehicle

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9234667B2 (en) 2010-12-02 2016-01-12 Mitsubishi Electric Corporation Dehumidifying system
JP5452565B2 (en) * 2011-10-27 2014-03-26 三菱電機株式会社 Dehumidifier

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100761418B1 (en) * 2006-09-27 2007-09-27 대성전기공업 주식회사 Emergency reporting apparatus for vehicle

Also Published As

Publication number Publication date
JPH0820993B2 (en) 1996-03-04

Similar Documents

Publication Publication Date Title
US7028216B2 (en) Disk array system and a method of avoiding failure of the disk array system
US4523275A (en) Cache/disk subsystem with floating entry
US7395283B1 (en) Method and apparatus for making independent data copies in a data processing system
US20060153615A1 (en) Print control device and print control method
JPH0713833A (en) Sequential file processing system
JP2003058324A (en) Disk array device
US20100169572A1 (en) Data storage method, apparatus and system for interrupted write recovery
JPH10105440A (en) System fault monitoring device and recording medium
JPH0789328B2 (en) Data processing device
JP3683831B2 (en) Checkpoint designating method, apparatus and program recording medium for channel recovery in data processing system
JPH0793101A (en) Data backup device
US6587893B1 (en) Method and apparatus to determine when all outstanding fetches are complete
JPH09212429A (en) Monvolatile semiconductor disk drive
JP3870024B2 (en) Information recording apparatus and information recording method
US5951699A (en) Method and apparatus for verifying integrity of predefined data structures in a computer system
JPH0561755A (en) Sequential file processing system
JPS62192826A (en) File writing system
JPH08263389A (en) Data backup method
JP3028957B1 (en) Start point search method and device
JP3467167B2 (en) Interrupt processing method and apparatus in programming language processing system and recording medium thereof
JPH04291084A (en) Memory control system
JPH03154266A (en) Handling method for unwritten sector in block type storage device
JPS6244849A (en) History freeze control system
JPH07160620A (en) Interlocking disk devices
JPS63123140A (en) History information storage device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19961112