JPH02253336A - Program starting system - Google Patents

Program starting system

Info

Publication number
JPH02253336A
JPH02253336A JP7631989A JP7631989A JPH02253336A JP H02253336 A JPH02253336 A JP H02253336A JP 7631989 A JP7631989 A JP 7631989A JP 7631989 A JP7631989 A JP 7631989A JP H02253336 A JPH02253336 A JP H02253336A
Authority
JP
Japan
Prior art keywords
jcl
program
job control
control language
error
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
JP7631989A
Other languages
Japanese (ja)
Inventor
Kohei Oba
大場 浩平
Takeshi Mochizuki
望月 猛
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
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP7631989A priority Critical patent/JPH02253336A/en
Publication of JPH02253336A publication Critical patent/JPH02253336A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To correct a job control language JCL in real time if an error is detected with the JCL used for start of a program by using a JCL rewriting means. CONSTITUTION:If an error of a JCL is detected by a JCL analyzing means 5, a JCL error informing/changing means 7 informs a terminal 1 of the erroneous JCL and receives a corrected JCL from the terminal 1 to send it back to the means 5. A JCL rewriting means 9 rewrites the JCL corrected by the means 7 to an auxiliary storage device 2. As a result, the error of the JCL is already corrected when a program is started again by the same JCL. Then the program is smoothly started with no request produced to a program starting requester for correction of a JCL.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラム起動方式に関し、特にコンピュータ
システムにおけるプログラム起動方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program starting method, and particularly to a program starting method in a computer system.

〔従来の技術〕[Conventional technology]

従来、ジョブ制御言語(以下、JCLと略記する)を用
いたプログラム起動方式では、JCLに記述誤りや指定
誤りがあるか否かの解析処理の途中で記述誤りや指定誤
りが検出された場合には、JCLの解析処理を中断して
異常終了通知を行い、プログラムの起動を行わずに終了
していた。
Conventionally, in the program startup method using job control language (hereinafter abbreviated as JCL), if a description error or specification error is detected during the analysis process to determine whether there is a description error or specification error in the JCL, The program interrupted the JCL analysis process, issued an abnormal termination notification, and ended without starting the program.

(発明が解決しようとする課題〕 上述した従来のプログラム起動方式では、JCLに記述
誤りや指定誤りがあった場合には異常終了通知の後にプ
ログラムの起動を行わずに終了していたので、何らかの
手段によりJCLを修正してプログラムの実行を再度要
求しなければならないという欠点がある。
(Problem to be Solved by the Invention) In the conventional program startup method described above, if there is a description error or specification error in the JCL, the program will terminate without starting after the abnormal termination notification. There is a disadvantage that the JCL must be modified by means and the execution of the program must be requested again.

本発明の目的は、上述の点に鑑み、JCLに誤りがあっ
た場合にプログラム起動要求者によるリアルタイムのJ
CLの修正を可能とし、プログラムの起動要求を一旦終
了してJCLの修正後に再度プログラムの起動要求を出
さなくてもよいようにしたプログラム起動方式を提供す
ることにある。
In view of the above-mentioned points, an object of the present invention is to provide real-time JCL information by a program start requester when there is an error in JCL.
To provide a program startup method that allows modification of CL and eliminates the need to once terminate a program startup request and issue a program startup request again after modifying JCL.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のプログラム起動方式は、コンピュータシステム
におけるプログラム起動方式において、補助記憶装置上
にあらかじめ登録されているジョブ制御言語を入力する
ジョブ制御B言語入力手段と、このジョブ制御言語入力
手段により入力されたジョブ制御言語に誤りがあるか否
かを判断しジョブ制御言語に誤りがなければジョブ制御
言語をプログラムを実行可能なデータに展開するジョブ
制御言語解析手段と、このジョブ制御言語解析手段によ
りジョブ制御言語に誤りがあると判断された場合にリア
ルタイムにプログラム起動要求者に対して誤りのあった
ジョブ制御言語を通知してプログラム起動要求者によっ
て正しく修正されたジョブ制御言語を受け取り前記ジョ
ブ制御言語解析手段に戻すジョブ制御言語誤り通知/変
更手段と、このジョブ制御言語誤り通知/変更手段によ
り正しく修正されたジョブ制御言語を前記補助記憶装置
に書き戻すジョブ制御言語書戻し手段と、前記ジョブ制
御言語解析手段により展開されたプログラムを実行可能
なデータを基にプログラムを起動するプログラム実行手
段とを有する。
The program starting method of the present invention includes a job control B language input means for inputting a job control language registered in advance on an auxiliary storage device in a program starting method for a computer system; A job control language analysis means that determines whether or not there is an error in the job control language, and if there is no error in the job control language, expands the job control language into data that allows the program to be executed; and job control using this job control language analysis means. If it is determined that there is an error in the language, the program startup requester is notified of the erroneous job control language in real time, and the job control language corrected by the program startup requester is received and the job control language is analyzed. a job control language error notification/changing means for returning the job control language to the auxiliary storage device; and program execution means for starting the program based on data that allows the program to be executed developed by the analysis means.

〔作用〕[Effect]

本発明のプログラム起動方式では、ジョブ制御言語入力
手段が補助記憶装置上にあらかじめ登録されているジョ
ブ制御言語を入力し、ジョブ制御言語解析手段がジョブ
制御言語入力手段により入力されたジョブ制御言語に誤
りがあるか否かを判断しジョブ制御言語に誤りがなけれ
ばジョブ制御言語をプログラムを実行可能なデータに展
開し、ジョブ制御言語誤り通知/変更手段がジョブ制御
言語解析手段によりジョブ制御言語に誤りがあると判断
された場合にリアルタイムにプログラム起動要求者に対
して誤りのあったジョブ制御言語を通知してプログラム
起動要求者によって正しく修正されたジョブ制御言語を
受け取りジョブ制御言語解析手段に戻し、ジョブ制御言
語書戻し手段がジョブ制御言語誤り通知/変更手段によ
り正しく修正されたジョブ制御言語を補助記憶装置に書
き戻し、プログラム実行手段がジョブ制御言語解析手段
により展開されたプログラムを実行可能なデータを基に
プログラムを起動する。
In the program starting method of the present invention, the job control language input means inputs the job control language registered in advance on the auxiliary storage device, and the job control language analysis means inputs the job control language input by the job control language input means. It is determined whether there is an error or not, and if there is no error in the job control language, the job control language is developed into executable data for the program, and the job control language error notification/change means converts the job control language into data using the job control language analysis means. If it is determined that there is an error, the job control language containing the error is notified to the program start requester in real time, and the job control language corrected by the program start requester is received and returned to the job control language analysis means. , the job control language write-back means writes back the job control language corrected by the job control language error notification/change means to the auxiliary storage device, and the program execution means can execute the program expanded by the job control language analysis means. Launch a program based on data.

〔実施例〕〔Example〕

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

第1図は、本発明の一実施例に係るプログラム起動方式
の構成を示すブロック図である。本実施例のプログラム
起動方式は、プログラムの起動要求を行う端末1と、プ
ログラムの起動情報の入ったJCLが格納されている補
助記憶装置2と、補助記憶装置2よりJCLを入力する
JCL入力手段3と、JCL入力手段3に、よって入力
されたJCLが格納されるJCL解析エリア4と、JC
L解析エリア4に格納されたJCLを解析してプログラ
ムを実行可能なデータに変換するJCL解析手段5と、
JCL解析手段5によって変換されたプログラムを実行
可能なデータを格納するJCL展開エリア6と、JCL
解析手段5によってJCLに誤りが検出された場合に端
末1に対して誤りのあったJCLを通知して端末lから
正しく修正されたJCLを受け取りJCL解析手段5に
戻すJCL誤り通知/変更手段7と、JCL解析手段5
によってJCL展開エリア6に展開されたプログラムを
実行可能なデータに基づいてプログラムを起動するプロ
グラム実行手段8と、JCL誤り通知/変更手段7によ
って正しく修正されたJCLを補助記憶装置2に書き戻
すJCL書戻し手段9とから、その主要部が構成されて
いる。
FIG. 1 is a block diagram showing the configuration of a program startup method according to an embodiment of the present invention. The program startup method of this embodiment includes a terminal 1 that requests program startup, an auxiliary storage device 2 that stores a JCL containing program startup information, and a JCL input means that inputs the JCL from the auxiliary storage device 2. 3, a JCL analysis area 4 in which the JCL input by the JCL input means 3 is stored, and a JC
JCL analysis means 5 that analyzes the JCL stored in the L analysis area 4 and converts the program into executable data;
A JCL expansion area 6 that stores data that can execute the program converted by the JCL analysis means 5;
When an error is detected in the JCL by the analysis means 5, the JCL error notification/changing means 7 notifies the terminal 1 of the JCL containing the error, receives the correctly corrected JCL from the terminal 1, and returns it to the JCL analysis means 5. and JCL analysis means 5
a program execution means 8 for starting a program based on executable data for the program developed in the JCL development area 6 by JCL, and a JCL for writing back the JCL corrected by the JCL error notification/changing means 7 into the auxiliary storage device 2. The main part thereof is composed of the write-back means 9.

なお、JCL人力手段3.JCL解析手段5゜JCL誤
り通知/変更手段7.プログラム実行手段8およびJC
L書戻し手段9は、ジョブ管理システム11に含まれて
おり、JCL解析エリア4およびJCL展開エリア6は
主記憶装置12上に存在する。また、ジョブ管理システ
ム11.主記憶装置12および補助記憶装置2は、端末
lが接続されたホストコンビエータシステムIOに含ま
れている。
In addition, JCL human power means 3. JCL analysis means 5゜JCL error notification/changing means 7. Program execution means 8 and JC
The L write back means 9 is included in the job management system 11 , and the JCL analysis area 4 and the JCL development area 6 exist on the main storage device 12 . Also, job management system 11. The main storage device 12 and the auxiliary storage device 2 are included in the host combinator system IO to which the terminal l is connected.

次に、このように構成された本実施例のプログラム起動
方式の動作について説明する。
Next, the operation of the program starting method of this embodiment configured as described above will be explained.

端末1よりプログラムの起動が要求されると、ホストコ
ンピュータシステム10では、まずJCL入力手段3が
起動される。
When a request is made to start a program from the terminal 1, the JCL input means 3 is first started in the host computer system 10.

JCL入力手段3は、補助記憶装置2からJCLを入力
してJCL解析エリア4に格納し、JCL解析手段5に
制御を渡す。
The JCL input means 3 inputs JCL from the auxiliary storage device 2, stores it in the JCL analysis area 4, and passes control to the JCL analysis means 5.

JCL解析手段5は、JCL解析エリア4に格納された
JCLに記述誤りや指定誤りがないか否かをチエツクし
、記述誤りや指定誤りがなければJCL解析エリア4の
JCLをプログラムを実行可能なデータに変換してJC
L展開エリア6に展開し、プログラム実行手段8に制御
を渡す。
The JCL analysis means 5 checks whether there are any writing errors or specification errors in the JCL stored in the JCL analysis area 4, and if there are no writing errors or specification errors, the JCL in the JCL analysis area 4 can be used to execute the program. Convert to data and JC
The program is expanded to the L expansion area 6 and control is passed to the program execution means 8.

一方、JCL解析手段5は、JCL解析エリア4に格納
されたJCLに記述誤りや指定誤りが検出された場合に
は、JCL誤り通知/変更手段7にJCLとともに制御
を渡す。
On the other hand, if a description error or specification error is detected in the JCL stored in the JCL analysis area 4, the JCL analysis means 5 passes control along with the JCL to the JCL error notification/changing means 7.

JCL誤り通知/変更手段7は、記述誤りや指定誤りを
含むJCLを端末1に通知し、プログラム起動要求者に
JCLの修正を促す。
The JCL error notification/modification means 7 notifies the terminal 1 of the JCL containing a description error or specification error, and prompts the program activation requester to modify the JCL.

プログラム起動要求者によって正しく修正されたJCL
が端末1から返却されてくると、JCL誤り通知/変更
手段7がこれを受け取り、JCL誤り通知/変更手段7
は、修正されたJCLをJCL解析手段5に渡す。
JCL correctly modified by the program launch requester
is returned from the terminal 1, the JCL error notification/change means 7 receives it, and the JCL error notification/change means 7
passes the modified JCL to the JCL analysis means 5.

JCL解析手段5は、JCL誤り通知/変更手段7から
受け取った修正後のJCLについて再び記述誤りや指定
誤りがないか否かをチエツクし、記述誤りや指定誤りが
なければ修正後のJCLをJCL書戻し手段9に渡すと
ともに、修正後のJCLをプログラムを実行可能なデー
タに変換してJCL展開エリア6に展開し、プログラム
実行手段8に制御を渡す。
The JCL analysis means 5 checks the revised JCL received from the JCL error notification/change means 7 again for any description errors or specification errors, and if there is no description error or specification error, converts the revised JCL into a JCL. At the same time, the modified JCL is converted into program executable data and developed in the JCL development area 6, and control is passed to the program execution means 8.

JCL書戻し手段9は、渡された修正後のJCLを補助
記憶装置2に書き戻す。
The JCL write-back means 9 writes back the passed modified JCL to the auxiliary storage device 2.

プログラム実行手段8は、JCL展開エリア6に展開さ
れたプログラムを実行可能なデータに基づいてプログラ
ムを起動する。
The program execution means 8 starts the program based on data that allows the program to be executed expanded in the JCL expansion area 6.

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

以上説明したように本発明は、JCL人力手段。 As explained above, the present invention is based on JCL manual means.

JCL解析手段、JCL誤り通知/変更手段およびプロ
グラム実行手段を設けたことにより、プログラムを起動
するためのJCLに誤りがあった場合にプログラム起動
要求者によってリアルタイムにJCLの修正が可能にな
り、プログラムの起動要求を一旦終了してJCLの修正
後に再度プログラムの起動要求を出さなくてもよいとい
う効果がある。
By providing a JCL analysis means, a JCL error notification/modification means, and a program execution means, if there is an error in the JCL for starting a program, it becomes possible for the program start requester to modify the JCL in real time. This has the advantage that there is no need to issue a program startup request again after the JCL startup request is once terminated and the JCL is modified.

また、JCL書戻し手段を設けたことにより、プログラ
ム起動要求者によって正しく修正されたJCLが補助記
憶装置に書き戻されるので、再度同じJCLでプログラ
ムを起動したときにはJCLの誤りは修正されており、
プログラム起動要求者に対するJCLの修正要求が発生
することなしにプログラムが円滑に起動されるという効
果がある。
In addition, by providing a JCL write-back means, the JCL correctly modified by the program startup requester is written back to the auxiliary storage device, so when the program is started again with the same JCL, the error in the JCL will have been corrected.
This has the effect that the program can be started smoothly without requiring a JCL modification request to the program start requester.

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

第1図は本発明の一実施例に係るプログラム起動方式の
構成を示すブロック図である。 図において、 ■・・・端末、 2・・・補助記憶装置、 3・・・JCL入力手段、 4・・・JCL解析エリア、 5・・・JCL解析手段、 6・・・JCL展開エリア、 7・・・JCL誤り通知/変更手段、 8・・・プログラム実行手段、 9・・・JCL書戻し手段、 10・・ホストコンピュータシステム、11・・ジョブ
管理システム、 12・・主記憶装置である。
FIG. 1 is a block diagram showing the configuration of a program starting method according to an embodiment of the present invention. In the figure, ■... terminal, 2... auxiliary storage device, 3... JCL input means, 4... JCL analysis area, 5... JCL analysis means, 6... JCL expansion area, 7 ... JCL error notification/change means, 8. Program execution means, 9. JCL write back means, 10. Host computer system, 11. Job management system, 12. Main storage device.

Claims (1)

【特許請求の範囲】 コンピュータシステムにおけるプログラム起動方式にお
いて、 補助記憶装置上にあらかじめ登録されているジョブ制御
言語を入力するジョブ制御言語入力手段と、 このジョブ制御言語入力手段により入力されたジョブ制
御言語に誤りがあるか否かを判断しジョブ制御言語に誤
りがなければジョブ制御言語をプログラムを実行可能な
データに展開するジョブ制御言語解析手段と、 このジョブ制御言語解析手段によりジョブ制御言語に誤
りがあると判断された場合にリアルタイムにプログラム
起動要求者に対して誤りのあったジョブ制御言語を通知
してプログラム起動要求者によって正しく修正されたジ
ョブ制御言語を受け取り前記ジョブ制御言語解析手段に
戻すジョブ制御言語誤り通知/変更手段と、 このジョブ制御言語誤り通知/変更手段により正しく修
正されたジョブ制御言語を前記補助記憶装置に書き戻す
ジョブ制御言語書戻し手段と、前記ジョブ制御言語解析
手段により展開されたプログラムを実行可能なデータを
基にプログラムを起動するプログラム実行手段と を有することを特徴とするプログラム起動方式。
[Claims] In a program startup method in a computer system, there is provided a job control language input means for inputting a job control language registered in advance on an auxiliary storage device, and a job control language input by the job control language input means. a job control language analysis means that determines whether there is an error in the job control language and expands the job control language into data that can execute the program if there is no error in the job control language; If it is determined that there is an error, the program startup requester is notified of the erroneous job control language in real time, and the job control language corrected by the program startup requester is received and returned to the job control language analysis means. job control language error notification/change means; job control language write-back means for writing back the job control language corrected by the job control language error notification/change means to the auxiliary storage device; and job control language analysis means. 1. A program starting method comprising: program execution means for starting a program based on data that allows the expanded program to be executed.
JP7631989A 1989-03-27 1989-03-27 Program starting system Pending JPH02253336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7631989A JPH02253336A (en) 1989-03-27 1989-03-27 Program starting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7631989A JPH02253336A (en) 1989-03-27 1989-03-27 Program starting system

Publications (1)

Publication Number Publication Date
JPH02253336A true JPH02253336A (en) 1990-10-12

Family

ID=13602047

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7631989A Pending JPH02253336A (en) 1989-03-27 1989-03-27 Program starting system

Country Status (1)

Country Link
JP (1) JPH02253336A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8719792B2 (en) 2008-03-24 2014-05-06 International Business Machines Corporation Correcting job control language job errors

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8719792B2 (en) 2008-03-24 2014-05-06 International Business Machines Corporation Correcting job control language job errors

Similar Documents

Publication Publication Date Title
JP2692609B2 (en) Multitask program debugging method and apparatus
JPH04229355A (en) Data access method and data processing system
US7865883B1 (en) Parallel and asynchronous debugger and debugging method for multi-threaded programs
JPH0798663A (en) Asynchronous i/o control system
JPH02253336A (en) Program starting system
JPH10240568A (en) Emulator device and emulation method
JPH02253335A (en) Program starting system
JPH0991237A (en) Resource management device for peripheral equipment
JPH0769847B2 (en) Job control method during rerun
JPH05158664A (en) Information processor
JP3260788B2 (en) Robot control device and method
JPS6370362A (en) Command intermission restart system in time sharing system
JPH02272648A (en) File rearrangement system
JPH08272653A (en) Freeze processing system
JPH0816431A (en) Debugging process system for user program
JPH01295337A (en) Monitor routine control shift system
JPH064296A (en) High-speed analysis processing device for job control language
JPS63228341A (en) Program syntax checking system
JPH056294A (en) Dump sampling system
JPH0619746B2 (en) Information processing equipment
JPS5971556A (en) Data collection system
JPS6329825A (en) Interactive processing system
JPH0736699A (en) Fuzzy computer system and operating method therefor, fuzzy inference circuit and method therefor and device driver and operating method therefor
JPH0740231B2 (en) Asynchronous exception catching method
JPH0113142B2 (en)