JPH036617A - Support processing system for plural code systems of single scheme - Google Patents

Support processing system for plural code systems of single scheme

Info

Publication number
JPH036617A
JPH036617A JP14082789A JP14082789A JPH036617A JP H036617 A JPH036617 A JP H036617A JP 14082789 A JP14082789 A JP 14082789A JP 14082789 A JP14082789 A JP 14082789A JP H036617 A JPH036617 A JP H036617A
Authority
JP
Japan
Prior art keywords
code
application program
code system
type
area
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
JP14082789A
Other languages
Japanese (ja)
Inventor
Kazuhiko Suzuki
一彦 鈴木
Hiromitsu Mochizuki
望月 大光
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 JP14082789A priority Critical patent/JPH036617A/en
Publication of JPH036617A publication Critical patent/JPH036617A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate the support of plural code schemes in a single system by attaining the succession of information on the code systems in the form of a common interface between an applied program and a library, etc., developed as a separate product. CONSTITUTION:A code scheme setting area 11 serves as a storage area which stores the type of the code scheme which is presently treated. A code scheme set-up processing part 12 sets the type of the code scheme at the area 11, and a code scheme reference processing part 13 reads out the type of the code scheme out of the area 11. A master applied program 14 calls the part 12, and a slave applied program 15 calls the part 13. Then, the type of the code scheme treated by the program 14 is succeeded via the area 11, and one of plural code schemes is processed. As a result, plural code schemes can be easily supported by a single system. Then the productivity, the interchangeability, and the maintainability, etc., are improved for various libraries, etc.

Description

【発明の詳細な説明】 〔概要〕 親応用プログラムと、それから呼び出される子応用プロ
グラムとが、複数コード系を扱うようにされた計算機シ
ステムにおける単一システムでの複数コード系サポート
処理方式に関し。
DETAILED DESCRIPTION OF THE INVENTION [Summary] This invention relates to a processing method for supporting multiple code systems in a single system in a computer system in which a parent application program and a child application program called from the parent application program handle multiple code systems.

応用プログラムと、別製品として開発されるライブラリ
等との間のコード系の情報引き継ぎを。
Transfer code information between application programs and libraries developed as separate products.

共通インタフェースとして実現することにより。By realizing it as a common interface.

単一システムでの複数コード系のサポートを容易にする
ことを目的とし 現在扱っているコード系の種類を記憶するコード系設定
域と、このコード系設定域に、コード系の種類を設定す
るコード系設定処理手段と、このコード系設定域に設定
されたコード系の種類を読み出すコード系参照処理手段
とを備え、親応用プログラムにおいて、上記コード系設
定処理手段を呼び出し、子応用プログラムにおいて、上
記コード系参照処理手段を呼び出すことにより、複数コ
ード系における1つのコード系に対する処理を行うよう
に構成する。
The purpose of this is to facilitate the support of multiple chord systems in a single system.There is a chord system setting area that stores the type of chord system currently being handled, and a code that sets the type of chord system in this chord system setting area. system setting processing means; and a code system reference processing means for reading out the type of code system set in this code system setting area; in the parent application program, the code system setting processing means is called; By calling the code system reference processing means, processing for one code system among a plurality of code systems is performed.

〔産業上の利用分野〕[Industrial application field]

本発明は、親応用プログラムと、それから呼び出される
子応用プログラムとが、複数コード系を扱うようにされ
た計算機システムにおける単一システムでの複数コード
系サポート処理方式に関する。
The present invention relates to a processing method for supporting multiple code systems in a single system in a computer system in which a parent application program and child application programs called from the parent application program handle multiple code systems.

〔従来の技術〕[Conventional technology]

第3図は従来方式の例を示す。 FIG. 3 shows an example of the conventional method.

従来、一般に、1つの応用プログラムは、1つのコード
系に対してのみ処理できるようになっているのが普通で
あった。しかし、複数コード系に対応できるような応用
プログラムの要望もあり複数コード系を単一システムで
扱うことができるようにすることが考えられている。
Conventionally, one application program was generally capable of processing only one code system. However, there is a demand for application programs that can handle multiple code systems, and it is being considered to be able to handle multiple code systems in a single system.

このようなシステムでは3例えば複数コード系の存在す
るシステムで動作するFORTRAN応用プログラム3
4は、第3図に示すように5処理■により、自分のコー
ド系を判定する。そして。
In such a system, 3 For example, a FORTRAN application program that operates on a system where multiple code systems exist.
4, as shown in FIG. 3, determines its own chord system through process 5 (2). and.

各種のライブラリ呼び出しが必要な場合には、そのコー
ド系を扱う3亥当するライブラリ35を選を尺しく処理
■)、そのライブラリ35の呼び出しを行う(処理■)
If various library calls are required, carefully select the appropriate library 35 that handles the code system (■), and call that library 35 (processing ■).
.

呼び出されたライブラリ35は、処理■によりそのライ
ブラリの処理を行い1文字列の出力が必要な場合には、
自コード系の文字列出力などを行う(処理■)。そして
、それらの処理が終了した後、呼び出し元へ復帰する。
The called library 35 processes the library according to process 3, and if it is necessary to output one character string,
Outputs character strings of own code (processing ■). After these processes are completed, the process returns to the calling source.

呼び出し元のFORTRAN応用プログラム34は、必
要に応じて文字列出力(処理■)などを行う。
The FORTRAN application program 34 that is the calling source performs character string output (processing ■) as necessary.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

一般に従来方式では、各応用プログラムで扱うことので
きるコード系が固定化され、各応用プログラムに閉じた
コード系となってしまうという問題があった。また、親
の応用プログラムがコード系を判定する場合であっても
、ライブラリ35をコード系ごとに用意しなければなら
ず、単一コードだけをサポートしたライブラリ35など
で文字列を出力しようとすると5親のFORTRAN応
用プログラム34が出力する文字列と一致しない場合が
あるため、事前にチェンジしてエラーにしなければなら
ないなどといった問題があった。
In general, conventional methods have a problem in that the code system that can be handled by each application program is fixed, resulting in a code system that is closed to each application program. Furthermore, even if the parent application program determines the code system, a library 35 must be prepared for each code system, and if you try to output a string with a library 35 that supports only a single code, 5. Since the character string may not match the character string output by the parent FORTRAN application program 34, there is a problem that it is necessary to change the character string in advance to generate an error.

また、FORTRAN応用プログラム34などでは、各
種の数学関数ライブラリを使用することがあるが、これ
らが別製品として開発され、提供されることが多いため
、親子のプログラム間で。
In addition, various mathematical function libraries may be used in FORTRAN application programs 34, etc., but since these are often developed and provided as separate products, there may be differences between parent and child programs.

個々にコード系の扱いに関するインタフェースを持つと
、生産性や保守性が悪くなるという問題もあった。
Having individual interfaces for handling code systems also had the problem of poor productivity and maintainability.

本発明は上記問題点の解決を図り、応用プログラムと、
別製品として開発されるライブラリ等との間のコード系
の情報引き継ぎを、共通インタフェースとして実現する
ことにより、単一システムでの複数コード系のサポート
を容易にすることを目的としている。
The present invention aims to solve the above problems, and includes an application program and
The purpose is to facilitate the support of multiple code systems in a single system by realizing the inheritance of code system information between libraries and the like developed as separate products as a common interface.

〔課題を解決するための手段] 第1図は本発明の原理構成図である。[Means to solve the problem] FIG. 1 is a diagram showing the principle configuration of the present invention.

第1図において、IOはCPUおよびメモリ等からなる
処理装置、11はコード系設定域512は共通インタフ
ェースとして提供されるコード系設定処理部、13は共
通インタフェースとして提供されるコード系参照処理部
、14は親応用プログラム、15は子応用プログラムを
表す。
In FIG. 1, IO is a processing device including a CPU and memory, 11 is a code system setting area 512 is a code system setting processing section provided as a common interface, 13 is a code system reference processing section provided as a common interface, 14 represents a parent application program, and 15 represents a child application program.

このシステムでは、親応用プログラム14と。In this system, the parent application program 14.

この親応用プログラム14から呼び出される子応用プロ
グラム15とが動作するようになっており。
A child application program 15 called from this parent application program 14 is configured to operate.

親応用プログラム14または子応用プログラム15が複
数コード系を扱うように構成されている。
The parent application program 14 or the child application program 15 is configured to handle multiple code systems.

コード系設定域11は、現在扱っているコード系の種類
を記憶する記憶領域であり、システムが管理する所定の
共A iJI域などに設けられる。
The chord system setting area 11 is a storage area for storing the type of chord system currently being handled, and is provided in a predetermined common AiJI area managed by the system.

コード系設定処理部12は、コード系設定域11にコー
ド系の種類を設定する処理を行う。コード系参照処理部
13は、コード系設定域11に設定されたコード系の種
類を読み出す処理を行う。
The chord system setting processing section 12 performs processing for setting the type of chord system in the chord system setting area 11. The code system reference processing unit 13 performs a process of reading out the type of code system set in the code system setting area 11.

親応用プログラム14において、コード系設定処理部1
2を呼び出し、手応用プログラム15において、コード
系参照処理部13を呼び出すことにより、コード系設定
域11を介して、親応用プログラム14が扱っているコ
ード系のfff[の引き継ぎを行い、複数コード系にお
ける1つのコード系に対する処理を行うようになってい
る。
In the parent application program 14, the code system setting processing section 1
2 and calls the code system reference processing unit 13 in the manual application program 15 to inherit the code system fff[ handled by the parent application program 14 via the code system setting area 11, and Processing is performed for one code system in the system.

〔作用〕[Effect]

親応用プログラム14は、コード系設定処理部12によ
って、システム共通域などに設けられるコード系設定域
11に、どのコード系で動作しているかを示す情報を設
定する。
The parent application program 14 uses the code system setting processing unit 12 to set information indicating which code system is being operated in a code system setting area 11 provided in a system common area or the like.

手応用プログラム15は、親応用プログラム14から呼
び出されると、コード系参照処理部13により、コード
系設定域11に設定されている親応用プログラム14の
扱うコード系を知ることができる。それにより、親応用
プログラム14が出力する文字列と手応用プログラム1
5が出力する文字列などのコード系を一致させることが
できる。
When the manual application program 15 is called from the parent application program 14, the code system reference processing section 13 allows the manual application program 15 to know the code system handled by the parent application program 14, which is set in the code system setting area 11. As a result, the character string output by the parent application program 14 and the manual application program 1
It is possible to match code systems such as character strings output by 5.

コード系設定処理部12およびコード系参照処理部13
が、すべての応用プログラムで共通なインタフェースと
して提供されるため、親応用プログラム14および手応
用プログラム15を、それぞれ独立に開発しても、コー
ド系を統一的に扱うことが容易にできるようになる。
Code system setting processing section 12 and code system reference processing section 13
is provided as a common interface for all application programs, so even if the parent application program 14 and manual application program 15 are developed independently, the code system can be easily handled in a unified manner. .

(実施例〕 第2図は本発明の実施例を示す。(Example〕 FIG. 2 shows an embodiment of the invention.

第2図において、21はシステム共通域、22はコード
系設定域11にコード系の種類を設定する関数を処理す
る5ETCODE関数処理部で。
In FIG. 2, 21 is a system common area, and 22 is a 5ETCODE function processing unit that processes a function for setting the type of code system in the code system setting area 11.

第1図に示すコード系設定処理部12に対応するもの、
23はコード系設定域11からコード系の種類を読み出
す関数を処理するGETCODE関数処理部で、第1図
に示すコード系参照処理部13に対応するもの、24は
FORTRAN応用プログラムで、第1図に示す親応用
プログラム14に対応するもの、25はライブラリ(L
IBI)で、第1図に示す手応用プログラム15に対応
するものを表す。
What corresponds to the code system setting processing section 12 shown in FIG.
23 is a GETCODE function processing unit that processes a function to read the type of code system from the code system setting area 11, which corresponds to the code system reference processing unit 13 shown in FIG. 1; 24 is a FORTRAN application program; 25 corresponds to the parent application program 14 shown in FIG.
IBI) corresponds to the manual application program 15 shown in FIG.

第2図に示す実施例は、FORTRAN言語処理系で、
複数コード系をサポートする例を示している。コード系
は、ASCIIコード系とEBCDICコード系が存在
するものとする。以下、第2図に示す■〜■に従って説
明する。
The embodiment shown in FIG. 2 is a FORTRAN language processing system,
An example of supporting multiple code systems is shown. It is assumed that there are two code systems: an ASCII code system and an EBCDIC code system. The explanation will be given below according to (1) to (2) shown in FIG.

■ FORTRAN応用プログラム24は、自分の動作
するコード系(ASCII)を設定するため、5ETC
ODE関数を呼び出す。
■ The FORTRAN application program 24 uses 5ETC to set its own operating code system (ASCII).
Call the ODE function.

■ 5ETCODE関数処理部22は、5ETCODE
関数の呼び出しにより、ASCIIコード系を使用する
ことを示す情報を、システム共通域21に設けられたコ
ード系設定域11に設定する。
■ The 5ETCODE function processing unit 22
By calling the function, information indicating that the ASCII code system is used is set in the code system setting area 11 provided in the system common area 21.

■ FORTRAN応用プログラム24がら、数学関数
ライブラリなどのライブラリ(LIBI)25を呼び出
す。
■ Call a library (LIBI) 25 such as a mathematical function library from the FORTRAN application program 24.

■ ライブラリ25では、ytのコード系を参照するた
め、C,ETCODE関数を呼び出す。
■ The library 25 calls the C, ETCODE function to refer to the code system of yt.

■ GETCODE関数処理部23は、GETCODE
関数の呼び出しにより、ASCIIコード系を使用する
ことを示す情報を、コード系設定域11から読み出して
通知する。
■ The GETCODE function processing unit 23
By calling the function, information indicating that the ASCII code system is to be used is read from the code system setting area 11 and notified.

■ これにより、ライブラリ25内で、FORTRAN
応用プログラム24が使用するコード系を知ることがで
きる。そのコード系(ASCII)を判定し、コード系
に応じた処理を行う。
■ This allows FORTRAN in library 25.
The code system used by the application program 24 can be known. The code system (ASCII) is determined and processing according to the code system is performed.

■〜■ 以上により5 ライブラリ25が出力するヘン
ダなどの文字列と、FORTRAN応用プログラム24
が出力する文字列とを、一致したコード系のもとに出力
させることが可能になる。
■〜■ As a result of the above, 5 character strings such as hender output by the library 25 and the FORTRAN application program 24
It becomes possible to output the character string output by using the matching code system.

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

以上説明したように1本発明によれば システム共通の
設定/参照インタフェースを持つことにより、上位の応
用プログラムと、下位に位置付けられるライブラリを含
む応用プログラムとの間で同一のコード系を扱うことが
可能になり、特にリスト出力時などに有効である。
As explained above, according to the present invention, by having a system-common setting/reference interface, it is possible to handle the same code system between a higher-level application program and a lower-level application program including a library. This is especially effective when outputting a list.

単一システムで複数コード系を容易にサポートすること
ができ、各種ライブラリ等の生産性、互換性、保守性な
どが向上する。
A single system can easily support multiple code systems, improving productivity, compatibility, maintainability, etc. of various libraries.

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

第1図は本発明の原理構成図 第2図は本発明の実施例 第3図は従来方式の例を示す。 図中、10は処理装置、11はコード系設定域512は
コード系設定処理部、13はコード系参照処理部、14
は親応用プログラム、15は子応用プログラムを表す。
FIG. 1 shows the basic configuration of the present invention. FIG. 2 shows an embodiment of the invention. FIG. 3 shows an example of a conventional system. In the figure, 10 is a processing device, 11 is a code system setting area 512 is a code system setting processing section, 13 is a code system reference processing section, and 14 is a code system setting processing section.
15 represents a parent application program, and 15 represents a child application program.

Claims (1)

【特許請求の範囲】 親応用プログラム(14)と、この親応用プログラム(
14)から呼び出される子応用プログラム(15)とが
動作する計算機システムであって、親応用プログラム(
14)または子応用プログラム(15)が複数コード系
を扱うようにされた計算機システムにおいて、 現在扱っているコード系の種類を記憶するコード系設定
域(11)と、 このコード系設定域(11)に、コード系の種類を設定
するコード系設定処理手段(12)と、このコード系設
定域(11)に設定されたコード系の種類を読み出すコ
ード系参照処理手段(13)とを備え、 親応用プログラム(14)において、上記コード系設定
処理手段(12)を呼び出し、子応用プログラム(15
)において、上記コード系参照処理手段(13)を呼び
出すことにより、複数コード系における1つのコード系
に対する処理を行うようにしたことを特徴とする単一シ
ステムでの複数コード系サポート処理方式。
[Claims] A parent application program (14) and this parent application program (
A computer system in which a child application program (15) called from a parent application program (14) operates;
14) or a computer system in which the child application program (15) handles multiple code systems, there is a code system setting area (11) that stores the type of code system currently being handled, and this code system setting area (11). ), comprising a code system setting processing means (12) for setting the type of code system, and a code system reference processing means (13) for reading the type of code system set in the code system setting area (11), In the parent application program (14), the code system setting processing means (12) is called, and the child application program (15) is called.
), the method for supporting multiple code systems in a single system is characterized in that processing for one code system among multiple code systems is performed by calling the code system reference processing means (13).
JP14082789A 1989-06-02 1989-06-02 Support processing system for plural code systems of single scheme Pending JPH036617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14082789A JPH036617A (en) 1989-06-02 1989-06-02 Support processing system for plural code systems of single scheme

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14082789A JPH036617A (en) 1989-06-02 1989-06-02 Support processing system for plural code systems of single scheme

Publications (1)

Publication Number Publication Date
JPH036617A true JPH036617A (en) 1991-01-14

Family

ID=15277643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14082789A Pending JPH036617A (en) 1989-06-02 1989-06-02 Support processing system for plural code systems of single scheme

Country Status (1)

Country Link
JP (1) JPH036617A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101239010B1 (en) * 2005-09-05 2013-03-04 덴끼 가가꾸 고교 가부시키가이샤 Resin composition and hybrid integrated circuit board making use of the same
US9116015B2 (en) 2009-01-29 2015-08-25 Kubota Corporation Display system for work vehicle having a display switching command device for switching a display in a display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101239010B1 (en) * 2005-09-05 2013-03-04 덴끼 가가꾸 고교 가부시키가이샤 Resin composition and hybrid integrated circuit board making use of the same
US9116015B2 (en) 2009-01-29 2015-08-25 Kubota Corporation Display system for work vehicle having a display switching command device for switching a display in a display device

Similar Documents

Publication Publication Date Title
JPH036617A (en) Support processing system for plural code systems of single scheme
JPH04107990A (en) Packaging data conversion method
EP0549112A3 (en)
JPH058674U (en) Information transmission device SP / PS card data processing system
JPH0231208A (en) Programming unit
JPS62135958A (en) Simulation system
JPH02280228A (en) System for converting input data
JPS62285129A (en) Knowledge acquisition processor
JPH02133801A (en) Programmable controller
JPH04178827A (en) Character code mutual conversion system
JPS62209671A (en) Drawing control system
JPH0228807A (en) Program input method in programmable controller
JPH0795296B2 (en) Information sharing processing method in data processing system
JPS6126165A (en) Input device of digital signal
JPS60173609A (en) Service code teaching system in robot
JPH02285420A (en) Parameter setting system
JPH02121527A (en) Code data converting device
JPS63305419A (en) Editing system for code data
JPS63128438A (en) Checking method for external procedure calling style of compiler
JPS628230A (en) Program specialization system
JPS62216036A (en) Program deciding system
JPH02118748A (en) Input output control system
JPS61150006A (en) Programmable controller
JPH03237577A (en) Automatic sorting processing system for data flow program
JPS62288919A (en) Function selecting device