JP2856492B2 - Program processing device - Google Patents

Program processing device

Info

Publication number
JP2856492B2
JP2856492B2 JP2083677A JP8367790A JP2856492B2 JP 2856492 B2 JP2856492 B2 JP 2856492B2 JP 2083677 A JP2083677 A JP 2083677A JP 8367790 A JP8367790 A JP 8367790A JP 2856492 B2 JP2856492 B2 JP 2856492B2
Authority
JP
Japan
Prior art keywords
program
interface file
system software
target program
sys1
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2083677A
Other languages
Japanese (ja)
Other versions
JPH03282731A (en
Inventor
白幸 荒木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Consejo Superior de Investigaciones Cientificas CSIC
Original Assignee
Consejo Superior de Investigaciones Cientificas CSIC
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 Consejo Superior de Investigaciones Cientificas CSIC filed Critical Consejo Superior de Investigaciones Cientificas CSIC
Priority to JP2083677A priority Critical patent/JP2856492B2/en
Publication of JPH03282731A publication Critical patent/JPH03282731A/en
Application granted granted Critical
Publication of JP2856492B2 publication Critical patent/JP2856492B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、あるシステムソフトウェアから他のシステ
ムソフトウェアのプログラムを実行可能なプログラム処
理装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program processing device capable of executing a program of another system software from a certain system software.

[従来の技術] 第1のシステムソフトウェアSYS1において動作可能な
プログラムを第2のシステムソフトウェアSYS2によるプ
ログラム処理装置で動作させるには、一般にインタフェ
ースファイルが必要である。
[Prior Art] An interface file is generally required for a program operable by the first system software SYS1 to be operated by a program processing device using the second system software SYS2.

従来のプログラム処理装置において、このインタフェ
ースファイルは、第2のシステムソフトウェアSYS2で動
作するユーティリティソフトウェアであらかじめ作成さ
れ、記憶装置に常時記憶されている。
In a conventional program processing device, this interface file is created in advance by utility software that runs on the second system software SYS2, and is always stored in a storage device.

第4図は、この種の従来のプログラム処理装置の構成
を示している。
FIG. 4 shows the configuration of a conventional program processing apparatus of this kind.

同図に示すように、このプログラム処理装置は、シス
テム全体を制御する制御装置10と、RAM(ランダムアク
セスメモリ)、ROM(リードオンリメモリ)、フロッピ
ーディスクドライブ等の記憶装置11と、キーボードやマ
ウス等の入力装置12と、CRTに(陰極線管)表示装置や
プリンタ等の出力装置13とを有している。これらの装置
10〜13は、第2のシステムソフトウェアSYS2によって動
作するように構成されている。
As shown in FIG. 1, the program processing device includes a control device 10 for controlling the entire system, a storage device 11 such as a random access memory (RAM), a read only memory (ROM), and a floppy disk drive, a keyboard and a mouse. The CRT has an output device 13 such as a (cathode ray tube) display device or a printer. These devices
10 to 13 are configured to operate by the second system software SYS2.

このプログラム処理装置はまた、第1のシステムソフ
トウェアSYS1のプログラムを動作させるための制御ソフ
トウェアを有するSYS1制御装置14を備えている。このSY
S1制御装置14は、同図に示すように、第2のシステムソ
フトウェアSYS2で動作するユーティリティソフトウェア
でインタフェースファイルをあらかじめ作成するインタ
フェースファイル設定・作成装置14aと、第1のシステ
ムソフトウェアSYS1の目的のプログラムを実行処理する
SYS1用プログラム実行制御装置14bとから主として構成
されている。
The program processing device also includes a SYS1 control device 14 having control software for operating a program of the first system software SYS1. This SY
As shown in the figure, the S1 control device 14 includes an interface file setting / creating device 14a for creating an interface file in advance by using utility software operating on the second system software SYS2, and a target program of the first system software SYS1. Execute
It mainly comprises a program execution control device 14b for SYS1.

[発明が解決しようとする課題] しかしながら従来のプログラム処理装置によると、イ
ンタフェースファイルが常時記憶されることになり、そ
の分記憶容量を効率よく使用することができない。これ
を解決するために、従来のプログラム処理装置では、ユ
ーザー自身が不必要と思われるインタフェースファイル
を判断し消去することにより記憶容量を確保することを
行っているが、インタフェースファイルは通常一般のユ
ーザー側からは見えないため、他の処理動作で必要なフ
ァイルまで誤って消去されてしまう恐れがある。しか
も、誤って消去してしまったインタフェースファイルを
作成するためには、目的のプログラムがどれだけメモリ
を占有するか、どのような入出力装置を使用するか等パ
ーソナルコンピュータにおける専門的な技術、知識が必
要であり、必要なインタフェースファイルを一度消去し
てしまうと一般の操作者が作成することは非常に困難で
ある。
[Problems to be Solved by the Invention] However, according to the conventional program processing device, the interface file is always stored, so that the storage capacity cannot be used efficiently. In order to solve this problem, in conventional program processing devices, the user himself / herself determines the unnecessary interface file and deletes it to secure the storage capacity by deleting it. Since it cannot be seen from the side, there is a possibility that a necessary file may be accidentally deleted by another processing operation. In addition, in order to create an interface file that has been accidentally deleted, specialized techniques and knowledge in personal computers such as how much memory the target program occupies and what kind of input / output devices are used. It is very difficult for a general operator to create a necessary interface file once the necessary interface file is deleted.

従って本発明の目的は、他の処理動作では不必要なイ
ンタフェースファイルが常時記憶されることがなく、そ
の分記憶容量を効率よく使用することができるプログラ
ム処理装置を提供することにある。また本発明の他の目
的は、不必要なインタフェースファイルの消去に際し
て、他の処理動作に必要なインタフェースファイルをま
でも誤って消去してしまうことを防止でき、アプリケー
ションプログラムの実行が不能となる如き事態を未然に
防止できるプログラム処理装置を提供することにある。
Accordingly, it is an object of the present invention to provide a program processing apparatus in which unnecessary interface files are not always stored in other processing operations, and the storage capacity can be efficiently used. Another object of the present invention is to prevent an unnecessary interface file from being erroneously erased even when an unnecessary interface file is erased, thereby preventing execution of an application program. An object of the present invention is to provide a program processing device capable of preventing a situation from occurring.

[課題を解決するための手段] 上述の目的を達成する本発明の要旨は、第1のシステ
ムソフトウェアにおいて動作可能な目的のプログラムを
第2のシステムソフトウェア側から動作させるプログラ
ム処理装置であって、入力したパラメータデータに応じ
てインタフェースファイルを作成する手段と、作成した
インタフェースファイルを用いて前記目的のプログラム
を実行する手段と、実行手段が目的のプログラムの実行
処理を完了した後このインタフェースファイルを削除す
る手段とを備えたことにある。
Means for Solving the Problems The gist of the present invention that achieves the above object is a program processing apparatus that operates a target program operable in the first system software from the second system software, Means for creating an interface file according to the input parameter data, means for executing the target program using the created interface file, and deletion of the interface file after the execution means completes the execution of the target program And means for doing so.

[作用] 第1のシステムソフトウェアにおいて動作可能な目的
のプログラムを第2のシステムソフトウェア側から動作
させる場合に、操作者が目的のプログラムに渡すための
パラメータデータを入力すると、入力したパラメータデ
ータに応じてインタフェースファイルが作成される。こ
の作成したインタフェースファイルを用いて第2のシス
テムソフトウェア側から目的のプログラムが実行処理さ
れ、処理が完了するとそのインタフェースファイルが削
除される。
[Operation] When a target program operable in the first system software is operated from the second system software side, when an operator inputs parameter data to be passed to the target program, the operator responds to the input parameter data. Interface file is created. Using the created interface file, a target program is executed and processed from the second system software side, and when the processing is completed, the interface file is deleted.

[実施例] 以下、図面を参照して本発明の実施例を説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明に係るプログラム処理装置の一実施
例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a program processing device according to the present invention.

同図に示すようにこのプログラム処理装置は、システ
ム全体を制御する制御装置20と、RAM、ROM、フロッピー
ディスクドライブ等の記憶装置21と、キーボードやマウ
ス等の入力装置22と、CRT表示装置やプリンタ等の出力
装置23とを有している。これらの装置20〜23は、第2の
システムソフトウェアSYS2によって動作するように構成
されている。
As shown in FIG. 1, the program processing device includes a control device 20 for controlling the entire system, a storage device 21 such as a RAM, a ROM, and a floppy disk drive, an input device 22 such as a keyboard and a mouse, a CRT display device and the like. And an output device 23 such as a printer. These devices 20 to 23 are configured to operate by the second system software SYS2.

このプログラム処理装置はまた、第1のシステムソフ
トウェアSYS1のプログラムを動作させるための制御ソフ
トウェアを有するSYS1制御装置24を備えている。このSY
S1制御装置24は、同図に示すように、インタフェースフ
ァイルを削除するインタフェース削除制御装置24aと、
第2のシステムソフトウェアSYS2で動作するソフトウェ
アでインタフェースファイルを自動的に作成するインタ
フェースファイル設定・作成装置24bと、第1のシステ
ムソフトウェアSYS1の目的のプログラムを実行処理する
SYS1用プログラム実行制御装置24cとから主として構成
されており、インタフェースファイル削除制御装置24a
が本願発明の「実行手段が目的のプログラムの実行処理
を完了した後インタフェースを削除する手段」に対応
し、インタフェースファイル設定・作成装置24bが本願
発明の「入力したパラメータデータに応じてインタフェ
ースファイルを作成する手段」に対応し、第1のシステ
ムソフトウェア用プログラム実行制御装置24cが本願発
明の「作成したインタフェースファイルを用いて目的の
プログラムを実行する手段」に対応する。
The program processing device also includes a SYS1 control device 24 having control software for operating a program of the first system software SYS1. This SY
As shown in the figure, the S1 control device 24 includes an interface deletion control device 24a that deletes an interface file,
An interface file setting / creating device 24b for automatically creating an interface file by software running on the second system software SYS2, and executing a target program of the first system software SYS1.
And an interface file deletion control device 24a.
Corresponds to the "means for deleting the interface after the execution means has completed the execution process of the target program" of the present invention, and the interface file setting / creating device 24b of the present invention "cancel the interface file according to the input parameter data". The first system software program execution control device 24c corresponds to the "means for executing a target program using the created interface file" of the present invention.

第2図は、SYS1制御装置24のインタフェース削除制御
装置24a及びインタフェースファイル設定・作成装置24b
の動作を説明するためのフローチャートである。
FIG. 2 shows the interface deletion control device 24a and the interface file setting / creating device 24b of the SYS1 control device 24.
5 is a flowchart for explaining the operation of FIG.

まずステップS1において、ユーザーが、第1のシステ
ムソフトウェアSYS1の実行しようとするプログラムに関
するパラメータデータ、例えばファイル名等、を入力装
置23を介して入力する。これにより、インタフェースフ
ァイル設定・作成装置24bは、ステップS2においてこの
パラメータデータを解析し、次のステップS3において作
成されるインタフェースファイル内に設定されるパラメ
ータデータエリアのデータを更新する。そしてステップ
S4において、インタフェースファイルを作成する。
First, in step S1, the user inputs, via the input device 23, parameter data relating to a program to be executed by the first system software SYS1, such as a file name. Accordingly, the interface file setting / creating device 24b analyzes the parameter data in step S2, and updates the data in the parameter data area set in the interface file created in the next step S3. And step
In S4, an interface file is created.

その後、インタフェースファイル設定・作成装置24b
からSYS1用プログラム実行制御装置24cに制御を移行さ
せ、目的のプログラムを実行する(ステップS5)。
Then, the interface file setting / creating device 24b
Is transferred to the SYS1 program execution controller 24c, and the target program is executed (step S5).

次いで、目的のプログラムの実行処理を完了した後、
そのインタフェースファイルを削除する(ステップS
6)。
Then, after completing the execution process of the target program,
Delete the interface file (Step S
6).

第3図は、SYS1用プログラム実行制御装置24cの制御
動作を説明するためのフローチャートである。
FIG. 3 is a flowchart for explaining the control operation of the SYS1 program execution control device 24c.

第2図のステップS5によりSYS1用プログラム実行制御
装置24cに制御が移行すると、まず、ステップS10におい
て、インタフェースファイルが存在するか否か判別す
る。
When the control shifts to the program execution control device for SYS1 24c in step S5 of FIG. 2, first, in step S10, it is determined whether or not an interface file exists.

インタフェースファイルが存在する場合にはステップ
S11へ進み、インタフェースファイルの内容を解析し
て、SYS1用の目的のプログラムを動作させるための環境
を整備した後、ステップS12へ進む。動作環境の整備と
しては、例えば、必要なメモリ空間の確保、通信用のシ
リアルポートの確保等がある。
Step if the interface file exists
Proceed to S11, analyze the contents of the interface file, and prepare an environment for operating the target program for SYS1, and then proceed to step S12. The maintenance of the operating environment includes, for example, securing a necessary memory space, securing a serial port for communication, and the like.

ステップS10において、インタフェースファイルが存
在しないと判別した場合には、ステップS13へ分岐し、
あらかじめ決められた標準的な動作環境整備を行うか否
かを判別する。標準的な動作環境整備を行うと判別した
場合は、ステップS14でその処理を実行した後、ステッ
プS16へ進む。動作環境の設定が不可能である場合に
は、ステップS15へ進み、その旨を出力装置23に出力し
て目的のプログラムの実行処理を中止する。ステップS1
5の処理が終了するとステップS18へ進む。
If it is determined in step S10 that the interface file does not exist, the process branches to step S13,
It is determined whether or not a predetermined standard operating environment is prepared. If it is determined that the standard operation environment maintenance is to be performed, the process is executed in step S14, and then the process proceeds to step S16. If the setting of the operating environment is not possible, the process proceeds to step S15, and the fact is output to the output device 23, and the execution process of the target program is stopped. Step S1
When the process of 5 is completed, the process proceeds to step S18.

ステップS12においては、動作環境の設定が正しく行
われた否かを判別する。正しく行われてないと判別した
場合は、ステップS15へ進み、その旨を出力装置23に出
力して目的のプログラムの実行処理を中止する。
In step S12, it is determined whether or not the operation environment has been correctly set. If it is determined that the execution has not been performed correctly, the process proceeds to step S15, and the fact is output to the output device 23, and the execution process of the target program is stopped.

動作環境の設定が正しく行われたと判別した場合はス
テップS16へ進み、SYS1用の目的のプログラムが実行可
能であるかどうか判別する。実行不可能の場合はステッ
プS15へ進んでその目的のプログラムの実行処理を中止
する。
If it is determined that the setting of the operating environment has been correctly performed, the process proceeds to step S16, and it is determined whether the target program for SYS1 is executable. If it cannot be executed, the process proceeds to step S15, and the execution process of the target program is stopped.

実行可能であると判別した場合は、ステップS17へ進
み、そのSYS1用の目的のプログラムの実行処理を行う。
次いでステップS18へ進み、制御をインタフェース削除
制御装置24aへ移行させる。
If it is determined that the program can be executed, the process proceeds to step S17, where the target program for SYS1 is executed.
Next, the process proceeds to step S18, in which the control is transferred to the interface deletion control device 24a.

このように、インタフェースファイルが第1のシステ
ムソフトウェアSYS1の環境下の目的のプログラムを実行
する場合にのみ自動的に作成され、かつそのパラメータ
データエリアが更新され、この目的のプログラムの実行
処理を完了した後、作成されたインタフェースファイル
が自動的に削除される。従って、本実施例によれば、操
作者がパーソナルコンピュータにおける専門的な技術、
知識を有することなく簡単なパラメータデータを入力す
るだけで第2のシステムソフトウェアSYS2側から第1の
システムソフトウェアSYS1のプログラムを確実に実行で
きる。しかも、操作者が誤ってこのインタフェースファ
イルを削除するような恐れも全くない。
In this way, the interface file is automatically created only when the target program under the environment of the first system software SYS1 is executed, and the parameter data area is updated, thereby completing the execution of the target program. After that, the created interface file is automatically deleted. Therefore, according to the present embodiment, the operator can use the specialized technology in the personal computer,
By simply inputting simple parameter data without knowledge, the program of the first system software SYS1 can be reliably executed from the second system software SYS2. In addition, there is no danger that the operator will accidentally delete this interface file.

また、コンバータ等のプログラムにおいてコンバート
したデータを出力するファイル名の変更を行う場合、従
来は第2のシステムソフトウェアSYS12で動作するユー
ティリティソフトウェアでパラメータデータの修正作業
を行わねばならなかったが、本実施例によればこのよう
な余分な作業が不要となる。
Also, in the case of changing the file name for outputting converted data in a program such as a converter, conventionally, the parameter data had to be corrected using utility software operating on the second system software SYS12. According to the example, such extra work is not required.

[発明の効果] 以上詳細に説明したように本発明によれば、第1のシ
ステムソフトウェアにおいて動作可能な目的のプログラ
ムを第2のシステムソフトウェア側から動作させるプロ
グラム処理装置であって、入力したパラメータデータに
応じてインタフェースファイルを作成する手段と、作成
したインタフェースファイルを用いて目的のプログラム
を実行する手段と、実行手段が目的のプログラムの実行
処理を完了した後このインタフェースファイルを削除す
る手段とを備えているため、不必要なインタフェースフ
ァイルの消去に際して、他の処理動作に必要なインタフ
ェースファイルをまでも誤って消去してしまうことを防
止でき、アプリケーションプログラムの実行が不能とな
る如き事態を未然に防止することができる。しかも、他
の処理動作では不必要なインタフェースファイルが常時
記憶されていないので、その分記憶容量を効率よく使用
することができる。
[Effects of the Invention] As described in detail above, according to the present invention, there is provided a program processing apparatus for operating a target program operable in the first system software from the second system software side, wherein the input parameter Means for creating an interface file according to the data, means for executing the target program using the created interface file, and means for deleting the interface file after the execution means has completed the execution of the target program. Since it is provided, when deleting unnecessary interface files, it is possible to prevent erroneous deletion of interface files necessary for other processing operations, and to prevent situations in which application programs can not be executed. Can be prevented. In addition, since unnecessary interface files are not always stored in other processing operations, the storage capacity can be efficiently used.

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

第1図は本発明に係るプログラム処理装置の一実施例を
示すブロック図、第2図及び第3図は第1図のプログラ
ム処理装置の動作を説明するためのフローチャート、第
4図は従来のプログラム処理装置を示すブロック図であ
る。 20……制御装置、21……記憶装置、22……入力装置、23
……出力装置、24……SYS1制御装置、24a……インタフ
ェース削除制御装置、24b……インタフェースファイル
設定・作成装置、24c……SYS1用プログラム実行制御装
置。
FIG. 1 is a block diagram showing an embodiment of a program processing apparatus according to the present invention, FIGS. 2 and 3 are flowcharts for explaining the operation of the program processing apparatus shown in FIG. 1, and FIG. It is a block diagram showing a program processing device. 20 ... Control device, 21 ... Storage device, 22 ... Input device, 23
Output device, 24 SYS1 control device, 24a Interface deletion control device, 24b Interface file setting / creating device, 24c SYS1 program execution control device.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】第1のシステムソフトウェアにおいて動作
可能な目的のプログラムを第2のシステムソフトウェア
側から動作させるプログラム処理装置であって、入力し
たパラメータデータに応じてインタフェースファイルを
作成する手段と、該作成したインタフェースファイルを
用いて前記目的のプログラムを実行する手段と、該実行
手段が目的のプログラムの実行処理を完了した後該イン
タフェースファイルを削除する手段とを備えたことを特
徴とするプログラム処理装置。
1. A program processing apparatus for operating a target program operable in first system software from a second system software side, comprising: means for creating an interface file in accordance with input parameter data; A program processing apparatus comprising: means for executing the target program by using the created interface file; and means for deleting the interface file after the execution means completes execution of the target program. .
JP2083677A 1990-03-30 1990-03-30 Program processing device Expired - Fee Related JP2856492B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2083677A JP2856492B2 (en) 1990-03-30 1990-03-30 Program processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2083677A JP2856492B2 (en) 1990-03-30 1990-03-30 Program processing device

Publications (2)

Publication Number Publication Date
JPH03282731A JPH03282731A (en) 1991-12-12
JP2856492B2 true JP2856492B2 (en) 1999-02-10

Family

ID=13809114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2083677A Expired - Fee Related JP2856492B2 (en) 1990-03-30 1990-03-30 Program processing device

Country Status (1)

Country Link
JP (1) JP2856492B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6546359B1 (en) 2000-04-24 2003-04-08 Sun Microsystems, Inc. Method and apparatus for multiplexing hardware performance indicators
US6647546B1 (en) 2000-05-03 2003-11-11 Sun Microsystems, Inc. Avoiding gather and scatter when calling Fortran 77 code from Fortran 90 code
FR2870412B1 (en) * 2004-05-13 2006-09-15 Gemplus Sa TRANSFER OF DATA BETWEEN TWO CHIP CARDS

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62271166A (en) * 1986-05-20 1987-11-25 Mitsubishi Electric Corp Processing method for file access of other system
JPH01194698A (en) * 1988-01-29 1989-08-04 Nec Corp File constituting system for electronic exchange system

Also Published As

Publication number Publication date
JPH03282731A (en) 1991-12-12

Similar Documents

Publication Publication Date Title
JP2000207092A (en) Method and device for preventing misoperation and storage medium with software product for misoperation prevention stored therein
JPS60136833A (en) Switching method of operating system
JP2010509654A (en) API confirmation method using information recorded in call stack
JP2856492B2 (en) Program processing device
JPS62192820A (en) Man-machine interface control system
JP2001014175A (en) System and method for managing job operation and storage medium
JP3143330B2 (en) Programmable controller
JP2921480B2 (en) Method of starting maintenance mode in computer system
JP3120473B2 (en) How to upgrade software programs
JP2619487B2 (en) File operation method
JP2629051B2 (en) File organization information acquisition processing method
JPH05158664A (en) Information processor
JPH04332068A (en) Job control system
JP2643839B2 (en) Completion method at the time of command input
JPH0562781B2 (en)
JPH04130949A (en) Simple method for starting system
JPS61279932A (en) Automatic collective translation system for source program
JPS62281032A (en) Program start up system
JPH02249036A (en) Data processor
JPH02231657A (en) Filing system and operating system
JPS61208142A (en) Communication system between processes
JPH07334494A (en) Information processor
JPH05257775A (en) Data processor
JPH0643959A (en) Computer system
JPS62182823A (en) Operating device for electronic computer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081127

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091127

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees