JPS6325368B2 - - Google Patents

Info

Publication number
JPS6325368B2
JPS6325368B2 JP17155882A JP17155882A JPS6325368B2 JP S6325368 B2 JPS6325368 B2 JP S6325368B2 JP 17155882 A JP17155882 A JP 17155882A JP 17155882 A JP17155882 A JP 17155882A JP S6325368 B2 JPS6325368 B2 JP S6325368B2
Authority
JP
Japan
Prior art keywords
program
name
library
entrance
quotation
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
Application number
JP17155882A
Other languages
Japanese (ja)
Other versions
JPS5960639A (en
Inventor
Tatsumi Kakiuchi
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 JP17155882A priority Critical patent/JPS5960639A/en
Publication of JPS5960639A publication Critical patent/JPS5960639A/en
Publication of JPS6325368B2 publication Critical patent/JPS6325368B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Executing Machine-Instructions (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、データ処理装置におけるプログラム
管理方式に関し、特に直接アクセス可能な記憶装
置に展開されているオブジエクトおよびソースプ
ログラムのライブラリにおいて、プログラムを、
副入口名によつても主入口名と同等に引用可能に
するプログラム管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a program management method in a data processing device, and in particular to a method for managing programs in a library of objects and source programs deployed in a directly accessible storage device.
This invention relates to a program management method that allows sub-entrance names to be quoted in the same way as main entrance names.

〔技術の背景〕[Technology background]

従来、プログラムの開発においては、開発時間
と労力とを軽減するために、過去に開発した多数
のプログラムをライブラリとして蓄積しておき、
必要に応じて引用し、ローデイング時に連係をと
つてロードモジユールに組込むことが一般的に行
なわれている。
Traditionally, in program development, in order to reduce development time and effort, many programs developed in the past are stored as a library.
It is common practice to quote them as necessary, make connections during loading, and incorporate them into the load module.

他方、複数の独立的な処理要素すなわちサブル
ーチンを含むプログラム、たとえば人事管理プロ
グラムと給与計算プログラムとを要素とする従業
員プログラムのようなものがあり、このようなプ
ログラムの場合、複数の要素プログラムのうちの
特定のもののみを引用することも行なわれてい
る。しかし、従来のライブラリでは、プログラム
は、すべての要素プログラムに対する統括的なプ
ログラム名(主入口名と呼ばれる)で管理され、
その要素プログラム名(副入口名と呼ばれる)に
よつては目的のプログラムへアクセスすることが
できず、要素プログラムを引用する場合には、副
入口名と主入口名の両方が必要とされた。そのた
め、主入口名を知らない場合には、目的プログラ
ムをロードすることができなかつた。
On the other hand, there are programs that include multiple independent processing elements or subroutines, such as an employee program that includes a human resources management program and a payroll program. It is also common practice to quote only specific ones. However, in conventional libraries, programs are managed by a comprehensive program name (called the main entry name) for all element programs.
It was not possible to access the target program by its element program name (called a sub-entrance name), and both the sub-entrance name and the main entrance name were required when quoting an element program. Therefore, if the main entrance name was not known, the target program could not be loaded.

〔発明の目的および構成〕[Object and structure of the invention]

本発明の目的は、プログラムを引用している側
のシステムがその目的プログラムの副入口名しか
知らされていないかまたは副入口名しか知ること
ができない場合でも、目的プログラムの呼出しを
可能にする方式を提供することにあり、特にプロ
グラムのローデイング時に、引用側システムに、
プログラムの入口名が主か副かを意識させること
なしに、引用プログラムの組込みを可能にするこ
とにあり、そのため、主入口名はもちろん、その
副入口名も、あたかも独立するプログラムである
かのように、名前の管理を行ない、主入口名と副
入口名とのいずれによつても同一プログラムを引
用可能にする手段を提供する。
An object of the present invention is to make it possible to call a target program even if the system that is quoting the program only knows or can only know the sub-entrance name of the target program. In particular, when loading a program, the quoting system
The purpose is to make it possible to incorporate a cited program without being aware of whether the program entrance name is main or sub-entrance name. Therefore, not only the main entrance name but also the sub-entrance name can be used as if it were an independent program. This provides a means for managing names and making it possible to quote the same program by both the main entrance name and the sub-entrance name.

そして本発明はそれによる構成として、プログ
ラムライブラリ手段と、任意のプログラムの処理
において、上記プログラムライブラリ手段中に格
納されているプログラムの引用要求を検出し該引
用プログラムのローデイングを制御するプログラ
ム引用処理手段と、該プログラム引用処理手段か
らの要求により上記プログラムライブラリ手段中
の引用プログラムをアクセスするライブラリ管理
手段とをそなえたデータ処理装置において、上記
プログラムライブラリ手段をプログラムの主入口
名により管理するとともに、主入口名および副入
口名を問わず全てのプログラム名をそれぞれの主
入口名に対応させるプログラム名テーブル手段を
設け、上記ライブラリ管理手段は、プログラム引
用処理手段から要求のあつた引用プログラムの入
口名を、上記プログラム名テーブル手段により主
入口名に変換してプログラムライブラリ手段のア
クセスを行なうことにより、上記プログラム引用
を要求する任意の処理対象プログラムおよびプロ
グラム引用処理手段は、副入口名のプログラムの
引用を要求する際、主入口名を使用しないことを
特徴とするものである。
Accordingly, the present invention includes a program library means, and a program quotation processing means for detecting a request for quotation of a program stored in the program library means and controlling loading of the cited program in processing an arbitrary program. and library management means for accessing the cited program in the program library means upon request from the program quotation processing means, the data processing device manages the program library means by the main entrance name of the program, and A program name table means is provided for making all program names correspond to their respective main entrance names regardless of entrance names and sub-entrance names, and the library management means stores the entrance name of the cited program requested by the program quotation processing means. , by converting it into the main entrance name using the program name table means and accessing the program library means, any processing target program and program quotation processing means that request the program quotation can quote the program with the sub-entrance name. The feature is that the main entrance name is not used when making a request.

〔発明の実施例〕[Embodiments of the invention]

以下に、本発明を実施例にしたがつて説明す
る。
The present invention will be explained below using examples.

はじめに、本発明実施例の基礎となる従来方式
について説明する。
First, a conventional method that is the basis of the embodiment of the present invention will be explained.

第1図はその概念図である。同図中、1はサブ
プログラムS1を引用するメインプログラムX、2
はプログラム引用処理システム、3はプログラム
ライブラリ管理システム、4はプログラムライブ
ラリ、5はライブラリ管理テーブル、6は副入口
名S1,S2をもつプログラムS0、7は副入口名P1
をもつプログラムP0を示す。
Figure 1 is a conceptual diagram. In the figure, 1 is the main program X that quotes subprogram S1 , and 2
is a program quotation processing system, 3 is a program library management system, 4 is a program library, 5 is a library management table, 6 is a program S 0 with sub-entrance names S 1 and S 2 , and 7 is a sub-entrance name P 1
Denote the program P 0 with .

まず図示のように、メインプログラムXは、
CALLマクロにより、サブプログラムすなわちサ
ブルーチンとして入口名S1のプログラムを引用し
ており、その処理が行なわれるものとする。
First, as shown in the diagram, the main program X is
Assume that the program with the entry name S1 is cited as a subprogram or subroutine by the CALL macro, and its processing is performed.

プログラム引用処理システム2は、たとえばリ
ンケージエデイタあるいはスーパーバイザに対応
する。プログラムローデイング時に引用プログラ
ムの連係編集を行なう場合にはリンケージエデイ
タが機能し、他方、ローデイング時にメインプロ
グラムをサブプログラムS1と連係させずに別個に
ロードモジユール化し、タスク実行中にサブプロ
グラムS1を引用する動的プログラム構造をとる場
合には、スーパーバイザが機能するものとする。
なお、同様な引用処理サービスは、ソースプログ
ラムをオブジエクトに翻訳する際に、コンパイラ
によつても実行されるが、この引用処理システム
機能に含めることができる。
The program citation processing system 2 corresponds to, for example, a linkage editor or a supervisor. The linkage editor works when linking and editing a cited program during program loading.On the other hand, when loading the main program is not linked with subprogram S1 , it is made into a load module separately, and subprogram S1 is created during task execution. If a dynamic program structure is adopted that cites 1 , the supervisor shall function.
Note that a similar citation processing service is also executed by a compiler when translating a source program into an object, and can be included in this citation processing system function.

プログラム引用処理システム2は、メインプロ
グラムXからのサブプログラムS1を引用する要求
を受けて、ライブラリ管理システム3に対して、
プログラムS1のOPENを要求する。なお、この段
階では、プログラム引用処理システム2は、プロ
グラムS1がS0を主入口名とするプログラムの要素
プログラムであり、S1は副入口名であることを知
ることができない。
Upon receiving a request to quote subprogram S 1 from main program X, program quotation processing system 2 sends a request to library management system 3 to
Request OPEN of program S 1 . Note that, at this stage, the program citation processing system 2 cannot know that the program S 1 is an element program of a program whose main entrance name is S 0 and that S 1 is a sub-entrance name.

ライブラリ管理システム3は、プログラムS1
OPEN要求を受けて、ライブラリ4のライブラリ
管理テーブル5により、要求されたプログラムS1
の有無を調べる。ライブラリ4は、たとえばプロ
グラムを直接アクセス(DASD)ボリユーム上に
区分編成されたデータセツトの形式で管理されて
いる。また管理テーブル5は、そのデータセツト
を索引するためのカタログおよびデイレクトリを
包括的に表わしたものである。ところでライブラ
リ管理テーブル5は、一般にそのメンバのプログ
ラムを、主入口名で管理しているため、ライブラ
リ管理システム3は、副入口名によるプログラム
名S1を管理テーブル5中に見出すことができな
い。
The library management system 3 is the program S1 .
Upon receiving the OPEN request, the requested program S 1 is determined by the library management table 5 of the library 4.
Check for the presence or absence of. The library 4 is managed, for example, in the form of data sets in which programs are partitioned and organized on direct access (DASD) volumes. The management table 5 comprehensively represents the catalog and directory for indexing the data set. By the way, since the library management table 5 generally manages its member programs using the main entrance name, the library management system 3 cannot find the program name S1 based on the sub-entrance name in the management table 5.

したがつて、ライブラリ管理システム3は、プ
ログラム引用処理システム2に対して、プログラ
ムS1がOPENできないことを通知し、メインプロ
グラムXの実行は異常終了にされる。
Therefore, the library management system 3 notifies the program quotation processing system 2 that the program S1 cannot be opened, and the execution of the main program X is abnormally terminated.

本発明は、上記従来例システムにおけるライブ
ラリ管理テーブル5を副入口名によつても索引可
能に構成するものである。
The present invention configures the library management table 5 in the conventional system described above so that it can also be indexed by sub-entrance name.

第2図は、本発明実施例システムの構成図であ
る。同図において、参照番号1乃至7で示される
構成要素は、第1図の従来例中の同番号の要素に
対応している。そして8は本発明によるプログラ
ム名テーブルを示している。
FIG. 2 is a configuration diagram of a system according to an embodiment of the present invention. In the figure, the components indicated by reference numbers 1 to 7 correspond to the elements with the same numbers in the conventional example of FIG. 8 shows a program name table according to the present invention.

プログラム名テーブル8は、ライブラリ管理下
にあるプログラムのすべての主入口名、副入口名
を同一レベルで配列し、それぞれをその主入口名
に対応付けたものである。したがつて、ライブラ
リ管理システム3は、プログラム引用処理システ
ム2から、プログラムS1のOPEN要求を受付けた
とき、はじめにプログラム名テーブル8を参照し
て指定されたプログラム名を主入口名に変換し、
その主入口名によりライブラリ管理テーブル5を
検索する。もちろん、先にライブラリ管理テーブ
ルを検索し、そこに目的プログラム名を見出せな
かつた場合に、プログラム名テーブルを見るよう
にすることもできる。いずれにしても、ライブラ
リ管理システム3は、正しい主入口名を得たうえ
で、図示の例では要素プログラムS1へアクセス
し、主入口名S0を復帰パラメータとして、要素プ
ログラムS1を含むプログラムS0を、プログラム引
用処理システム2へ引渡す。
The program name table 8 arranges all the main entrance names and sub-entrance names of programs under library management at the same level, and associates each name with its main entrance name. Therefore, when the library management system 3 receives an OPEN request for the program S 1 from the program citation processing system 2, it first refers to the program name table 8 and converts the specified program name into a main entrance name.
The library management table 5 is searched by the main entrance name. Of course, it is also possible to first search the library management table and, if the target program name is not found there, to view the program name table. In any case, after obtaining the correct main entrance name, the library management system 3 accesses the element program S 1 in the illustrated example, uses the main entrance name S 0 as a return parameter, and restores the program containing the element program S 1 . Transfer S 0 to the program quotation processing system 2.

プログラム引用処理システム2は、プログラム
S0から要素プログラムS1を取出し、連係処理を行
なうか、実行時であればその先頭に制御を渡す。
このようにして、任意のプログラム名により引用
処理を行なうことができる。
The program citation processing system 2 is a program
Extract element program S 1 from S 0 and perform linkage processing, or pass control to the beginning of it during execution.
In this way, citation processing can be performed using any program name.

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

以上のように、本発明によれば、サブルーチン
を引用する場合、サブルーチン名だけでの引用が
可能となるため、パラメータ域のサイズを縮少す
ることができ、プログラム制御系のインタフエー
スが簡素化できるとともに、またプログラム作成
が容易となる利点がある。オブジエクトプログラ
ムを小さくすることができる。
As described above, according to the present invention, when quoting a subroutine, it is possible to cite only the subroutine name, so the size of the parameter area can be reduced and the interface of the program control system can be simplified. This has the advantage of being easy to create programs. Object programs can be made smaller.

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

第1図は従来のプログラム管理方式の説明図、
第2図は本発明実施例の説明図である。 図中、1はメインプログラム、2はプログラム
引用処理システム、3はライブラリ管理システ
ム、4はプログラムライブラリ、5はライブラリ
管理テーブル、6はプログラムS0、7はプログラ
ムP0、8はプログラム名テーブルを表わす。
Figure 1 is an explanatory diagram of the conventional program management method.
FIG. 2 is an explanatory diagram of an embodiment of the present invention. In the figure, 1 is the main program, 2 is the program citation processing system, 3 is the library management system, 4 is the program library, 5 is the library management table, 6 is the program S 0 , 7 is the program P 0 , and 8 is the program name table. represent

Claims (1)

【特許請求の範囲】[Claims] 1 プログラムライブラリ手段と、任意のプログ
ラムの処理において、上記プログラムライブラリ
手段中に格納されているプログラムの引用要求を
検出し該引用プログラムのローデイングを制御す
るプログラム引用処理手段と、該プログラム引用
処理手段からの要求により上記プログラムライブ
ラリ手段中の引用プログラムをアクセスするライ
ブラリ管理手段とをそなえたデータ処理装置にお
いて、上記プログラムライブラリ手段をプログラ
ムの主入口名により管理するとともに、主入口名
および副入口名を問わず全てのプログラム名をそ
れぞれの主入口名に対応させるプログラム名テー
ブル手段を設け、上記ライブラリ管理手段は、プ
ログラム引用処理手段から要求のあつた引用プロ
グラムの入口名を、上記プログラム名テーブル手
段により主入口名に変換してプログラムライブラ
リ手段のアクセスを行なうことにより、上記プロ
グラム引用を要求する任意の処理対象プログラム
およびプログラム引用処理手段は、副入口名のプ
ログラムの引用を要求する際、主入口名を使用し
ないことを特徴とするプログラム管理方式。
1 a program library means, a program quotation processing means for detecting a quotation request for a program stored in the program library means and controlling loading of the quotation program in the processing of an arbitrary program; A data processing device is provided with a library management means for accessing a cited program in the program library means at the request of a user, and the program library means is managed by the main entrance name of the program, and the main entrance name and the sub-entrance name are checked. The library management means includes a program name table means for associating all program names with their respective main entrance names, and the library management means uses the program name table means to store the entrance names of cited programs requested from the program quotation processing means. By converting it into an entrance name and accessing the program library means, any processing target program and program quotation processing means that request the above program citation can convert the main entrance name to the main entrance name when requesting the citation of the program with the sub-entrance name. A program management method that is characterized by not being used.
JP17155882A 1982-09-30 1982-09-30 Program managing system Granted JPS5960639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17155882A JPS5960639A (en) 1982-09-30 1982-09-30 Program managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17155882A JPS5960639A (en) 1982-09-30 1982-09-30 Program managing system

Publications (2)

Publication Number Publication Date
JPS5960639A JPS5960639A (en) 1984-04-06
JPS6325368B2 true JPS6325368B2 (en) 1988-05-25

Family

ID=15925356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17155882A Granted JPS5960639A (en) 1982-09-30 1982-09-30 Program managing system

Country Status (1)

Country Link
JP (1) JPS5960639A (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61128336A (en) * 1984-11-28 1986-06-16 Fujitsu Ltd Nonresident system of subprogram
JPS62171033A (en) * 1986-01-24 1987-07-28 Hitachi Ltd Subroutine managament system
JPS62233851A (en) * 1986-04-03 1987-10-14 Nec Corp Evaluation system for software corrected object
JPS6339052A (en) * 1986-08-01 1988-02-19 Nec Corp Routine single test processing system
JPS63106047A (en) * 1986-10-23 1988-05-11 Nec Corp Dynamic subroutine call system
JPS6410328A (en) * 1987-07-03 1989-01-13 Hitachi Ltd Control system for program execution
JPH0465714A (en) * 1990-07-05 1992-03-02 Nec Corp Load module control system for computer system

Also Published As

Publication number Publication date
JPS5960639A (en) 1984-04-06

Similar Documents

Publication Publication Date Title
US5313635A (en) Compiling system for distributed computer system with multiple types of computers
US6253257B1 (en) Software Interface for dynamic API mapping
CN106202452B (en) Unified data resource management system and method for big data platform
US6526441B2 (en) Input/output device information management system for multi-computer system
US5907846A (en) Method and system for accessing relational databases using objects
US5564044A (en) Integration of result data from first program operations on dynamic source data into data of a second program
US6233729B1 (en) Method and apparatus for identifying dynamic structure and indirect messaging relationships between processes
EP0729610B1 (en) A link manager for managing links integrating data between application programs
US4979109A (en) Method of controlling a data dictionary directory system in a data base system
JP2927180B2 (en) Debugging method of information processing program and debugger therefor
US8126702B2 (en) Translating data objects
JPS6325368B2 (en)
JPH02114335A (en) Multi-procsssing system
KR102202792B1 (en) Method and device for performing multi-caching on data sources of same or different types by using cluster-based processing system
CN111475167B (en) Shell script dependency relation extraction method based on HQL statement
JPS63200257A (en) Program loading system for computer
JP3016799B2 (en) Database query processing unit
JPH04177441A (en) System program loading system
US6496821B1 (en) Cool ice column profiling
US3702010A (en) Information retrieval strategy
US8307329B2 (en) Implicit composition of component bindings
JP2001527241A (en) Method and apparatus for loading stored procedures in a database corresponding to object-oriented data dependencies
JPH07141237A (en) Data base access control unit
US20090063503A1 (en) Method and system for remote cache access
US7099877B1 (en) Step to define inputs for a service