JPH06110714A - Program reserved operation method - Google Patents
Program reserved operation methodInfo
- Publication number
- JPH06110714A JPH06110714A JP25805692A JP25805692A JPH06110714A JP H06110714 A JPH06110714 A JP H06110714A JP 25805692 A JP25805692 A JP 25805692A JP 25805692 A JP25805692 A JP 25805692A JP H06110714 A JPH06110714 A JP H06110714A
- Authority
- JP
- Japan
- Prior art keywords
- program
- reservation
- reference file
- operator
- execution
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
(57)【要約】
【目的】 一時停止動作を有するプログラムであって
も、一時停止動作のないプログラムと同様に、予約運転
が可能なプログラム予約運転方法を得る。
【構成】 予約工程ST1と、実行工程ST2とを含
む。予約工程ST1においては、仮実行プログラムを作
成し、予約運転のプログラムを参照ファイルを読むよう
に書き替えると共に、予約実行する時刻と、実行するプ
ログラム名とを登録する。さらに、仮実行プログラムを
実行し、セレクト条件における操作者の入力を参照ファ
イルに記録する。実行工程ST2においては、登録され
た時刻において、前記改変されたプログラムが起動さ
れ、セレクト条件の実行に際しては、参照ファイルから
入力するので、操作者からの入力を受信するための一時
停止は行わない。そのため、一時停止のあるプログラム
でも予約運転することが可能である。
(57) [Abstract] [Purpose] To obtain a program reserved operation method capable of reserved operation even in the case of a program having a temporary stop operation, like a program without a temporary stop operation. [Configuration] A reservation process ST1 and an execution process ST2 are included. In the reservation process ST1, a provisional execution program is created, the reservation operation program is rewritten to read a reference file, and the time at which the reservation is executed and the name of the program to be executed are registered. Further, the temporary execution program is executed, and the input of the operator under the selection condition is recorded in the reference file. In the execution step ST2, the modified program is started at the registered time, and when executing the selection condition, since the input is made from the reference file, there is no temporary stop for receiving the input from the operator. . Therefore, it is possible to perform reserved driving even in a program with a temporary stop.
Description
【0001】[0001]
【産業上の利用分野】本発明は、計算機上でプログラム
を予約運転する方法である。特に、実行中に一時停止を
するプログラムを予約運転する方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is a method for operating a program on a computer by reservation. In particular, the present invention relates to a method for performing reserved operation of a program that is temporarily stopped during execution.
【0002】[0002]
【従来の技術】従来、計算機の運転を時刻(年月日を含
む。以下同じ)予約で制御する予約運転方法が一般に用
いられている。このような予約運転方法においては、例
えば、計算機のON/OFFする時刻を指定したり、特
定のプログラムを起動する時刻を指定したりすることが
可能であった。2. Description of the Related Art Conventionally, a reserved operation method is generally used in which the operation of a computer is controlled by reservation of time (including date). In such a reserved operation method, for example, it is possible to specify the time when the computer is turned on / off or the time when the specific program is started.
【0003】なお、関連技術として、特開昭63−14
5530号公報にはジョブ発生方法が示されており、特
開昭63−196924号公報には計算機の立ち上げ方
式が示されており、特開昭63−209361号公報に
は予約サービス装置が示されている。As a related technique, Japanese Patent Laid-Open No. 63-14
5530 discloses a job generation method, JP-A-63-196924 discloses a computer startup method, and JP-A-63-209361 discloses a reservation service device. Has been done.
【0004】[0004]
【発明が解決しようとする課題】従来の計算機の予約運
転方法においては、動作の途中に一時停止を有するプロ
グラムを予約起動することは事実上できなかった。ここ
で、一時停止は一般にPAUSEやセレクト条件によっ
て発生する。In the conventional computer reserved operation method, it was practically impossible to reserve and activate a program having a temporary stop during the operation. Here, the pause is generally caused by PAUSE or a select condition.
【0005】PAUSEは、操作者にデータあるいは動
作の確認を促すためにプログラムが一時停止することで
あり、通常、操作者は、リターンキーやOKボタン、も
しくは任意のキーを押すことによりデータまたは動作の
認証を行い、一時停止を解除していた。PAUSE is a temporary stop of a program in order to prompt the operator to confirm the data or operation. Usually, the operator presses the return key, the OK button, or any key to execute the data or operation. Was authenticated and the suspension was released.
【0006】セレクト条件は、操作者にデータの選択を
促すためにプログラムが一時停止することである。デー
タの選択は、操作者に直接入力させて行う場合や、ある
程度の個数の候補を示し、その中から選ばせる場合もあ
る。そして操作者がデータを選択した場合、一時停止状
態が解除され、処理が続行される。The selection condition is that the program is suspended to prompt the operator to select the data. The selection of data may be performed by the operator directly inputting it, or it may be possible to select a certain number of candidates from among them. Then, when the operator selects the data, the temporary stop state is released and the process is continued.
【0007】いずれの場合も、一時停止があると、プロ
グラムはその実行を停止してしまうので、単に起動する
時刻を指定しただけでは、その時刻において、操作者が
計算機の端末の近傍にいない場合、プログラムは一時停
止したまま、操作者が操作をするまで原則として停止状
態にある。そのため、せっかく予約起動をしても実際に
目的の計算処理が行われるのはまったく異なった時刻と
なることもあり得る。In either case, if there is a temporary stop, the program will stop its execution. Therefore, if the operator is not near the computer terminal at that time, simply specifying the time to start it , In principle, the program is in a stopped state until it is operated by the operator while it is temporarily stopped. Therefore, the target calculation process may be performed at a completely different time even if the reservation is activated.
【0008】そのため、従来は一般に、PAUSEやセ
レクト条件等の一時停止動作があるプログラムは予約起
動できないという問題があった。Therefore, conventionally, there has been a problem that a program having a pause operation such as PAUSE or a select condition cannot generally be reserved and activated.
【0009】本発明は、上記課題に鑑みなされたもの
で、その目的は、PAUSEやセレクト条件等の一時停
止動作を有するプログラムであっても、一時停止動作の
ないプログラムと同様に、予約起動を行うことの可能な
プログラムの予約運転方法を得ることである。The present invention has been made in view of the above problems, and an object of the present invention is to make a reservation start even in the case of a program having a pause operation such as PAUSE or a select condition, like a program having no pause operation. It is to get a reservation driving method of a program that can be performed.
【0010】[0010]
【課題を解決するための手段】本発明は、上述の課題を
解決するために、予約工程と、実行工程とを有するプロ
グラムの予約運転方法であって、前記予約工程は、予約
起動の対象となるプログラムをあらかじめ改変しておく
改変工程と、予約起動の時刻と、前記プログラムとを登
録する予約登録工程と、を含み、前記改変工程は、前記
プログラムに基づき、前記プログラムの先頭から、操作
者からのデータの入力を待つ操作者入力待ち命令が存在
する箇所までの部分プログラムを取り出し、この取り出
した部分プログラムの最後部に、前記操作者入力待ち命
令によって入力したデータを参照ファイルに書き出す書
き出し命令と、実行を終了する終了命令とを付加するこ
とによって、仮実行プログラムを作成する仮実行プログ
ラム作成工程と、前記プログラム中に存在する前記操作
者入力待ち命令を、前記参照ファイルを探しその有無を
検査する検査命令と、前記検査命令の結果、前記参照フ
ァイルが存在したならば、前記参照ファイルのデータを
読み込み、前記参照ファイルを消去する参照ファイル読
み込み消去命令と、前記検査命令の結果、前記参照ファ
イルが存在しないならば、操作者からのデータの入力を
待つ操作者入力待ち命令と、の組に書き替えることによ
って、前記プログラムを改変する書き替え工程と、を含
み、前記予約登録工程は、予約実行する時刻を登録する
時刻登録工程と、予約実行する前記プログラム名を登録
するプログラム名登録工程と、前記仮実行プログラムを
起動し、操作者の入力するデータを記録した前記参照デ
ータファイルを作成する参照ファイル作成工程と、を含
み、前記予約登録工程の終了後、前記参照ファイルが作
成され、前記実行工程は、前記予約登録工程において、
登録された時刻になったならば、前記登録され、前記書
き替え工程において書き替えられたプログラムを起動す
る起動工程と、前記プログラムの前記参照ファイル読み
込み消去命令によって、前記参照ファイルからのデータ
を読み込み、前記参照ファイルを消去する読み込み消去
工程と、前記読み込み消去工程の終了後、前記プログラ
ムの処理を続行する処理続行工程と、を含むことを特徴
とするプログラム予約運転方法である。In order to solve the above-mentioned problems, the present invention is a reserved operation method of a program having a reservation process and an execution process, wherein the reservation process is an object of reservation activation. Including a modification step of modifying the program in advance, a reservation start time, and a reservation registration step of registering the program, wherein the modification step is based on the program from the beginning of the program to the operator. Write command to write out the partial program up to the position where the operator input wait command exists for waiting for the input of data from the And a tentative execution program creation step of creating a tentative execution program by adding an end command for ending execution, A check command for searching the reference file for the operator input waiting command existing in the program and checking the existence of the reference file; and as a result of the check command, if the reference file exists, read the data of the reference file. , A reference file read / erase command for erasing the reference file, and an operator input waiting command for waiting for data input from the operator if the reference file does not exist as a result of the inspection command. A rewriting step of modifying the program, wherein the reservation registration step includes a time registration step of registering a time to execute a reservation, a program name registration step of registering the program name to be reserved and executed, A reference file that starts the temporary execution program and creates the reference data file in which the data input by the operator is recorded. Wherein the creation step, and after completion of the reservation registration step, said reference file is created, the execution step, in the reservation registration process,
When the registered time comes, the data from the reference file is read by the starting step of starting the registered and rewritten program in the rewriting step and the reference file reading and deleting command of the program. A program reservation operation method comprising: a reading and erasing step of erasing the reference file; and a processing continuing step of continuing the processing of the program after the reading and erasing step.
【0011】したがって、あらかじめ、操作者の操作を
参照ファイルに入力しておくので、その参照ファイルを
参照するように改変されたプログラムは、参照ファイル
からのデータを入力することができる。Therefore, since the operation of the operator is input into the reference file in advance, the program modified to refer to the reference file can input the data from the reference file.
【0012】[0012]
【作用】本発明における予約工程は、操作者の入力をあ
らかじめ記憶する参照ファイルを作成すると共に、その
参照ファイルを参照するように予約運転するプログラム
を改変する。また、実行工程は、前記改変されたプログ
ラムを実行するので、参照ファイルがある場合には、そ
の参照ファイルからのデータを操作者の入力の代わりに
使用する。したがって、予約運転の際にはPAUSEや
セレクト条件等による一時停止が生じない。In the reservation process of the present invention, a reference file for storing the operator's input is created in advance, and the program for reserved operation is modified so as to refer to the reference file. Further, in the executing step, since the modified program is executed, if there is a reference file, the data from the reference file is used instead of the operator's input. Therefore, a pause due to PAUSE, select conditions, etc. does not occur during reserved driving.
【0013】[0013]
【実施例】以下、本発明の好適な実施例を図面に基づい
て説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings.
【0014】図1は、本発明の好適な一実施例によるプ
ログラム予約運転方法のフローチャートである。図1に
示されているように、本実施例によるプログラム予約運
転方法は、予約工程ST1と実行工程ST2とに大別さ
れる。予約工程ST1は、プログラムを予約運転するま
での準備をする工程であり、その処理はさらに、プログ
ラムを改変する改変工程ST1−1と、プログラムの予
約登録を行う予約登録工程ST1−2とを含んでいる。
実行工程ST2は、予約に基づいて、所定の時刻に、プ
ログラムの運転を行う工程であり、その処理はさらに、
所定の時刻にプログラムを起動する起動工程ST2−1
と、予約時に作成された参照ファイルから、あらかじめ
設定された操作者の入力を読み出す読み込み消去工程S
T2−2と、残りの処理を続行する処理続行工程ST2
−3とを含んでいる。FIG. 1 is a flow chart of a program reservation operation method according to a preferred embodiment of the present invention. As shown in FIG. 1, the program reservation operation method according to the present embodiment is roughly divided into a reservation process ST1 and an execution process ST2. The reservation process ST1 is a process for preparing the program for reserved operation, and the process further includes a modification process ST1-1 for modifying the program and a reservation registration process ST1-2 for performing the reservation registration of the program. I'm out.
The execution step ST2 is a step of operating the program at a predetermined time based on the reservation.
Starting process ST2-1 for starting the program at a predetermined time
And a reading and erasing step S for reading the preset operator's input from the reference file created at the time of reservation
T2-2 and processing continuation step ST2 for continuing the remaining processing
-3 and.
【0015】本実施例において特徴的なことは、予約工
程ST1においてあらかじめ操作者の入力を参照ファイ
ルに記録しておき、実行工程ST2において、参照ファ
イルを読み込んで処理が停止しないようにしたことであ
る。以下、予約工程ST1と実行工程ST2とをそれぞ
れ詳細に説明する。A feature of this embodiment is that the operator's input is recorded in the reference file in advance in the reservation process ST1 and the process is not stopped by reading the reference file in the execution process ST2. is there. Hereinafter, the reservation process ST1 and the execution process ST2 will be described in detail.
【0016】予約工程 図2には、予約工程ST1の詳細な処理を示すフローチ
ャートが示されている。図2に示されているように、予
約工程ST1は、改変工程ST1−1と予約登録工程S
T1−2とに大別される。また、改変工程ST1−1
は、図2(b)に示されているように、仮実行プログラ
ム作成工程ST1−1−1と、書き替え工程ST1−1
−2とから構成される。 Reservation Process FIG. 2 is a flow chart showing the detailed process of the reservation process ST1. As shown in FIG. 2, the reservation process ST1 includes a modification process ST1-1 and a reservation registration process S.
It is roughly divided into T1-2. In addition, modification step ST1-1
2B, as shown in FIG. 2B, the temporary execution program creating step ST1-1-1 and the rewriting step ST1-1.
-2 and.
【0017】仮実行プログラムは、後述する予約登録工
程ST1−2において用いられ、あらかじめ操作者の入
力を参照ファイルに記憶しておくためのプログラムであ
る。この仮実行プログラムが、仮実行プログラム作成工
程ST1−1−1において作成される様子が図3に示さ
れている。図3に示されているように、予約運転の対象
であるプログラムに基づき、そのプログラムの先頭から
セレクト条件等までの部分が取り出される。そして、取
り出した部分の最後に、操作者による入力を参照ファイ
ルに書き込む命令と、実行を終了する終了命令とが付加
される。このようにして作成された仮実行プログラムは
実行されると、セレクト条件等により操作者が入力した
データを参照ファイルに記録する。なお、図3において
は、元のプログラムの名称を「A」、仮実行プログラム
の名称を「仮A」としている。The temporary execution program is a program used in a reservation registration step ST1-2 described later and for storing the operator's input in a reference file in advance. FIG. 3 shows how this temporary execution program is created in the temporary execution program creation step ST1-1-1. As shown in FIG. 3, based on the program that is the target of the reserved operation, the portion from the beginning of the program to the selection condition etc. is extracted. Then, an instruction to write the input by the operator in the reference file and an end instruction to end the execution are added to the end of the extracted portion. When the temporary execution program created in this way is executed, the data input by the operator according to the selection condition or the like is recorded in the reference file. In FIG. 3, the name of the original program is “A” and the name of the temporary execution program is “temporary A”.
【0018】書き替え工程ST1−1−2においては、
予約運転の対象であるプログラムを予約運転時に参照フ
ァイルを読み出すように改変される。この改変が行われ
る様子が図4に示されている。図4に示されているよう
に、元のプログラム「A」のセレクト条件が参照ファイ
ルの読み込みを行う命令に書き替えられる。なお、改変
されたプログラム「改A」は、予約運転以外の場合でも
正常に動作するように、本実施例においては、参照ファ
イルが存在しなかった場合には通常のセレクト条件が実
行されるように改変されている。そして、参照ファイル
の読み込み、もしくはセレクト条件の実行が終了した
後、プログラムの残りの後半部分が実行される。このよ
うにして、本実施例において改変されたプログラム「改
A」は、参照ファイルが存在する場合には、参照ファイ
ルに記録されているデータを入力して、停止状態になる
ことがない。In the rewriting process ST1-1-2,
The program that is the target of reserved operation is modified to read the reference file during reserved operation. The manner in which this modification is made is shown in FIG. As shown in FIG. 4, the selection condition of the original program "A" is rewritten into an instruction for reading the reference file. It should be noted that the modified program "kai A" operates normally even in cases other than reserved operation. In the present embodiment, the normal selection condition is executed when the reference file does not exist. Has been modified to. Then, after reading the reference file or executing the selection condition, the remaining second half of the program is executed. In this way, the program “kai A” modified in the present embodiment does not enter the stopped state by inputting the data recorded in the reference file when the reference file exists.
【0019】以上の操作が終了すれば、プログラムはい
つでも予約登録工程ST1−2によって登録できる状態
になる。When the above operations are completed, the program is ready for registration at the reservation registration step ST1-2.
【0020】予約登録工程ST1−2は、起動する時刻
を登録する時刻登録工程ST1−2−1と、実行するプ
ログラムの名称を登録するプログラム名登録工程ST1
−2−2と、参照ファイル作成工程ST1−2−3とか
ら構成されている。時刻登録工程ST1−2−1におい
ては、予約運転を開始する時刻を操作者が指定し、プロ
グラム名登録工程ST1−2−2においては、予約運転
が行われるプログラム名を操作者が指定する。このよう
にして時刻、プログラム名の登録が終了すると、次にそ
のプログラムの仮実行プログラムを実行することによっ
て参照ファイルが作成される。The reservation registration step ST1-2 includes a time registration step ST1-2-1 for registering a starting time and a program name registration step ST1 for registering a name of a program to be executed.
-2-2 and a reference file creating step ST1-2-3. In the time registration step ST1-2-1, the operator specifies the time to start the reserved operation, and in the program name registration step ST1-2-2, the operator specifies the program name in which the reserved operation is performed. When the registration of the time and the program name is completed in this way, the reference file is created by executing the temporary execution program of the program next.
【0021】本実施例において特徴的なことは、まさに
この点である。すなわち、予約登録が行われるときに仮
実行プログラムを実行することにより、目的のプログラ
ムのセレクト条件までをあらかじめ実行しておくわけで
ある。このように、あらかじめセレクト条件までを実行
し、その結果が参照ファイルに記録されるので、予約運
転時には操作者が直接入力する必要がない。This is exactly what is characteristic of this embodiment. That is, the provisional execution program is executed when the reservation registration is performed, so that the selection conditions of the target program are executed in advance. In this way, up to the selection condition is executed in advance, and the result is recorded in the reference file, so there is no need for the operator to directly input at the time of reserved operation.
【0022】以上のようにして、プログラムの予約運転
のための準備が完了する。As described above, the preparation for the reserved operation of the program is completed.
【0023】実行工程 実行工程ST2は、上述したように、起動工程ST2−
1と、読み込み消去工程ST2−2と、処理続行工程S
T2−3との3個の工程から構成される。起動工程ST
2−1は、現在時刻が予約運転開始時刻になったなら
ば、前記予約工程ST1で予約されたプログラムを起動
する工程である。この起動工程ST2−1により目的の
プログラムが起動する。この点に関しては、本実施例は
従来とまったく同様である。 Execution Process The execution process ST2 is, as described above, the starting process ST2-.
1, a reading and erasing step ST2-2, and a process continuing step S
It is composed of three steps of T2-3. Start-up process ST
2-1 is a step of starting the program reserved in the reservation step ST1 when the current time reaches the reserved operation start time. The target program is started by this starting step ST2-1. In this respect, the present embodiment is exactly the same as the conventional one.
【0024】このとき起動されるのは、前記改変された
プログラムである。すなわちセレクト条件までの前半部
は、通常の動作と同様に実行される。そして、改変され
る前のセレクト条件の位置にくると、セレクト条件の代
わりに参照ファイルを読み出す命令が挿入されているた
め、参照ファイルの読みだし動作を始める。参照ファイ
ルが存在すれば、操作者による入力の代わりに参照ファ
イルを読み出し、一時停止状態には移行しない。なお。
参照ファイルは読み出した後消去される。これは、改変
されたプログラムは予約運転ではない通常の運転におい
ても用いられるが、その際に、参照ファイルがあると一
時停止をせずに処理が続行されてしまうため、後の通常
の運転に備えて不必要になった参照ファイルを消去して
いるのである。At this time, the modified program is started. That is, the first half up to the selection condition is executed in the same manner as a normal operation. Then, when it comes to the position of the select condition before being modified, an instruction to read the reference file is inserted instead of the select condition, and therefore the read operation of the reference file is started. If the reference file exists, the reference file is read instead of input by the operator, and the temporary stop state is not entered. Incidentally.
The reference file is read and then deleted. This is because the modified program is also used in normal driving that is not a reserved driving, but at that time, if there is a reference file, processing will continue without pausing, so it will In preparation, the reference files that are no longer needed are deleted.
【0025】本実施例において特徴的な点は、まさにこ
の点である。すなわち、本実施例において改変されたプ
ログラムは、参照ファイルが存在するか否かによって、
予約運転かもしくは通常の運転であるかを判断している
のである。参照ファイルが予約登録工程ST1−2で作
成され、読み出し消去工程で消去されるのは、このよう
な理由による。This is exactly the characteristic point of this embodiment. That is, the program modified in this embodiment, depending on whether the reference file exists,
It is determined whether it is a reserved driving or a normal driving. This is the reason why the reference file is created in the reservation registration process ST1-2 and deleted in the read / delete process.
【0026】そして、最後に処理続行工程ST2−3に
おいて、参照ファイルが参照された後、後半のプログラ
ムの処理が続行される。Finally, in the process continuing step ST2-3, after the reference file is referenced, the process of the latter half of the program is continued.
【0027】以上のようにして、予約された時刻に予約
されたプログラムが実行される。As described above, the reserved program is executed at the reserved time.
【0028】以上述べたように、本実施例によれば、処
理の途中でPAUSEやセレクト条件等に由来する一時
停止を有するプログラムであっても時刻を指定して予約
運転が可能となる。As described above, according to the present embodiment, even if the program has a pause due to PAUSE, a selection condition or the like in the middle of the process, the reserved operation can be performed by designating the time.
【0029】[0029]
【発明の効果】以上述べたように、本発明のプログラム
予約運転方法によれば、従来予約運転できなかった。P
AUSEやセレクト条件等による一時停止を有するプロ
グラムでも容易に予約運転することが可能である。As described above, according to the program reservation operation method of the present invention, the reservation operation cannot be performed conventionally. P
It is possible to easily make a reserved operation even with a program having a temporary stop due to AUSE or a selection condition.
【0030】したがって、本発明によれば、計算機の利
用時間の弾力化が図れ、計算能力のより効率的な利用が
可能となる効果を有する。Therefore, according to the present invention, the utilization time of the computer can be made flexible, and the computing capacity can be utilized more efficiently.
【図1】本発明の好適な実施例であるプログラム予約運
転方法のフローチャートである。FIG. 1 is a flowchart of a program reservation operation method that is a preferred embodiment of the present invention.
【図2】図1の予約工程ST1のより詳細な動作を表す
フローチャートである。FIG. 2 is a flowchart showing a more detailed operation of a reservation process ST1 of FIG.
【図3】図2の仮実行プログラム作成工程の動作を説明
する説明図である。FIG. 3 is an explanatory diagram illustrating an operation of a temporary execution program creating process of FIG.
【図4】図2の書き替え工程の動作を説明する説明図で
ある。FIG. 4 is an explanatory diagram illustrating an operation of a rewriting process of FIG.
ST1 予約工程 ST2 実行工程 ST1−1 改変工程 ST1−2 予約登録工程 ST2−1 起動工程 ST2−2 読み込み消去工程 ST2−3 処理続行工程 ST1−1−1 仮実行プログラム作成工程 ST1−1−2 書き替え工程 ST1−2−1 時刻登録工程 ST1−2−2 プログラム名登録工程 ST1−2−3 参照ファイル作成工程 ST1 Reservation process ST2 Execution process ST1-1 Modification process ST1-2 Reservation registration process ST2-1 Starting process ST2-2 Read / erase process ST2-3 Processing continuation process ST1-1-1 Temporary execution program creation process ST1-1-2 Write Replacement step ST1-2-1 Time registration step ST1-2-2 Program name registration step ST1-2-3 Reference file creation step
Claims (1)
ラム予約運転方法であって、 前記予約工程は、 予約起動の対象となるプログラムをあらかじめ改変して
おく改変工程と、 予約起動の時刻と、前記プログラムとを登録する予約登
録工程と、を含み、 前記改変工程は、 前記プログラムに基づき、前記プログラムの先頭から、
操作者からのデータの入力を待つ操作者入力待ち命令が
存在する箇所までの部分プログラムを取り出し、この取
り出した部分プログラムの最後部に、前記操作者入力待
ち命令によって入力したデータを参照ファイルに書き出
す書き出し命令と、実行を終了する終了命令とを付加す
ることによって、仮実行プログラムを作成する仮実行プ
ログラム作成工程と、 前記プログラム中に存在する前記操作者入力待ち命令
を、 前記参照ファイルを探しその有無を検査する検査命令
と、 前記検査命令の結果、前記参照ファイルが存在したなら
ば、前記参照ファイルのデータを読み込み、前記参照フ
ァイルを消去する参照ファイル読み込み消去命令と、 前記検査命令の結果、前記参照ファイルが存在しないな
らば、操作者からのデータの入力を待つ操作者入力待ち
命令と、の組に書き替えることによって、前記プログラ
ムを改変する書き替え工程と、を含み、 前記予約登録工程は、 予約実行する時刻を登録する時刻登録工程と、 予約実行する前記プログラム名を登録するプログラム名
登録工程と、 前記仮実行プログラムを起動し、操作者の入力するデー
タを記録した前記参照データファイルを作成する参照フ
ァイル作成工程と、を含み、前記予約登録工程の終了
後、前記参照ファイルが作成され、 前記実行工程は、 前記予約登録工程において、登録された時刻になったな
らば、前記登録され、前記書き替え工程において書き替
えられたプログラムを起動する起動工程と、 前記プログラムの前記参照ファイル読み込み消去命令に
よって、前記参照ファイルからのデータを読み込み、前
記参照ファイルを消去する読み込み消去工程と、 前記読み込み消去工程の終了後、前記プログラムの処理
を続行する処理続行工程と、を含むことを特徴とするプ
ログラム予約運転方法。1. A program reservation operation method comprising a reservation process and an execution process, wherein the reservation process comprises a modification process of modifying a program to be reserved and activated in advance, and a reservation and activation time, A reservation registration step of registering the program, and the modifying step, based on the program, from the beginning of the program,
The partial program up to the position where the operator input waiting instruction that waits for the input of data from the operator is taken out, and the data input by the operator input waiting instruction is written to the reference file at the end of this taken out partial program. A temporary execution program creating step of creating a temporary execution program by adding a write command and an end command for ending the execution; the operator input waiting command existing in the program; A check command for checking the presence or absence, and as a result of the check command, if the reference file exists, a reference file read / delete command for reading the data of the reference file and erasing the reference file, and a result of the check command, If the reference file does not exist, the operator who waits for data input from the operator And a rewriting step of modifying the program by rewriting into a set of an input waiting instruction, wherein the reservation registration step includes a time registration step of registering a time to execute reservation, and a program name of reservation execution. Including a program name registration step of registering, and a reference file creation step of creating the reference data file in which the temporary execution program is started and the data input by the operator is recorded, and after the reservation registration step is completed, The reference file is created, and the execution step includes an activation step of activating the registered program rewritten in the rewriting step at the time registered in the reservation registration step, The program reads the reference file and deletes the reference file and reads the reference file. A program reservation operation method comprising: a read / erase step of erasing a file; and a processing continuation step of continuing the processing of the program after the end of the read / erase step.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25805692A JPH06110714A (en) | 1992-09-28 | 1992-09-28 | Program reserved operation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25805692A JPH06110714A (en) | 1992-09-28 | 1992-09-28 | Program reserved operation method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06110714A true JPH06110714A (en) | 1994-04-22 |
Family
ID=17314927
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25805692A Pending JPH06110714A (en) | 1992-09-28 | 1992-09-28 | Program reserved operation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06110714A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009020609A (en) * | 2007-07-10 | 2009-01-29 | Ricoh Co Ltd | Image forming apparatus, program control method, and program |
-
1992
- 1992-09-28 JP JP25805692A patent/JPH06110714A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009020609A (en) * | 2007-07-10 | 2009-01-29 | Ricoh Co Ltd | Image forming apparatus, program control method, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2001014175A (en) | Job operation management system, job operation management method, and storage medium | |
| JPH06110714A (en) | Program reserved operation method | |
| JP2002055821A (en) | INSTALLATION METHOD, ITS APPARATUS, AND RECORDING MEDIUM RECORDING THE PROCESSING PROGRAM | |
| JP3143330B2 (en) | Programmable controller | |
| JPH08137837A (en) | Document processing method and apparatus | |
| JPH0675774A (en) | CAD processing method and apparatus | |
| JPH103380A (en) | Computer system and file managing system for the same | |
| EP0497283A2 (en) | A document processor | |
| JPH09160611A (en) | Programmable controller | |
| JPH07129079A (en) | How to install the programming loader | |
| JP2003300372A (en) | PRINTING APPARATUS, ERROR PROCESSING METHOD, COMPUTER-READABLE STORAGE MEDIUM, AND PROGRAM | |
| JPH0769847B2 (en) | Job control method during rerun | |
| JP3001509B2 (en) | Process execution management method and process execution management device | |
| JP2551075B2 (en) | Overlay structure program execution method | |
| JPH064346A (en) | Breakpoint management device in debug device | |
| JP2002049495A (en) | Automatic job start control device, automatic job start control method, and medium providing control program | |
| JPH03225434A (en) | Job reactuation system | |
| JP3263987B2 (en) | Automatic IPL initial setting processing method | |
| JPH03266056A (en) | information processing equipment | |
| JPH0242562A (en) | Text editing device | |
| JPH02151956A (en) | Command procedure starting system | |
| JPH0619726A (en) | Exclusive control method for common resource | |
| JPH0667948A (en) | File selection method for reading/writing file recorded in storage device of computer at high speed and method for automatically preparing backup for updated or newly generated file | |
| JPH03122749A (en) | Batch file forming system | |
| JPWO2001014980A1 (en) | Method for controlling the operation of an operating system in a computer system and recording medium containing a program for the method |