JPS63245723A - System command registering system - Google Patents

System command registering system

Info

Publication number
JPS63245723A
JPS63245723A JP62080497A JP8049787A JPS63245723A JP S63245723 A JPS63245723 A JP S63245723A JP 62080497 A JP62080497 A JP 62080497A JP 8049787 A JP8049787 A JP 8049787A JP S63245723 A JPS63245723 A JP S63245723A
Authority
JP
Japan
Prior art keywords
command
management table
system command
ipl
definition body
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
JP62080497A
Other languages
Japanese (ja)
Inventor
Yoshimitsu Kikuchi
菊地 善光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62080497A priority Critical patent/JPS63245723A/en
Publication of JPS63245723A publication Critical patent/JPS63245723A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To optionally form a system command by registering a command definition body in a common area of a memory at the time of changing the system command and setting/deleting the address of the command definition body in/from a command management table. CONSTITUTION:In case of registering a system command, a command definition body 1-1 is previously formed by a system command forming part 1 and registered in the common area of the memory by a system command registering part 2. In case of validating the system command without executing initial program loading (IPL) again, the address of the command definition body 1-1 and a cipher are set up in the 1st command management table 11. In case of validating the system command by repeating the IPL again, the address of the command definition body 1-1 and the cipher are set up once in the 2nd command management table 12, and after executing the IPL of the system again, the contents of the table 12 are transferred to the table 11.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段(第1図)作用 実施例(第2図〜第4図) (1)システムコマンド登録の場合 (2)システムコマンド削除の場合 発明の効果 〔概要〕 システムコマンドの新規作成、変更、削除等を行う場合
、メモリの共通領域にコマンド定義体を登録し、コマン
ド管理テーブルにコマンド定義体のアドレスを設定、削
除することにより、システムを再IPLせずに登録、変
更、削除等を可能としたもの。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Conventional technology Problems to be solved by the invention Means for solving the problems (Fig. 1) Working examples (Figs. 2 to 4) (Figure) (1) In the case of system command registration (2) In the case of system command deletion Effects of the invention [Summary] When creating, changing, or deleting a system command, a command definition body is registered in a common area of memory, By setting and deleting the address of a command definition body in the command management table, it is possible to register, change, delete, etc. without re-IPLing the system.

〔産業上の利用分野〕[Industrial application field]

本発明はシステムコマンド登録方式に係り、特にシステ
ムコマンドを動的に登録、変更、削除を行うことができ
るようにしたものである。
The present invention relates to a system command registration method, and in particular allows system commands to be dynamically registered, changed, and deleted.

〔従来の技術〕[Conventional technology]

従来、オペレーテング・システムのシステムコマンドの
新規作成、変更、削除を行う場合、コマンド基本部に登
録、変更、削除等に対する修正を行うことが必要のため
、システムコマンド作成者側だけで自由にシステムコマ
ンドを作ることができない。またシステムコマンドを登
録した場合、一度システムを停止させて再I P L 
(Initial Program Load)  L
/なければそのシステムコマンドの登録、変更、削除が
有効にならない。
Conventionally, when creating, changing, or deleting system commands for an operating system, it was necessary to register, change, or delete them in the command basics, so only the system command creator could freely create, change, or delete system commands. Unable to create command. Also, if you register a system command, stop the system and re-IPL.
(Initial Program Load) L
/ Otherwise, registration, modification, and deletion of the system command will not be effective.

C発明が解決しようとする問題点〕 従って従来の方式ではシステムコマンド作成者側だけで
は自由にシステムコマンドを作ることができなかった。
C Problems to be Solved by the Invention] Therefore, in the conventional system, the system command creator could not freely create system commands.

またシステムコマンドを登録した場合、システムを再l
PLLなければこれが有効にならないため無駄な時間を
要した。
Also, if you register system commands, restart the system.
This would not be effective without PLL, so it took a lot of time.

このため、システムコマンドの登録はシステムコマンド
作成者が自由に行うことができ、使用者の判断に基づい
てシステムの再IPLを行うことなくコマンドの機能を
有効にするか、それとも再IPLを行うことにより有効
にするかを選択できるようなシステムコマンドの動的登
録方式の提供が強く要望されている。
Therefore, system commands can be registered freely by the system command creator, and based on the user's judgment, the function of the command can be enabled without re-IPLing the system, or the system command can be re-IPLed. There is a strong demand for a system for dynamically registering system commands that allows users to choose whether or not to enable them.

本発明の目的はこのようなことが可能なシステムコマン
ド登録方式を提供することである。
An object of the present invention is to provide a system command registration method that allows such a system.

〔問題点を解決するための手段〕[Means for solving problems]

前記目的を達成するため、本発明では、第1図に示すよ
うに、システムコマンドを登録する場合、予めコマンド
定義体(単体)1−1をシステムコマンド作成部1で作
成し、システムコマンド登録部2がこれをメモリの共通
域に登録する。そして再IPLせずにこのシステムコマ
ンドを有効にするときはこのコマンド定義体のアドレス
と、暗号を、第1コマンド管理テーブル11に設定する
In order to achieve the above object, in the present invention, as shown in FIG. 1, when registering a system command, a command definition (single) 1-1 is created in advance by the system command creation section 1, and the system command registration section 2 registers this in a common area of memory. When this system command is to be enabled without re-IPLing, the address and code of this command definition are set in the first command management table 11.

また再I P Lによりこのシステムコマンドを有効に
するときにはこのコマンド定義体のアドレスと暗号を、
まず第2コマンド管理テーブル12に一旦設定する。そ
してシステムの再JPLを行って、第2コマンド管理テ
ーブル12に一度設定したコマンド定義体アドレス及び
暗号を第1コマンド管理テーブル11に移転する。
Also, when re-IPLing this system command to enable it, enter the address and code of this command definition.
First, it is temporarily set in the second command management table 12. Then, the system is re-JPLed to transfer the command definition address and code once set in the second command management table 12 to the first command management table 11.

〔作用〕[Effect]

システムコマンドを登録、あるいは変更するとき共通域
にコマンド定義体を登録あるいは変更するとともに第1
ニアマント管理テーブル11に登録すればよ(、削除す
るときは、第1コマンド管理テーブルより削除すればよ
い。しかも再IPLを必要とするか否かに応じて第2コ
マンド管理テーブル12に一度設定するか、それとも初
めから第1コマンド管理テーブル11に設定すればよい
When registering or changing a system command, register or change the command definition body in the common area and
All you have to do is register it in the nearmant management table 11 (and when you want to delete it, just delete it from the first command management table. Moreover, you can set it once in the second command management table 12 depending on whether re-IPL is required or not. Or, it may be set in the first command management table 11 from the beginning.

〔実施例〕〔Example〕

本発明の一実施例を第2図〜第4図にもとづき説明する
An embodiment of the present invention will be described based on FIGS. 2 to 4.

第2図は本発明の一実施例構成図、第3図は本発明のシ
ステムコマンド登録の場合の動作説明図、第4図はシス
テムコマンド削除の場合の動作説明図である。
FIG. 2 is a configuration diagram of an embodiment of the present invention, FIG. 3 is an explanatory diagram of the operation in the case of system command registration of the present invention, and FIG. 4 is an explanatory diagram of the operation in the case of system command deletion.

図中、他図と同一記号部分は同一部分を示し、3は管理
テーブル処理部、4はプロセッサ、10はメモリ、13
は第3コマンド管理テーブル、14はコマンド定義体、
15はメモリ2の共通域を示す。
In the figure, parts with the same symbols as in other figures indicate the same parts, 3 is a management table processing unit, 4 is a processor, 10 is a memory, 13
is the third command management table, 14 is the command definition body,
15 indicates a common area of the memory 2.

システムコマンド作成部1はシステムコマンドを作成、
変更、削除を行うときに必要なパラメータ1−2を作成
したり、システムコマンド登録部2の呼出し等を行うも
のである。パラメータ1−2には、パラメータ長、シス
テムコマンドの機能を有効にするときに再IPLが必要
か否かを示す再IPLの有無事項、例えばシステムコマ
ンドの登録か削除か等の要求種別事項、コマンド定義体
■−1のアドレス、このシステムコマンドの削除を可能
にするプログラマ(あるいはオペレータ)名が記入され
ている暗号等が含まれている。このパラメータ1−2の
先頭アドレスはレジスタ1−3内に記入されており、ま
た登録すべきコマンド定義体(単位)1−1はそのシス
テムコマンドの登録のときにプログラマにより作成され
用意されている。
System command creation unit 1 creates system commands,
It creates parameters 1-2 necessary for changes and deletions, calls the system command registration section 2, etc. Parameters 1-2 include the parameter length, the presence/absence of re-IPL indicating whether re-IPL is required when enabling the function of the system command, the request type such as whether to register or delete the system command, and the command. It includes the address of the definition program (1)-1, a code in which the name of the programmer (or operator) that enables deletion of this system command is written, and the like. The start address of this parameter 1-2 is written in register 1-3, and the command definition body (unit) 1-1 to be registered is created and prepared by the programmer when registering the system command. .

システムコマンド登録部2は、システムコマンドを登録
、変更、削除等の処理を行うものであり、例えばコマン
ド定義体(単位)1−1をメモリの共通域15にコピー
したり、前記パラメータの再IPL有無事項やシステム
コマンドの要求種別に応じて第1コマンド管理テーブル
11、第2コマンド管理テーブル12、第3コマンド管
理テーブル13等にコマンド定義体のアドレスや暗号記
入等の処理を行うものである。
The system command registration unit 2 performs processes such as registering, changing, and deleting system commands. For example, it copies the command definition body (unit) 1-1 to the common memory area 15, and re-IPLs the parameters. It performs processing such as entering addresses and codes of command definitions in the first command management table 11, second command management table 12, third command management table 13, etc., depending on the presence/absence of the command and the request type of the system command.

管理テーブル処理部3は、第2コマンド管理テーブル1
2のデータを第1コマンド管理テーブル11に転記する
等の処理を行う。
The management table processing unit 3 processes the second command management table 1
Processing such as transferring the data of No. 2 to the first command management table 11 is performed.

第1コマンド管理テーブル11は、データ処理装置の運
用に有効なシステムコマンドのコマンド定義体のアドレ
ス及び暗号が記入されるものであり、実際の運用に際し
てはこの第1コマンド管理テーブル11を参照してその
コマンド定義体のオペランド(複数の場合もある)等を
読取り、入力されたコマンドのオペランドがコマンド定
義体のオペランドと一致したとき有効と判断される等の
制御に使用されるものである。
The first command management table 11 is used to record the addresses and codes of command definitions of system commands that are effective for the operation of the data processing device, and the first command management table 11 is referred to during actual operation. It is used for control such as reading the operand (sometimes more than one) of the command definition and determining that the input command is valid when the operand matches the operand of the command definition.

第2コマンド管理テーブル12は登録すべきシステムコ
マンドが再IPLにより有効化するものであるとき、一
旦これにコマンド定義体のアドレス及び暗号を登録して
おくものであり、再IPLのときにこの第2コマンド管
理テーブル12に一旦登録されたこれらのものを第1コ
マンド管理テーブル11に転送されるものである。
In the second command management table 12, when the system command to be registered is to be validated by re-IPL, the address and code of the command definition body are temporarily registered therein. These items once registered in the second command management table 12 are transferred to the first command management table 11.

第3コマンド管理テーブル13は再IPL後に削除スべ
きシステムコマンドのコマンド定義体のアドレスと暗号
が記入されるものであり、第1コマンド管理テーブル1
1の暗号のうちこの第3コマンド管理テーブル13に記
入された暗号のコマンド定義が削除処理されるものであ
る。
The third command management table 13 is a table in which addresses and codes of command definitions of system commands to be deleted after re-IPL are entered.
The command definition of the cipher entered in this third command management table 13 among the ciphers 1 is to be deleted.

次に本発明の動作を、(1)システムコマンド登録の場
合、(2)システムコマンド削除の場合について説明す
る。
Next, the operation of the present invention will be described in the case of (1) system command registration and (2) system command deletion.

(1)システムコマンド登録の場合 ■ 第3図に示すように、システムコマンド作成者はシ
ステムコマンド作成部1を作成する。例えば、システム
コマンドAを登録するとき、このシステムコマンドAの
コマンド定義体(単体)  1−1を作成する。通常、
コマンド定義体はコマンド名Aと例えばそのオペランド
B、C等により構成されている。
(1) In the case of system command registration ■ As shown in FIG. 3, the system command creator creates the system command creation section 1. For example, when registering system command A, a command definition (single) 1-1 for system command A is created. usually,
The command definition body is composed of a command name A and its operands B, C, etc., for example.

■ システムコマンド作成部1はシステムコマンド登録
部2に制御を渡すためのパラメータ1−2を作成する。
(2) The system command creation section 1 creates parameters 1-2 for passing control to the system command registration section 2.

このパラメータ1−2には、パラメータの大きさを示す
パラメータ長、再IPLの有無事項、登録要求か削除要
求か等の要求種別事項、コマンド定義体1−1のアドレ
ス、暗号等が記入されている。そしてこのパラメータ1
−2の先頭アドレスをレジスタ1−3にセットする。そ
れからシステムコマンド作成部1はシステムコマンド登
録部2を起動させる。
In this parameter 1-2, the parameter length indicating the size of the parameter, whether or not re-IPL is required, request type information such as registration request or deletion request, address of command definition body 1-1, code, etc. are entered. There is. And this parameter 1
-2 start address is set in register 1-3. Then, the system command creation section 1 activates the system command registration section 2.

■ システムコマンド登録部2はレジスタ1−3に記入
された先頭アドレスにもとづきパラメータ1−2を読出
し、この要求種別事項がコマンド登録要求であることを
解読したとき、まずコマンド定義体1−1をメモリの共
通域15に格納する。
■ The system command registration unit 2 reads the parameter 1-2 based on the start address written in the register 1-3, and when it decodes that this request type is a command registration request, it first writes the command definition body 1-1. It is stored in the common area 15 of memory.

■ それからパラメータ1−2の再IPLの有無をチェ
ックしてこれが再IPL無しであれば、第1コマンド管
理テーブル11に共通域15におけるコマンド定義体1
4のアドレスを設定し、次にパラメータ1−2より読出
した暗号を設定する。
■ Next, check the presence or absence of re-IPL in parameters 1-2, and if there is no re-IPL, the command definition body 1 in the common area 15 is added to the first command management table 11.
4, and then set the code read from parameter 1-2.

■ またパラメータ1−2の再IPLの有無をチェック
したときこれが再IPL有りであれば、第2コマンド管
理テーブル12に共通域15におけるコマンド定義体1
4のアドレスを設定し、次にパラメータ1−2より読出
した暗号を設定する。
■ Also, when checking the presence or absence of re-IPL in parameter 1-2, if re-IPL is present, command definition body 1 in the common area 15 is added to the second command management table 12.
4, and then set the code read from parameter 1-2.

■ そしてシステムを一度停止し、再IPL後に管理テ
ーブル処理部3が、前記■において第2コマント管理テ
ーブル12に設定したコマンド定義体14のアドレスと
暗号を第1コマンド管理テーブル11に設定する。
(2) Then, the system is stopped once, and after re-IPLing, the management table processing section 3 sets the address and code of the command definition body 14 set in the second command management table 12 in the above-mentioned (2) in the first command management table 11.

(2)システムコマンド削除の場合 ■ 第4図に示すように、システムコマンド作成者は、
システムコマンド削除用のシステムコマンド作成部1を
作成する。
(2) In the case of system command deletion ■ As shown in Figure 4, the system command creator must:
Create a system command creation unit 1 for deleting system commands.

■ システムコマンド作成部1はシステムコマンド登録
部2に制御を渡すためのパラメータ1−2を作成する。
(2) The system command creation section 1 creates parameters 1-2 for passing control to the system command registration section 2.

このパラメータ1−2には、パラメータの大きさを示す
パラメータ長、再IPLの有無、要求種別、削除すべき
コマンド定義体のアドレス等を設定する。そして、この
パラメータ1−2の先頭アドレスをレジスタ1−3にセ
ントする。
In this parameter 1-2, the parameter length indicating the size of the parameter, presence or absence of re-IPL, request type, address of the command definition to be deleted, etc. are set. Then, the start address of this parameter 1-2 is placed in register 1-3.

それから、システムコマンド作成部1はシステムコマン
ド登録部2を起動させる。
Then, the system command creation section 1 activates the system command registration section 2.

■ システムコマンド登録部2はレジスタ1−3に記入
された先頭゛アドレスにもとづきパラメータ1−2を読
出し、この要求種別事項がコマンド削除要求であること
を解読したとき、再IPLの有無をチェックする。
■ The system command registration unit 2 reads parameters 1-2 based on the start address written in registers 1-3, and when it decodes that this request type is a command deletion request, checks whether there is a re-IPL. .

■ これが再IPL無しであれば、パラメータ1−2の
暗号を読出して第1コマンド管理テーブル11をアクセ
スしてこのパラメータ1−2の暗号と一致するものをサ
ーチする。そして一致するものがあれば、第1コマンド
管理テーブル11内のコマンド定義体のアドレス及び暗
号をクリアし、また共通域15におけるコマンド定義体
も無効化処理する。
(2) If there is no re-IPL, read the code of parameter 1-2, access the first command management table 11, and search for a code that matches the code of parameter 1-2. If there is a match, the address and code of the command definition in the first command management table 11 are cleared, and the command definition in the common area 15 is also invalidated.

■ またパラメータ1−2の再IPLの有無をチェック
したとき再IPL有であれば、パラメータ1−2のコマ
ンド定義体のアドレスと暗号を第3コマンド管理テーブ
ル13に設定する。
(2) Also, when checking whether or not there is a re-IPL in the parameter 1-2, if there is a re-IPL, the address and code of the command definition body in the parameter 1-2 are set in the third command management table 13.

■ そしてシステムを一旦停止し、再IPL後に第3コ
マンド管理テーブル13内の暗号と第1コマンド管理テ
ーブル11内の暗号が一致するものをサーチする。そし
て一致するものがあれば第1コマンド管理テーブル11
内のコマンド定義体のアドレス及び暗号をクリアし、ま
た共通域15におけるコマンド定義体も無効化処理する
(2) Then, the system is temporarily stopped, and after re-IPL, a search is made for a match between the cipher in the third command management table 13 and the cipher in the first command management table 11. If there is a match, the first command management table 11
The addresses and codes of the command definitions in the common area 15 are cleared, and the command definitions in the common area 15 are also invalidated.

なおコマンド変更の場合も、コマンド登録の場合とほぼ
同様にして処理することができる。
Note that command changes can be processed in substantially the same manner as command registration.

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

本発明によればシステムコマンドの定義体をメモリの共
通域に格納し、これを第1コマンド管理テーブルで管理
するようにしたので、コマンド基本部を修正することな
く、動的に自由にシステムコマンドを作成することがで
きる。
According to the present invention, system command definitions are stored in a common area of memory and managed in the first command management table. can be created.

しかもシステムの再IPLを要するものか否かを選択す
ることが可能であり、システムコマンドをすぐ有効化す
ることもでき、再IPL時間を削除することができる。
Moreover, it is possible to select whether or not a re-IPL of the system is required, the system command can be immediately activated, and the re-IPL time can be deleted.

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

第1図は本発明の原理説明図、 第2図は本発明の一実施例構成図、 第3図は本発明のシステムコマンド登録の場合の動作説
明図、 第4図は本発明のシステムコマンド削除の場合の動作説
明図である。 1−システムコマンド作成部 2−・−システムコマンド登録部 10−メモリ
Fig. 1 is an explanatory diagram of the principle of the present invention; Fig. 2 is a configuration diagram of an embodiment of the present invention; Fig. 3 is an explanatory diagram of operation in the case of system command registration of the present invention; Fig. 4 is a system command of the present invention. FIG. 6 is an explanatory diagram of the operation in the case of deletion. 1-System command creation section 2--System command registration section 10-Memory

Claims (1)

【特許請求の範囲】 システムコマンドの作成、変更、削除を行うシステムコ
マンド登録方式において、 システムコマンドのパラメータを作成するシステムコマ
ンド作成手段(1)と、 システムコマンド登録処理を行うシステムコマンド登録
手段(2)と、 有効なシステムコマンドを管理する第1コマンド管理テ
ーブル(11)を設け、 システムコマンド登録手段(2)がシステムコマンドの
コマンド定義体アドレスをパラメータにもとづき第1コ
マンド管理テーブル11に再IPLせずに登録または削
除可能にしたことを特徴とするシステムコマンド登録方
式。
[Claims] In a system command registration method for creating, changing, and deleting system commands, system command creation means (1) creates parameters of system commands, and system command registration means (2) performs system command registration processing. ) and a first command management table (11) for managing valid system commands, and the system command registration means (2) re-IPLs the command definition body address of the system command to the first command management table 11 based on the parameter. A system command registration method that is characterized in that it can be registered or deleted without having to do so.
JP62080497A 1987-04-01 1987-04-01 System command registering system Pending JPS63245723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62080497A JPS63245723A (en) 1987-04-01 1987-04-01 System command registering system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62080497A JPS63245723A (en) 1987-04-01 1987-04-01 System command registering system

Publications (1)

Publication Number Publication Date
JPS63245723A true JPS63245723A (en) 1988-10-12

Family

ID=13719943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62080497A Pending JPS63245723A (en) 1987-04-01 1987-04-01 System command registering system

Country Status (1)

Country Link
JP (1) JPS63245723A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02210533A (en) * 1989-02-09 1990-08-21 Nec Corp Control system for console command catalog

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02210533A (en) * 1989-02-09 1990-08-21 Nec Corp Control system for console command catalog

Similar Documents

Publication Publication Date Title
JPH0833799B2 (en) Data input / output control method
JPS63245723A (en) System command registering system
JP6740719B2 (en) Information processing apparatus, information processing method, and program
JP2731047B2 (en) Program operand check method
JP3130798B2 (en) Bus transfer device
JPS6148741B2 (en)
JPH07191856A (en) Information processor
JPH04130949A (en) Simple method for starting system
JPS61276040A (en) File access system
JPS63167942A (en) File control system
JPH0414161A (en) Transaction processing system
JPH05342074A (en) Information storage device
JPH01284941A (en) Information processor
JPH02208750A (en) File access system
JPH04266121A (en) Program managing system
JPH03242704A (en) Nc data generating method
JPH07152622A (en) Method and device for information processing
JPS61279931A (en) Parameter analysis system
JPH05233305A (en) Program loading system
JPS62121643U (en)
JPH0535476A (en) Program execution control system
JPH04354051A (en) Document processor
JPH08153031A (en) File management device
JPH0431961A (en) Document processing system in network environment
JPH1196017A (en) Programmable controller system and its program preparing method