JPS63170734A - Output mechanism for activity unit execution result in batch processing - Google Patents

Output mechanism for activity unit execution result in batch processing

Info

Publication number
JPS63170734A
JPS63170734A JP62001917A JP191787A JPS63170734A JP S63170734 A JPS63170734 A JP S63170734A JP 62001917 A JP62001917 A JP 62001917A JP 191787 A JP191787 A JP 191787A JP S63170734 A JPS63170734 A JP S63170734A
Authority
JP
Japan
Prior art keywords
activity
execution
execution result
command
job
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
JP62001917A
Other languages
Japanese (ja)
Inventor
Junko 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 JP62001917A priority Critical patent/JPS63170734A/en
Publication of JPS63170734A publication Critical patent/JPS63170734A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To output the execution result of already terminated activity even during job execution by assigning system-out files to activity units constituting a job in the batch processing to individually store the execution result of each activity. CONSTITUTION:When an activity unit execution result output mode selecting command is discriminated by a command discriminated by a command discriminating means 2, a system-out file assigning mechanism 3 assignes system-output files 7a-7n to activity units. When an activity unit execution result output command is discriminated by the command discriminating means 2, an activity termination check and system-out output mechanism 5 checks whether the execution of a pertinent activity is terminated or not and outputs the execution result of this activity out of activities 6a-6n stored in corresponding system-out files at the time of termination. Thus, the execution result of the activity to which execution is terminated is outputted before the execution of the whole of the job is terminated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はバッチ処理におけるアクティビティ単位実行結
果出力機構に関し、特に電子計算機によるバッチ処理に
おけるジョブの実行結果の出力方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an activity unit execution result output mechanism in batch processing, and more particularly to a method for outputting job execution results in batch processing by an electronic computer.

〔従来の技術〕[Conventional technology]

従来、この種のバッチ処理における実行結果出力方式で
は、1つのジョブが複数のアクティビティで構成されて
いる基台でも、1つのジョブの実行結果をオペレーティ
ングシステムによって確保されたテンポラリファイルで
ある1つのシスアウトファイルに保存しておき、ジョブ
のすべてのアクティビティが終了した時点でシスアウト
ファイルに格納されたジョブの実行結果をプリンタ、表
示装置等の出力手段に出力していた。このため、ジョブ
の実行中にすでに実行が完了したアクティビティがあっ
ても、その実行結果を出力してみることはできなかった
Conventionally, in this type of batch processing execution result output method, even if one job is composed of multiple activities, the execution results of one job are stored in one system as a temporary file secured by the operating system. The job execution results are stored in an out file, and when all activities of the job are completed, the job execution results stored in the sys out file are output to an output means such as a printer or a display device. Therefore, even if there is an activity that has already completed execution while the job is being executed, it is not possible to output the execution result.

また、実行の途中結果をみながら実行する方法としては
、複数の投入ジョブに実行順序を設定して前のジョブの
実行が終了するまで次のジップの実行を待機させること
により順次実行を行う方法が用いられていた(例えば、
ACOSオペレーティングシステム ACO3−6リモ
ート処理管理 リモートバッチ処理システム説明書、P
、8〜9.昭和56年発行参照)。
Also, as a method of executing while checking the intermediate results of execution, there is a method of sequential execution by setting the execution order for multiple submitted jobs and making the execution of the next zip wait until the execution of the previous job is finished. was used (for example,
ACOS Operating System ACO3-6 Remote Processing Management Remote Batch Processing System Manual, P
, 8-9. (Refer to publication in 1981).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のバッチ処理における実行結果出力方式で
は、1つのジョブについて1つのシスアウトファイルを
対応させてジョブの実行結果を保存するようになってい
たので、ジョブ全体の実行が終了するまでアクティビテ
ィ単位では実行結果をみることができないようになって
おり、複数のアクティビティで構成されたジョブにおい
て途中の実行結果によっては以降の実行が不要となる場
合でも無駄にマシンリソースを使用してしまうという欠
点がある。このような無駄を避けるために、ジョブの実
行結果をテンポラリファイルであるシスアウトファイル
に出力する代わりにパーマネントファイルに出力する方
法も可能であるが、このためにはプログラム自体で個別
に対応しなければならないという欠点がある。
In the conventional batch processing execution result output method described above, job execution results are saved by associating one sysout file with one job. The disadvantage is that you cannot see the execution results in a job that consists of multiple activities, and even if the subsequent execution is unnecessary depending on the intermediate execution results of a job that consists of multiple activities, it wastes machine resources. be. In order to avoid such waste, it is possible to output the job execution results to a permanent file instead of to a temporary sysout file, but this requires individual support in the program itself. It has the disadvantage that it cannot be used.

また、複数の投入ジョブに実行順序を設定し前のジップ
が終了するまで次のジョブを待機させて順次実行を行う
方法では、ジョブが分かれるためにテンポラリファイル
であるシスアウトファイルでの入出力の受渡しができず
、パーマネントファイルあるいは磁気テープによるファ
イル管理を必要とするという欠点がある。
In addition, if you set the execution order for multiple submitted jobs and execute them sequentially by waiting for the next job until the previous zip finishes, the input/output in the sysout file, which is a temporary file, will be It has the disadvantage that it cannot be transferred and requires file management using permanent files or magnetic tape.

本発明の目的は、上述の点に鑑み、実行中のジョブの実
行結果(シスアウトファイル出力)をアクティビティ単
位で作成することにより、すでに実行の終了したアクテ
ィビティの実行結果をジョブ全体の実行終了を待たずに
みることを可能とするバッチ処理におけるアクティビテ
ィ単位実行結果出力機構を提供することにある。
In view of the above-mentioned points, an object of the present invention is to create execution results (sysout file output) of a job that is currently being executed for each activity, so that the execution results of activities that have already finished execution can be used to complete execution of the entire job. The purpose of the present invention is to provide an activity unit execution result output mechanism in batch processing that allows viewing without waiting.

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

本発明のバッチ処理におけるアクティビティ単位実行結
果出力機構は、アクティビティ単位に実行結果を出力す
るモードを選択するためのアクティビティ単位実行結果
出力モード選択コマンドおよびアクティビティ単位に実
行結果を出力するためのアクティビティ単位実行結果出
力コマンドを識別するコマンド識別手段と、このコマン
ド識別手段により前記アクティビティ単位実行結果出力
モード選択コマンドが識別されたときにアクティビティ
単位にシスアウトファイルを割り付けるシスアウトファ
イル割付は機構と、前記コマンド識別手段により前記ア
クティビティ単位実行結果出力コマンドが識別されたと
きにこのアクティビティ単位実行結果出力コマンドに基
づいて該当するアクティビティの実行終了をチェックし
このアクティビティの実行が終了した時点で対応するシ
スアウトファイルに格納された前記アクティビティの実
行結果の出力を行うアクティビティ終了チェック・シス
アウト出力機構とを有する。
The activity unit execution result output mechanism in batch processing of the present invention includes an activity unit execution result output mode selection command for selecting a mode for outputting execution results for each activity, and an activity unit execution for outputting execution results for each activity. a command identification means for identifying a result output command; a sysout file allocation mechanism for allocating a sysout file for each activity when the command identification means identifies the activity unit execution result output mode selection command; and a sysout file allocation mechanism for allocating a sysout file for each activity; When the activity unit execution result output command is identified by the means, the completion of execution of the corresponding activity is checked based on this activity unit execution result output command, and when the execution of this activity is completed, it is stored in the corresponding system out file. and an activity completion check/sysout output mechanism that outputs the execution result of the activity.

〔作用〕[Effect]

本発明のバッチ処理におけるアクティビティ単位実行結
果出力機構では、コマンド識別手段がアクティビティ単
位に実行結果を出力するモードを選択するためのアクテ
ィビティ単位実行結果出力モード選択コマンドおよびア
クティビティ単位に実行結果を出力するためのアクティ
ビティ単位実行結果出力コマンドを識別し、シスアウト
ファイル割付は機構がコマンド識別手段によりアクティ
ビティ単位実行結果出力モード選択コマンドが識別され
たときにアクティビティ単位にシスアウトファイルを割
り付け、アクティビティ終了チェック・シスアウト出力
機構がコマンド識別手段によりアクティビティ単位実行
結果出力コマンドが識別されたときにこのアクティビテ
ィ単位実行結果出力コマンドに基づいて該当するアクテ
ィビティの実行終了をチェックしこのアクティビティの
実行が終了した時点で対応するシスアウトファイルに格
納されたアクティビティの実行結果の出力を行う。
In the activity unit execution result output mechanism in batch processing of the present invention, the command identifying means includes an activity unit execution result output mode selection command for selecting a mode for outputting execution results for each activity, and a command for outputting execution results for each activity. When the activity unit execution result output mode selection command is identified by the command identification means, the mechanism allocates a sysout file for each activity, and performs activity completion check and sysout file allocation. When the output mechanism identifies an activity unit execution result output command by the command identification means, it checks whether the execution of the corresponding activity is completed based on this activity unit execution result output command, and when the execution of this activity is completed, the corresponding system Outputs the execution results of the activity stored in the outfile.

〔実施例〕〔Example〕

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

  。  .

図は、本発明の一実施例を示すブロック図である。本実
施例のバッチ処理におけるアクティビティ単位実行結果
出力機構1は、中央処理装置9およびプリンタ、表示装
置等でなる出力手段8にそれぞれ接続されており、アク
ティビティ単位実行結果出力モード選択コマンド、アク
ティビティ単位実行結果出力コマンド、ジョブ実行結果
出力コマンド等の各種コマンドを識別するコマンド識別
手段2と、コマンド識別手段2により起動され投入され
たジ四プロのアクティビティ6a〜6n単位にシスアウ
トファイル72〜7nを割り付けるシスアウトファイル
割付は機構3と、アクティビティ単位実行結果出力モー
ド選択コマンド、アクティビティ単位実行結果出力コマ
ンド、ジョブ実行結果出力コマンド等の各種コマンドを
入力する端末等でなる入力手段4と、コマンド識別手段
2により起動されアクティビティ単位実行結果出力コマ
ンドおよびジョブ実行結果出力コマンドとともに入力さ
れたジョブ識別情報およびアクティビティ識別情報を参
照して該当するアクティビティおよびジョブの実行終了
をチェックしアクティビティおよびジョブの実行が終了
した時点で対応するシスアウトファイルに格納されたア
クティビティの実行結果およびシスアウトファイル7a
〜7nに格納されたすべてのアクティビティ6a〜6n
の実行結果(ジップ6の実行結果)を出力するアクティ
ビティ終了チェック・シスアウト出力機構5と、複数の
アクティビティ6a〜6nからなるジップ6と、シスア
ウトファイル割付は機構3によりジップ6のアクティビ
ティ63〜6n単位に割り付けられるシスアウトファイ
ル7a〜7nとから構成されている。
The figure is a block diagram showing one embodiment of the present invention. The activity unit execution result output mechanism 1 in the batch processing of this embodiment is connected to a central processing unit 9 and an output means 8 consisting of a printer, a display device, etc., and is connected to an activity unit execution result output mode selection command, an activity unit execution A command identification means 2 that identifies various commands such as a result output command and a job execution result output command, and sysout files 72 to 7n are assigned to each of the activities 6a to 6n of G4Pro that are activated and input by the command identification means 2. System out file allocation is performed by a mechanism 3, an input means 4 consisting of a terminal etc. for inputting various commands such as an activity unit execution result output mode selection command, an activity unit execution result output command, a job execution result output command, etc., and a command identification means 2. The end of execution of the relevant activity and job is checked by referring to the job identification information and activity identification information that were started by the activity unit execution result output command and the job execution result output command, and the execution of the activity and job is completed. Activity execution results stored in the corresponding sysout file and sysout file 7a
All activities 6a-6n stored in ~7n
The activity end check/sysout output mechanism 5 outputs the execution result (execution result of zip 6), the zip 6 consists of a plurality of activities 6a to 6n, and the sysout file is allocated by the mechanism 3 to the activities 63 to 6n of zip 6. It consists of sysout files 7a to 7n allocated to each unit.

次に、このように構成された本実施例のバッチ処理にお
けるアクティビティ単位実行結果出力機構における動作
について説明する。
Next, the operation of the activity unit execution result output mechanism in the batch processing of this embodiment configured as described above will be described.

バッチ処理において、入力手段4等を介してジップ6を
投入する際のジョブ制御言語中でアクティビティ6a〜
6n単位に実行結果を出力するモードに処理を設定する
ためのアクティビティ単位実行結果出力モード設定コマ
ンドが指定されると、このアクティビティ単位実行結果
出力モード設定コマンドを中央処理装置9を介してコマ
ンド識別手段2が識別し、シスアウトファイル割付は機
構3を起動する。
In batch processing, activities 6a--
When an activity unit execution result output mode setting command for setting the process to a mode in which execution results are output in units of 6n is specified, this activity unit execution result output mode setting command is sent to the command identification unit via the central processing unit 9. 2 identifies and sysout file allocation activates mechanism 3.

シスアウトファイル割付は機構3は、投入されたジョブ
6を構成する各アクティビティ6a〜6nにそれぞれ別
々のシスアウトファイル7a〜7nを対応づけて割り付
ける。なお、アクティビティ68〜6nに対するシスア
ウトファイル7a〜7nの割付けは、アクティビティ6
a〜6nの実行にともなって個別に行うようにしてもよ
い。
The sysout file allocation mechanism 3 allocates separate sysout files 7a to 7n to each of the activities 6a to 6n constituting the submitted job 6 in association with each other. Note that the assignment of sysout files 7a to 7n to activities 68 to 6n is based on activity 6.
It may be made to carry out individually with execution of a-6n.

投入されたジョブ6の実行が進んでゆくと、この間に各
アクティビティ6a〜6nの実行結果がそれぞれ対応す
るシスアウトファイル7a〜7nに順次格納されてゆく
As the execution of the submitted job 6 progresses, the execution results of the activities 6a to 6n are sequentially stored in the corresponding system out files 7a to 7n, respectively.

ジップ6の実行中またはジップ6の実行終了後に入力手
段4からジップ6の特定のアクティビティ (以下、こ
のアクティビティをアクティビティ6aとする)の実行
結果を出力せよとのアクティビティ単位実行結果出力コ
マンドが入力されると、このアクティビティ単位実行結
果出力コマンドを中央処理装置9を介してコマンド識別
手段2が識別し、アクティビティ終了チェック・シスア
ウト出力機構5を起動する。
During the execution of ZIP 6 or after the completion of the execution of ZIP 6, an activity unit execution result output command is input from the input means 4 to output the execution result of a specific activity of ZIP 6 (hereinafter, this activity will be referred to as activity 6a). Then, the command identifying means 2 identifies this activity unit execution result output command via the central processing unit 9, and activates the activity completion check/sysout output mechanism 5.

アクティビティ終了チェック・シスアウト出力機構5は
、アクティビティ単位実行結果出力コマンドに付随して
入力されたジョブ識別情報およびアクティビティ識別情
報により特定される実行結果の出力対象となるアクティ
ビティ6aの実行が終了しているか否か番チェックし、
終了している場合には対応するシスアウトファイル7a
に格納されているアクティビティ6aの実行結果を出力
手段8に出力する。アクティビティ6aの実行が終了し
ていない場合には、実行の終了を待って終了した時点で
対応するシスアウトファイル7aに格納されているアク
ティビティ6aの実行結果を出力手段8に出力する。
The activity completion check/sysout output mechanism 5 checks whether the execution of the activity 6a to which the execution result specified by the job identification information and activity identification information input in conjunction with the activity unit execution result output command is to be output has finished. Check whether or not
If it has ended, the corresponding system out file 7a
The execution result of the activity 6a stored in is outputted to the output means 8. If the execution of the activity 6a is not completed, the execution result of the activity 6a stored in the corresponding system out file 7a is outputted to the output means 8 after waiting for the completion of the execution.

オペレーティングシステム(図示せず)は、ジョブ6の
すべてのアクティビティ6a〜6nの実行、すなわちジ
目プロ全体の実行が終了し入力手段4からジョブ識別情
報をともなうジョブ実行結果出力コマンドが入力される
までは、すべてのシスアウトファイル7a〜7nを保存
しておく。
The operating system (not shown) continues until execution of all activities 6a to 6n of job 6, that is, execution of the entire JimePro, is completed and a job execution result output command with job identification information is input from input means 4. saves all sysout files 7a to 7n.

ジ理プロの実行中またはジョブ6の実行終了後に入力手
段4からジョブ6に対するジョブ実行結果出力コマンド
が入力されると、このジョブ実行結果出力コマンドがコ
マンド識別手段2により識別されアクティビティ終了チ
ェック・シスアウト出力機構5が起動される。
When a job execution result output command for job 6 is input from the input means 4 during the execution of JiriPro or after the completion of execution of job 6, this job execution result output command is identified by the command identification means 2 and the activity completion check/sysout is performed. The output mechanism 5 is activated.

アクティビティ終了チェック・シスアウト出力機構5は
、ジップ実行結果出力コマンドに付随して入力されたジ
ョブ識別情報により特定される実行結果の出力対象とな
るジップ6のすべてのアクティビティ6a〜6nの実行
が終了したか否かをチェックし、ジョブ6のすべてのア
クティビティ6a〜6nの実行が終了している場合はそ
の時点で、終了していない場合は終了した時点でシスア
ウトファイル7a〜7nに格納されたすべてのアクティ
ビティ6a〜6nの実行結果をジョブ6全体の実行結果
として出力手段8に出力する。このジップ6全体の実行
結果の出力の後に、各アクティビティ6a〜6nに割り
付けられていたシスアウトファイル73〜7nが解放さ
れる。
The activity completion check/sysout output mechanism 5 determines that all activities 6a to 6n of the zip 6 whose execution results are to be output specified by the job identification information input in conjunction with the zip execution result output command have finished execution. If the execution of all activities 6a to 6n of job 6 has been completed, all activities stored in system out files 7a to 7n are The execution results of the activities 6a to 6n are outputted to the output means 8 as the execution results of the entire job 6. After outputting the execution results of the entire zip 6, the sysout files 73 to 7n allocated to each of the activities 6a to 6n are released.

なお、シスアウトファイル7a〜7nは、ジョブ6が削
除されたときにも解放される。
Note that the sysout files 7a to 7n are also released when job 6 is deleted.

(発明の効果〕 以上説明したように本発明は、バッチ処理においてジョ
ブを構成するアクティビティ単位にシスアウトファイル
を割り付けて各アクティビティの実行結果を個別に格納
してお(ことにより、ジョブが実行中でもすでに終了し
たアクティビティについて実行結果を出力することがで
き、これによリジップの実行途中で実行結果の成否を判
定して無駄なジョブの続行を防ぎ、マシンリソースの有
効利用を図ることができる効果がある。
(Effects of the Invention) As explained above, the present invention allocates a sysout file to each activity that constitutes a job in batch processing and stores the execution results of each activity individually (thereby, even when the job is being executed) It is possible to output the execution results for activities that have already finished, which has the effect of determining the success or failure of the execution results during rezip execution, preventing the continuation of wasteful jobs, and making effective use of machine resources. be.

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

図は本発明の一実施例を示すブロック図である。 図において、 1・・・アクティビティ単位実行結果出力機構、2・・
・コマンド識別手段、 3・・・シスアウトファイル割付は機構、4・・・入力
手段、 5・・・アクティビティ終了チェック・シスアウト出力
機構、 6・・・ジョブ、 6a〜6n・・・アクティビティ、 7a〜7n・・・シスアウトファイル、8・・・出力手
段、 9・・・中央処理装置である。
The figure is a block diagram showing one embodiment of the present invention. In the diagram, 1...activity unit execution result output mechanism, 2...
- Command identification means, 3... Sysout file allocation mechanism, 4... Input means, 5... Activity completion check/sysout output mechanism, 6... Job, 6a to 6n... Activity, 7a ~7n...Sysout file, 8...Output means, 9...Central processing unit.

Claims (1)

【特許請求の範囲】 アクティビティ単位に実行結果を出力するモードを選択
するためのアクティビティ単位実行結果出力モード選択
コマンドおよびアクティビティ単位に実行結果を出力す
るためのアクティビティ単位実行結果出力コマンドを識
別するコマンド識別手段と、 このコマンド識別手段により前記アクティビティ単位実
行結果出力モード選択コマンドが識別されたときにアク
ティビティ単位にシスアウトファイルを割り付けるシス
アウトファイル割付け機構と、 前記コマンド識別手段により前記アクティビティ単位実
行結果出力コマンドが識別されたときにこのアクティビ
ティ単位実行結果出力コマンドに基づいて該当するアク
ティビティの実行終了をチェックしこのアクティビティ
の実行が終了した時点で対応するシスアウトファイルに
格納された前記アクティビティの実行結果の出力を行う
アクティビティ終了チェック・シスアウト出力機構と、
を有することを特徴とするバッチ処理におけるアクティ
ビティ単位実行結果出力機構。
[Claims] Command identification for identifying an activity-based execution result output mode selection command for selecting a mode for outputting execution results for each activity and an activity-based execution result output command for outputting execution results for each activity. means, a sys-out file allocation mechanism that allocates a sys-out file for each activity when the command identification means identifies the activity unit execution result output mode selection command; is identified, check the execution completion of the corresponding activity based on this activity unit execution result output command, and output the execution result of the activity stored in the corresponding system out file when the execution of this activity is completed. an activity completion check/sysout output mechanism that performs
An activity unit execution result output mechanism in batch processing, characterized by having:
JP62001917A 1987-01-09 1987-01-09 Output mechanism for activity unit execution result in batch processing Pending JPS63170734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62001917A JPS63170734A (en) 1987-01-09 1987-01-09 Output mechanism for activity unit execution result in batch processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62001917A JPS63170734A (en) 1987-01-09 1987-01-09 Output mechanism for activity unit execution result in batch processing

Publications (1)

Publication Number Publication Date
JPS63170734A true JPS63170734A (en) 1988-07-14

Family

ID=11514938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62001917A Pending JPS63170734A (en) 1987-01-09 1987-01-09 Output mechanism for activity unit execution result in batch processing

Country Status (1)

Country Link
JP (1) JPS63170734A (en)

Similar Documents

Publication Publication Date Title
US5642508A (en) Distributed control method and apparatus for job execution
EP1978444A1 (en) Apparatus and method for collecting resources which became unnecessary
JPH064405A (en) Computer with extended virtual storage
JPH03188528A (en) Method and system for job execution management
EP0547991A2 (en) Adaptive method for starting tasks in a multi-tasking operating system
JPS63170734A (en) Output mechanism for activity unit execution result in batch processing
US7234142B1 (en) Task processing system
JPH06282446A (en) Job schedule generating method
EP0867811A1 (en) Accounting-information outputting device
JPH03260838A (en) Limiting system for cpu using time
JPS635790B2 (en)
JPH04308940A (en) Automatic assignment management system for resource in virtual computer system
JPS63279327A (en) Control system for allocation of resources designated by job control sentence
JPS6269322A (en) Parallel starting system for job steps
JP2581007B2 (en) CPU fixed system
JPH0797342B2 (en) How to start a computer job
JPH04370838A (en) Starting system of virtual computer
JPS62247430A (en) Selecting system for transaction processing task
JPH02120931A (en) External file allocation system for sort
JPH0367339A (en) Data output system for device occupation file
JPH0259951A (en) Batch job start control system based upon on-line
JPH02292640A (en) Memory dump extracting system
JPH02127732A (en) Job control system
JPH04273536A (en) Virtual computer inputting and outputting device control system
JPH03116333A (en) Collective compiling system