JPH04358238A - Generation managing method for source program - Google Patents
Generation managing method for source programInfo
- Publication number
- JPH04358238A JPH04358238A JP3131533A JP13153391A JPH04358238A JP H04358238 A JPH04358238 A JP H04358238A JP 3131533 A JP3131533 A JP 3131533A JP 13153391 A JP13153391 A JP 13153391A JP H04358238 A JPH04358238 A JP H04358238A
- Authority
- JP
- Japan
- Prior art keywords
- generation
- logical
- file
- source program
- real
- 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
- 238000000034 method Methods 0.000 title description 6
- 238000007726 management method Methods 0.000 claims description 27
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は情報処理システムで使用
するソースプログラムの世代管理方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a generation management method for source programs used in information processing systems.
【0002】0002
【従来の技術】従来の情報処理システムにおけるソース
プログラムの世代管理方法では、それぞれの世代につい
ての媒体を用意し、管理者が陽にそれらの媒体の情報を
意識する必要があった。2. Description of the Related Art In a conventional source program generation management method for an information processing system, it is necessary to prepare media for each generation and for the administrator to be explicitly aware of the information on those media.
【0003】0003
【発明が解決しようとする課題】従来のソースプログラ
ムの世代管理方法は、世代数分の媒体を揃えて、それぞ
れの管理を行うので、媒体管理の煩雑さを避けるために
も、十分には世代数を増加させることができないととも
に、担当者が世代に関する媒体の情報を意識するために
、誤りが発生し易いという欠点を有している。[Problem to be Solved by the Invention] In the conventional source program generation management method, media for the number of generations are prepared and managed individually, so in order to avoid the complexity of media management, it is necessary to This method has the disadvantage that the number cannot be increased and that errors are likely to occur because the person in charge must be aware of the media's information regarding the generation.
【0004】0004
【課題を解決するための手段】本発明のソースプログラ
ムの世代管理方法は、複数のファイルを1つの集合体と
し、各々のファイルをその集合体の中でのメンバとして
管理する分割型順編成ファイルに対して、管理部にシス
テム側で意識する実メンバ名とは別に、論理メンバ名と
世代番号とを管理する付加情報エリアを持つとともに、
ソースプログラムファイルの1つの世代を1つのメンバ
に対応づけて管理する世代管理機能を持つことにより構
成されている。[Means for Solving the Problems] The source program generation management method of the present invention is a divided sequential file system in which a plurality of files are made into one aggregate, and each file is managed as a member in the aggregate. In addition, the management section has an additional information area that manages logical member names and generation numbers in addition to the actual member names that are recognized on the system side.
It is configured by having a generation management function that manages one generation of a source program file by associating it with one member.
【0005】[0005]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。Embodiments Next, embodiments of the present invention will be described with reference to the drawings.
【0006】図1は本発明のソースプログラムの世代管
理方法の一実施例を示す機能ブロック図である。図1に
示すように、ユーザプログラム1は、利用者が作成また
は更新しようとするソースプログラムである。また、実
イメージ2は、実際のファイルの格納イメージである。
そして、2A0は論理メンバ名Aの第0世代の物理イメ
ージであり、2A1は第1世代の物理イメージであり、
2Anは第n世代の物理イメージである。FIG. 1 is a functional block diagram showing an embodiment of the source program generation management method of the present invention. As shown in FIG. 1, a user program 1 is a source program that a user attempts to create or update. Further, the real image 2 is an image in which an actual file is stored. 2A0 is the 0th generation physical image of logical member name A, 2A1 is the 1st generation physical image,
2An is the nth generation physical image.
【0007】一方、論理イメージ3は、利用者に対する
ソースプログラムファイルの論理イメージである。そし
て、3A0は論理メンバ名Aの第0世代、3A1は第1
世代、…3Anは第n世代のそれぞれの論理イメージで
ある。なお、2B0は論理メンバ名Bの第0世代の論理
イメージであり、3B0は論理メンバ名Bの第0世代の
論理イメージである。On the other hand, the logical image 3 is a logical image of the source program file for the user. 3A0 is the 0th generation of logical member name A, and 3A1 is the 1st generation.
Generations, . . . 3An are respective logical images of the n-th generation. Note that 2B0 is the 0th generation logical image of logical member name B, and 3B0 is the 0th generation logical image of logical member name B.
【0008】さらに、分割型順編成ファイルの管理部4
は、ソースプログラムファイルをメンバとして管理する
情報が設定されている。[0008]Furthermore, the division type sequential file management unit 4
is set with information for managing source program files as members.
【0009】図2は図1の分散型順編成ファイルの管理
部4の情報の一例を示す情報構成図である。この管理部
4は、図2に示すように、ファイル管理レベルの情報で
ある実メンバ名41およびそのメンバへのポインタ42
と、付加情報としての論理メンバ名43およびそのメン
バの世代番号44とが設定されるそれぞれのフィールド
を持っている。FIG. 2 is an information configuration diagram showing an example of information in the distributed sequential file management section 4 of FIG. 1. As shown in FIG. As shown in FIG. 2, this management unit 4 stores real member names 41 and pointers 42 to the members, which are file management level information.
and a field in which a logical member name 43 and a generation number 44 of the member as additional information are set.
【0010】なお、実メンバ名41は、予め決められた
付加基準により与えられ、利用者は関知しない。そして
、利用者は、論理メンバ名43およびその世代番号44
の情報のみで、ソースプログラムファイルにアクセスを
行うことができる。Note that the actual member name 41 is given based on predetermined additional criteria and is not known to the user. The user then selects the logical member name 43 and its generation number 44.
The source program file can be accessed using only this information.
【0011】そこで、世代管理機能5は、各世代のソー
スプログラムを分割型順編成ファイルのメンバに対応付
けて管理し、世代を意識させる情報としては、管理部4
の論理メンバ名43および世代番号44を用いている。Therefore, the generation management function 5 manages the source programs of each generation by associating them with the members of the divided sequential file.
The logical member name 43 and generation number 44 are used.
【0012】そして、実際の処理においては、利用者に
より指定された論理メンバ名43と世代番号44とを受
け取り、それに一致するメンバを特定し、そのメンバに
対応する管理部4の実メンバ名41と、メンバへのポイ
ンタ42との情報によりファイルにアクセスを行ってい
る。In actual processing, the logical member name 43 and generation number 44 specified by the user are received, a member that matches them is specified, and the real member name 41 of the management unit 4 corresponding to the member is specified. The file is accessed based on the information of the member pointer 42 and the member pointer 42.
【0013】以下に、各図を用いて本実施例の動作を説
明する。The operation of this embodiment will be explained below with reference to each figure.
【0014】ユーザプログラム1のメンバ名がAである
第0世代にアクセスを行う場合に、世代管理機能5は、
分割型順編成ファイルの管理部4を読み、論理メンバ名
43がAで且つ世代番号44が0であるメンバを捜し、
論理メンバAの第0世代のソースプログラムを得る。同
様に、第n世代については、論理メンバ名43がAで、
世代番号44がnであるメンバ2Anを捜し、第n世代
のソースプログラムを得る。なお、他の世代のソースプ
ログラムにも、同様にアクセスを行うことができる。こ
のように、世代の認識は、世代番号44により行ってい
る。When the user program 1 accesses the 0th generation whose member name is A, the generation management function 5 performs the following steps.
Read the management section 4 of the divided sequential file, search for a member whose logical member name 43 is A and whose generation number 44 is 0,
Obtain the 0th generation source program of logical member A. Similarly, for the nth generation, the logical member name 43 is A,
The member 2An whose generation number 44 is n is searched to obtain the nth generation source program. Note that source programs of other generations can also be accessed in the same way. In this way, the generation is recognized using the generation number 44.
【0015】このときに、メンバ管理の手法の例として
、以下の2つの方法が考えられる。その1つの方法は、
全ての世代がそれぞれ完全な内容のソースプログラムを
保持する場合で、他方の方法は、一世代目のみがマスク
として完全な内容を保持し、2世代目以降は変更分の内
容のみを保持する場合である。At this time, the following two methods can be considered as examples of member management methods. One way is to
The other method is when all generations retain the complete source program content, and only the first generation retains the complete content as a mask, and the second and subsequent generations retain only the changed content. It is.
【0016】前者の場合には上述した手段で捜したメン
バがそのまま指定の世代を示しているが、後者の場合に
は最旧のマスタをもとに以降の部分を指定の世代まで更
新をかけることによって得られる。In the former case, the member searched by the above-mentioned method directly indicates the specified generation, but in the latter case, the subsequent parts are updated up to the specified generation based on the oldest master. obtained by
【0017】例えば、メンバ名がAである最新の第n世
代を得る場合に、前者は論理メンバ3Anがそのまま実
メンバ2Anに対応するのに対して、後者はマスタであ
る実メンバ2A0に対して2A1,2A2,…2Anま
で更新をかけることによって論理メンバ3Anが得られ
る。For example, when obtaining the latest nth generation whose member name is A, the former corresponds to the logical member 3An as it is to the real member 2An, while the latter corresponds to the master real member 2A0. A logical member 3An is obtained by updating up to 2A1, 2A2, . . . 2An.
【0018】従って、前者の場合には、どの世代へアク
セスする場合にも、速度が速いという利点があるけれど
も、更新が頻繁に行われる場合に、使用するファイルの
量が多くなってしまうという欠点がある。Therefore, in the former case, there is an advantage that the speed is fast when accessing any generation, but a disadvantage is that the amount of files used increases when updates are frequently performed. There is.
【0019】また、後者の場合には、ファイル量が少な
くて済むけれども、ある世代のメンバにアクセスするた
めに、マスタのメンバから変更分を逐次変更する処理が
必要なために、ある世代のファイルを得るまでに時間が
かかるという欠点がある。[0019] In the latter case, although the file size may be small, in order to access members of a certain generation, it is necessary to sequentially change changes from the master member. The disadvantage is that it takes time to obtain the
【0020】そこで、ファイルの管理方法としては、上
記の点を考慮した上で用途に応じてこれらを使い分ける
ことができる。[0020] Therefore, as a file management method, these methods can be used depending on the purpose, taking the above points into consideration.
【0021】[0021]
【発明の効果】以上説明したように、本発明のソースプ
ログラムの世代管理方法は、利用者が指定した論理メン
バ名と世代番号とだけで、容易に世代の更新を行ったり
、必要な世代に戻したりすることができて、利用者の世
代管理の誤りを防止することができるという効果を有し
ている。また、各世代のソースプログラムを1つのファ
イルのメンバとして管理するために、媒体個数の削減も
期待できるという効果を有している。[Effects of the Invention] As explained above, the source program generation management method of the present invention allows generation to be easily updated and required generations to be updated simply by using the logical member name and generation number specified by the user. This has the effect of preventing errors in generation management by the user. Furthermore, since each generation of source programs is managed as a member of one file, it is possible to expect a reduction in the number of media.
【図1】本発明のソースプログラムの世代管理方法の一
実施例を示す機能ブロック図である。FIG. 1 is a functional block diagram showing an embodiment of a source program generation management method according to the present invention.
【図2】図1の分割型順編成ファイルの管理部4の情報
の一例を示す情報構成図である。FIG. 2 is an information configuration diagram showing an example of information in the management unit 4 of the divided sequential file in FIG. 1;
1 ユーザプログラム
2 実イメージ
2A0,〜2An,2B0 物理イメージ3
論理イメージ
3A0,〜3An,3B0 論理イメージ4
管理部
41 実メンバ名
42 ポインタ
43 論理メンバ名
44 世代番号
5 世代管理機能1 User program 2 Real image 2A0, ~ 2An, 2B0 Physical image 3
Logical image 3A0, ~3An, 3B0 Logical image 4
Management section 41 Real member name 42 Pointer 43 Logical member name 44 Generation number 5 Generation management function
Claims (1)
各々のファイルをその集合体の中でのメンバとして管理
する分割型順編成ファイルに対して、管理部にシステム
側で意識する実メンバ名とは別に、論理メンバ名と世代
番号とを管理する付加情報エリアを持つとともに、ソー
スプログラムファイルの1つの世代を1つのメンバに対
応づけて管理する世代管理機能を持つことを特徴とする
ソースプログラムの世代管理方法。[Claim 1] A plurality of files are set as one collection,
For split-type sequential files that manage each file as a member within the collection, an addition is added to the management section that manages logical member names and generation numbers in addition to the actual member names that are recognized on the system side. A source program generation management method characterized by having an information area and a generation management function for managing one generation of a source program file by associating it with one member.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3131533A JPH04358238A (en) | 1991-06-04 | 1991-06-04 | Generation managing method for source program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3131533A JPH04358238A (en) | 1991-06-04 | 1991-06-04 | Generation managing method for source program |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04358238A true JPH04358238A (en) | 1992-12-11 |
Family
ID=15060298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3131533A Pending JPH04358238A (en) | 1991-06-04 | 1991-06-04 | Generation managing method for source program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04358238A (en) |
-
1991
- 1991-06-04 JP JP3131533A patent/JPH04358238A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6526441B2 (en) | Input/output device information management system for multi-computer system | |
US7526479B2 (en) | Configuration manager in enterprise computing system | |
EP0375188B1 (en) | File system | |
JPH0916607A (en) | Method for managing index in data base management system | |
EP0238039B2 (en) | Network event identifiers | |
US6192376B1 (en) | Method and apparatus for shadowing a hierarchical file system index structure to enable error recovery | |
Costich | Transaction Processing Using an Untrusted Scheduler in a Multilevel Database with Replicated Architecture. | |
US20040015520A1 (en) | Database managing method and system having data backup function and associated programs | |
JPH04358238A (en) | Generation managing method for source program | |
JPH0934758A (en) | Relational data base access control system | |
JPH03116252A (en) | Generation control system for source program | |
JPS59180641A (en) | Control method of file | |
JP4402891B2 (en) | Database system | |
JPH05241800A (en) | Total control system for data base, file, and program | |
Moffett | The Bedfordshire County Sites and Monuments Record Database Management System | |
JP2647044B2 (en) | History management method | |
JPH02206852A (en) | Updating processing system for hierarchical structure data | |
JPH0756792A (en) | File backup system | |
JPH0797346B2 (en) | File access device | |
JPH1027117A (en) | File managing device and its method | |
JPH0744427A (en) | Data arrangement system for disk | |
JPH01177666A (en) | System for managing user | |
JPS62276626A (en) | File control system | |
JP2000305833A (en) | File sharing/excluding system | |
JPS62239249A (en) | File managing device |