JPH04167138A - Program loading system - Google Patents

Program loading system

Info

Publication number
JPH04167138A
JPH04167138A JP29604590A JP29604590A JPH04167138A JP H04167138 A JPH04167138 A JP H04167138A JP 29604590 A JP29604590 A JP 29604590A JP 29604590 A JP29604590 A JP 29604590A JP H04167138 A JPH04167138 A JP H04167138A
Authority
JP
Japan
Prior art keywords
program
hardware
execution
version number
model name
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
Application number
JP29604590A
Other languages
Japanese (ja)
Inventor
Tatsushige Bito
尾藤 龍茂
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 JP29604590A priority Critical patent/JPH04167138A/en
Publication of JPH04167138A publication Critical patent/JPH04167138A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To prevent the erroneous actuation of an impracticable program and the occurrence of an abnormal operation by providing a means to an execution program to confirm a practicable state of the program based on the type name of the practicable hardware or the version number of an OS contained in the program. CONSTITUTION:An execution program 1 consists of a machine word 2 and a hardware type table 3 which contains the type names of hardware that can execute the program. Thus the type name of hardware capable of execution of the program is held in the program 1, and the type name of hardware where the program 1 is loaded is read. Thus the practicable hardware is confirmed. Thus it is possible to prevent such a defective case where an impracticable hardware type name or an OS is loaded by mistake and therefore an abnormal operation is caused after execution of the program 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プログラムのロード方式に関し、特に情報処
理装置で実行されるプログラムのロード方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program loading method, and particularly to a program loading method executed by an information processing apparatus.

〔従来の技術〕[Conventional technology]

従来、実行プログラムのロードでは、コマンドやJCL
で指定されたプログラムが無条件にロードされ、実行さ
れていた。
Conventionally, when loading an executable program, commands and JCL
The program specified in was loaded and executed unconditionally.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプログラムのロード方式では、実行プロ
グラムは、実行不可のハードウェア機種やオペレーティ
ングシステム(以下O8と称す)の版数であってもロー
ドされる為、実行後、異常動作を引き起してしまう欠点
があった。
In the conventional program loading method described above, the execution program is loaded even if the hardware model or version of the operating system (hereinafter referred to as O8) cannot be executed, so it may cause abnormal operation after execution. There was a drawback.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のプログラム・ロード方式は、実行プログラム内
にそのプログラムが実行可能なハードウェアの機種名を
保持する手段と、実行プログラムがロードされるハード
ウェアの機種名を読み取り、実行可能なハードウェアで
あることを確認する手1とを有している。
The program loading method of the present invention includes means for retaining in an execution program the model name of the hardware on which the program can be executed, and a means for reading the model name of the hardware into which the execution program is loaded. It has a hand 1 to confirm that it is.

更に、本発明のプログラム・ロード方式は、実行プログ
ラム内に、そのプログラムが実行可能なオペレーティン
グシステムの版数を保持する手段と、実行プログラムが
ロードされるオペレーティングシステムの版数を読み取
り、実行可能な版数であることを確認する手段とを有し
ている。
Furthermore, the program loading method of the present invention includes means for retaining, in an executable program, the version number of the operating system on which the program can be executed, and a means for reading the version number of the operating system into which the executable program is loaded. It has a means for confirming the version number.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明の一実施例における実行プログラムの
構成を示している。第1図において、実行プログラム1
は、機械語2とプログラムの実行可能なハードウェア機
種名を有しているハードウェア機種衣3とから構成され
ている。
FIG. 1 shows the configuration of an execution program in an embodiment of the present invention. In Figure 1, execution program 1
consists of a machine language 2 and a hardware model name 3 having the name of a hardware model capable of executing the program.

第2図はハードウェア機種衣3の形式を示す。FIG. 2 shows the format of the hardware model 3.

第2図において、表3の1個のエントリは、プログラム
が実行可能なハードウェア機種名フィールド21から構
成されている。実行プログラム1が実行可能なハードウ
ェア機種数分のエントリが存在する。
In FIG. 2, one entry in Table 3 consists of a hardware model name field 21 on which the program can be executed. There are entries for the number of hardware models that can execute the execution program 1.

第3図は、第1図及び第2図で示した構造を持つ実行プ
ログラムとハードウェア内に保持されているハードウェ
ア機種名を入力して、実行可能なハードウェアかどうか
確認する手段の入出力図である。第3図において、この
機種名確認手段33はハードウェア機種名31と実行プ
ログラム32とを入力して、第4図に示す手順に従って
実行可能なハードウェアかどうか確認し、結果34を出
力する。
Figure 3 shows an input method for checking whether the hardware is executable by inputting the execution program having the structure shown in Figures 1 and 2 and the hardware model name held in the hardware. It is an output diagram. In FIG. 3, this model name checking means 33 inputs a hardware model name 31 and an execution program 32, checks whether the hardware is executable according to the procedure shown in FIG. 4, and outputs a result 34.

第4図は、機種名確認手段33の確認手順を示している
。第4図において、まず、ハードウェア内に保持されて
いるハードウェア機種名31を取り出しくステップ41
)、又、実行プログラム32のハードウェア機種衣3の
取り出しを行なう(ステップ42)、次に、ハードウェ
ア機種名31とハードウェア機種衣3の比較を行ないく
ステップ43)、一致しなければ実行不可を結果の出力
により使用者に知らせる(ステップ44)。
FIG. 4 shows the confirmation procedure of the model name confirmation means 33. In FIG. 4, first, step 41 takes out the hardware model name 31 held in the hardware.
), and extracts the hardware model name 3 of the execution program 32 (step 42), then compares the hardware model name 31 and hardware model name 3 (step 43), and if they do not match, execute. The user is informed of the rejection by outputting the result (step 44).

第5図は、本発明の他の実施例における実行プログラム
の構成を示している。第5図において、実行プログラム
51は、機械語52とプログラムの実行可能なO8の版
数を有しているO8版数表5°3とから構成されている
FIG. 5 shows the configuration of an execution program in another embodiment of the present invention. In FIG. 5, an execution program 51 is composed of a machine language 52 and an O8 version number table 5°3 having the O8 version number in which the program can be executed.

第6図はO8版数表53の形式を示す。第6図において
、表53の1個のエントリは、プログラムが実行可能な
O8版数名フィールド61から構成されている。実行プ
ログラム51が実行可能なO8版数の数分のエントリが
存在する。
FIG. 6 shows the format of the O8 version number table 53. In FIG. 6, one entry in table 53 consists of a field 61 for the number of O8 versions on which the program can be executed. There are entries for the number of O8 versions that can be executed by the execution program 51.

第7図は、第5図及び第6図で示した構造を持つ実行プ
ログラムとO8内に保持されている08O8版数を入力
して、実行可能なO8かどうか確認する手段の入出力図
である。第7図において、この版数確認手段73はO8
版数71と実行プログラム72とを入力して、第8図に
示す手順に従って、実行可能なO8かどうか確認し、結
果74を出力する。
FIG. 7 is an input/output diagram of a means for inputting the execution program having the structure shown in FIGS. 5 and 6 and the 08O8 version number held in the O8 to check whether the O8 is executable. be. In FIG. 7, this version number confirmation means 73 is O8
Input the version number 71 and execution program 72, check whether O8 is executable according to the procedure shown in FIG. 8, and output the result 74.

第8図は、O8版数確認手段73の確認手順を示してい
る。第8図において、まず、O8内に保持されているO
8版数71を取り出しくステップ81)、又、実行プロ
グラム72のO8版数表53の取り出しを行なう(ステ
ップ82)。次に、O8版数71とO8版数表53の比
較を行ないくステップ83)、一致しなければ、実行不
可を結果の出力により使用者に知らせる(ステップ84
)。
FIG. 8 shows the confirmation procedure of the O8 version number confirmation means 73. In FIG. 8, first, O held in O8
8 version number 71 (step 81), and the O8 version number table 53 of the execution program 72 (step 82). Next, the O8 version number 71 and the O8 version number table 53 are compared (step 83), and if they do not match, the user is notified that execution is not possible by outputting the result (step 84).
).

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、実行プログラムに対して
、プログラム内に含まれる実行可能なハードウェア機種
名あるいは、O8の版数に基づいて、実行可能かどうか
確認する手段を提供することにより、実行不可のプログ
ラムを誤って動作させ、異常動作を引き起してしまうの
を容易に防ぐことができる。
As explained above, the present invention provides means for checking whether an executable program is executable based on the executable hardware model name included in the program or the version number of O8. It is possible to easily prevent an unexecutable program from erroneously running and causing an abnormal operation.

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

第1図は本発明の一実施例における実行プログラムを示
す構成図、第2図は実行プログラムに含まれるハードウ
ェア機種衣を示す構成図、第3図はハードウェア機種名
確認手段をを示す入出力構成図、第4図はハードウェア
機種名確認手段の手順を示す流れ図、第5図は本発明の
他の実施例における実行プログラムを示す構成図、第6
図は実行プログラムに含まれるO8版数表を示す構成図
、第7図はO8版数確認手段を示す入出力構成図、第8
図はO8版数確認手段の手順を示す流れ図である。 1.51・・・実行プログラム、2.52・・・実行プ
ログラムの機械語部分、3・・・実行プログラムのハー
ドウェア機種衣、21・・・ハードウェア機種名フィー
ルド、31・・・ハードウェア機種名、32,72・・
・実行プログラム、33・・・機種名確認手段、34.
74・・・リストの出力結果、53・・・実行プログラ
ムのO8版数表、61・・・O8版数フィールド、71
・・・O8版数、73・・・O8版数確認手段。
FIG. 1 is a configuration diagram showing an execution program in an embodiment of the present invention, FIG. 2 is a configuration diagram showing hardware models included in the execution program, and FIG. 3 is an input diagram showing hardware model name confirmation means. Output configuration diagram; FIG. 4 is a flowchart showing the procedure of the hardware model name confirmation means; FIG. 5 is a configuration diagram showing an execution program in another embodiment of the present invention;
The figure is a configuration diagram showing the O8 version number table included in the execution program, FIG. 7 is an input/output configuration diagram showing the O8 version number confirmation means, and FIG.
The figure is a flowchart showing the procedure of the O8 version number confirmation means. 1.51...Execution program, 2.52...Machine language part of the execution program, 3...Hardware model name of the execution program, 21...Hardware model name field, 31...Hardware Model name, 32, 72...
- Execution program, 33...Model name confirmation means, 34.
74...List output result, 53...O8 version number table of execution program, 61...O8 version number field, 71
...O8 version number, 73...O8 version number confirmation method.

Claims (1)

【特許請求の範囲】 1、実行プログラム内にそのプログラムが実行可能なハ
ードウェアの機種名を保持する手段と、実行プログラム
がロードされるハードウェアの機種名を読み取り、実行
可能なハードウェアであることを確認する手段とを有す
ることを特徴とするプログラムのロード方式。 2、実行プログラム内に、そのプログラムが実行可能な
オペレーティングシステムの版数を保持する手段と、実
行プログラムがロードされるオペレーティングシステム
の版数を読み取り、実行可能な版数であることを確認す
る手段とを有することを特徴とするプログラムのロード
方式。
[Scope of Claims] 1. Means for retaining in an execution program the model name of hardware on which the program can be executed, and means for reading the model name of hardware into which the execution program is loaded to identify the hardware capable of executing the program. and means for confirming that the program is loaded. 2. A means for retaining the version number of the operating system on which the program can be executed in the executable program, and a means for reading the version number of the operating system into which the executable program is loaded and confirming that the version is executable. A program loading method comprising:
JP29604590A 1990-10-31 1990-10-31 Program loading system Pending JPH04167138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29604590A JPH04167138A (en) 1990-10-31 1990-10-31 Program loading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29604590A JPH04167138A (en) 1990-10-31 1990-10-31 Program loading system

Publications (1)

Publication Number Publication Date
JPH04167138A true JPH04167138A (en) 1992-06-15

Family

ID=17828391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29604590A Pending JPH04167138A (en) 1990-10-31 1990-10-31 Program loading system

Country Status (1)

Country Link
JP (1) JPH04167138A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148801A (en) * 1999-01-01 2000-05-30 Eimu:Kk Communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148801A (en) * 1999-01-01 2000-05-30 Eimu:Kk Communication system

Similar Documents

Publication Publication Date Title
TWI375910B (en) Apparatus and method for selecting subroutine return mechanisms and computer program product therefor
JP2004213677A (en) Method of executing task by computer system with gui
JP3502543B2 (en) Test case generation system and test case generation method
EP1171821A1 (en) Method and apparatus for automated software testing
JPH04167138A (en) Program loading system
JPS61145649A (en) Address syllable combination test system
KR930003412B1 (en) Character reading system and method
US6782523B2 (en) Parallel configurable IP design methodology
CN114115763B (en) Configuration device and configuration method for printer platform product
US7281166B1 (en) User-customizable input error handling
JPH09288595A (en) Arithmetic processing unit
JP3114909B2 (en) Calculation error processing method of programmable controller
JP2629051B2 (en) File organization information acquisition processing method
JPS5870361A (en) Input controlling system
JPH0431933A (en) Source program analyzing device
JP2798058B2 (en) File reading command generation processing system and file reading processing method
JPH0314040A (en) Program transportable support device
JPS62280933A (en) Load module update system
JPH03235135A (en) Automatic inspection system for program
JPH01230132A (en) Generator
JPH08249193A (en) Checking system for language specification range of program
JPH04324525A (en) Program transplantation supporting device
JPS63228341A (en) Program syntax checking system
JPH02144721A (en) Batch processing system for plural batch files
JPH11259338A (en) Automatic os test system and storage medium for recording program for automatic os test