JPS593554A - Data base access controlling system - Google Patents

Data base access controlling system

Info

Publication number
JPS593554A
JPS593554A JP57112875A JP11287582A JPS593554A JP S593554 A JPS593554 A JP S593554A JP 57112875 A JP57112875 A JP 57112875A JP 11287582 A JP11287582 A JP 11287582A JP S593554 A JPS593554 A JP S593554A
Authority
JP
Japan
Prior art keywords
input
program
access
data base
output
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
JP57112875A
Other languages
Japanese (ja)
Inventor
Norio Tamura
田村 典男
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 JP57112875A priority Critical patent/JPS593554A/en
Publication of JPS593554A publication Critical patent/JPS593554A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Abstract

PURPOSE:To attain an access to a data base with an input/output sentence of a standard programming language, by producing a control table which gives a correspondence between an input/output sentence for data base access and the data base access control. CONSTITUTION:An application program 1 in which a data base access is described with a standard input/output sentence is interpreted by a compiler 2. The compiler 2 generates a call to be given to a data base control part 5 to an object program 3 and also generates an input/output sentence control table 4 when a standard input/output sentence is detected out of the program 1 and if the sentence is equal to the one for a data base access. Then the part 5 feeds the table 4 for execution of the program 3. The part 5 executes an access of a data base 6 while interpreting the table 4. Based on the interpretation and execution of the table 4, a desired data is stored to the base 6 from the program 1 or transferred in the backward direction.

Description

【発明の詳細な説明】 (1)発明の技術分野 本1h’1jBtl=11にフa°/ ’y i ;y
グ=a°語(FORT RAN等)の入出力文によシデ
ータベースをアクセスする制御方式に関する。
Detailed Description of the Invention (1) Technical Field of the Invention Book 1h'1jBtl=11 f a°/'y i ;y
This invention relates to a control method for accessing a database using input/output statements in language (FORT RAN, etc.).

伐) 従来技術と問題点 従来、データベースアクセス可能な標準プpグ2ξング
言語としては拡張仕様であるデータベース操作用の文に
よる方式があった。該データベースアクセス用の文は、
標準グログラゼング言語の文と相違し、利用者にそれら
の文を学習する負担を昧し、アプリケ−VIIンプログ
ラムー発の生産性を低下させるという欠点があった。
Conventional technology and problems Conventionally, as a standard programming language that can access databases, there has been a system using statements for database manipulation, which is an extended specification. The statement for accessing the database is
Unlike the sentences of the standard Groglaseng language, these methods have the disadvantage of burdening the user with learning these sentences and reducing the productivity of the application VII program.

(3)発明の目的 本発明は前記欠点を解消し、標準プpグランング1飴の
入出力文でデータベースのアクセスを可能とする方式を
提供することを目的とする。
(3) Object of the Invention The object of the present invention is to eliminate the above-mentioned drawbacks and to provide a system that enables access to a database using a standard programmer's input/output statement.

(47発明の構成 μl的は体準グロク2ミンク8飴で作成されたアプリケ
ージ、ンプログラムをコンパイルシ、オブジェクト7“
ロクラムをfI−tuした後、当該オブジェクトプログ
ラムを実行することにょシ所望p結朱をイ4るシステム
において、該標準プログラムで脣れたデータベースアク
セスの入出力文をコンパイル時、万ブジェクトプログシ
ム中に、対応するDBアクセス文を生成するとともに該
入出力文とデータベースアクセス制御を対応づける入出
力文制御テーブルを作成する手段と、オブジェクトプロ
クラム実行時に、前記DBアクセス文と1n記入出力制
御テーブルを参照しつつデータベースのアクセス制御を
行なう手段を謀けl(ことを特徴とするデータベースア
クセス制御方式により達成される0 (5)発明の実施例 以下口面を用いて本発明の詳細な説明する。図は本発明
の一実施例を示す全体機能ブロック図である。
(The composition of the 47th invention is based on the application created with the standard Grok 2 mink 8 candy, compiling the program, object 7"
In a system in which the desired program is executed after running the program, when compiling input/output statements for database access in the standard program, when compiling the input/output statements for database access in the standard program, it is necessary to execute the object program. means for generating a corresponding DB access statement and creating an input/output statement control table that associates the input/output statement with database access control, and referring to the DB access statement and the 1n input/output control table when the object program is executed. (5) Embodiments of the Invention The present invention will be described in detail below using oral language. 1 is an overall functional block diagram showing an embodiment of the present invention. FIG.

図において、1はアプリケーションプログラム(体準プ
ログラム1紐で誉れている0入2はコンパイラ(襟準グ
ログラき771拍の簀り駅部)、3はオブジェクトプロ
グラム、4は入出力文制御衣(データベースアクセス用
入出力文の実行時にデータベース管理部が解釈・実行す
る制御抛)、5はデータベース管理部、6はデータベー
スである。
In the figure, 1 is an application program (0 is praised as a standard program), 2 is a compiler (a semi-groggy 771-beat samari station part), 3 is an object program, and 4 is an input/output statement control program (database). 5 is a database management unit, and 6 is a database.

ます、オむ用者eよプ′ノリケーションプログラム1t
−41、を準グロクシミング言語(例えはFORTRA
N)を用いて作成する。即ち、データベースのアクセス
(操作)は、標準プログラミング實飴の入出力文を用い
てi己述式れる。−セリとしてFORTRANで説明す
ると駿データベースのアクセス衆現は次の様になる。
Masu, user eyopu'norization program 1t
-41, in a semi-gloximing language (e.g. FORTRA
N). That is, database access (operation) is self-stated using input/output statements of standard programming practice. -Explaining in FORTRAN as an auction, the access to the Shun database is as follows.

1tEAp CLUB、 v、yoB=v”phoGh
AMMERvvv)X、Y、この様な標準の入出力文で
データベースアクセスがムピ述さ!”したアプリケーシ
ョンプログ2ムlはコンパイラ2によって翻訳される。
1tEAp CLUB, v, yoB=v”phoGh
AMMERvvv) ``The application program 2ml is translated by the compiler 2.

該コンパイラはアプリケーションプログ2ムl中で$4
の入出力文を発見すると、それが標準のファイル(デー
タベース以外)の入出力文であるか、データベースアク
セス用の入出力文であるかを刊定する。
The compiler costs $4 in 2ml of application program.
When it finds an input/output statement, it determines whether it is a standard file (non-database) input/output statement or an input/output statement for database access.

そして標準ファイルへの入出力文であれは、コンバイン
Iのファイル用フィブラリへの叶ひ出しをオンジェクト
ルグンム3中に生成する。他方、データベースアクセス
用の入出力文であれは、データベース曾J!11部5へ
のdび出しをオブジェクトプログラム3申に生成す6 
(CAL、LDBlvlS : DBアクセス文ンとと
もに、入出力文制御材4を生成する。紙入出力大割(I
ll六4は、アプリケージ璽ンプoグラム1に1運され
たデータベースアクセス用の入出力文の火打手続を示す
ものでめp1オブジェクトプログラム3の実行時、画線
入出力文を実行するために、データベース管理部5が解
釈するものである。
If it is an input/output statement to a standard file, an output to the file fibrary of Combine I is generated in Onjector Gunm 3. On the other hand, input/output statements for database access are database so J! 11 Generate the extension to part 5 in the object program 3 6
(CAL, LDBlvlS: Generates the input/output statement control material 4 along with the DB access statement. Paper input/output major division (I
ll64 shows the flint procedure for the input/output statement for database access that is transferred to the application program program 1. When the p1 object program 3 is executed, , which is interpreted by the database management unit 5.

次にオブジェクトプログラム3の実行に1して、アプリ
ケーションプログ2ム1のデータベースアクセス用入出
力文に対応するデータベース11m部4へのけひ出しく
図中のCALLDBMS)か夾行きれると、該データベ
ース11理部5は、尚該データベースアクセス用入出力
文に対応する入出力大割#i4を入力する。データベー
スを埋s5は、該入力した入出力文制御表+<ys釈し
ながら、アプリケージ璽ン70グラムlり申の入出力文
で指定されたデータベース6のアクセスを′!A−r″
Jする0この・入出力文制御衣4の解釈・実行により、
指定でれたデータベースのアクセス手+1!IK従い、
所望のデータがアプリケージ旨ンプログラム1からデー
タベース6へと格納されたり、又はデータベース6から
アプリケーションプログ2ム1へと転送すれる。オブジ
ェクトプログラム3の実行稜、入出力文制御表は削除さ
れるものである。
Next, when the object program 3 is executed, the application program 2 (CALLDBMS in the figure) is output to the database 11m section 4 corresponding to the database access input/output statement of the application program 1. 11 The science department 5 also inputs the input/output major division #i4 corresponding to the database access input/output statement. Filling the database s5 accesses the database 6 specified by the input/output statement of the application cage code 70 grams while interpreting the input input/output statement control table +<ys. A-r''
By interpreting and executing the input/output statement control code 4,
+1 access to designated databases! According to IK,
Desired data is stored from the application program 1 to the database 6 or transferred from the database 6 to the application program 2. The execution edge and input/output statement control table of the object program 3 are deleted.

(6)発明の詳細 な説明したように、本発明によれば、 ■ 理解しやすく使い易いデータベースが実現できる。(6) Details of the invention As explained above, according to the present invention, ■ A database that is easy to understand and use can be created.

■ 利用者のアプリケーションプログラム作成効率が1
fij上する。
■ User application program creation efficiency is 1
fij up.

■ データとプログラムの独立性が確保される。■ Independence of data and programs is ensured.

■ データベース操作用プログラムの交換性/移行性が
向上する0 という動床がある
■ There is a moving platform called 0 that improves the interchangeability/migration of database operation programs.

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

図は本発明の一実施例を示す全体機能ブI:+2り図で
ある。
The figure is an overall functional block diagram showing one embodiment of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 標準グログシミング菖鯖で作成されたアプリケージ1ン
プログラムをコンパイルし、オブジェクトプログラムを
作成した恢、尚咳オブジェクトプログクムを実行するこ
とによp所望の給米を得るシステムに2いて、k4il
l華プログ2ムで書れたデータベースアクセスの入出力
文f:コンパイル時、オブジェクトプログラム中に、対
応するD]37クセス文を化成するとともに販入出力又
とデータベースアクセス制御を対応づける入出力文制御
テーブルを作成する手段と、オブジェクトプログラム夾
行時に、前記DBアクセス文と前記入出力文制御テーブ
ルを参照しつつデータベースのアクセス制御を行なう手
段を設けたことを%黴とするデータベースアクセス制御
方式。
After compiling the application program created with the standard glosiming program and creating the object program, we can also run the object program to obtain the desired amount of rice in the system.
Input/output statement for database access written in lhua program 2m: During compilation, in the object program, input/output statement that creates the corresponding D]37 access statement and associates sales input/output with database access control. A database access control method comprising means for creating a control table and means for controlling database access while referring to the DB access statement and the input/output statement control table when an object program is executed.
JP57112875A 1982-06-30 1982-06-30 Data base access controlling system Pending JPS593554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57112875A JPS593554A (en) 1982-06-30 1982-06-30 Data base access controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57112875A JPS593554A (en) 1982-06-30 1982-06-30 Data base access controlling system

Publications (1)

Publication Number Publication Date
JPS593554A true JPS593554A (en) 1984-01-10

Family

ID=14597712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57112875A Pending JPS593554A (en) 1982-06-30 1982-06-30 Data base access controlling system

Country Status (1)

Country Link
JP (1) JPS593554A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62164136A (en) * 1986-01-16 1987-07-20 Hitachi Ltd Data base access control system
JPH0275067A (en) * 1988-09-12 1990-03-14 Fujitsu Ltd Ndb access system by read/write interface

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62164136A (en) * 1986-01-16 1987-07-20 Hitachi Ltd Data base access control system
EP0230279A2 (en) * 1986-01-16 1987-07-29 Hitachi, Ltd. Method of controlling database access
JPH0275067A (en) * 1988-09-12 1990-03-14 Fujitsu Ltd Ndb access system by read/write interface

Similar Documents

Publication Publication Date Title
JPH05197685A (en) System and method for supporting translation of windowed user interface with plurality of languages
JPS6017539A (en) Emulation system
Waterman et al. PAS-II: An interactive task-free version of an automatic protocol analysis system
JPS593554A (en) Data base access controlling system
JPH0683597A (en) Object oriented program development device and object oriented program development method
JPH03182932A (en) Program generation system
JPS6386031A (en) Program producing device
JPS62171036A (en) Module sharing system for compiler
JPS63240635A (en) Software parts executing system
JPH023832A (en) Translation system for source program including input/ output sentence without format
JPH0250730A (en) Language converting system based upon common machine word
JPS62163146A (en) Conversion processing system for computer language
JPS61169936A (en) Automatic generation system of job control language
JP2695534B2 (en) Variable visibility control method
JPS61234434A (en) Program editing system
JPH04263321A (en) Processor for generation of program updating information
Mizel Using SCCS to manage APL2 development projects
JPH0272407A (en) Ladder program converter
JPS63178345A (en) Data base access processing system
JPH07114465A (en) System function verification method
Cowling et al. MICROSIM as a teaching aid
JPH02267626A (en) Job driving device
JPS62160536A (en) Cobol syntax converting method
JP2003216428A (en) Object-oriented programming supporting device
JPH01292526A (en) Cooperative editing system for program