JPH0553783A - System for generating common original plate of code table for program and code table for user - Google Patents

System for generating common original plate of code table for program and code table for user

Info

Publication number
JPH0553783A
JPH0553783A JP23901091A JP23901091A JPH0553783A JP H0553783 A JPH0553783 A JP H0553783A JP 23901091 A JP23901091 A JP 23901091A JP 23901091 A JP23901091 A JP 23901091A JP H0553783 A JPH0553783 A JP H0553783A
Authority
JP
Japan
Prior art keywords
code table
program
user
code
original plate
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
JP23901091A
Other languages
Japanese (ja)
Inventor
Masayuki Tachibana
正之 立花
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP23901091A priority Critical patent/JPH0553783A/en
Publication of JPH0553783A publication Critical patent/JPH0553783A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate a contradiction between a code table for a program and the code table for a user so as to improve productivity in order to encode data in system development by generating the common original plate of the code table which is mechanically changeable to the both code tables for the program and for the user. CONSTITUTION:After a code specifications are decided (101), the original plan of the common original plate is generated based on it (102). The element in terms of the least common multiple element of the code table for the user and the code table for the program is incorporated in the plan. When an input is completed, work for recognizing whether an input error exists or not is execute (103) and the error is corrected (106) when it is found out. The dedicated conversion program is generated (105) for converting the generated common original plate of the code table into the code table for the user and the code table for the program which are formats finally needed. When the code specifications has to be changed, the common original plate is corrected.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は電子計算機システムの開
発において、利用者プログラムのコーディングおよび利
用者のためのコード表を作成するときのプログラム用コ
ード表と利用者用コードの共通原版作成方式に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a common original generation method of a program code table and a user code when coding a user program and creating a code table for the user in the development of an electronic computer system. It is a thing.

【0002】[0002]

【従来の技術】従来、電子計算機システム上で処理する
データをコード化する場合の開発時の方法としては、
(1) 最適なコード体系を決定しコード表の下書きを
作成する。(2) その下書きを元にしてプログラムを
コーディングする際に必要なコード表を画面エディタを
使用して入力する。(3) 入力後、プログラム用コー
ド表に誤りが無いかどうかの確認を人間が行い、誤りを
発見した場合はこれを修正する。(4) 複数のプログ
ラムでコード変換表を利用可能にするため、これをコピ
ー原文として登録し、プログラム開発に使用する。
(5) 下書きを元にして、電子計算機システム利用者
が参照するためのコード表の正式版を作成する。この正
式版は通常、印刷業者に発注したり、日本語ワードプロ
セッサを用いたりして活字化するのが一般的である。
(6) でき上った利用者用コード表の正式版に誤植,
入力ミスによる誤りがないかどうかの確認作業を人手に
より行い、誤りを発見した場合はこれを修正する。とい
った内容であった。
2. Description of the Related Art Conventionally, as a method at the time of development for coding data to be processed on an electronic computer system,
(1) Determine the optimum code system and create a draft of the code table. (2) Use the screen editor to enter the code table required when coding a program based on the draft. (3) After inputting, a person checks whether or not there is an error in the program code table, and if an error is found, correct it. (4) To make the code conversion table available to multiple programs, register it as a copy source text and use it for program development.
(5) Create a formal version of the code table for reference by the computer system user based on the draft. This official version is usually printed by a printing company or printed using a Japanese word processor.
(6) Typographical error in the official version of the completed user code table,
If any mistakes are found, correct them by hand to check if there are any mistakes due to input mistakes. It was such content.

【0003】従来の方法によるコード仕様決定からプロ
グラム用コード表,利用者用コード表完成までの一般的
な作業の流れを図3のフローチャートに示す。そして、
各ステップ201〜209においてはそれぞれ所定の処
理を実行する。
A flow chart of FIG. 3 shows a general work flow from the code specification determination by the conventional method to the completion of the program code table and the user code table. And
In each of steps 201 to 209, a predetermined process is executed.

【0004】[0004]

【発明が解決しようとする課題】上記のような従来の方
法では、プログラム用コード表と利用者用コード表の作
成を別工程で行っていたために、それぞれの工程で誤り
が混入する可能性があり、これを取り除くために、人手
による多大な工数が必要になるという課題があった。ま
た、コードそのものに変更が生じた場合、どちらか片方
の直し忘れが発生するおそれもあるという課題があっ
た。
In the conventional method as described above, since the program code table and the user code table are created in separate steps, there is a possibility that an error may be mixed in each step. However, there is a problem that a large number of man-hours are required to remove this. In addition, when the code itself is changed, there is a possibility that one of them may be left uncorrected.

【0005】[0005]

【課題を解決するための手段】本発明のプログラム用コ
ード表と利用者用コード表の共通原版作成方式は、プロ
グラム内で使用するコード表と利用者のためのコード表
の両方に機械的変換し得るコード表の共通原版を作成す
る作成手段を備えてなるものである。
SUMMARY OF THE INVENTION A common original generation method of a program code table and a user code table of the present invention is mechanically converted into both a code table used in a program and a code table for a user. It is provided with a creating means for creating a common original version of the possible code table.

【0006】[0006]

【作用】本発明においては、プログラム用コード表と利
用者用コード表の両方に機械的に変換することが可能な
コード表の共通原版を作成する。
In the present invention, the common original version of the code table that can be mechanically converted into both the program code table and the user code table is created.

【0007】[0007]

【実施例】図1は本発明によるプログラム用コード表と
利用者用コード表の共通原版作成方式の一実施例を説明
するためのフローチャートで、コード仕様決定からプロ
グラム用コード表,利用者用コード表が完成するまでの
作業の流れを示したものである。各ステップ101〜1
06においてはそれぞれ所定の処理を実行する。そし
て、プログラム内で使用するコード表と利用者のための
コード表の両方に機械的変換し得るコード表の共通原版
を作成する作成手段を備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a flow chart for explaining an embodiment of a method for creating a common original of a program code table and a user code table according to the present invention. From the code specification determination to the program code table and the user code. It shows the flow of work until the table is completed. Steps 101 to 1
At 06, a predetermined process is executed. Further, it is provided with a creating means for creating a common original version of the code table that can be mechanically converted into both the code table used in the program and the code table for the user.

【0008】図2は図1の説明に供するプログラム用コ
ード表,利用者用コード表の共通原版を構成するレコー
ドのレイアウトを概念的に示した説明図である。なお、
利用コード,用途コード等の名称は便宜的に採用したも
のであり、特にこの通りでなくともよく、また、項目の
順序に関しても、特にこの順序である必要はない。
FIG. 2 is an explanatory view conceptually showing the layout of the records constituting the common original plate of the program code table and the user code table used in the explanation of FIG. In addition,
The names such as the usage code and the usage code are adopted for the sake of convenience, and may not be exactly as they are, and the order of the items does not have to be this order.

【0009】この図2において、1は便宜的に採用した
利用コードを示し、2は便宜的に採用した用途コード、
3は内容を示す。そして、この利用コード1は、プログ
ラム用コード表、利用者用コード表とも利用しない(コ
メント)レコードであり、また、プログラム用コード表
でのみ利用するレコードであり、また、利用者用コード
表でのみ利用するレコードであり、さらに、プログラム
用コード表と利用者用コード表の両方で利用するレコー
ドであり、これらは識別するためのコードである利用コ
ードである。
In FIG. 2, 1 is a usage code that is used for convenience, and 2 is a usage code that is used for convenience.
3 shows the contents. The usage code 1 is a record that is not used (comment) in both the program code table and the user code table, is a record that is used only in the program code table, and is also used in the user code table. These are records that are used only, and are records that are used in both the program code table and the user code table, and these are usage codes that are codes for identification.

【0010】つぎに図1に示す実施例の作業について図
2を参照して説明する。まず、コード仕様を決定した後
(ステップ101)、これに基づいて共通原版の原案を
作成する(ステップ102)。これには利用者用コード
表とプログラム用コード表の最小公倍数的要素を盛り込
む。ここで、例として、銀行預金の種類をコード化し、
これによって預金の日本語名称を得るためのコード表を
作成する場合を想定する。プログラム用コード表と利用
者用コード表の両方で必要となる項目には「表題」,
「要素数」,「コード番号」,「預金日本語名称」など
がある。ここで重要なことは共通する項目は一元化し、
重複して入力しない配慮をすることである。そして、利
用者用コード表にのみ必要な項目には「作成年月日」,
「最新修正年月日」,「リビジョン」,「担当者」など
があり、必要により取捨選択を行う。また、プログラム
用コード表にのみ必要な項目としては「コード番号」の
項目名,属性,桁数,「預金日本語名称」の項目名,属
性,桁数等である。これらの表現方法に関してはプログ
ラムを記述するのに用いる言語の文法を考慮し、それに
最適な形にする。例えば、COBL言語を用いてプログ
ラムを記述するのであれば、「コード番号」の項目名は
YoKiNCD,属性は9,桁数は2というようにす
る。
Next, the operation of the embodiment shown in FIG. 1 will be described with reference to FIG. First, after the code specifications are determined (step 101), a common original draft is created based on the code specifications (step 102). It contains the least common multiple elements of the user code table and program code table. Here, as an example, code the type of bank deposit,
It is assumed that the code table for obtaining the Japanese name of the deposit is created by this. Items required in both the code table for programs and the code table for users are "Title",
There are "number of elements", "code number", "deposit Japanese name", etc. The important thing here is to unify common items,
Care should be taken to avoid duplication. And the item that is required only in the user code table is "creation date",
"Latest revision date", "Revision", "Person in charge", etc. are available, and selection is made as necessary. Items required only in the program code table are the item name, attribute, number of digits of "code number", item name, attribute, number of digits of "deposit Japanese name", and the like. Regarding these representation methods, consider the grammar of the language used to write the program and make it into the optimum form. For example, if a program is written using the COBL language, the item name of "code number" is YoKiNCD, the attribute is 9, and the number of digits is 2.

【0011】つぎの作業として、この共通原版の原案を
コンピュータで処理可能な一つのファイルに登録する作
業を行う。この作業は一般的にパーソナルコンピュータ
上で利用されているファイル操作用簡易言語を用いる
か、専用の入力用プログラムを作成する。このときの登
録レコードのフォーマットを図2に示す。このレコード
の特徴は、前述の共通原版の原案作成時に分類した、利
用者用コード表とプログラム用コード表に共通利用,利
用者用コード表のみに利用,プログラム用コード表のみ
に利用のいずれかであることを識別するためのコードで
ある「利用コード」が付加されていることである。さら
に、それぞれの利用コードを持つレコードを細分化する
必要がある場合には、「用途コード」といったものを付
加してこれを識別するために用いる。
As the next work, the work of registering the original draft of this common original in one file that can be processed by a computer is performed. This work uses a simple file operation language generally used on a personal computer or creates a dedicated input program. The format of the registration record at this time is shown in FIG. This record has one of the following characteristics: common use for the user code table and program code table, used only for the user code table, and used only for the program code table, which were categorized when the draft of the common original version was created. That is, a "use code" that is a code for identifying that Furthermore, when it is necessary to subdivide a record having each usage code, a "use code" is added and used to identify this.

【0012】つぎに、入力が完了したならば、入力誤り
が無いかどうかの確認作業を行い(ステップ103)、
誤りが見つかった場合はこれを修正する(ステップ10
6)。ここで修正を行う限り片方の修正忘れによる矛盾
が発生することはない。
Next, when the input is completed, a confirmation work is performed to see if there is an input error (step 103).
If an error is found, correct it (step 10).
6). As long as the correction is made here, no contradiction occurs due to forgetting one of the corrections.

【0013】このようにして作成したコード表の共通原
版を最終的に必要な形式である利用者用コード表および
プログラム用コード表に変換するためには専用の変換プ
ログラムを作成する(ステップ106)。利用者用コー
ド表に関しては、ファイル操作用簡易言語の印字機能を
利用できる形に変換した後、これにより印字することも
でき、また、専用プログラムにより独自の形式で印字す
ることもできる。そして、プログラム用コード表につい
てはプログラムを記述するのに用いる言語の文法に合う
形に変換できるような仕様にする。
In order to convert the common original plate of the code table thus created into the user required code table and the program code table, which are finally required formats, a dedicated conversion program is created (step 106). .. The user code table can be printed by converting it to a form in which the printing function of the file operation simple language can be used, or by a dedicated program in its own format. The code table for the program is designed so that it can be converted into a form that matches the grammar of the language used to write the program.

【0014】そして、コード仕様に変更が生じた場合に
は、共通原版に対して修正を行い、以後の処理を再び実
行する。この場合、修正入力,確認作業以外の作業は機
械によって行われるので、作業者の労力が軽減されると
ともに、片方の直し忘れにより利用者用コード表,プロ
グラム用コード表間に矛盾が生じる恐れが無い。
When the code specifications are changed, the common original is corrected and the subsequent processing is executed again. In this case, since the work other than the correction input and the confirmation work is performed by the machine, the labor of the worker is reduced, and there is a possibility that a contradiction may occur between the user code table and the program code table due to forgetting to fix one of them. There is no.

【0015】[0015]

【発明の効果】以上説明したように本発明は、プログラ
ム用コード表と利用者用コード表の両方に機械的に変更
することが可能なコード表の共通原版を作成するように
したので、入力誤りの確認作業は共通原版に対してのみ
行えば良く、人手による確認作業が半減するという効果
を有し、また、コードに変更が生じた場合、プログラム
用コード表、利用者用コード表のいずれか片方の直し忘
れによる矛盾が発生しないという利点があり、さらに、
プログラム用コード表,利用者用コード表に共通する項
目の入力は1回で良く、したがって、入力の手間が減少
するという効果があり、システムの品質向上と、開発工
数の削減が図れるという顕著な効果を発揮する。
As described above, according to the present invention, the common original plate of the code table that can be mechanically changed is created in both the program code table and the user code table. It is only necessary to perform the error confirmation work on the common original version, which has the effect of halving the manual confirmation work. Also, if there is a change in the code, either the program code table or the user code table will be used. There is the advantage that no contradiction occurs due to forgetting to fix one of the
The items common to both the code table for programs and the code table for users need only be entered once, which has the effect of reducing the time and effort required for inputting, and it is remarkable that system quality can be improved and development man-hours can be reduced. Exert an effect.

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

【図1】本発明のプログラム用コード表と利用者用コー
ド表の共通原版作成方式の一実施例を説明するためのフ
ローチャートである。
FIG. 1 is a flowchart for explaining an embodiment of a common original creation method of a program code table and a user code table of the present invention.

【図2】図1の説明に供するプログラム用コード表と利
用者用コード表の共通原版を構成するレコードのレイア
ウトを概念的に示す説明図である。
FIG. 2 is an explanatory view conceptually showing the layout of records constituting a common original plate of the code table for programs and the code table for users used in the explanation of FIG.

【図3】従来の方法によるコード仕様決定からプログラ
ム用コード表,利用者用コード表完成までの一般的な作
業の流れを示すフローチャートである。
FIG. 3 is a flowchart showing a general work flow from code specification determination by a conventional method to program code table and user code table completion.

【符号の説明】[Explanation of symbols]

1 利用コード 2 用途コード 3 内容 101〜106 ステップ 1 Usage code 2 Usage code 3 Contents 101 to 106 steps

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラム内で使用するコード表と利用
者のためのコード表の両方に機械的変換し得るコード表
の共通原版を作成する作成手段を備えてなることを特徴
とするプログラム用コード表と利用者用コード表の共通
原版作成方式。
1. A code for a program comprising a creating means for creating a common original version of a code table that can be mechanically converted into both a code table used in a program and a code table for a user. A common original creation method for tables and user code tables.
JP23901091A 1991-08-27 1991-08-27 System for generating common original plate of code table for program and code table for user Pending JPH0553783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23901091A JPH0553783A (en) 1991-08-27 1991-08-27 System for generating common original plate of code table for program and code table for user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23901091A JPH0553783A (en) 1991-08-27 1991-08-27 System for generating common original plate of code table for program and code table for user

Publications (1)

Publication Number Publication Date
JPH0553783A true JPH0553783A (en) 1993-03-05

Family

ID=17038556

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23901091A Pending JPH0553783A (en) 1991-08-27 1991-08-27 System for generating common original plate of code table for program and code table for user

Country Status (1)

Country Link
JP (1) JPH0553783A (en)

Similar Documents

Publication Publication Date Title
JPS5968040A (en) Card format change processing system
JPH0553783A (en) System for generating common original plate of code table for program and code table for user
JPH1097417A (en) Program assembling device and storage medium
JP3567299B2 (en) Graph generation output device
JP2005043931A (en) System for automatically generating program and method for automatically generating program
JP2692196B2 (en) Test data editing method
JPH11249775A (en) Slip generation system
JPH06139061A (en) Program specification inverse preparing method
JP2604551B2 (en) File dump output support method
JP3830579B2 (en) Information analysis / editing system
JPH0991359A (en) Method and device for designing physical file
CN117270830A (en) Intelligent generation method and system for back-end codes based on front-end visual configuration
JP3034527B2 (en) Editor device
JP2000011072A (en) Method for generating data printing program
JP2000105796A (en) Character reading system and read result correction processing method for the system
JPS62144234A (en) Slip print system
JPH0314170A (en) Business form generating device
JPH03141428A (en) Automatic preparation system of cobol copy sentence for output of slip
JPH03141427A (en) Preparation of information on standard record specifications
JPH04243477A (en) Index word extraction method for natural language processing system
JPS6214278A (en) Information processing system
JPH06223123A (en) Drawing control method
JPH05158767A (en) Method and device for file conversion
JPH05210492A (en) Graphic preparing system
Whitmore et al. A Cheap, Rapid and Accurate Procedure for Typing, Printing and Indexing Taxonomic Literature