JPH0997234A - Automatic executing device for command when using editor at general-purpose machine - Google Patents

Automatic executing device for command when using editor at general-purpose machine

Info

Publication number
JPH0997234A
JPH0997234A JP7276571A JP27657195A JPH0997234A JP H0997234 A JPH0997234 A JP H0997234A JP 7276571 A JP7276571 A JP 7276571A JP 27657195 A JP27657195 A JP 27657195A JP H0997234 A JPH0997234 A JP H0997234A
Authority
JP
Japan
Prior art keywords
command
input
editor
contents
screen
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
JP7276571A
Other languages
Japanese (ja)
Inventor
Norifumi Kobayashi
典史 小林
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 JP7276571A priority Critical patent/JPH0997234A/en
Publication of JPH0997234A publication Critical patent/JPH0997234A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To eliminate the work at the time of re-inputting by storing the input contents of a command while starting an editor at a general-purpose machine. SOLUTION: When a program is executed, the command inputted from an input device 1 on an editor editing picture by a data operation S2 is stored in a buffer inside a storage device 3 and when a new command is inputted from the input device 1 by a data input/interaction operation S3, it is stored in the storage device 3. When it is desired to execute the command again, a key designated by data processing S4 is depressed from the input device 1, a data processor 2 calls processing start, and the contents of command in the storage device 3 are outputted onto an output device 4.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、自動実行装置に関
し、特に汎用機でエディタを起動中に指定されたキーを
一つ押下して、既に実行したコマンドの内容を画面に出
力し、キーボードからの再入力の省略化を図る自動実行
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic execution device, and more particularly to pressing a specified key while an editor is running on a general-purpose machine to output the content of a command that has already been executed on the screen, and to use the keyboard. The present invention relates to an automatic execution device that simplifies re-entry.

【0002】[0002]

【従来の技術】従来の汎用機では、エディタ起動中に、
既に実行したコマンドを再び行いたい場合、もう一度キ
ーボードで最初から入力し直さなければならない。以下
に、従来の汎用機のエディタ環境について簡単に説明す
る。
2. Description of the Related Art In a conventional general-purpose machine, while an editor is running,
If you want to re-execute a command you have already executed, you will have to re-type it from the beginning with the keyboard. The editor environment of a conventional general-purpose machine will be briefly described below.

【0003】ここで、汎用機とは例えばジョブ制御言語
(JOB CONTROL LANGUAGE;JCL)の制御入力のもとバ
ッチジョブ又はTSS処理等が多数本走行するという、
所謂大型又は中型の計算機システムをいうものとする。
このような、汎用機において、プログラム作成又はデバ
ッグ等を行なうために、プログラムのソースファイルの
作成及び修正を行なう場合、ユーザは通常汎用機に接続
された端末から所定のエディタを起動し、ソースファイ
ルの作成・修正作業を行なった後にセーブし、ソースフ
ァイルをコンパイル及びリンクして実行モジュールを作
成し、ジョブをスケジューラに投入して実行させる。
Here, a general-purpose machine means that a large number of batch jobs or TSS processes run under the control input of a job control language (JCL), for example.
A so-called large or medium computer system.
When creating and modifying a program source file in order to create or debug a program on such a general-purpose machine, the user usually starts a predetermined editor from the terminal connected to the general-purpose machine and After making and modifying the above, save it, compile and link the source file to create an execution module, and submit the job to the scheduler for execution.

【0004】[0004]

【発明が解決しようとする課題】上記したように、従来
の汎用機のエディタにおいては、既に実行したコマンド
を再び行いたい場合、ユーザ(操作者)はもう一度キー
ボードで該コマンドを最初から入力し直さなければなら
ないため、コマンドの内容が長く複雑な場合には、キー
ボードからの入力作業が非常に手間が掛かるという問題
を有する。
As described above, in the conventional editor of a general-purpose machine, when the user wants to re-execute a command that has already been executed, the user (operator) must re-enter the command from the beginning with the keyboard. Therefore, if the content of the command is long and complicated, there is a problem that the input work from the keyboard is very troublesome.

【0005】また、コマンドの再入力の際に、前回のコ
マンドと同一のコマンドを入力するためには、該コマン
ドを忘れないためにユーザは例えば所定の用紙等に該コ
マンドを記帳しておくことが必要とされる他、コマンド
の再入力の際に入力エラー等の発生も生じ易く、このた
め作業効率の向上は望めない。
Further, in order to input the same command as the previous command when re-entering the command, the user must record the command on a predetermined sheet or the like in order not to forget the command. In addition to the above-mentioned problems, an input error or the like is likely to occur when the command is re-entered, and therefore improvement in work efficiency cannot be expected.

【0006】本発明は、上記問題点に鑑みて為されたも
のであって、ジョブ制御言語(JCL)で記述された実
行ファイルを用いて、入力されたコマンドをバッファに
記憶させ、ユーザが所定のキーを押すとバッファの内容
を画面に出力させるように設定し、入力作業の省略化を
図ることを可能とする自動実行装置を提供することを目
的とする。
The present invention has been made in view of the above problems, and stores an input command in a buffer by using an execution file described in the job control language (JCL) so that the user can specify the command. It is an object of the present invention to provide an automatic execution device capable of setting the contents of the buffer to be output to the screen when the key of is pressed and making it possible to omit the input work.

【0007】[0007]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、計算機システムにおいてエディタを起動
している間に入力手段から入力されたコマンドを所定の
記憶領域に格納記憶し、予め定められた所定のキーが押
下された際に、入力済みのコマンドの内容を画面に出力
させ、前記入力手段からのコマンドの再入力を不要とす
るように構成されてなる自動実行装置を提供する。
In order to achieve the above-mentioned object, the present invention stores a command input from the input means while the editor is running in the computer system in a predetermined storage area and stores it in advance. There is provided an automatic execution device configured to output the content of a command that has been input to the screen when a predetermined key is pressed, and to eliminate the need to re-input a command from the input means.

【0008】本発明においては、キーボードから入力す
るコマンドの内容が長く複雑でも、入力コマンドをバッ
ファに記憶させ、予め定められたキーを一つ押下するこ
とで既に実行したコマンドの内容を速やかに画面に出力
させる機能を備えたことにより、コマンドの再入力を行
う際に指定されたキーを押下して、入力済みのコマンド
の内容を画面に出力させ、このためコマンド文が長く複
雑な場合でも最初からコマンドの内容を入力し直すこと
が不要とされる。
According to the present invention, even if the contents of the command input from the keyboard are long and complicated, the contents of the command already executed can be promptly displayed by storing the input command in the buffer and pressing one predetermined key. With the function to output to, by pressing the specified key when re-entering a command, the contents of the entered command are output to the screen, so even if the command statement is long and complicated It is not necessary to re-enter the contents of the command from.

【0009】[0009]

【発明の実施の形態】本発明の実施の形態を図面を参照
して以下に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1は、本発明の一実施形態の構成及び動
作を説明するためのブロック線図である。
FIG. 1 is a block diagram for explaining the configuration and operation of one embodiment of the present invention.

【0011】図1を参照して、本実施形態は、キーボー
ド等の入力装置1と、プログラム制御により動作するデ
ータ処理装置2と、情報を記憶する記憶装置3と、ディ
スプレイ装置等の出力装置4と、から構成されている。
なお、データ処理装置2の内部に示すデータ操作S2〜
データ処理S4等は、データ処理装置2における処理の
流れを、入力装置1、記憶装置3、及び出力装置4との
制御の関係を含めて示したものである。
Referring to FIG. 1, in the present embodiment, an input device 1 such as a keyboard, a data processing device 2 which operates under program control, a storage device 3 for storing information, and an output device 4 such as a display device. It consists of and.
The data operations S2 to S2 shown inside the data processing device 2
The data processing S4 and the like show the flow of processing in the data processing device 2 including the control relationship with the input device 1, the storage device 3, and the output device 4.

【0012】次に、本実施形態の動作について図1を参
照して説明する。
Next, the operation of this embodiment will be described with reference to FIG.

【0013】データ操作S1において、記憶装置3に所
定のバッファを確保しておき、データ操作S2でエディ
タ起動中に入力装置1から入れられたコマンドを記憶装
置3に記憶させる。
In the data operation S1, a predetermined buffer is secured in the storage device 3, and in the data operation S2, the command input from the input device 1 while the editor is running is stored in the storage device 3.

【0014】この後、これと同じコマンドを再実行した
い場合、データ処理S4において予め指定されたキー
(例えばCtrl+PF11;コントロール(Ctr
l)キーを押しながらファンクションキー11を押下す
る)が、入力装置1(キーボード)から押下されると、
データ処理装置2が処理起動を促し、記憶装置3のコマ
ンドの内容が出力装置4へ出力される。
After that, when it is desired to re-execute the same command as this, a key designated in advance in the data processing S4 (for example, Ctrl + PF11; control (Ctr)
l) Pressing the function key 11 while pressing the key) is pressed from the input device 1 (keyboard),
The data processing device 2 prompts the process to be activated, and the content of the command in the storage device 3 is output to the output device 4.

【0015】また、データ入力・対話操作S3で、新し
いコマンドが入力装置1から入れられた場合、記憶装置
3に記憶させる。
When a new command is input from the input device 1 in the data input / interactive operation S3, it is stored in the storage device 3.

【0016】図2は、ジョブ制御言語(JCL)による
マクロ処理の流れを示すフローチャートであり、実行フ
ァイル形式で自動実行が行なわれる。
FIG. 2 is a flow chart showing the flow of macro processing in the job control language (JCL), which is automatically executed in the form of an execution file.

【0017】図2を参照して、処理の詳細を説明する。
なお、図2は、ジョブ制御言語(JCL)によるマクロ
処理の流れを示しており、該マクロ処理は実行ファイル
形式でエディタ起動中に呼び出されて実行される。
Details of the processing will be described with reference to FIG.
FIG. 2 shows the flow of macro processing in the job control language (JCL), and the macro processing is called and executed in the execution file format while the editor is running.

【0018】まず、起動された実行ファイルは、記憶装
置3でバッファを確保し(ステップ11)、入力装置1
からコマンドが入力されると該コマンドをバッファに記
憶する(ステップ12)。
First, a buffer for the started execution file is secured in the storage device 3 (step 11), and the input device 1
When a command is input from, the command is stored in the buffer (step 12).

【0019】そして、新しいコマンドが入力されたか否
かを判定し(ステップ13)、新しいコマンドが入力さ
れた場合にはステップ12へ戻り(バッファの内容を最
新の入力コマンドで更新する)、入力されなければ入力
装置1のキーボードから「Ctrl+PF11」キーが
押下されているかどうかを判別する(ステップ14)。
Then, it is judged whether or not a new command has been input (step 13), and when a new command has been input, the process returns to step 12 (the contents of the buffer are updated with the latest input command) and input. If not, it is determined whether or not the "Ctrl + PF11" key is pressed from the keyboard of the input device 1 (step 14).

【0020】「Ctrl+PF11」キーが押下されて
いれば、バッファの内容を出力装置へ出力させ(ステッ
プ15)、押下されていなければステップ13へ戻る。
If the "Ctrl + PF11" key is pressed, the contents of the buffer are output to the output device (step 15), and if not pressed, the process returns to step 13.

【0021】以上のシーケンスがステップ15の処理が
終了するまで繰り返す。
The above sequence is repeated until the process of step 15 is completed.

【0022】図3を参照して、本発明の一実施形態を実
際に適用した場合の操作例を説明する。図3は、本発明
の一実施例に係る自動実行装置を汎用機に適用した場合
のエディタの操作例を示すための表示装置の状態を示す
図である。
An example of operation when one embodiment of the present invention is actually applied will be described with reference to FIG. FIG. 3 is a diagram showing a state of a display device for showing an operation example of an editor when the automatic execution device according to the embodiment of the present invention is applied to a general-purpose machine.

【0023】エディタを起動し、あるソースファイル
(ここではCOBOLプログラム)を出力装置(表示装
置)に表示させ、修正・更新作業を行なうものとする。
It is assumed that an editor is started, a certain source file (here, a COBOL program) is displayed on an output device (display device), and correction / update work is performed.

【0024】例えば、検索表示コマンド(GLコマン
ド)でソースファイル中の「@HIZB0100」を含
むラインを検索表示し、あるラインにおいて見出され
た、「@HIZB0100」を含むラインの「YOTE
A」(図示せず)を「YOTEI」に、所定の置換コマ
ンド(Sコマンド)で変換し、修正したファイル(ファ
イル名HLP0410)を書込みコマンド(Wコマン
ド)でセーブした後コンパイル及びリンクされ、エディ
タバッファ上のジョブストリームをジョブとしてシステ
ムのスケジューラに投入するコマンド(RJコマンド)
を実行させる。
For example, a search display command (GL command) is used to search and display a line containing "@ HIZB0100" in a source file, and a line "YOTEB" containing "@ HIZB0100" found in a certain line is searched.
"A" (not shown) is converted into "YOTEI" by a predetermined replacement command (S command), and the modified file (file name HLP0410) is saved by a write command (W command), and then compiled and linked, and then an editor. Command to submit the job stream in the buffer to the system scheduler as a job (RJ command)
To execute.

【0025】図3(A)は、上記したRJコマンドをエ
ディタのコマンド入力欄(SCMD==>)に入力した
状態の表示画面を一部を示している。
FIG. 3A shows a part of the display screen in a state where the above RJ command is input in the command input field (SCMD ==>) of the editor.

【0026】なお、RJコマンドに後続する「BACK
2」コマンドは出力処理の中断したページよりも2頁
遡って表示出力することを指示するコマンドであ
り、「;」はコマンド行の一ラインに複数のコマンドを
指定する際の区切り記号である。
The "BACK" following the RJ command
The "2" command is a command for instructing display output two pages backward from the page where the output process is interrupted, and ";" is a delimiter for designating a plurality of commands on one line of the command line.

【0027】ここでは、RJコマンドによるジョブ投入
後、図3(B)に示すように、出力処理の中断したペー
ジより2頁遡って出力される画面には、ジョブの実行状
態が表示される。
Here, after the job is submitted by the RJ command, as shown in FIG. 3B, the execution state of the job is displayed on the screen which is output two pages backward from the page where the output process is interrupted.

【0028】図3(B)を参照して、ジョブ(ジョブ名
は「HLP0410」)が終了(結果欄が「DON
E」)した際に、所定のキー(例えばCTRL+PF
5)を押下すると、図3(C)に示すように、元のエデ
ィタの画面表示に復帰する。
Referring to FIG. 3B, the job (job name is “HLP0410”) is completed (result column is “DON”).
E ”), a predetermined key (for example, CTRL + PF
When 5) is pressed, the screen display of the original editor is restored as shown in FIG.

【0029】そして、本実施例においては、図3(C)
の状態で、「Ctrl+PF11」キーが押下される
と、図3(D)に示すように、エディタのコマンド入力
欄には、前回入力したコマンドである「RJ;*BAC
K 2」が再び表示される。
Then, in the present embodiment, FIG.
When the “Ctrl + PF11” key is pressed in this state, as shown in FIG. 3D, the previously input command “RJ; * BAC” is displayed in the command input field of the editor.
“K 2” is displayed again.

【0030】ユーザは、再び表示された「RJ;*BA
CK 2」コマンドをそのまま再実行することができる
と共に、このコマンドを修正した後に実行することもで
きる。
The user displays the "RJ; * BA" displayed again.
The "CK 2" command can be re-executed as it is, or can be executed after the command is modified.

【0031】なお、本実施形態は、ラインエディタのみ
ならず、コマンドバッファを備えコマンド入力モードを
備えたスクリーンエディタに対しても同様にして適用で
きる。以上説明したように、本実施形態によれば、ジョ
ブ制御言語(JCL)によるマクロ処理により、入力し
たコマンドの内容を、指定されたキーを押下した時に画
面に出力させるような機能を記述し、これを実行ファイ
ル形式でエディタ起動中に呼び出すことにより、エディ
タ起動中にコマンドの再入力を行う場合に、入力処理の
省力化を図ることができる。特に、本実施形態によれ
ば、ジョブ制御言語によるマクロ処理により入力したコ
マンドの再表示を制御しており、エディタのプログラム
自体を特別に改変することは不要とされ、各種エディタ
に対して適用可能とされる。
The present embodiment can be similarly applied to not only a line editor but also a screen editor having a command buffer and a command input mode. As described above, according to the present embodiment, the function of outputting the content of the input command to the screen when the designated key is pressed is described by the macro processing in the job control language (JCL). By calling this in the execution file format while the editor is running, labor can be saved in the input process when a command is re-entered while the editor is running. In particular, according to the present embodiment, the redisplay of the command input is controlled by the macro processing in the job control language, and it is not necessary to specially modify the editor program itself, and it can be applied to various editors. It is said that

【0032】[0032]

【発明の効果】以上説明したように、本発明によれば、
ジョブ制御言語により、入力したコマンドの内容を、指
定されたキーを押下した時に画面に出力させるような機
能を記述し、これを実行ファイル形式でエディタ起動中
に呼び出すことが可能とされ、エディタ起動中にコマン
ドの再入力を行う場合に、入力処理の省力化を図ること
ができるという効果を有し、その実用的価値は極めて高
い。
As described above, according to the present invention,
With the job control language, it is possible to describe a function that outputs the contents of the entered command to the screen when the specified key is pressed, and call this in the executable file format while the editor is running. When a command is re-entered in the middle, it has an effect that labor saving of the input process can be achieved, and its practical value is extremely high.

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

【図1】本発明の一実施形態の基本構成を示すブロック
図である。
FIG. 1 is a block diagram showing a basic configuration of an embodiment of the present invention.

【図2】本発明の一実施形態の処理の流れを示すフロー
チャートである。
FIG. 2 is a flowchart showing a flow of processing according to an embodiment of the present invention.

【図3】本発明の一実施形態を実際に適用した際のエデ
ィタ画面を示す図である。
FIG. 3 is a diagram showing an editor screen when one embodiment of the present invention is actually applied.

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

1 入力装置 2 データ処理装置 3 記憶装置 4 出力装置 S1 データ操作 S2 データ操作 S3 データ入力・対話操作 S4 データ処理 1 Input Device 2 Data Processing Device 3 Storage Device 4 Output Device S1 Data Operation S2 Data Operation S3 Data Input / Interactive Operation S4 Data Processing

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】計算機システムにおいてエディタを起動し
ている間に入力手段から入力されたコマンドを所定の記
憶領域に格納記憶し、 予め定められた所定のキーが押下された際に、入力済み
のコマンドの内容を画面に出力させ、前記入力手段から
のコマンドの再入力を不要とするように構成されてなる
自動実行装置。
1. A computer system stores a command input from an input means in a predetermined storage area while an editor is being activated, and stores a command when a predetermined predetermined key is pressed. An automatic execution device configured to output the contents of a command on a screen and eliminate the need to re-input the command from the input means.
【請求項2】ジョブ制御言語(JCL)により、入力し
たコマンドの内容をバッファに記憶し指定されたキーが
押下された時に該入力コマンドを画面に出力させる処理
機能が規定され、前記JCLを実行ファイル形式で前記
エディタ起動中に自動実行させるようにしたことを特徴
とする請求項1記載の自動実行装置。
2. A job control language (JCL) defines a processing function of storing the contents of an input command in a buffer and outputting the input command to a screen when a designated key is pressed, and executes the JCL. 2. The automatic execution device according to claim 1, wherein the automatic execution device is in a file format and is automatically executed while the editor is running.
【請求項3】少なくとも最後に入力されたコマンドを前
記所定のキー入力により画面に再び表示することを特徴
とする請求項1記載の自動実行装置。
3. The automatic execution apparatus according to claim 1, wherein at least the last input command is displayed again on the screen by the predetermined key input.
JP7276571A 1995-09-29 1995-09-29 Automatic executing device for command when using editor at general-purpose machine Pending JPH0997234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7276571A JPH0997234A (en) 1995-09-29 1995-09-29 Automatic executing device for command when using editor at general-purpose machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7276571A JPH0997234A (en) 1995-09-29 1995-09-29 Automatic executing device for command when using editor at general-purpose machine

Publications (1)

Publication Number Publication Date
JPH0997234A true JPH0997234A (en) 1997-04-08

Family

ID=17571338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7276571A Pending JPH0997234A (en) 1995-09-29 1995-09-29 Automatic executing device for command when using editor at general-purpose machine

Country Status (1)

Country Link
JP (1) JPH0997234A (en)

Similar Documents

Publication Publication Date Title
JPH07244569A (en) Data processing system and method for starting sequence of user input of data processing system in data processing system described above
JPH01172997A (en) Graphic customization of memu display
JPH05298052A (en) Window system and event processing method
JPH0997234A (en) Automatic executing device for command when using editor at general-purpose machine
JP4925514B2 (en) Program execution control method, program, execution control apparatus, and recording medium by internal / external event driven system
JPH05216641A (en) Graphical user interface control program generator
JPH0883172A (en) Supporting device for development of software
JPH0954688A (en) Gui design supporting method
JPH04290119A (en) Character processor
JPH09160611A (en) Programmable controller
JPS63228341A (en) Program syntax checking system
JPH052587A (en) Document preparation device
JPH0581005A (en) Program converter
JPH06259296A (en) Human-machine interface constructing tool
JPS63228207A (en) Function key setting system
JPH0991173A (en) Execution history display method for program
JPH0282313A (en) Attention processing method for system with coexisting full-screen mode and line mode
JPH02267622A (en) Multi-window display device
JPS61131124A (en) Conversation input processing system
JPS61208142A (en) Communication system between processes
JPH0546155A (en) Ruled-line setting mechanism of information processor
JPS6172339A (en) Control system for execution and display of program
JPH08255076A (en) Automatic program generation system by database driving
JPH03127225A (en) Program production system
JPH06230948A (en) Automatic programming device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990323