JPH03116223A - Screen control system for input of variable length data - Google Patents

Screen control system for input of variable length data

Info

Publication number
JPH03116223A
JPH03116223A JP1251942A JP25194289A JPH03116223A JP H03116223 A JPH03116223 A JP H03116223A JP 1251942 A JP1251942 A JP 1251942A JP 25194289 A JP25194289 A JP 25194289A JP H03116223 A JPH03116223 A JP H03116223A
Authority
JP
Japan
Prior art keywords
data
screen
information
item
length
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
JP1251942A
Other languages
Japanese (ja)
Inventor
Masahiro Miyazawa
宮澤 政裕
Naoki Kusano
直樹 草野
Toru Watanabe
徹 渡辺
Morimitsu Kubo
盛光 久保
Masayuki Yoshida
吉田 政之
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.)
Hitachi Ltd
Hitachi Plant Technologies Ltd
Original Assignee
Hitachi Techno Engineering Co Ltd
Hitachi 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 Hitachi Techno Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Techno Engineering Co Ltd
Priority to JP1251942A priority Critical patent/JPH03116223A/en
Publication of JPH03116223A publication Critical patent/JPH03116223A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To prevent the mismatch between a variable length item and the length information by changing the length information on the variable length item during an editing operation. CONSTITUTION:The information on a necessary editing screen is read out of a screen data buffer 4 and displayed 204 on a display device 7. Then the data field position of the editing screen is read out of a screen definition information buffer 5 and a cursor is displayed 205 on the device 7. Then an operator inputs data via a keyboard K/B 8 and rewrites the data on the buffer 4 to carry out the editing 206. In this case, the type of data is acquired from the item definition information on the edited data. If the data shows the length information on the variable length item, the data field number of the variable length item is automatically changed. Thus the mismatch can be prevented between the variable length item and the length information.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はコンピュータシステムで対話形式の入力を行う
場合の可変長データを、ディスプレイ装置へ表示し入力
の制御を行う可変長データ入力における画面制御方式に
関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to screen control in variable length data input, which displays variable length data on a display device and controls the input when interactive input is performed in a computer system. Regarding the method.

[従来の技術] 従来、コンピュータシステムにおいてディスプレイ装置
にデータを表示し、キーボード(以下、K/Bと略記す
る)から対話形式で入力を行う画面制御方式は、特開昭
63−269221号公報に記載のように、画面に表示
する固定部分の情報が格納されている初期画面ファイル
と、この初期画面ファイルに’RBされている画面の入
力項目の画面上での位置、形式1桁数などの情報を持つ
フィールド情報ファイルとからなり、上記初期画面ファ
イルをコンピュータシステムの主記憶上の画面バッファ
に展開して編集対象レコードを読み込みディスプレイ装
置に表示し1次にに/Bからの入力に従って画面バッフ
ァ上のデータを変更し。
[Prior Art] Conventionally, a screen control method for displaying data on a display device in a computer system and inputting data in an interactive manner from a keyboard (hereinafter abbreviated as K/B) is disclosed in Japanese Patent Laid-Open No. 63-269221. As described, there is an initial screen file that stores the information of the fixed part to be displayed on the screen, and this initial screen file contains information such as the position on the screen of the input item of the screen that is 'RB', the number of digits in the format, etc. The initial screen file is developed into a screen buffer on the main memory of the computer system, the record to be edited is read and displayed on the display device, and then the screen buffer is expanded according to the input from /B. Change the data above.

ディスプレイ装置に表示する処理を繰り返して編集を行
う。編集終了後にフィールド情報を使用して入力内容の
チエツクを行い、フォーマットなどにエラーがあると、
エラーメツセージが表示され、再入力などの処理を行い
、入力内容にエラーがない場合、編集対象レコードに編
集結果を書き込んで処理を終了していた。
Editing is performed by repeating the process of displaying on a display device. After editing is completed, the input contents are checked using the field information, and if there are errors in format etc.,
An error message was displayed, and processing such as re-input was performed, and if there were no errors in the input content, the editing result was written to the record to be edited and processing ended.

〔発明が解決しようとする課題] 上記従来技術は、編集対象のデータ長が変化する点につ
いて配慮されておらず、同一初期画面データファイル及
びフィールド情報ファイルで編集できる編集対象データ
長が固定であるという問題があった。
[Problems to be Solved by the Invention] The above conventional technology does not take into account the fact that the data length to be edited changes, and the length of data to be edited that can be edited with the same initial screen data file and field information file is fixed. There was a problem.

本発明は、編集中に編集対象のデータ長を変更すること
を目的とする。
An object of the present invention is to change the length of data to be edited during editing.

さらに本発明は、可変長の編集対象データファイルを作
成する機能を持った画面制御方式を提供することを目的
とする。
A further object of the present invention is to provide a screen control method having a function of creating a variable-length data file to be edited.

口課題を解決するための手段] 上記目的を達成するために、画面に表示するデータを持
った画面データ中のデータを入力する位置の情報を持っ
た画面定義情報を編集中に言き替えることによって、デ
ィスプレイ装置に表示するデータフィールド数を変更し
たものである。
[Means for solving the problem] In order to achieve the above purpose, the screen definition information that has information on the position to input data in the screen data that has the data to be displayed on the screen is rephrased during editing. This changes the number of data fields displayed on the display device.

また、編集対象データを可変長とするために、両面定義
情報の示す画面データ上のデータフィールド位置のデー
タのみを抜き出し、編集対象データファイルを作成した
ものである。
Furthermore, in order to make the data to be edited variable in length, only the data at the data field position on the screen data indicated by the double-sided definition information is extracted to create a data file to be edited.

[作用] 本発明では1画面データファイルの内容からディスプレ
イ装置に編集画面を表示し、画面定義情報に示すデータ
フィールドにカーソルを移動してに/Bからの入力によ
って画面データの編集を行う。この編集の際、編集した
データの項目定義情報からデータの種類を取得し、可変
長項目の長さ情報である場合、可変長項目のデータフィ
ールド数を自動的に変更するので、可変長項目と長さ情
報の不整合を防ぐ。
[Operation] In the present invention, an editing screen is displayed on the display device based on the contents of the one-screen data file, and the screen data is edited by moving the cursor to the data field shown in the screen definition information and inputting from /B. During this editing, the data type is obtained from the item definition information of the edited data, and if it is length information of a variable-length item, the number of data fields of the variable-length item is automatically changed, so it is not a variable-length item. Prevent inconsistencies in length information.

[実施例] 以下、本発明の一実施例を図面を用いて詳細に説明する
。第1図は、この発明の一実施例による全体構成図であ
る。第2図は、この発明の処理の流れを示すフローチャ
ートであり、第1図の同一符号と同一処理を表す。
[Example] Hereinafter, an example of the present invention will be described in detail using the drawings. FIG. 1 is an overall configuration diagram according to an embodiment of the present invention. FIG. 2 is a flowchart showing the process flow of the present invention, and the same reference numerals in FIG. 1 represent the same processes.

画面データファイル1はディスプレイ装置7に表示する
編集画面の情報を持ったファイルである。
The screen data file 1 is a file containing information on an editing screen to be displayed on the display device 7.

画面定義情報ファイル2は画面データファイル1の編集
画面における項目名、データフィールド、データフィー
ルド拡張領域の位置を表す情報を持ったファイルである
。項目定義情報ファイル3は画面データファイル1の編
集画面の項目名単位にデータの種類、許容範囲、標準デ
ータ、可変長項目名称などの情報を持ったファイルであ
る。
The screen definition information file 2 is a file having information representing the position of item names, data fields, and data field extension areas on the editing screen of the screen data file 1. The item definition information file 3 is a file containing information such as data type, permissible range, standard data, variable length item name, etc. for each item name on the editing screen of the screen data file 1.

まず最初に画面データファイル1、画面定義情報ファイ
ル2、項目定義情報ファイル3からそれぞれ画面データ
、画面定義情報、項目定義情報を読み込んで(201,
202,203)、コンピュータのメモリ上である両面
データバッファ4゜画面定義情報バッファ5、項目定義
情報テーブル6に展開する。
First, screen data, screen definition information, and item definition information are read from screen data file 1, screen definition information file 2, and item definition information file 3, respectively (201,
202, 203), and are developed into a double-sided data buffer 4° screen definition information buffer 5 and an item definition information table 6 on the memory of the computer.

次に画面データバッファ4から必要な編集画面の情報を
読み込んでディスプレイ装置7に表示(204)する。
Next, necessary editing screen information is read from the screen data buffer 4 and displayed on the display device 7 (204).

そして表示した編集画面のデータフィールド位置を画面
定義情報バッファ5から読み込んでディスプレイ装置7
にカーソルを表示(205)する。ここでに/B8から
オペレータがデータを入力して画面データバッファ4上
のデータを書き替えて編集(206)を行う。そして編
集したデータの許容値を項目定義情報テーブル6から読
み込んでデータのチエツク(207)を行い、不正デー
タであるか、正常データであるかの判定(208)を行
う。不正データであった場合、メツセージを表示して(
209)、同一データの再入力を行う。
Then, the data field position of the displayed editing screen is read from the screen definition information buffer 5 and displayed on the display device 7.
A cursor is displayed (205). Here, the operator inputs data from /B8, rewrites the data on the screen data buffer 4, and performs editing (206). Then, the permissible value of the edited data is read from the item definition information table 6, the data is checked (207), and it is determined whether the data is invalid or normal (208). If the data is invalid, display a message (
209), the same data is re-inputted.

次に、正常データであった場合は編集したデータの種類
が可変長項目の長さ情報であるかどうかを判定しく21
0)、その結果編集したデータの種類が可変長項目の長
さ情報である場合、項目定義情報テーブル6から可変長
項目名称を読み込んで画面定義情報バッファ5を検索し
、データフィールド数をに/B8から入力されたデータ
に変更(211)する。
Next, if the data is normal, it is determined whether the type of edited data is length information of a variable length item.
0), if the type of data edited as a result is length information of a variable-length item, read the variable-length item name from the item definition information table 6, search the screen definition information buffer 5, and set the number of data fields to / The data is changed to the data input from B8 (211).

この長さ情報であるかどうかの判定(210)で長さ情
報でないと判定された場合、あるいは長さ情報であると
判定されてデータフィールドの変更(211)を行った
後、編集を継続するかどうかを判定しく212)、編集
を継続する場合は、上記画面データの表示(204)か
らデータフィールドの変更(211)までの処理を繰り
返す。
If it is determined that it is not length information in the determination (210) whether it is length information, or if it is determined that it is length information and the data field is changed (211), editing is continued. If the editing is to be continued, the process from displaying the screen data (204) to changing the data field (211) is repeated.

編集を終了する場合、画面定義情報バッファ5の示すデ
ータフィールド位置のデータを画面データバッファ4上
から抜き出して編集対象データファイル9を作成(21
3)する。そして、画面データバッファ4と画面定義情
報バッファ5のデータを画面データファイル1と画面定
義情報ファイル逮に格納(214・215)L・一連の
処理を終了する。
When finishing the editing, the data at the data field position indicated by the screen definition information buffer 5 is extracted from the screen data buffer 4 to create an editing target data file 9 (21
3) Do. Then, the data in the screen data buffer 4 and the screen definition information buffer 5 are stored in the screen data file 1 and the screen definition information file (214, 215) L. The series of processes ends.

次に画面データと画面定義情報の変化を説明する。Next, changes in screen data and screen definition information will be explained.

第3図は本発明の画面制御方式でディスプレイ装置7上
に表示する編集画面例を示す図である。
FIG. 3 is a diagram showing an example of an editing screen displayed on the display device 7 using the screen control method of the present invention.

編集画面は可変長項目の長さ情報を入力する項目名称3
1とそのデータフィールド32、可変長項目名称33と
そのデータフィールド34及びデータフィールド拡張領
域35で構成される。
The edit screen is item name 3 where you enter length information for variable length items.
1 and its data field 32, variable length item name 33 and its data field 34, and data field extension area 35.

上記編集画面例で、可変長項目の長さ情報のデータフィ
ールド32の値かに/B8からの入力によって初期値″
3”からIt O++及び11571に変更された時の
画面データ及び画面定義情報の変化を第4図により説明
する。
In the above example of the editing screen, the value of the data field 32 for the length information of the variable length item is set to the initial value by the input from /B8.
The changes in screen data and screen definition information when changing from 3'' to It O++ and 11571 will be explained with reference to FIG.

(a)に示さ、れるように可変長項目の長さ情報を入力
する項目名称31のデータフィールド32の値が初期値
1131+の時、可変長項目体33のデータフィールド
34は3個あり、データフィールド拡張領域35は2個
である。またこの時(b)に示すように、画面定義情報
の可変長項目はデータフィールド位置を表す情報41が
3個あり、データフィールド拡張領域位置を表す情報4
2は2個である。この状態では3個の可変長項目のデー
タフィールド34にカーソルを移動して編集することが
できる。
As shown in (a), when the value of the data field 32 of the item name 31 into which the length information of the variable length item is input is the initial value 1131+, there are three data fields 34 of the variable length item body 33, and the data There are two field expansion areas 35. Also, as shown in (b) at this time, the variable length item of the screen definition information has three pieces of information 41 representing the data field position, and information 4 representing the data field extension area position.
2 is 2 pieces. In this state, the cursor can be moved to the data field 34 of the three variable length items to edit them.

次に(c)に示すように、K/I38からの入力によっ
て可変長項目の長さ情報を入力する項目名称31のデー
タフィールド32の値が99071に変更された時は、
(a)において3個の可変長項目のデータフィールド3
4はデータフィールド拡張領域35に書き替られて5個
のデータフィールド拡張領域35になる。またこの時(
d)に示すように、画面定義情報の可変長項目は(b)
において3個のデータフィールド位置を表す情報41を
5個のデータフィールド拡張領域位置を表す情報42に
書き替える。この状態では可変長項目にデータフィール
ド41がないため、カーソルを移動して編集することが
できない。
Next, as shown in (c), when the value of the data field 32 of the item name 31 into which the length information of the variable length item is input is changed to 99071 by input from the K/I 38,
Data field 3 of three variable length items in (a)
4 is rewritten to the data field extension area 35, resulting in five data field extension areas 35. At this time again (
As shown in d), the variable length items of screen definition information are shown in (b).
In the step, information 41 representing the positions of three data fields is rewritten to information 42 representing the positions of five data field extension areas. In this state, the variable length item does not have a data field 41, so editing cannot be performed by moving the cursor.

最後にに/B8からの入力によって可変長項目の長さ情
報を入力する項目名称31のデータフィールド32の値
が5”に変更された時は、(C)において5個の可変長
項目のデータフィールド拡張領域35を5個の可変長項
目のデータフィールド34に書き替える。この時、可変
長項目のデータフィールド34には項目定義情報テーブ
ル6から可変長項目の標準データを値を読み込んで書き
込む。またこの時(f)に示すように1画面定義情報の
可変長項目は(d)において5個のデータフィールド拡
張領域位置を表す情報42を5個のデータフィールド位
置を表す情報41に書き替える。この状態では5個の可
変長項目のデータフィールド41にカーソルを移動して
編集することができる。
Finally, when the value of the data field 32 of the item name 31 for inputting the length information of the variable length item is changed to 5'' by the input from /B8, the data of the five variable length items is changed in (C). The field extension area 35 is rewritten into data fields 34 for five variable length items.At this time, standard data for variable length items is read from the item definition information table 6 and written in the data field 34 for variable length items. At this time, as shown in (f), in the variable length item of the one-screen definition information, the information 42 representing the five data field extension area positions is rewritten in (d) to the information 41 representing the five data field positions. In this state, the cursor can be moved to the data field 41 of the five variable length items and edited.

以上のように本発明によれば、編集中にデータの長さ情
報を変更することによって、自動的に可変長項目のデー
タフィールド数を変更できる。
As described above, according to the present invention, by changing the data length information during editing, the number of data fields of a variable length item can be automatically changed.

また、可変長項目のデータフィールドから必要なデータ
のみ抜き出して、編集対象データファイルを作成できる
In addition, it is possible to extract only necessary data from the data field of variable length items and create a data file to be edited.

[発明の効果] 本発明によれば、編集中に可変長項目の長さ情報を変更
することによって、可変長項目のデータフイルド数を自
動的に変更するので、可変長項目と長さ情報の不整合を
防ぐ効果がある。
[Effects of the Invention] According to the present invention, by changing the length information of the variable-length item during editing, the number of data fields of the variable-length item is automatically changed. This has the effect of preventing inconsistencies.

また、可変長項目のデータフィールドから必要なデータ
のみ抜き出して、大きさを最小限にした編集対象データ
ファイルを作成できる効果もある。
Another advantage is that it is possible to extract only necessary data from the data fields of variable-length items and create a data file to be edited whose size is minimized.

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

第1図は本発明の一実施例の全体構成を示す図、第2図
は本発明における処理の流れを示すフローチャート、第
3図は本発明においてディスプレイ装置7に表示する編
集画面例を説明するための図、第4図は本発明における
画面データと画面定義情報の変化を説明するための図で
ある。 1・・・画面データファイル、 2・・・画面定義情報ファイル、 3・・・項目定義情報ファイル、 4・・・画面データバッファ。 5・・・画面定義情報バッファ、 6・・・項目定義情報テーブル、 7・・・ディスブイレイ装置、 8・・・K/B。 9・・・編集対象データファイル。 第 図 第 図 第 図 第 図 画面データ 画面定義情報 (a) (b) (c) (d) (e) (f)
FIG. 1 is a diagram showing the overall configuration of an embodiment of the present invention, FIG. 2 is a flowchart showing the flow of processing in the present invention, and FIG. 3 explains an example of an editing screen displayed on the display device 7 in the present invention. FIG. 4 is a diagram for explaining changes in screen data and screen definition information in the present invention. 1...Screen data file, 2...Screen definition information file, 3...Item definition information file, 4...Screen data buffer. 5...Screen definition information buffer, 6...Item definition information table, 7...Display device, 8...K/B. 9...Data file to be edited. Figure Figure Figure Figure Screen Data Screen Definition Information (a) (b) (c) (d) (e) (f)

Claims (1)

【特許請求の範囲】 1、ディスプレイ装置を備えてオペレータとの間で対話
形式によってデータを入出力するシステムの前記ディス
プレイ装置に表示する画面を制御する画面制御方式にお
いて、前記ディスプレイ装置に表示する各種の情報を持
った画面データファイルと、前記画面データファイルの
各種画面に対応して画面上の入力項目名、データフィー
ルド、データフィールド拡張領域などの位置の情報を持
つ画面定義情報ファイルと、前記画面データファイルの
各種画面の入力項目単位にデータの種類を表す情報、許
容範囲などの情報を持つ項目定義情報ファイルと、前記
画面データファイルから選択した編集画面を前記ディス
プレイ装置に可変長項目とその長さ情報を表示し、キー
ボードからの入力によって前記長さ情報を変更された時
に前記可変長項目の画面定義情報におけるデータフィー
ルド数を変更する処理を実行するアプリケーションプロ
グラムからなることを特徴とする可変長データ入力にお
ける画面制御方式。 2、特許請求の範囲第1項において、可変長にした前記
データフィールドのデータを前記画面データファイルか
ら抜き出し、可変長の編集対象データファイルを作成す
る機能を備えたことを特徴とする可変長データ入力にお
ける画面制御方式。
[Scope of Claims] 1. In a screen control method for controlling a screen displayed on the display device of a system that is equipped with a display device and inputs and outputs data in an interactive manner with an operator, various types of screens displayed on the display device are provided. a screen definition information file that has information on the positions of input item names, data fields, data field extension areas, etc. on the screen corresponding to the various screens of the screen data file; An item definition information file containing information representing the type of data, permissible range, etc. for each input item on each screen of the data file, and an editing screen selected from the screen data file are displayed on the display device to display variable length items and their lengths. variable-length item, characterized in that it is comprised of an application program that executes a process of displaying length information and changing the number of data fields in screen definition information of the variable-length item when the length information is changed by input from a keyboard. Screen control method for data entry. 2. The variable length data according to claim 1, characterized by having a function of extracting variable length data of the data field from the screen data file and creating a variable length editing target data file. Screen control method for input.
JP1251942A 1989-09-29 1989-09-29 Screen control system for input of variable length data Pending JPH03116223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1251942A JPH03116223A (en) 1989-09-29 1989-09-29 Screen control system for input of variable length data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1251942A JPH03116223A (en) 1989-09-29 1989-09-29 Screen control system for input of variable length data

Publications (1)

Publication Number Publication Date
JPH03116223A true JPH03116223A (en) 1991-05-17

Family

ID=17230271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1251942A Pending JPH03116223A (en) 1989-09-29 1989-09-29 Screen control system for input of variable length data

Country Status (1)

Country Link
JP (1) JPH03116223A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010067897A1 (en) * 2008-12-12 2010-06-17 日本電気株式会社 Data compression device, data compression method, data compression program, and compressed data communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010067897A1 (en) * 2008-12-12 2010-06-17 日本電気株式会社 Data compression device, data compression method, data compression program, and compressed data communication system

Similar Documents

Publication Publication Date Title
JPH0855019A (en) Visual programming method
JPH03116223A (en) Screen control system for input of variable length data
JPS63288357A (en) Data editing system
JP3178001B2 (en) Data processing device
JPH07191716A (en) Controller
JPS63269221A (en) Picture control system
JPH0277838A (en) Control system for program selective execution menu
JP2590281B2 (en) Procedure Definition Screen Display Processing Method in Interactive Program Creation System
JP2723236B2 (en) Character reader
JPH03286226A (en) Method and system for generating program
JPS62135958A (en) Simulation system
JPH06149776A (en) Simulation device based upon petri net
JPH08123675A (en) Method and device for data input
JPS63247823A (en) Screen defining system
JPH05225038A (en) Hyper-text system
JPH03105481A (en) Automatic graphic deformation system
JPH02162463A (en) Back-up device for production of process network
JPH09147132A (en) Cad system
JPH02156327A (en) Character picture simulator
JPS62174876A (en) Time chart display system
JPH03176737A (en) System for forming various information files
JPH05257955A (en) Method for editing table
JPH08115351A (en) Plant picture designing device
JPH03251921A (en) Back-up device for software development
JPH04280301A (en) Control program design support system