JPH01136266A - Job processing system - Google Patents

Job processing system

Info

Publication number
JPH01136266A
JPH01136266A JP29470587A JP29470587A JPH01136266A JP H01136266 A JPH01136266 A JP H01136266A JP 29470587 A JP29470587 A JP 29470587A JP 29470587 A JP29470587 A JP 29470587A JP H01136266 A JPH01136266 A JP H01136266A
Authority
JP
Japan
Prior art keywords
tss
jcl
command
batch
processing
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
JP29470587A
Other languages
Japanese (ja)
Inventor
Tadashi Yamagishi
山岸 正
Soji Nakamura
壮志 中村
Isao Obara
小原 勲
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
Original Assignee
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 Ltd filed Critical Hitachi Ltd
Priority to JP29470587A priority Critical patent/JPH01136266A/en
Publication of JPH01136266A publication Critical patent/JPH01136266A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To keep the consistency of user interface by providing a function to convert a TSS command to a JCL (job control language) to execute as a batch job. CONSTITUTION:A started up JCL conversion part 15 generates the JCL for the batch job based on the TSS command, and outputs it to a JCL file 16. After that, by inputting the TSS command from a terminal equipment 3 by a user a TSS processing part 11 delivers the TSS command to the JCL conversion part 15 as it is. When a series of input of the TSS commands for a batch processing is completed, the user of the terminal equipment 3 inputs the TSS command in the JCL conversion part. Therefore, the TSS processing part 11 stops the operation of the JCL conversion part 15 by interpreting the TSS command. Simultaneously, the content of the JCL file 16 is outputted, and it is registered on a batch processing part 12 as the batch job.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は計算機システムのジョブ処理方式に係り、特に
T S S (Time Sharing Syste
m)環境下で動作する計算機システムのコマンド処理に
好適なジョブ処理方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a job processing method for a computer system, and particularly relates to a job processing method for a time sharing system (TSS).
m) It relates to a job processing method suitable for command processing of a computer system operating in an environment.

【従来の技術〕[Conventional technology]

近年、計算機システムは、複数の端末(TSS端末)と
通信回線を介して結ばれ、TSS環境下で動作すること
が一般化している。この場合、端末の利用者と計算機シ
ステムの間では、TSSコマンドを使用して、会話形式
にジョブが実行される。一方、計算機システムの仕事に
はバッチ処理もある。このバッチ処理では、ジョブ制御
言語(J CL : J ob Control La
ngu、age)で処理が記述され、計算機システムは
JCLを解釈してバッチジョブを実行することNなる。
In recent years, it has become common for computer systems to be connected to multiple terminals (TSS terminals) via communication lines and to operate under a TSS environment. In this case, jobs are executed interactively between the terminal user and the computer system using TSS commands. On the other hand, the work of computer systems also involves batch processing. This batch processing uses the Job Control Language (JCL).
The processing is described in Ngu, age), and the computer system interprets the JCL and executes the batch job.

なお、TSSコマンドについては例えば特開昭0−14
4839号公報に記載されており、また。
Regarding the TSS command, for example, Japanese Patent Application Laid-Open No. 0-14
It is described in Publication No. 4839, and also.

JCLについては例えば特開昭59−105167号公
報に記載されている。
JCL is described in, for example, Japanese Patent Laid-Open No. 105167/1983.

〔従来の技術〕[Conventional technology]

従来の計算機システムでは、バッチあるいは会話形式の
如く処理形態を異にすると、利用者は異なるコマンド言
語で処理を記述しなければならず、利用者の使い易さの
点について配慮されていない。
In conventional computer systems, if the processing format is different, such as batch or conversational, the user must write the processing in a different command language, and the user's ease of use is not considered.

即ち、従来は一連の処理を行う場合、バッチジョブとし
て処理する場合はJCLで、TSS環境下で会話形式で
処理する場合はTSSコマンドで、各々処理を記述する
必要があり、利用者にとって煩わしいという問題があっ
た。
In other words, in the past, when performing a series of processes, it was necessary to write each process using JCL when processing as a batch job, and TSS command when processing interactively in a TSS environment, which was cumbersome for users. There was a problem.

本発明の目的は、処理形態が異っても同一のコマンド首
語で処理を記述できるようにし、ユーザインタフェース
の一貫性を図ったジョブ処理方式を提供することにある
SUMMARY OF THE INVENTION An object of the present invention is to provide a job processing method that allows processes to be described using the same command prefix even if the processing formats are different, and provides consistency in the user interface.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、JCLを解釈しバッチジョブとして実行す
る機能と、TSSコマンドを解釈し利用者と会話形式に
実行する機能を備えた計算機システムにおいて、TSS
コマンドをバッチジョブとして実行するためのJCLに
変換する機能を設けることにより、達成される。
The above purpose is to implement TSS in a computer system that has the function of interpreting JCL and executing it as a batch job, and the function of interpreting TSS commands and executing them interactively with the user.
This is achieved by providing a function to convert commands into JCL for execution as a batch job.

〔作 用〕[For production]

利用者が、端末等より、バッチ処理を指定し、TSSコ
マンドを入力すると、計算機システムは該TSSコマン
ドをJCLに自動変換してJCLファイルに蓄え、バッ
チジョブとして実行する。
When a user specifies batch processing and inputs a TSS command from a terminal or the like, the computer system automatically converts the TSS command into JCL, stores it in a JCL file, and executes it as a batch job.

これにより、利用者はバッチジョブの場合でも、処理を
JCLで記述する必要がなく、端末等よりTSSコマン
ドで記述して入力することができるため、ユーザインタ
フェースの一貫性が図れ、利用者にとって使い易いもの
となる。
As a result, even in the case of batch jobs, users do not need to write the processing in JCL, but can write and input TSS commands from a terminal, etc., making the user interface more consistent and easier for users to use. It becomes easy.

【実施例〕【Example〕

以下、本発明の一実施例について図面を参照して説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例の構成図である。第1図にお
いて、計算機システム1には通信回線2を介して端末装
置(TSS端末)3が接続されている。実際には多数の
端末装置3が計算機システム1と接続されているが、便
宜上、第1図では1台のみ示している。計算機システム
1は、会話形式のジョブを処理するTSS処理部11.
リソーススケジュールを必要とするジョブ(バッチジョ
ブ)を処理するバッチ処理部12、端末装置3とTSS
処理部11との間の通信を制御する通信制御部13、一
連のTSSコマンドをTSSコマンドプロシジャとして
記述したものを蓄えておくコマンドファイル14、TS
S処理部11に含まれていてTSSコマンドをそれに対
応するJCLに変換するJCL変換部15、JCL変換
部15で生成されたJCLを蓄えてバッチ処理部12へ
渡すJCLファイル16から構成されている。
FIG. 1 is a block diagram of an embodiment of the present invention. In FIG. 1, a terminal device (TSS terminal) 3 is connected to a computer system 1 via a communication line 2. Although a large number of terminal devices 3 are actually connected to the computer system 1, only one terminal device 3 is shown in FIG. 1 for convenience. The computer system 1 includes a TSS processing unit 11. which processes conversational jobs.
A batch processing unit 12 that processes jobs that require resource scheduling (batch jobs), a terminal device 3, and a TSS
A communication control unit 13 that controls communication with the processing unit 11, a command file 14 that stores a series of TSS commands described as a TSS command procedure, and a TS
It consists of a JCL conversion unit 15 included in the S processing unit 11 and converting TSS commands into corresponding JCL, and a JCL file 16 that stores JCL generated by the JCL conversion unit 15 and passes it to the batch processing unit 12. .

通常、端末装[3の利用者はTSSコマンドを該端末装
[3から入力し、計算機システム1へ会話形式で処理を
依頼する。計算機システム1のTSS処理部11は、T
SSコマンドを通信制御部13を介して受は取ると、当
該TSSコマンドを解釈し、所定の処理を実行し、必要
に応じて処理結果を通信制御部13を介して端末装[3
へ返送する。この端末装置13からのTSSコマンドの
入力、計算機システム1のTSS処理部11での当該T
SSコマンドの解釈、実行、処理結果の端末装置3への
返送を繰返すことにより、会話形式で処理が実行される
。また、利用者は一連のTSSコマンドを、コマンドプ
ロシジャとして記述したものをコマンドファイル14に
蓄えておき、その処理をTSS処理部11に依頼するこ
ともできる。
Normally, a user of the terminal device [3 inputs a TSS command from the terminal device [3] and requests processing to the computer system 1 in a conversational manner. The TSS processing unit 11 of the computer system 1
When an SS command is received via the communication control unit 13, the TSS command is interpreted, predetermined processing is executed, and the processing results are sent via the communication control unit 13 to the terminal device [3].
Send it back to The input of the TSS command from this terminal device 13, the corresponding TSS command in the TSS processing unit 11 of the computer system 1.
By repeating the interpretation and execution of the SS command and the return of the processing results to the terminal device 3, processing is executed in a conversational manner. Further, the user can also store a series of TSS commands written as a command procedure in the command file 14 and request the TSS processing section 11 to process it.

この場合、TSS処理部11は、コマンドファイル14
から一連のTSSコマンドを順次読込み、連続的に実行
することNなる。
In this case, the TSS processing unit 11 uses the command file 14
A series of TSS commands are sequentially read from N and executed continuously.

次に、端末装置3の利用者が計算機システム1へのバッ
チ処理を依頼する場合について、第2図のフローチャー
トにより説明する。第2図は特にJCL変換部15での
処理を示したものである。
Next, the case where the user of the terminal device 3 requests batch processing to the computer system 1 will be explained with reference to the flowchart of FIG. 2. FIG. 2 particularly shows the processing in the JCL converter 15.

利用者は、まずJCL変換部15を起動するTSSコマ
ンドを端末装R3から入力する。計算機システム1では
、TSS処理部11が通信制御部13を介して該TSS
コマンドを受取り、それを解釈してJCL変換部15を
起動する。起動を受けたJCL変換部15は該TSSコ
マンドにもとづいてバッチジョブ用のJCL (ジョブ
全体の制御文)を生成してJCLファイル16に出力す
る。
The user first inputs a TSS command to start the JCL converter 15 from the terminal R3. In the computer system 1, the TSS processing unit 11 processes the TSS via the communication control unit 13.
It receives the command, interprets it, and starts the JCL conversion unit 15. The activated JCL conversion unit 15 generates JCL (control statement for the entire job) for the batch job based on the TSS command and outputs it to the JCL file 16.

以後、利用者が端末装置3からTSSコマンドを入力す
ると、計算機システム1のTSS処理部11は該TSS
コマンドをそのま>JCL変換部15へ渡し、JCL変
換部15は該TSSコマンドに対応するJCLを生成し
てJCLファイル16に出力する。バッチ処理のための
一連のTSSコマントの入力が終了すると、端末装置3
の利用者はJCL変換部15を停止させるTSSコマン
ドを入力する。計算機システム1のTSS処理部11は
、該TSSコマンドを解釈することによりJCL変換部
15の動作を停止する。同時に、JCLファイル16の
内容を出力し、バッチジョブとしてバッチ処理部12に
登録する。以後、バッチ処理部12はJCLを解釈し、
利用者が端末装置3から入力した一連のTSSコマンド
をバッチジョブとして実行する。なお、コマンドファイ
ル14の内容を読出してJCL変換部15に入力するこ
とにより、コマンドファイル14にコマンドプロシジャ
として記述されている一連のTSSコマンドをバッチジ
ョブとしてバッチ処理部12で実行することも可能であ
る。
Thereafter, when the user inputs a TSS command from the terminal device 3, the TSS processing unit 11 of the computer system 1 executes the TSS command.
The command is passed as is to the JCL conversion unit 15, and the JCL conversion unit 15 generates JCL corresponding to the TSS command and outputs it to the JCL file 16. When the input of a series of TSS commands for batch processing is completed, the terminal device 3
The user inputs a TSS command to stop the JCL converter 15. The TSS processing unit 11 of the computer system 1 stops the operation of the JCL conversion unit 15 by interpreting the TSS command. At the same time, the contents of the JCL file 16 are output and registered in the batch processing unit 12 as a batch job. After that, the batch processing unit 12 interprets the JCL,
A series of TSS commands input by the user from the terminal device 3 are executed as a batch job. Note that by reading the contents of the command file 14 and inputting them to the JCL conversion unit 15, it is also possible to execute a series of TSS commands described in the command file 14 as a command procedure as a batch job in the batch processing unit 12. be.

第3図はTSSコマンドとそれに対応するJCLの具体
例を示したものである。100−1はJCL変換部起動
用TSSコマンドであり、起動を受けたJCL変換部1
5は、該TSSコマンドにもとづいて200−1で示す
バッチジョブのためのJCLを出力する。即ち、JCL
変換部起動用TSSコマンド100−1の各オペランド
が、ジョブ全体を制御する文200−1の各オペランド
に対応している。100−2.too−3は一連のTS
Sコマンドで、これらのTSSコマンドにおいてもそれ
ぞれ対応する文やオペランドがあり。
FIG. 3 shows a concrete example of the TSS command and the corresponding JCL. 100-1 is a TSS command for starting the JCL conversion unit, and the JCL conversion unit 1 that has been activated
5 outputs JCL for the batch job indicated by 200-1 based on the TSS command. That is, J.C.L.
Each operand of the TSS command for starting the conversion unit 100-1 corresponds to each operand of the statement 200-1 that controls the entire job. 100-2. too-3 is a series of TS
These TSS commands also have corresponding statements and operands.

200−2や200−3で示す如< J CL 和変換
される。100−4はJCL変換部停止用TSSコマン
ドであり、該TSSコマンドでJCL変換部15の動作
が停止する。この時、JCLファイル16には200−
1,200−2,200−3のバッチバヨブが登録され
ており、実際には1゜O−1,100−2,100−3
(7)TSSコvンドを投入したのに、計算機システム
1では、あたかもバッチジョブ200−1,200−2
,200−3が投入されたかのように、TSSコマンド
をバッチジョブとして処理する。
The sum conversion is performed as shown by 200-2 and 200-3. 100-4 is a TSS command for stopping the JCL conversion unit, and the operation of the JCL conversion unit 15 is stopped by this TSS command. At this time, JCL file 16 contains 200-
A batch bayob of 1,200-2,200-3 is registered, and in reality it is 1°O-1,100-2,100-3.
(7) Even though the TSS command was input, on computer system 1, it seems as if batch jobs 200-1 and 200-2
, 200-3, the TSS command is processed as a batch job.

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

以上の説明から明らかな如く、本発明によれば。 As is clear from the above description, according to the present invention.

JCLを解釈しバッチジョブとして実行する機能とTS
Sコマンドを解釈し会話形式に実行する機能を有する計
算機システムにおいて、バッチジョブを実行する場合も
、利用者は処理をJCLで記述する必要がなく、TSS
コマンドを入力するだけでよいため、ユーザインタフェ
ースの一貫性が保たれ、従来のように処理をTSSSフ
コで記述したりJCL″′Q記述したりしなければなら
ない煩わしさから利用者が解放される効果がある。
Function and TS to interpret JCL and execute as a batch job
Even when executing a batch job on a computer system that has the function of interpreting S commands and executing them conversationally, the user does not need to write the process in JCL;
Because it is only necessary to input commands, the consistency of the user interface is maintained, and users are freed from the hassle of having to write processes in TSSS text or JCL″'Q as in the past. effective.

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

第1図は本発明の一実施例の構成図、第2図は第1図の
JCL変換部の動作を示すフローチャート、第3図はT
SSコマンドとそれに対応するJCLの具体例を示す図
である。 1・・・計算機システム、 2・・・通信回線、3・・
・端末装置、 11・・・TSS処理部。 12・・・バッチ処理部、 13・・・通信制御部、1
4・・・コマンドファイル。 15・・・JCL変換部、 16・・・JCLファイル
。 第1図 第3図
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the JCL converter shown in FIG. 1, and FIG. 3 is a T
FIG. 3 is a diagram illustrating a specific example of an SS command and a JCL corresponding to the SS command. 1... Computer system, 2... Communication line, 3...
- Terminal device, 11...TSS processing unit. 12...Batch processing unit, 13...Communication control unit, 1
4... Command file. 15...JCL conversion section, 16...JCL file. Figure 1 Figure 3

Claims (1)

【特許請求の範囲】[Claims] (1)ジョブ制御文(JCL)を解釈しバッチジョブと
して実行する機能と、TSSコマンドを解釈し会話形式
に実行する機能を有する計算機システムにおいて、TS
Sコマンドをそれに対応するJCLに変換する機能を設
け、入力されたTSSコマンドをJCLに自動変換し、
バッチジョブとして実行することを特徴とするジョブ処
理方式。
(1) In a computer system that has the function of interpreting job control statements (JCL) and executing them as batch jobs, and the function of interpreting TSS commands and executing them interactively,
A function is provided to convert the S command to the corresponding JCL, and the input TSS command is automatically converted to JCL.
A job processing method characterized by execution as a batch job.
JP29470587A 1987-11-21 1987-11-21 Job processing system Pending JPH01136266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29470587A JPH01136266A (en) 1987-11-21 1987-11-21 Job processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29470587A JPH01136266A (en) 1987-11-21 1987-11-21 Job processing system

Publications (1)

Publication Number Publication Date
JPH01136266A true JPH01136266A (en) 1989-05-29

Family

ID=17811233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29470587A Pending JPH01136266A (en) 1987-11-21 1987-11-21 Job processing system

Country Status (1)

Country Link
JP (1) JPH01136266A (en)

Similar Documents

Publication Publication Date Title
EP0106349B1 (en) Method and apparatus for controlling a time-sharing computer system
JPH0690697B2 (en) Computer system and method of operating the same
JPS60258667A (en) Control method of interactive type computer system
JPH01136266A (en) Job processing system
JPH01188374A (en) Printing system
JPH0644055A (en) Installation system
JPH03100761A (en) User operation circumstance setting processing method
JPH0331935A (en) System for executing job
JP2674694B2 (en) Other system control language converter
JPS62251957A (en) Function distributed information processing system
JPS62216041A (en) Compiler start processing system by command
JPH0430239A (en) Command option designation processing system
JP2524348B2 (en) Online control method
JPS60105007A (en) Executing system for input and output control
JPS6371735A (en) Multitask operating system
JPS63292345A (en) File information presenting system
JPH0675908A (en) On-line real time processing system
JPS61208142A (en) Communication system between processes
JPS62269230A (en) System control processing system by work station
JPS63280331A (en) Merging system between job transfer and file transfer
JPH0644172A (en) Method and computer for executing remote command
JPH02300837A (en) Computer system
JPH05143502A (en) Controller for distribution of terminal computer
JPH01142827A (en) Program starting system
JPH0738591A (en) Shortening method for initialize time for terminal equipment