JPS628234A - Shared program control system - Google Patents
Shared program control systemInfo
- Publication number
- JPS628234A JPS628234A JP14630985A JP14630985A JPS628234A JP S628234 A JPS628234 A JP S628234A JP 14630985 A JP14630985 A JP 14630985A JP 14630985 A JP14630985 A JP 14630985A JP S628234 A JPS628234 A JP S628234A
- Authority
- JP
- Japan
- Prior art keywords
- shared
- shared program
- program
- counter
- flow
- 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
- 238000012217 deletion Methods 0.000 claims abstract description 13
- 230000037430 deletion Effects 0.000 claims abstract description 13
- 238000000034 method Methods 0.000 claims description 24
- 230000004044 response Effects 0.000 claims description 2
- 101150096142 SPL5 gene Proteins 0.000 abstract 3
- 238000010586 diagram Methods 0.000 description 5
- 238000007796 conventional method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
技術分野
本発明は共用プログラム制御方式に関し、特に電子計算
機システムにおける共用プログラムのロード制御方式に
関する。DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a shared program control system, and more particularly to a shared program load control system in a computer system.
i釆呈韮
マルチプログラミング機能を有する電子計算機システム
においては、種々の仕事を処理するために種々のプログ
ラムが実行される。これらプログラムは処理しようとす
る仕事に応じて作成されている。電子計算機システムで
は仕事はジョブとして実行される。同じ仕事であればジ
ョブは異なっていても同じプログラムが使用される。こ
のように同一プログラムは同時に多数のジョブにより共
用される。In an electronic computer system having a multiprogramming function, various programs are executed to process various tasks. These programs are created according to the tasks they are intended to handle. In electronic computer systems, work is executed as a job. The same program is used for the same job even if the jobs are different. In this way, the same program is shared by many jobs at the same time.
一方、プログラムは主記憶領域にロードされて始めて実
行できる。第6図に主記憶領域の構成を示す。一般に主
記憶領域53はオペレーティングシステム領・域57と
システム共用領域56と非共用領域58とから成る。非
共用領域58はジョブに割り当てられる領域である。On the other hand, a program cannot be executed until it is loaded into main memory. FIG. 6 shows the configuration of the main storage area. Generally, the main storage area 53 consists of an operating system area 57, a system shared area 56, and a non-shared area 58. The non-shared area 58 is an area allocated to a job.
ジョブで使用されるプログラムは非共用領域58にロー
ドされて実行される。各ジョブで同一プログラムを使用
すると各々のジョブ領域に同一プログラムがそれぞれロ
ードされる。そのため、同一プログラムに対して使用さ
れるジョブの数だけ主記憶領域が使用される。A program used in a job is loaded into the non-shared area 58 and executed. When the same program is used in each job, the same program is loaded into each job area. Therefore, the main storage area is used by the number of jobs used for the same program.
このようなジョブから共用されるプログラムを共用プロ
グラムとして作成し、システムレベルで管理しシステム
共用領1ii!56にロードすることにより複数ジョブ
より同時に使用された場合でも、主記憶領域上にはその
プログラムを1つのみロードさせる方法が従来から行わ
れている。このことにより、主記憶領域を節約すること
ができる。Programs shared by such jobs are created as shared programs, managed at the system level, and stored in the system shared area1ii! Conventionally, a method has been used in which only one program is loaded onto the main storage area even if it is used by multiple jobs at the same time. This allows the main storage area to be saved.
従来行われている共用プログラムのロード方法を第7図
に基づいて説明する。A conventional method of loading a shared program will be described with reference to FIG.
基本的に共用プログラムはシステム立ち、上げ時に主記
憶領域53内のシステム共用領域56にロードされ以降
システム停止時まで常駐する。共用プログラムは補助記
憶装@51上のプログラムファイル54に格納される。Basically, the shared program is loaded into the system shared area 56 in the main storage area 53 when the system is started up and remains resident thereafter until the system is stopped. The shared program is stored in a program file 54 on the auxiliary storage @51.
補助記憶装[52上のシステムパラメータファイル55
にシステム立ち上げ時に一括してロードされる共用プロ
グラムロードリストをメンバとして登録する。システム
立上上げ時にこのメンバ名を指定することにより、シス
テムパラメータファイルより対応するメンバを見つける
。このメンバ中の共用プログラムロードリストで示され
ているすべての共用プログラムをシステム共用領域56
にロードする。System parameter file 55 on auxiliary storage [52]
Register the shared program load list that is loaded all at once when the system starts up as a member. By specifying this member name when starting the system, the corresponding member is found from the system parameter file. All shared programs indicated in the shared program load list in this member are loaded into the system shared area 56.
Load into.
従来技術では、電子計算機システムの立ち上げ時にのみ
共用プログラムがシステム共用領域にロードされ、以降
システム運用中はシステム共用領域にロードされる共用
プログラムを更新、追加。In the conventional technology, shared programs are loaded into the system shared area only when the computer system is started up, and the shared programs that are subsequently loaded into the system shared area during system operation are updated and added.
削除ができない。そのため、24時間無停止で運用され
るシステムにおいてはシステム共用領域中の共用プログ
ラムを更新、追加、削除することができない。Cannot be deleted. Therefore, in a system that operates 24 hours a day without interruption, shared programs in the system shared area cannot be updated, added, or deleted.
11立亘j
本発明はこの問題点を解決するための電子計算機システ
ムにおける共用プログラムのロードtsm方式を提供す
るものであり、システム運用中においてシステム共用領
域にロードされる共用プログラムの更新、追加、削除等
をなすことが可能な共用プログラム制御方式を提供する
ことを目的としている。The present invention provides a TSM method for loading shared programs in a computer system in order to solve this problem, and it is possible to update, add, and update shared programs loaded into the system shared area during system operation. The purpose is to provide a shared program control method that allows deletion, etc.
及1ソ」盛
本発明による共用プログラム制御方式は、複数ジョブに
より共用使用される共用プログラムを格納する共用プロ
グラムファイルと、このファイル内の共用プログラムの
各々のプログラム名及びこれ等各プログラムの各々の使
用、未使用状態を表わす使用カウンタとを有する共用プ
ログラムリストと、前記使用カウンタを制御するカウン
タ制御手段と、プログラムロード要求に応答して前記共
用プログラムリスト内のプログラム名をサーチして要求
された共用プログラム名を探索するサーチ手段と、この
サーチ手段により探索された共用プログラムに対応する
共用カウンタの内容を検出してこれが未使用状態のとき
に主記憶装置内のシステム共用領域へこれをロードする
ロード手段と、未使用状態を示しているカウンタに対応
する共用プログラムを前記システム共用領域より削除す
る削除手段とを設け、前記カウンタ制御手段は、共用プ
ログラムの登録、置換及びシステム立上の8時に前記カ
ウンタを未使用状態に設定し、また共用プログシムの前
記ロード手段によるロード時及び共用プロ、ダラムのす
べてのタスク実行終了時の8時に対応カウンタを夫々使
用状態及び未使用状態に設定するように構成され、前記
共用プログラムファイル内のプログラムの置換、削除を
カウンタの内容が未使用状態を示すときのみ可能として
なることを特徴としている。The shared program control method according to the present invention includes a shared program file that stores a shared program that is shared by multiple jobs, the program name of each shared program in this file, and the name of each of these programs. a shared program list having a usage counter representing a used or unused state; a counter control means for controlling the usage counter; and a program name searched in the shared program list in response to a program load request. A search means for searching for a shared program name, and detecting the content of a shared counter corresponding to the shared program searched by this search means and loading it into a system shared area in the main storage when the content is in an unused state. loading means and deleting means for deleting a shared program corresponding to a counter indicating an unused state from the system shared area; The counter is set to an unused state, and the corresponding counters are set to a used state and an unused state, respectively, when the shared program sim is loaded by the loading means and at 8 o'clock when execution of all tasks of the shared program and Durham is completed. It is characterized in that the program in the shared program file can be replaced or deleted only when the contents of the counter indicate an unused state.
裏車1 本発明の実施例を図面に基づいて説明する。Back car 1 Embodiments of the present invention will be described based on the drawings.
第1図を参照するに、補助記憶装置2上に共用プログラ
ムファイル4を設ける。この共用プログラムファイル4
に共用プログラムリスト5PL5とシステム共用領域6
にロードされるべき共用プログラムL M 1. L
M 2.・・・、LMkを格納する。共用プログラムリ
スト5PL5には共用プログラムL M 1. L M
2.・・・ 、LMkに対するリストエントリ7が設
定される。この共用プログラムリスト5PL5は第2図
で示される構成をしており、1エントリ7は共用プログ
ラム名8と使用カウンタ9と実行開始番地10とから成
る。共用プログラムファイル4上の共用プログラムリス
ト5はシステムの立ち上げ時にシステム共用領域SPL
’ 5’ にロードされる。Referring to FIG. 1, a shared program file 4 is provided on the auxiliary storage device 2. This shared program file 4
Shared program list 5PL5 and system shared area 6
Shared program to be loaded into L M 1. L
M2. ..., LMk is stored. The shared program list 5PL5 includes shared programs L M 1. L M
2. ..., list entry 7 for LMk is set. This shared program list 5PL5 has the structure shown in FIG. 2, and one entry 7 consists of a shared program name 8, a usage counter 9, and an execution start address 10. The shared program list 5 on the shared program file 4 is created in the system shared area SPL at system startup.
'5' is loaded.
共用プログラムファイル4上へ登録、置換される共用プ
ログラムLM1.LM2.・・・、 L M k、・・
・LMnは補助記憶装置1上のプログラムファイル4′
に格納しておく。そして、共用プログラムの登録。Shared program LM1. to be registered and replaced on shared program file 4. LM2. ..., L M k, ...
・LMn is program file 4' on auxiliary storage device 1
Store it in . Then, register the shared program.
置換はシステム運用中にこのプログラムファイル4′よ
り共用プログラムファイル4に行う。共用プログラムの
削除は共用プログラムファイル4上の該当する共用プロ
グラムに対して行う。Replacement is performed from this program file 4' to the shared program file 4 during system operation. Deletion of a shared program is performed for the corresponding shared program on the shared program file 4.
システム運用中にジョブよりプログラムロード要求が出
されると、システム共用領域6中の共用プログラムリス
トSPL’ 5’をサーチする。このリストに見つかれ
ばそのプログラムLM1は共用プログラムである。この
とき、その共用プログラムがシステム共用領域6にロー
ドされていなければシステム共用領域6にロードする。When a program load request is issued by a job during system operation, the shared program list SPL'5' in the system shared area 6 is searched. If found in this list, the program LM1 is a shared program. At this time, if the shared program is not loaded into the system shared area 6, it is loaded into the system shared area 6.
この共用プログラムの実行が終了するとシステム中の他
のジョブによって使用されていなければシステム共用領
域6よりその共用プログラムを削除する。When the execution of this shared program is completed, the shared program is deleted from the system shared area 6 if it is not being used by any other job in the system.
共用プログラムファイル4に格納されている共用プログ
ラムはシステム中のどのジョブからも使用されていない
とき(つまり共用プログラムリストエントリ7の使用カ
ウンタ9の値がOのとき)、削除又は置換されうる。A shared program stored in the shared program file 4 can be deleted or replaced when it is not used by any job in the system (that is, when the value of the usage counter 9 of the shared program list entry 7 is O).
そこで、第3図に示す如き本発明の実施例ブロックが得
られる。図において、第1.2図と同等部分は同一符号
により示されており、100はCP(J(中央処理装置
)であり、以下の機能ブロックを有する。すなわち、5
PL5内の使用カウンタ9の内容を制御するカウンタ制
御部101と、5PL5内の共用プログラム名−8をサ
ーチするサーチ部102と、共用プログラムファイル4
内の共用プログラムをシステム共用領域6ヘロードする
ロード部103と、共用プログラムファイル4内の共用
プログラムの置換、削除、更にはシステム共用領域6内
のプログラムの削除をなす置換・削除部104と、使用
カウンタ9の内容検出をなすカウンタ検出部105とを
有している。Therefore, an embodiment block of the present invention as shown in FIG. 3 is obtained. In the figure, parts equivalent to those in FIG.
A counter control unit 101 that controls the contents of the usage counter 9 in the PL5, a search unit 102 that searches for the shared program name-8 in the 5PL5, and a shared program file 4.
a loading unit 103 that loads shared programs in the shared program file 4 into the system shared area 6; a replacement/deletion unit 104 that replaces or deletes shared programs in the shared program file 4, and further deletes programs in the system shared area 6; The counter detection section 105 detects the contents of the counter 9.
共用プログラムの登録、削除、置換の制御手順を第4図
に示す。共用プログラムLM1を共用プログラムファイ
ル4に登録、削除あるいは置換するため以下の制御手順
を実行する。FIG. 4 shows the control procedure for registering, deleting, and replacing shared programs. The following control procedure is executed to register, delete, or replace the shared program LM1 in the shared program file 4.
(1)フロー11で共用プログラムの登録、削除。(1) Register and delete shared programs in flow 11.
置換の制御手順と共用プログラムのロード制御手順をロ
ックし、フロー12を実行する。The replacement control procedure and the shared program load control procedure are locked and flow 12 is executed.
(2)フロー12で共用プログラム名LM1で共用プロ
グラムリストSPL’ 5’をサーチし、フロー13を
実行する。(2) In flow 12, search the shared program list SPL'5' with the shared program name LM1, and execute flow 13.
(3)フロー13で共用プログラムLM1が共用プログ
ラムリストSPL’ 5’ に登録されていたか否か
を判断する。その結果、登録されていたならフロー14
を実行し、登録されていなければフロー19を実行する
。(3) In flow 13, it is determined whether the shared program LM1 has been registered in the shared program list SPL'5'. As a result, if it is registered, flow 14
If it is not registered, flow 19 is executed.
(4)フロー14は共用プログラムLM1に対する
゛登録要求かそれ以外の要求かを判断する。登録要
求であればフ0−22を実行し、それ以外の要求であれ
ばフロー15を実行する。(4) Flow 14 is for shared program LM1
゛Determine whether the request is a registration request or something else. If it is a registration request, flow 0-22 is executed, and if the request is other than that, flow 15 is executed.
(5)フロー15は共用プログラムLM1が他のジ
:ヨブによって使用状態にあるか否かを判断す
Iる。この判断の目的に使用するのは共用プログラ
ムLM1の共用プログラムリストSPL′5′上の該当
エントリ(以下単にLMI共用プログラムリストエント
リと言う)中の使用カウンタ9である。使用カウンタ9
の値が0なら他のどのジョブからも使用されていないこ
とを示し、使用カウンタ9の値がO以外であるときはそ
の値が示す数のジョブによって使用されていることを示
す。使用カウンタ9の値がOならフロー16を実行し、
そうでなければフロー23を実行する。(5) In flow 15, the shared program LM1 is
:Job determines whether it is in use or not.
I. What is used for the purpose of this determination is the use counter 9 in the corresponding entry (hereinafter simply referred to as LMI shared program list entry) on the shared program list SPL'5' of the shared program LM1. Usage counter 9
A value of 0 indicates that it is not used by any other job, and a value other than O indicates that it is used by the number of jobs indicated by the value. If the value of usage counter 9 is O, execute flow 16,
Otherwise, flow 23 is executed.
(6)フロー16は共用プログラムLM1を置換要求又
は削除要求を実行するために、共用プログラムLMIを
共用プログラムファイル4より削除し、共用プログラム
リストSPL’5′より1M1共用プログラムリストエ
ントリ7を削除し、この共用プログラムリストSPL’
5’ を共用プログラムファイル4上の5PL5に書
き込む。(6) Flow 16 deletes the shared program LMI from the shared program file 4 and deletes the 1M1 shared program list entry 7 from the shared program list SPL'5' in order to execute a request to replace or delete the shared program LM1. , this shared program list SPL'
5' is written to 5PL5 on shared program file 4.
(7)フロー17は共用プログラムLMIに対する置換
要求か否かを判断する。置換要求ならフロー20を実行
し、そうでなければ削除要求であり、フロー18を実行
する。(7) Flow 17 determines whether the request is for replacement of the shared program LMI. If it is a replacement request, flow 20 is executed; otherwise, if it is a deletion request, flow 18 is executed.
(8)フロー18は共用プログラムの登録、削除。(8) Flow 18 is registration and deletion of shared programs.
置換の制御手順と共用プログラムのロード制御手順をア
ンロックする。Unlocks the replacement control procedure and the shared program load control procedure.
(9)フロー19はフロー13を実行した結果、共用プ
ログラムLM1のための1M1共用10グラムリストエ
ントリが共用プログラムリストSPL’ 5’ に登録
されていなかったときに実行する。共用プログラムLM
1に対する登録要求ならフロー20を実行し、削除要求
と置換要求ならフロー23を実行する。(9) Flow 19 is executed when, as a result of executing flow 13, the 1M1 shared 10-gram list entry for the shared program LM1 is not registered in the shared program list SPL'5'. Shared program LM
If it is a registration request for 1, flow 20 is executed, and if it is a deletion request or a replacement request, flow 23 is executed.
(10)フロー20は共用プログラムLMIに対する登
録要求と置換要求の場合に実行する。(10) Flow 20 is executed in the case of a registration request and a replacement request for the shared program LMI.
共用プログラムリストSPL’ 5’上に1M1共用プ
ログラムリストエントリを登録し、この共用プログラム
リストSPL’ 5’ を共用プログラムファイル4上
の5PL5に書き込み、共用プログラムLMIを補助記
憶装置1上のプログラムファイル4′から補助記憶装置
2上の共用プログラムファイル4に登録する。そしてフ
ロー21を実行する。Register a 1M1 shared program list entry on the shared program list SPL'5', write this shared program list SPL'5' to 5PL5 on the shared program file 4, and write the shared program LMI to the program file 4 on the auxiliary storage device 1. ' to the shared program file 4 on the auxiliary storage device 2. Then, flow 21 is executed.
(11)フロー21は共用プログラムリストSPL’6
′上の1M1共用プログラムリストエントリ上の使用カ
ウンタの値をOにセットする。(11) Flow 21 is the shared program list SPL'6
'Set the value of the usage counter on the 1M1 shared program list entry above to O.
そしてフロー18を実行する。Then, flow 18 is executed.
(12)フロー22は共用プログラムLM1に対する登
録要求はエラーであることをプリンタに表示し、フロー
18を実行する。(12) Flow 22 displays on the printer that the registration request for the shared program LM1 is an error, and Flow 18 is executed.
(13)フロー23は共用プログラムLMIに対する削
除要求と置換要求がエラーであることをプリンタに表示
し、フロー18を実行する。(13) Flow 23 displays on the printer that the deletion request and replacement request for the shared program LMI are errors, and flow 18 is executed.
次に、共用プログラムLM1のロード制御手順を第5図
に示す。Next, FIG. 5 shows the load control procedure for the shared program LM1.
(1)フロー24は共用プログラムの登録、削除。(1) Flow 24 registers and deletes shared programs.
置換の制御手順と共用プログラムのロード制御手順をロ
ックし、フロー25を実行する。The replacement control procedure and the shared program load control procedure are locked and flow 25 is executed.
(2)フ0−25は共用プログラム名LM1で共用プロ
グラムリストSPL’ 5’をサーチし、フロー26を
実行する。(2) Flow 0-25 searches the shared program list SPL'5' with the shared program name LM1, and executes flow 26.
(3)フロー26は1M1共用プログラムリストエント
リが共用プログラムリストSPL’ 5’に登録され
ているか否かを判断する。登録されていたならフロー2
7を実行し、そうでなければ共用プログラムLM1は共
用プログラムでないことを示し、共用プログラムでない
プログラムとしてのロード制御手順を実行する。(3) Flow 26 determines whether the 1M1 shared program list entry is registered in the shared program list SPL'5'. If registered, flow 2
7 is executed, otherwise it indicates that the shared program LM1 is not a shared program, and the load control procedure as a program that is not a shared program is executed.
(4)フロー27は1M1共用プログラムリストエント
リの使用カウンタ9の値が0か否かを判断する。この値
がOならフロー28を実行し、そうでなければフロー2
9を実行する。(4) Flow 27 determines whether the value of the usage counter 9 of the 1M1 shared program list entry is 0 or not. If this value is O, execute flow 28, otherwise flow 2
Execute step 9.
(5)フロー28は共用プログラムLMIに対してシス
テム共用領域6中に領域LMIを割り当てる。次に共用
プログラムLM1を共用プログラムファイル4から読み
出して領域しMlにロードする。そして、共用プログラ
ムLM1の領t4LM1における実行開始番地10を共
用プログラムリストSPL’ 5’上の1M1共用プロ
グラムリストエントリの実行開始番地10を示すフィー
ルドにセットし、フロー29を実行する。(5) Flow 28 allocates an area LMI in the system shared area 6 for the shared program LMI. Next, the shared program LM1 is read from the shared program file 4, and is loaded into Ml. Then, the execution start address 10 in area t4LM1 of the shared program LM1 is set in the field indicating the execution start address 10 of the 1M1 shared program list entry on the shared program list SPL'5', and flow 29 is executed.
(6)フロー29は共用プログラムリストSPL’7′
上の1M1共用プログラムリストエントリの使用カウン
タの値に1を加え、フロー30を実行する。(6) Flow 29 is shared program list SPL'7'
Add 1 to the usage counter value of the 1M1 shared program list entry above and execute flow 30.
(1)フロー30は共用プログラムリストSPL’5′
上の1M1共用プログラムリストエントリより実行開始
番地10を得て、フロー31を実行する。(1) Flow 30 is shared program list SPL'5'
Execution start address 10 is obtained from the 1M1 shared program list entry above, and flow 31 is executed.
(8)フロー31は共用プログラムの登録、削除。(8) Flow 31 registers and deletes shared programs.
置換の制御手順と共用プログラムのロード制御手順とを
アンロックし、フロー32を実行する。The replacement control procedure and the shared program load control procedure are unlocked, and flow 32 is executed.
(9)フロー32は共用プログラムLMIの実行開始番
地10に制御を渡す。(9) Flow 32 passes control to execution start address 10 of shared program LMI.
(10)フロー33は共用プログラムLM1の実行が終
了したときに実行する。共用プログラムの登録、削除、
置換の制御手順と共用プログラムのロード制御手順をロ
ックし、フロー34を実行する。(10) Flow 33 is executed when the execution of the shared program LM1 is completed. Registering, deleting shared programs,
The replacement control procedure and the shared program load control procedure are locked and flow 34 is executed.
(11)フロー34は共用プログラムリストSPL’5
′上の1M1共用プログラムリストエントリの使用カウ
ンタの値より1を引き、フロー35を実行する。(11) Flow 34 is a shared program list SPL'5
1 is subtracted from the value of the usage counter of the 1M1 shared program list entry above ', and flow 35 is executed.
(12)フロー35は共用プログラムリストSPL’5
′上のLMI共用プログラムリストエントリの使用カウ
ンタの値がOなら、フロー36を実行し、そうでなけれ
ばフロー37を実行する。(12) Flow 35 is a shared program list SPL'5
If the value of the usage counter of the LMI shared program list entry on ' is O, flow 36 is executed, otherwise flow 37 is executed.
(13)フロー36はシステム共用領域6から共用プロ
グラムLM1を削除し、このプログラムに対して割り当
てられたシステム共用領域LM1を解放し、フロー37
を実行する。(13) Flow 36 deletes the shared program LM1 from the system shared area 6, releases the system shared area LM1 allocated to this program, and Flow 37
Execute.
(14)フロー37は共用プログラムの登録、削除。(14) Flow 37 registers and deletes shared programs.
置換の制御手順と共用プログラムのロード制御手順をア
ンロックする。Unlocks the replacement control procedure and the shared program load control procedure.
発明の効果
以上述べた処理により本発明によれば、24時間無停止
で運用される電子計算機システムにおいて、システム運
用中にシステム領域にロードされる共用プログラムを更
新、追加、削除することができる。Effects of the Invention According to the present invention, through the processing described above, in a computer system that operates 24 hours a day without interruption, shared programs loaded into the system area during system operation can be updated, added, and deleted.
第1図は本発明の実施例における補助記憶装置と主記憶
装置との各内容を示す図、第2図は第1図における5P
L5の具体例を示す図、第3図は本発明の実施例のブロ
ック図、第4図及び第5図は本発明の実施例の動作を示
すフローチャート、第6図及び第7図は従来の共用プロ
グラム制御方式の例を説明する概念図である。
主要部分の符号の説明
1.2・・・・・・補助記憶装置
3・・・・・・主記憶装置
4・・・・・・共用プログラム
5・・・・・・5PL
6・・・・・・システム共用領域
8・・・・・・共用プログラム名
9・・・・・・使用カウンタFIG. 1 is a diagram showing the contents of an auxiliary storage device and a main storage device in an embodiment of the present invention, and FIG. 2 is a diagram showing 5P in FIG. 1.
FIG. 3 is a block diagram of an embodiment of the present invention, FIGS. 4 and 5 are flowcharts showing the operation of the embodiment of the present invention, and FIGS. 6 and 7 are diagrams of a conventional example of L5. FIG. 2 is a conceptual diagram illustrating an example of a shared program control method. Explanation of symbols of main parts 1.2...Auxiliary storage device 3...Main storage device 4...Shared program 5...5PL 6... ...System shared area 8...Shared program name 9...Usage counter
Claims (1)
する共用プログラムファイルと、このファイル内の共用
プログラムの各々のプログラム名及びこれ等各プログラ
ムの各々の使用、未使用状態を表わす使用カウンタとを
有する共用プログラムリストと、前記使用カウンタを制
御するカウンタ制御手段と、プログラムロード要求に応
答して前記共用プログラムリスト内のプログラム名をサ
ーチして要求された共用プログラム名を探索するサーチ
手段と、このサーチ手段により探索された共用プログラ
ムに対応する共用カウンタの内容を検出してこれが未使
用状態のときに主記憶装置内のシステム共用領域へこれ
をロードするロード手段と、未使用状態を示しているカ
ウンタに対応する共用プログラムを前記システム共用領
域より削除する削除手段とを設け、前記カウンタ制御手
段は、共用プログラムの登録、置換及びシステム立上の
各時に前記カウンタを未使用状態に設定し、また共用プ
ログラムの前記ロード手段によるロード時及び共用プロ
グラムのすべてのタスク実行終了時の各時に対応カウン
タを夫々使用状態及び未使用状態に設定するように構成
され、前記共用プログラムファイル内のプログラムの置
換、削除をカウンタの内容が未使用状態を示すときのみ
可能としてなることを特徴とする共用プログラム制御方
式。A shared program that has a shared program file that stores a shared program that is shared by multiple jobs, and a usage counter that indicates the program name of each shared program in this file and the usage and unused status of each of these programs. a list, a counter control means for controlling the usage counter, a search means for searching a program name in the shared program list in response to a program load request to find a requested shared program name; A loading means that detects the contents of a shared counter corresponding to the searched shared program and loads it into the system shared area in the main storage device when it is unused, and a counter that indicates an unused state. deletion means for deleting a shared program to be stored from the system shared area, and the counter control means sets the counter to an unused state at each time of registration, replacement, and system start-up of a shared program; The counter is configured to set a corresponding counter to a used state and an unused state, respectively, at the time of loading by the loading means and at the end of execution of all tasks of the shared program, and the counter is configured to set a corresponding counter to a used state and an unused state, respectively, at the time of loading by the loading means and when execution of all tasks of the shared program is completed, and the counter is configured to set a corresponding counter to a used state and an unused state, respectively. A shared program control method characterized in that the shared program control method is enabled only when the contents of the file indicate an unused state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14630985A JPS628234A (en) | 1985-07-03 | 1985-07-03 | Shared program control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14630985A JPS628234A (en) | 1985-07-03 | 1985-07-03 | Shared program control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS628234A true JPS628234A (en) | 1987-01-16 |
Family
ID=15404759
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14630985A Pending JPS628234A (en) | 1985-07-03 | 1985-07-03 | Shared program control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS628234A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04302339A (en) * | 1991-03-29 | 1992-10-26 | Nec Corp | Shared memory area managing mechanism |
| US5720077A (en) * | 1994-05-30 | 1998-02-24 | Minolta Co., Ltd. | Running robot carrying out prescribed work using working member and method of working using the same |
| US7328438B2 (en) | 2003-03-27 | 2008-02-05 | International Business Machines Corporation | Deallocation of computer data in a multithreaded computer |
| US7797507B2 (en) | 2006-07-26 | 2010-09-14 | Nec Corporation | Virtual machine system and operating method thereof |
| US11353434B2 (en) | 2017-03-21 | 2022-06-07 | Kabushiki Kaisha Toshiba | Molecular detection apparatus and molecular detection method |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60252973A (en) * | 1984-05-30 | 1985-12-13 | Fujitsu Ltd | Dynamic loading control system |
-
1985
- 1985-07-03 JP JP14630985A patent/JPS628234A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60252973A (en) * | 1984-05-30 | 1985-12-13 | Fujitsu Ltd | Dynamic loading control system |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04302339A (en) * | 1991-03-29 | 1992-10-26 | Nec Corp | Shared memory area managing mechanism |
| US5720077A (en) * | 1994-05-30 | 1998-02-24 | Minolta Co., Ltd. | Running robot carrying out prescribed work using working member and method of working using the same |
| US7328438B2 (en) | 2003-03-27 | 2008-02-05 | International Business Machines Corporation | Deallocation of computer data in a multithreaded computer |
| US8209692B2 (en) | 2003-03-27 | 2012-06-26 | International Business Machines Corporation | Deallocation of computer data in a multithreaded computer |
| US8234645B2 (en) | 2003-03-27 | 2012-07-31 | International Business Machines Corporation | Deallocation of computer data in a multithreaded computer |
| US7797507B2 (en) | 2006-07-26 | 2010-09-14 | Nec Corporation | Virtual machine system and operating method thereof |
| US11353434B2 (en) | 2017-03-21 | 2022-06-07 | Kabushiki Kaisha Toshiba | Molecular detection apparatus and molecular detection method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6526441B2 (en) | Input/output device information management system for multi-computer system | |
| US7895164B1 (en) | Efficient checkpoint process | |
| JPS628234A (en) | Shared program control system | |
| JPH0816396A (en) | Data management system | |
| CN100524212C (en) | Batch processing method and system | |
| JPS59139451A (en) | Information processing method | |
| JP5212216B2 (en) | Job processing device | |
| KR100308251B1 (en) | Integrated management method of runtime backup information and its system | |
| JPH01191939A (en) | Link pack area loading system | |
| JP3050194B2 (en) | A system for dynamically adding a shared memory file between hosts, a method for dynamically adding a shared memory file between hosts, and a recording medium storing a program for dynamically adding a shared memory file between hosts | |
| JPH05257761A (en) | Damp output control system | |
| JPS63196956A (en) | File exclusion system | |
| JPH0293829A (en) | Data processor | |
| JPH06214839A (en) | File management method | |
| JPS6019240A (en) | Loading system | |
| JPH0652028A (en) | File management device | |
| JP2003296128A (en) | Thread execution unit | |
| JPH02181247A (en) | Program loading system | |
| CN121301227A (en) | Address mapping update methods, systems, electronic devices, and storage media | |
| JPS6349255B2 (en) | ||
| JP2740572B2 (en) | Program loading method | |
| JPH04127335A (en) | file management system | |
| JPH03214335A (en) | Computer system | |
| JPH05233305A (en) | Program loading system | |
| JPH10240627A (en) | Sector management method and apparatus |