JPS6195449A - Source program control system - Google Patents

Source program control system

Info

Publication number
JPS6195449A
JPS6195449A JP21772684A JP21772684A JPS6195449A JP S6195449 A JPS6195449 A JP S6195449A JP 21772684 A JP21772684 A JP 21772684A JP 21772684 A JP21772684 A JP 21772684A JP S6195449 A JPS6195449 A JP S6195449A
Authority
JP
Japan
Prior art keywords
program
source
source program
computer
systems
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
JP21772684A
Other languages
Japanese (ja)
Inventor
Hideo Sakai
坂井 日出雄
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 JP21772684A priority Critical patent/JPS6195449A/en
Publication of JPS6195449A publication Critical patent/JPS6195449A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To form a programs to be used in different kinds of machines as common programs by separately controlling a part of a source program which depends upon the characteristics of computer architecture operating systems and the other independent part. CONSTITUTION:The part of a program body X which is independent of the characteristics of computer systems a1-an is described as it is by using normal programming language and the program part depending upon the characteristics of the systems a1-an is described and formed by indexing name lists A, B. A program synthesizing part 5 outputs a source program S1 for a program to be operated on the system a1 and an output device 4 receives the source program S1 and stores or prints out the received contents in a magnetic disc device 41 or printer device 42. The program part common to the systems a1-an, i.g. the program body X, can be changed by changing only the program body X stored in the 2nd storage part 2. Namely, the program body X can be changed by changing only one file.

Description

【発明の詳細な説明】 (産業上の利用分野) ソースプログラムの管理方式に関する。[Detailed description of the invention] (Industrial application field) Concerning source program management methods.

(従来の技術) 従来、高級プログラミング言語で記述されたアプリケー
ションプログラム等のソースプログラムの管理方式とし
ては適用される計算機システムのアーキテクチャやオペ
レーティングシステムの特性が異なるとそれに対応する
ソースプログラムをそれぞれ作成し、作成したもの金そ
れぞれ管理している。
(Prior Art) Conventionally, as a management method for source programs such as application programs written in high-level programming languages, source programs are created to correspond to different characteristics of the applied computer system architecture and operating system. I manage each money I create.

このようにして用意きれたソースプログラム間の相違は
前記の計算機アーキテクチャやオペレーティングシステ
ム特性を記述した部分のみで他の大部分のプログラム記
述部分は同一である。したがって従来のソースプログラ
ムの管理方式においては上記の共通な大部分のプログラ
ム記述部分において変更が生ずれば管理しているソース
プログラムを全部変更せねばならずプログラムの保守性
、信頼性、移行性に劣っているという問題点がある。
The difference between the source programs prepared in this way is only in the description of the computer architecture and operating system characteristics, and most other program description parts are the same. Therefore, in the conventional source program management method, if a change occurs in most of the above common program description parts, the entire managed source program must be changed, which affects the maintainability, reliability, and portability of the program. The problem is that it is inferior.

(発明が解決しようとする問題点) 本発明の目的は高級プログラミング言語で記述されるソ
ースプログラムのうち計算機アーキテクチャオペレーテ
ィングシステム特性に依存する部分と、そうでない部分
とを分離して管理することにより計算機アーキテクチャ
やオペレーティングシステム特性に依存しない部分は全
体で共通にただ一つだけとするソースプログラム管理方
式を提供し従来の管理方式の問題点であるプログラムの
保守性、信頼性、、8行性全回上せんとするものである
(Problems to be Solved by the Invention) An object of the present invention is to separate and manage parts of a source program written in a high-level programming language that depend on computer architecture operating system characteristics from parts that do not. Provides a source program management method that has only one common part that does not depend on architecture or operating system characteristics, and eliminates problems with conventional management methods such as program maintainability and reliability. It is intended to be used as a top priority.

(問題点を解決するための手段) 本発明の方式は、計算機システムの特性に依存するプロ
グラム部分を含む複数の特性の異った計算機システムの
ソースプログラムの管理方式において、プログラム金入
力する入力手段と、前記入力手段から入力された前記複
数の計算機システム毎に対応する前記計算機システムの
特性に依存するプログラム部分金名標全付して前記複数
の計算機システム毎にそれぞれ格納する第10記憶手段
と、前記入力手段から入力された前記計算機システムの
特性に依存するプログラム部分を前記名標により引用し
てなる前記ソースプログラムのプログラム本体を格納す
る第2の記憶手段と、外部から供給される指示に応答し
て前記第2の記憶手段から前記プログラム本体を読出し
前記名標による引用部分全前記第10記憶手段の前記指
示に対応する前記引用部分の名標と同じ名標を付された
前記計算機システムの特性に依存するプログラム部分を
読み出して置換しソースプログラムを合成するプログラ
ム合成手段と、前記プログラム合成手段から合成された
ソースプログラムの供給?うけ外部に出力する出力手段
とを含んで構成される。
(Means for Solving the Problems) The method of the present invention provides an input means for inputting program money in a method for managing source programs of a plurality of computer systems having different characteristics, including a program part that depends on the characteristics of the computer system. and a tenth storage means for storing each of the plurality of computer systems with all program part names inputted from the input means depending on the characteristics of the computer system corresponding to each of the plurality of computer systems; a second storage means for storing the main body of the source program, which is formed by quoting a program part depending on the characteristics of the computer system inputted from the input means by the name; read out the program main body from the second storage means, and all the quoted parts by the name are given the same name as the name of the quoted part corresponding to the instruction in the tenth storage means; characteristics of the computer system; program synthesis means for reading out and replacing program parts that depend on the program to synthesize a source program, and supplying the source program synthesized from the program synthesis means? and output means for outputting the output to the outside.

(実施例) 次に本発明の一実施例について図面全参照して説明する
(Example) Next, an example of the present invention will be described with reference to all the drawings.

第1図は本発明の一実施伊jを示すブ′ロック図である
。第1図のソースプログラム管理方式はプログラムを入
力する入力装置1と、入力されたプログラムの中、後述
するプログラム本体x6格納する第2の記憶部2と、計
算機アーキテクチャやオペレーティングシステムの特性
に関係する記述部分例えば後述する部分Aと部分Bとを
、適用する計算機システム毎に格納しているファイル3
−1〜3−nから構成される第10記憶部3と、第2の
記憶部からプログラム本体Xi読み出しこれVCglの
記憶部の指定されたファイルから読み出された部分人と
部分Bとを合成するプログラム合成部5と、プログラム
合成部5から供給される合成プログラム全出力する磁気
ディスク装置41やプリンタ装置42から構成される装
置 成されている。
FIG. 1 is a block diagram showing one implementation of the present invention. The source program management system shown in FIG. 1 is related to an input device 1 for inputting a program, a second storage unit 2 for storing program bodies x6, which will be described later, among the input programs, and characteristics of the computer architecture and operating system. A file 3 that stores description parts, for example, part A and part B described later, for each computer system to which it is applied.
The program main body Xi is read from the 10th storage unit 3 consisting of -1 to 3-n and the second storage unit, and the partial person and part B read from the specified file of the storage unit of VCgl are synthesized. The apparatus is composed of a program synthesis section 5 that performs the program synthesis, and a magnetic disk device 41 and a printer device 42 that output all of the synthesis programs supplied from the program synthesis section 5.

1例として計算機アーキテクチャやオペレーティングシ
ステム特性の異なるn個の計算機システムa1〜anの
ソースプログラムの管理を説明する。
As an example, management of source programs for n computer systems a1 to an having different computer architectures and operating system characteristics will be explained.

本実施例の適甲に先立って用意されるプログラムは、計
算機システムa1〜anの特性に依存するプログラム部
分、一般には複数個所あることを考え,例えば部分Aと
Bと、プログラム本体Xとに大別して作成される。
Considering that there are generally multiple program parts that depend on the characteristics of the computer systems a1 to an, the program prepared prior to the application of this embodiment has a large number of parts, for example, parts A and B and the program main body X. Created separately.

プログラム部分AとBとは、計算機システムa1〜an
に対応して内容はそれぞれA4〜An,  B1〜Bn
となり互に相異なるものとなるが、AI =Anに対し
ては共通の名標A{i−、B1〜Bnに対しては共通の
名標Bを付与する。
Program parts A and B are computer systems a1 to an
The contents are A4~An, B1~Bn, respectively.
Although they are different from each other, a common name A{i- is given to AI=An, and a common name B is given to B1 to Bn.

プログラム本体Xt−t、計算機システム81〜anの
特性に依存しない部分は通常のプログラミング言語音用
いてそのまま記述し、計算機システム81〜anの特性
に依存するプログラム部分は前記の名標AとBとを引用
する形で記述して作成する。
The program body Xt-t and the parts that do not depend on the characteristics of the computer systems 81 to an are written as they are using normal programming language sounds, and the program parts that depend on the characteristics of the computer systems 81 to an are written using the above-mentioned names A and B. Create a document by quoting it.

次に本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

入力装置1から先ずプログラム本体x2人力し第2の記
憶部2Vc格納する。ついで入力i[1から計n機シス
テムa1〜anVC依存するプログラム部分A4−An
、  B1 =Bn f入力し計算機システム↓ 毎VC第10記憶部にあるファイルに格納する。すなわ
ち、例えば計算機システムa1 に対するプログラム部
分Al、BIUファイル3−1に、計算機システムan
 Ic対するプログラム部分An、Bnはファイル3−
nに格納する。各ファイル内では前述のように同一名標
AおよびBが付与されている。
First, the program body x2 is manually inputted from the input device 1 and stored in the second storage section 2Vc. Next, from input i[1, a total of n systems a1 to anVC-dependent program parts A4 to An
, B1 = Bn f is input to the computer system↓ and stored in a file in the 10th storage section of each VC. That is, for example, the program part Al for the computer system a1, the BIU file 3-1, the computer system an
The program parts An and Bn for Ic are in file 3-
Store in n. In each file, the same names A and B are given as described above.

ある計算機システム、例えばal上で動作するプログラ
ムのソースプログラム81 ’e作成するときには、外
部から入力されるソースプログラムS1の作成指示を受
けて、プログラム合成部5は第10記憶i計算機システ
ムa1 に対応するファイル3−1全選択するとともに
、第2の記憶部2からプログラム本体Xを読み出し、そ
の中で計算機システムの特性に依存するプログラム部分
への引用された名標例えばAに対応するプログラム部分
A1にファイル3−1から取り出し引用した部分と置換
する。
When creating a source program 81'e for a program that runs on a certain computer system, for example al, upon receiving an instruction to create the source program S1 input from the outside, the program synthesis unit 5 corresponds to the 10th storage i computer system a1. Select all files 3-1 and read the program main body X from the second storage unit 2, and select the program part A1 corresponding to the cited name of the program part depending on the characteristics of the computer system, for example, A. Then, extract it from file 3-1 and replace it with the quoted part.

このようにしてプログラム合成部5は対果とする計算機
システノ、al上で動作するプログラムのソースプログ
ラムS1’に出力し出力装置4はこれを受けて磁気ディ
スク装置41に格納したりプリンタ装置42にプリント
アウトしたりする。
In this way, the program synthesizing unit 5 outputs the source program S1' of the program running on the computer system A1 as a result, and the output device 4 receives this and stores it in the magnetic disk device 41 or outputs it to the printer device 42. Or print it out.

計算機システムa1〜anに共通であるプログラム部分
すなわちプログラム本体Xの変更に際してろ は第2の記憶部に格納されているプログラム本体Xの変
更のみでよくただ1つのファイルの変更ですますことが
できる。
When changing the program part, that is, the program body X that is common to the computer systems a1 to an, it is only necessary to change the program body X stored in the second storage section, and this can be done by changing only one file.

(発明の効果) 本発明によれば高級言語で作成される異機種間で動くプ
ログラムにおいて共通プログラムの一元化が図れ、共通
プログラムの保守性、信頼性、移行性が向上できるとい
う効果がある0
(Effects of the Invention) According to the present invention, it is possible to unify common programs in programs created in a high-level language and run between different models, and the maintainability, reliability, and portability of the common programs can be improved.

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

第1図は本発明の一実施例を示すブロック図である。 1・・・・・・入力装置、2・・・・・・第2の記憶部
、3・・・・・・第10記憶部、3−1.3−n・・・
・・・ファイル、4・・・・・・出力装置、41・・・
・・・磁気ディスク装置、42・・・・・・プリンタ装
置、5・・・・・・プログラム合成部。
FIG. 1 is a block diagram showing one embodiment of the present invention. 1... Input device, 2... Second storage section, 3... Tenth storage section, 3-1.3-n...
...File, 4...Output device, 41...
. . . Magnetic disk device, 42 . . . Printer device, 5 . . . Program synthesis section.

Claims (1)

【特許請求の範囲】 計算機システムの特性に依存するプログラム部分を含む
複数の特性の異った計算機システムのソースプログラム
の管理方式において、 プログラムを入力する入力手段と、 前記入力手段から入力された前記複数の計算機システム
毎に対応する前記計算機システムの特性に依存するプロ
グラム部分を名標を付して前記複数の計算機システム毎
にそれぞれ格納する第10記憶手段と、 前記入力手段から入力された前記計算機システムの特性
に依存するプログラム部分を前記名標により引用してな
る前記ソースプログラムのプログラム本体を格納する第
2の記憶手段と、 外部から供給される指示に応答して前記第2の記憶手段
から前記プログラム本体を読出し前記名標による引用部
分を前記第1の記憶手段の前記指示に対応する前記引用
部分の名標と同じ名標を付された前記計算機システムの
特性に依存するプログラム部分を読み出して置換しソー
スプログラムを合成するプログラム合成手段と、 前記プログラム合成手段から合成されたソースプログラ
ムの供給をうけ外部に出力する出力手段とを含むことを
特徴とするソースプログラム管理方式。
[Scope of Claim] A management method for source programs for a plurality of computer systems having different characteristics, including a program part depending on characteristics of the computer system, comprising: input means for inputting a program; and input means for inputting a program from the input means. tenth storage means for storing program parts depending on characteristics of the computer systems corresponding to each of the plurality of computer systems for each of the plurality of computer systems; and the computer inputted from the input means. a second storage means for storing the main body of the source program in which program parts depending on the characteristics of the system are cited by the names; reading out the main body of the program, and reading out the part of the program that depends on the characteristics of the computer system, which is given the same name as the name of the quoted part corresponding to the instruction in the first storage means; 1. A source program management method, comprising: a program synthesizing means for replacing and synthesizing a source program; and an output means for receiving the synthesized source program from the program synthesizing means and outputting it to the outside.
JP21772684A 1984-10-17 1984-10-17 Source program control system Pending JPS6195449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21772684A JPS6195449A (en) 1984-10-17 1984-10-17 Source program control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21772684A JPS6195449A (en) 1984-10-17 1984-10-17 Source program control system

Publications (1)

Publication Number Publication Date
JPS6195449A true JPS6195449A (en) 1986-05-14

Family

ID=16708774

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21772684A Pending JPS6195449A (en) 1984-10-17 1984-10-17 Source program control system

Country Status (1)

Country Link
JP (1) JPS6195449A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001516079A (en) * 1997-08-18 2001-09-25 マイクロソフト コーポレイション Program interface converter for computers with multiple platforms

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001516079A (en) * 1997-08-18 2001-09-25 マイクロソフト コーポレイション Program interface converter for computers with multiple platforms

Similar Documents

Publication Publication Date Title
US5600836A (en) System and method for processing date-dependent information which spans one or two centuries
US6257774B1 (en) Application program and documentation generator system and method
JPH02206857A (en) Method and apparatus for performing read-change-write operations
JPH04326121A (en) Automatic generation device for system constitution diagram
JPS6195449A (en) Source program control system
JP2947048B2 (en) BOM management method
JP2001282344A (en) Method and system for making production plan of tact production
JPS6057479A (en) Form producer
JPH05134856A (en) Automatically programming system
JP3389473B2 (en) Sequence program creation device
JPH04172529A (en) Automatic program generating system by data oriented software parts
JPH06274328A (en) Execution method for program consisting of plural processing modules
SU525092A1 (en) Control device in multiprocessor computing system
JPH11175377A (en) File management method
JP2000048043A (en) Data development system
JPH06324471A (en) Total scanner control device
JPH04175873A (en) Form allotment processing device
JPH08286965A (en) Division parallel processing system of batch processing data
JPH11110396A (en) Printed matter production support system
JPH04195230A (en) Fault information log system
JPH04336638A (en) Disk exchange system in system working mode
JPH05314343A (en) Picture changing system
JPH05265731A (en) Global job network diagram producer
JPH03100861A (en) Character inserting system
JPH06332926A (en) Card type data base device