JPH0290226A - Console message output length control system - Google Patents

Console message output length control system

Info

Publication number
JPH0290226A
JPH0290226A JP63241844A JP24184488A JPH0290226A JP H0290226 A JPH0290226 A JP H0290226A JP 63241844 A JP63241844 A JP 63241844A JP 24184488 A JP24184488 A JP 24184488A JP H0290226 A JPH0290226 A JP H0290226A
Authority
JP
Japan
Prior art keywords
message
console
output
message output
output 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
JP63241844A
Other languages
Japanese (ja)
Inventor
Yoshitaka Kato
加藤 喜隆
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 JP63241844A priority Critical patent/JPH0290226A/en
Publication of JPH0290226A publication Critical patent/JPH0290226A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the output volume of an output message to a console without increasing the development man-hour of a user program and the number of rows of the program by instructing the maximum message output length for an output message to a console by job control language. CONSTITUTION:The title system is constituted of a message output length specifying information input means 1, a console message text input means 2, a console message text output length determining means 3, a console 4, and a main memory device 5. The maximum message output length of an output message to the console 4 can be instructed by the job control language as a specified message output length. At the time of executing the message output instruction to the console 4, the volume of a message output to the console 4 can be reduced and the man-hour of user program development and the number of rows of the user program can be also reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はコンソールメソセージ出力長制御方式に関し、
特に利用者プログラム中のコンソールへのメツセージ出
力命令の実行により出力される出力メツセージの出力長
を制御するコンソールメツセージ出力製制御方式に関す
る。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a console message output length control method;
In particular, the present invention relates to a console message output control method for controlling the output length of an output message output by executing a message output command to a console in a user program.

〔従来の技術〕[Conventional technology]

従来、この種のコンソールメツセージ出力製制御方式で
は、コンソールへのメツセージ出力長を制御する場合に
は、利用者が利用者プログラム中でコンソールへのメツ
セージ出力命令に出力対象として可変長項目を指定して
条件命令と組み合わせて可変長項目の長さを変化させる
ことによりコンソールへのメツセージ出力量を制御して
いた。
Conventionally, in this type of console message output control method, when controlling the message output length to the console, the user specifies a variable length item as the output target in the message output command to the console in the user program. The amount of messages output to the console was controlled by changing the length of variable-length items in combination with conditional commands.

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

上述した従来のコンソールメツセージ出力量制御方式で
は、利用者プログラム中で条件命令と組み合わせて出力
対象である可変長項目の長さを変化させなければならな
いので、利用者プログラムの開発工数および利用者プロ
グラムの行数が増大するという欠点がある。
In the conventional console message output amount control method described above, the length of the variable-length item to be output must be changed in combination with a conditional command in the user program. The disadvantage is that the number of lines increases.

また、一般には利用者プログラム中に可変長項目や条件
命令は記述されず、コンソールへのメツセージ出力命令
だけが記述されているために固定長項目の全体の長さで
コンソールへのメソセージ出力が行われるので、大規模
な計算機システムではコンソールが出力待ちの状態とな
り、有効な計算機システムの運用を図ることができない
という欠点がある。
Additionally, generally, variable-length items and conditional commands are not written in user programs, and only message output instructions to the console are written, so messages are output to the console using the entire length of fixed-length items. Therefore, in large-scale computer systems, the console is in a state of waiting for output, which has the disadvantage that effective computer system operation cannot be achieved.

本発明の目的は、上述の点に鑑み、ジョブ制御言語でコ
ンソールへの出力メツセージの最大メツセージ出力量を
指示できるようにすることにより、利用者プログラムの
開発工数および行数を増加させることなしにコンソール
への出力メソセージの出力量を減少させることができ、
この結果大規模な計算機システムにおけるコンソールへ
の出力メツセージの出力待ち状態を解消することができ
、きめ細かな計算機システムの運用を図ることができる
コンソールメツセージ出力量制御方式を提供することに
ある。
In view of the above points, an object of the present invention is to enable the maximum amount of messages to be output to the console to be specified using a job control language, thereby eliminating the need to increase the number of development steps and lines of a user program. You can reduce the amount of output messages to the console,
As a result, it is an object of the present invention to provide a console message output amount control method that can eliminate the waiting state for outputting messages to the console in a large-scale computer system, and can achieve detailed operation of the computer system.

て課題を解決するための手段〕 本発明のコンソールメソセージ出力量制御方式は、利用
者プログラムの実行を指示するジョブ制御言語中に記述
されているメソセージ出力量指示情報を入力するメソセ
ージ出力量指示情報入力手段と、利用者プログラム中の
コンソールへのメ・ノセージ出力命令のオブジェクトデ
ータとして生成されているメツセージ出力量と出力メソ
セージとからなるコンソールメッセージテキストを入力
するコンソールメツセージテキスト入力手段と、このコ
ンソールメツセージテキスト入力手段により入力された
コンソールメツセージテキストのメツセージ出力量と前
記メツセージ出力量指示情報入力手段により入力された
メツセージ出力量指示情報が指示する指示メツセージ出
力量とを比較して前記メツセージ出力量が前記指示メツ
セージ出力量よりも大きければ前記指示メツセージ出力
量で、前記メツセージ出力量が前記指示メツセージ出力
量に等しいか前記指示メソセージ出力量よりも小さけれ
ば前記メツセージ出力量で前記コンソールメツセージテ
キストの出力メツセージを前記コンソールに出力するコ
ンソールメッセージテキスト出力量決定手段とを有する
Means for Solving the Problem] The console message output amount control method of the present invention provides a message output amount instruction that inputs message output amount instruction information written in a job control language that instructs the execution of a user program. an information input means, a console message text input means for inputting a console message text consisting of an output message and a message output amount generated as object data of a command to output a message to the console in a user program; and this console. The message output amount of the console message text input by the message text input means is compared with the message output amount instructed by the message output amount instruction information inputted by the message output amount instruction information input means, and the message output amount is determined. If it is larger than the instruction message output amount, the instruction message output amount is used, and if the message output amount is equal to or smaller than the instruction message output amount, the message output amount is used as the output message of the console message text. console message text output amount determining means for outputting the text to the console.

〔作用〕[Effect]

本発明のコンソールメツセージ出力量制御方式では、メ
ツセージ出力量指示情報入力手段が利用者プログラムの
実行を指示するジョブ制御言語中に記述されているメツ
セージ出力量指示情報を入力し、コンソールメツセージ
テキスト入力手段が利用者プログラム中のコンソールへ
のメツセージ出力命令のオブジェクトデータとして生成
されているメツセージ出力量と出力メツセージとからな
るコンソールメッセージテキストを入力し、コンソール
メツセージテキスト出力量決定手段がコンソールメッセ
ージテキスト入力手段により入力されたコンソールメッ
セージテキストのメソセージ出力量とメンセージ出力量
指示情報入力手段により入力されたメツセージ出力量指
示情報が指示する指示メツセージ出力量とを比較してメ
ソセージ出力量が指示メツセージ出力量よりも大きけれ
ば−指示メツセージ出力長で、メソセージ出力量が指示
メソセージ出力量に等しいか指示メソセージ出力量より
も小さければメツセージ出力量でコンソールメツセージ
テキストの出力メツセージをコンソールに出力する。
In the console message output amount control method of the present invention, the message output amount instruction information input means inputs message output amount instruction information written in a job control language that instructs execution of a user program, and the message output amount instruction information input means inputs a console message text consisting of a message output amount and an output message generated as object data of a message output command to the console in the user program, and the console message text output amount determining means uses the console message text input means. The message output amount of the input console message text is compared with the instruction message output amount instructed by the message output amount instruction information inputted by the message output amount instruction information input means, and if the message output amount is larger than the instruction message output amount. For example, if the message output length is equal to or smaller than the instruction message output amount, an output message of the console message text is output to the console at the message output amount.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例のコンソールメツセージ出
力量制御方式の構成を示すブロック図である0本実施例
のコンソールメソセージ出力長制振方式は、メッセージ
出力長指示情報入力手段1と、コンソールメツセージテ
キスト入力手段2と、コンソールメッセージテキスト出
力製決定手段3と、コンソール4と、主記憶装置5とか
ら構成されている。
FIG. 1 is a block diagram showing the configuration of a console message output amount control system according to an embodiment of the present invention. , a console message text input means 2, a console message text output determination means 3, a console 4, and a main storage device 5.

主記憶装置5は、メッセージ出力長指示情報格納領域5
1と、コンソールメツセージテキスト格納領域52とを
含んで構成されている。
The main storage device 5 includes a message output length instruction information storage area 5
1 and a console message text storage area 52.

メッセージ出力長指示情報格納領域51には、図示しな
い利用者プログラムの実行に際して、利用者プログラム
の実行を指示するジョブ制御言語中に記述されているコ
ンソールへの出力メツセージの最大メソセージ出力長を
指示するメソセージ出力製指示情報が格納される。以下
、メッセージ出力長指示情報で指示される最大メツセー
ジ出力長を特に指示メソセージ出力長という。
The message output length instruction information storage area 51 specifies the maximum message output length of an output message to the console, which is written in the job control language that instructs the execution of the user program, when a user program (not shown) is executed. Message output production instruction information is stored. Hereinafter, the maximum message output length specified by the message output length instruction information will be particularly referred to as the instructed message output length.

コンソールメッセージテキスト格納領域52には、利用
者プログラム中のコンソール4へのメツセージ出力命令
のオブジェクトデータとして生成されるコンソールメッ
セージテキストが格納される。
The console message text storage area 52 stores console message text generated as object data of a message output command to the console 4 in the user program.

第2図は、コンソールメソセージ格納領域52に格納さ
れるコンソールメツセージテキストの構成を示す図であ
る。このコンソールメッセージテキストは、例えば4バ
イトの数値データであるメツセージ出力長と、メソセー
ジ出力長の大きさを有する出力メツセージとから構成さ
れている。
FIG. 2 is a diagram showing the structure of the console message text stored in the console message storage area 52. This console message text is composed of a message output length, which is, for example, 4-byte numerical data, and an output message having the size of the message output length.

第3図を参照すると、コンソールメッセージテキスト出
力長決定手段3における処理は、出力メッセージ長・指
示メツセージ出力製比較ステップ31と、指示メツセー
ジ出力長での出力メソセージ出力ステップ32と、メツ
セージ出力長での出力メソセージ出力ステップ33とか
らなる。
Referring to FIG. 3, the processing in the console message text output length determination means 3 includes an output message length/indication message output comparison step 31, an output message output step 32 at the instruction message output length, and a message output length comparison step 31. and an output message output step 33.

次に、このように構成された本実施例のコンソールメツ
セージ出力長制御方式の動作について説明する。
Next, the operation of the console message output length control system of this embodiment configured as described above will be explained.

利用者プログラム(図示せず)の実行を指示するジョブ
制御言語が投入されると、オペレーティングシステム(
図示せず)によりジョブ制御言語が解析されて利用者プ
ログラムの実行が開始されるとともに、ジョブ制御言語
中に記述されているコンソール4への出力メソセージの
指示メツセージ出力長がメソセージ出力製指示情報とし
てメッセージ出力長指示情報格納領域51に格納される
When a job control language is input that instructs the execution of a user program (not shown), the operating system (
(not shown), the job control language is analyzed and the execution of the user program is started, and at the same time, the instruction message output length of the output message to the console 4 written in the job control language is specified as message output instruction information. It is stored in the message output length instruction information storage area 51.

ジョブ制御言語の指示により利用者プログラムの実行が
開始された後に、利用者プログラム中のコンソール4へ
のメツセージ出力命令が実行されると、コンソール4へ
のメソセージ出力命令のオブジェクトデータとしてコン
ソールメツセージテキストが生成されて、コンソールメ
ツセージテキスト格納領域52に格納される。
When a command to output a message to the console 4 in the user program is executed after execution of the user program is started according to instructions from the job control language, the console message text is output as object data of the command to output a message to the console 4. It is generated and stored in the console message text storage area 52.

コンソールメッセージテキストがコンソールメツセージ
テキスト格納領域52に格納されると、メソセージ出力
長指示情報入力手段1が起動されてメソセージ出力製指
示情報格納領域51から指示メソセージ出力長を入力す
る。
When the console message text is stored in the console message text storage area 52, the message output length instruction information input means 1 is activated and inputs the instruction message output length from the message output instruction information storage area 51.

また、コンソールメッセージテキスト入力手段2は、コ
ンソールメッセージテキスト格納領域52からコンソー
ルメンセージテキストを入力する。
The console message text input means 2 also inputs console message text from the console message text storage area 52.

次に、コンソールメッセージテキスト出力長決定手段3
は、コンソールメツセージテキスト入力手段2により入
力されたコンソールメツセージテキスト中のメソセージ
出力長とメッセージ出力長指示情報入力手段1により入
力された指示メソセージ出力長とを比較してメツセージ
出力長が指示メツセ出力比力長よりも大きいか否かを判
定する(ステップ31)、メツセージ出力長が指示メツ
セージ出力長よりも大きければ、コンソールメッセージ
テキスト出力長決定手段3は、指示メツセージ出力長で
コンソールメツセージテキスト中の出力メツセージをコ
ンソール4に出力する(ステップ32)。メツセージ出
力長が指示メソセージ出力長に等しいか指示メツセージ
出力長よりも小さければ、コンソールメッセージテキス
ト出力製決定手段3は、コンソールメツセージテキスト
中のメツセージ出力長でコンソールメツセージテキスト
中の出力メツセージをコンソール4に出力する(ステッ
プ33)。
Next, console message text output length determining means 3
The message output length in the console message text input by the console message text input means 2 is compared with the instruction message output length input by the message output length instruction information input means 1, and the message output length is determined as the instruction message output ratio. If the message output length is larger than the command message output length (step 31), the console message text output length determining means 3 determines whether the message output length is larger than the command message output length (step 31). The message is output to the console 4 (step 32). If the message output length is equal to or smaller than the instruction message output length, the console message text output determination means 3 outputs the output message in the console message text to the console 4 using the message output length in the console message text. Output (step 33).

C発明の効果〕 以上説明したように本発明は、コンソールへの出力メツ
セージの最大メツセージ出力長を指示メソセージ出力長
としてジョブ制御言語で指示できるようにしたことによ
り、コンソールへのメツセージ出力命令の実行時にコン
ソールへのメツセージ出力量を減少させることができ、
この結果大規模な計算機システムにおけるコンソールへ
の出力メツセージの出力待ち状態を解消することができ
、きめ細かな計算機システムの運用を行うことが可能に
なるという効果がある。
C Effects of the Invention As explained above, the present invention enables the execution of a message output command to the console by allowing the maximum message output length of a message to be output to the console to be specified in the job control language as the instruction message output length. You can sometimes reduce the amount of messages output to the console,
As a result, it is possible to eliminate the waiting state for outputting messages to the console in a large-scale computer system, and it is possible to perform detailed operation of the computer system.

また、利用者プログラム中でコンソールへのメツセージ
出力命令に出力対象として可変長項目を指定して条件命
令と組み合わせて可変長項目の長さを変化させる必要を
なくすことができ、利用者プログラムの開発工数および
利用者プログラムの行数を減少させることができるとい
う効果がある。
In addition, it is possible to eliminate the need to specify a variable length item as the output target in the message output command to the console in the user program and change the length of the variable length item by combining it with a conditional command. This has the effect of reducing the number of man-hours and the number of lines in the user program.

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

第1図は本発明の一実施例のコンソールメツセージ出力
量制御方式の構成を示すブロック図、第2図は第1図中
のコンソールメツセージテキスト格納領域に格納された
コンソールメツセージテキストの構成を示す図、 第3図は第1図中のコンソールメツセージテキスト出力
量決定手段における処理を示す流れ図である。 図において、 1・・・メッセージ出力長指示情報入力手段、2・・・
コンソールメツセージテキスト入力手段、 3・・・コンソールメッセージテキスト出力量決定手段
、 4・・・コンソール、 5・・・主記憶装置、 51・・・メッセージ出力長指示情報格納領域、52・
・・コンソールメツセージテキスト格納SKI域である
FIG. 1 is a block diagram showing the configuration of a console message output amount control method according to an embodiment of the present invention, and FIG. 2 is a diagram showing the configuration of console message text stored in the console message text storage area in FIG. , FIG. 3 is a flowchart showing the processing in the console message text output amount determining means in FIG. In the figure, 1... message output length instruction information input means, 2...
Console message text input means, 3... Console message text output amount determining means, 4... Console, 5... Main storage device, 51... Message output length instruction information storage area, 52.
...Console message text storage SKI area.

Claims (1)

【特許請求の範囲】 利用者プログラムの実行を指示するジョブ制御言語中に
記述されているメッセージ出力長指示情報を入力するメ
ッセージ出力長指示情報入力手段と、 利用者プログラム中のコンソールへのメッセージ出力命
令のオブジェクトデータとして生成されているメッセー
ジ出力長と出力メッセージとからなるコンソールメッセ
ージテキストを入力するコンソールメッセージテキスト
入力手段と、 このコンソールメッセージテキスト入力手段により入力
されたコンソールメッセージテキストのメッセージ出力
長と前記メッセージ出力長指示情報入力手段により入力
されたメッセージ出力長指示情報が指示する指示メッセ
ージ出力長とを比較して前記メッセージ出力長が前記指
示メッセージ出力長よりも大きければ前記指示メッセー
ジ出力長で、前記メッセージ出力長が前記指示メッセー
ジ出力長に等しいか前記指示メッセージ出力長よりも小
さければ前記メッセージ出力長で前記コンソールメッセ
ージテキストの出力メッセージを前記コンソールに出力
するコンソールメッセージテキスト出力長決定手段と を有することを特徴とするコンソールメッセージ出力長
制御方式。
[Scope of Claims] Message output length instruction information input means for inputting message output length instruction information written in a job control language that instructs execution of a user program; and message output to a console in the user program. console message text input means for inputting a console message text consisting of a message output length and an output message generated as object data of an instruction; a message output length of the console message text input by the console message text input means; Comparing the message output length with the instruction message output length indicated by the message output length instruction information inputted by the message output length instruction information input means, if the message output length is larger than the instruction message output length, the instruction message output length is the instruction message output length; and console message text output length determining means for outputting an output message of the console message text to the console at the message output length if the message output length is equal to or smaller than the instruction message output length. A console message output length control method featuring:
JP63241844A 1988-09-27 1988-09-27 Console message output length control system Pending JPH0290226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63241844A JPH0290226A (en) 1988-09-27 1988-09-27 Console message output length control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63241844A JPH0290226A (en) 1988-09-27 1988-09-27 Console message output length control system

Publications (1)

Publication Number Publication Date
JPH0290226A true JPH0290226A (en) 1990-03-29

Family

ID=17080346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63241844A Pending JPH0290226A (en) 1988-09-27 1988-09-27 Console message output length control system

Country Status (1)

Country Link
JP (1) JPH0290226A (en)

Similar Documents

Publication Publication Date Title
JP2904929B2 (en) A controller for a computer program running multiple threads to enable selective graphic user interface (GUI) control and command line (TTY) control from a terminal emulator or user program
JPH0290226A (en) Console message output length control system
KR100302566B1 (en) Apparatus for interpreting SFC in a control system
JPH02159603A (en) Loop controller
JPH04205386A (en) Image data edit control method
JPH01169605A (en) Program generating device
JPH04288603A (en) Numerical controller
KR19990031505A (en) How to combine and operate sound files in picture data
JPH02306358A (en) Console message output controller
JPH02240739A (en) Knowledge information processing system
JPH02293924A (en) Menu control system
JPH04112389A (en) Data flow type processor control system
JPH01302427A (en) Input/output file altering system for execution form program
JPH05224713A (en) Display method for programmable controller
JPS61208142A (en) Communication system between processes
JP2618982B2 (en) Information processing apparatus and information processing method
JPS63228207A (en) Function key setting system
JPH06314197A (en) Auxiliary processor
JPS6249502A (en) Programmable controller
JPH07152543A (en) Decision table input device
JPH0581336A (en) Database processing unit
JPH0525334B2 (en)
JPH04220724A (en) Precompiling processing system
JPH0619515A (en) Sub-processor for programmable controller
JPH031257A (en) Information processor