JPH02137025A - Processing system for job control language conversion program - Google Patents

Processing system for job control language conversion program

Info

Publication number
JPH02137025A
JPH02137025A JP29175388A JP29175388A JPH02137025A JP H02137025 A JPH02137025 A JP H02137025A JP 29175388 A JP29175388 A JP 29175388A JP 29175388 A JP29175388 A JP 29175388A JP H02137025 A JPH02137025 A JP H02137025A
Authority
JP
Japan
Prior art keywords
program
conversion
jcl
analysis
job control
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
JP29175388A
Other languages
Japanese (ja)
Inventor
Masahiro Umezawa
梅澤 正弘
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP29175388A priority Critical patent/JPH02137025A/en
Publication of JPH02137025A publication Critical patent/JPH02137025A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a program having high flexibility by producing a job control language analyzing program from an analysis rule program describing the analysis rule of an unconverted job control language and at the same time producing a program which converts the unconverted job control language from a conversion rule program describing a conversion rule respectively. CONSTITUTION:The syntax structure of an unconverted job control language JCL is described in an analysis rule program 1 before analysis of the unconverted JCL and analyzed by an analysis program production part 2 for the production of an analysis program 3 which analyzes the unconverted JCL. While a conversion program production part 5 produces as conventional a conversion program 6 from a conversion rule program 4 describing the conversion program of the JCL. Then a JCL conversion program 7 is produced from both programs 3 and 6. Thus the necessary information is taken out of the program 3 and the JCL of the program 6 is converted via the program 7.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、電子計算機におけるジョブ制御言語(以下
JCLと略記する)変換プログラム処理方式に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a job control language (hereinafter abbreviated as JCL) conversion program processing method in an electronic computer.

〔従来の技術〕[Conventional technology]

一般にJCLを変換する場合、変換前のJCLの構文を
解析すると共に、変換後JCLを生成する際に必要な情
報を抽出する必要がある。その抽出情報としては、具体
的にジョブ全体の情報、ファイルの属性情報、ファイル
の存在するボリューム名等がある。
Generally, when converting JCL, it is necessary to analyze the syntax of the JCL before conversion and to extract information necessary for generating JCL after conversion. Specifically, the extracted information includes information on the entire job, attribute information on files, volume names in which files exist, and the like.

第2図は従来のJCL変換プログラム処理方式を示すも
のである。図において、(3)は変換前のJCLを解析
する解析プログラムであり、JCL解析のためのプログ
ラムはJCLの構文に対応して生成しである。(4)は
JCLの変換規則を記述した変換規則プログラム、(5
)は変換規則プログラム(4)に従って変換プログラム
(6)を生成する変換プログラム生成部、(7)は解析
プログラム(3)と変換プログラム(6)よりなるジョ
ブ制御言語変換プログラムである。
FIG. 2 shows a conventional JCL conversion program processing method. In the figure, (3) is an analysis program that analyzes JCL before conversion, and the program for JCL analysis is generated in accordance with the syntax of JCL. (4) is a conversion rule program that describes JCL conversion rules, (5
) is a conversion program generation unit that generates a conversion program (6) according to the conversion rule program (4), and (7) is a job control language conversion program consisting of an analysis program (3) and a conversion program (6).

次に動作について説明する。先ず、変換プログラム生成
部(5)はJCLの変換規則を記述した変換規則プログ
ラム(4)よりJCLを変換する変換プログラム(6)
を生成する。この変換プログラム(6)は、変換前のJ
CLの構文に従って生成された解析プログラム(3) 
で解析され、抽出された変換後JCLの生成に必要な情
報を変換して変換後JCLを生成する。
Next, the operation will be explained. First, the conversion program generation unit (5) generates a conversion program (6) that converts JCL from a conversion rule program (4) that describes JCL conversion rules.
generate. This conversion program (6) is the J
Analysis program generated according to CL syntax (3)
The extracted information necessary for generating the converted JCL is converted to generate the converted JCL.

変換前JCLの構文解析から得られた情報より変換後J
CLを生成する一例としては次のようなものがある。
From the information obtained from the parsing of the pre-conversion JCL, the post-conversion J
An example of generating CL is as follows.

変換前 +sET  F:八BC/FILE^■   
■     ■ 変換後 %ASSIGN  座、 (FILEt匹曇)
、〜■′   ■′      ■′ ここでは、変換前JCLのI SETという情報は変換
後JCLの%ASSIGNというものに対応し、■は■
′、■は■′に対応する。
Before conversion +sET F: 8 BC/FILE^■
■ ■ After conversion %ASSIGN (FILEt)
, ~ ■'■'■' Here, the information I SET in the JCL before conversion corresponds to the information %ASSIGN in the JCL after conversion, and ■
′, ■ correspond to ■′.

(発明が解決しようとする課題) 従来のJCL変換プログラムの処理では、変換前のJC
Lを解析するプログラムを、変換前JCLの構文に合せ
て生成するが、解析プログラムの生成には多大な時間と
費用とが必要とされるため、変換前JCLの構文が異な
る度に解析プログラムを生成することは容易ではない、
従って複数種類の変換後JCLを生成す委ことは多大な
時間と費用がかかる等の問題点があった。
(Problem to be solved by the invention) In the processing of the conventional JCL conversion program, the JC before conversion
A program to analyze L is generated according to the syntax of the pre-conversion JCL, but since generating an analysis program requires a great deal of time and expense, it is necessary to run the analysis program every time the syntax of the pre-conversion JCL changes. It is not easy to generate,
Therefore, there are problems in that generating multiple types of converted JCL requires a great deal of time and cost.

この発明は上記のような問題点を解消するためになされ
たもので、構文の異なる変換前JCLに対しても即座に
解析プログラムが作成できる融通性の高いジョブ制御言
語変換プログラム処理方式を提供することを目的とする
This invention was made to solve the above-mentioned problems, and provides a highly flexible job control language conversion program processing method that can instantly create an analysis program even for pre-conversion JCL with different syntax. The purpose is to

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

この発明に係るジョブ制御W gi変換プログラム処理
方式は、変換前ジョブ制御言語の解析規則を記述した解
析規則プログラムよりジョブ制御言語を解析するプログ
ラムを生成する解析プログラム生成部と、解析されたジ
ョブ制御言語を変換するため、変換規則を記述した変換
規則プログラムより変換前ジョブ制御言語を変換するプ
ログラムを生成する変換プログラム生成部とを有したも
のである。
The job control W gi conversion program processing method according to the present invention includes an analysis program generation unit that generates a program for analyzing a job control language from an analysis rule program that describes analysis rules of a pre-conversion job control language, and In order to convert the language, the conversion program generating section generates a program for converting the pre-conversion job control language from a conversion rule program in which conversion rules are written.

(作 用) この発明によれば、ジョブ制御言語の構文解析規則を記
述した解析規則プログラムに変換前ジョブ制御言語の構
文を記述した後、解析規則プログラムを解析プログラム
生成部にかけて変換前ジョブ制御言語対応の解析プログ
ラムを生成し、この解析プログラムで変換前ジョブ制御
言語を解析させてジョブ制御言語変換に要する情報を抽
出し変換プログラムの変換操作に供するものである。
(Operation) According to the present invention, the syntax of the pre-conversion job control language is written in the parsing rule program that describes the parsing rules of the job control language, and then the parsing rule program is applied to the parsing program generation section to generate the pre-conversion job control language. A corresponding analysis program is generated, the pre-conversion job control language is analyzed by this analysis program, information required for job control language conversion is extracted, and the information is provided for the conversion operation of the conversion program.

(実施例) 以下、この発明の一実施例を図について説明する。第1
図において、(1)は変換前のJCLの構文解析の規則
を記述した解析規則プログラム、(2)は解析規則プロ
グラム(1)より変換前のJCLを解析する解析プログ
ラムを生成する解析プログラム生成部、(3)は変換前
のJCLを解析するために生成された解析プログラム、
(4)はJCLを変換する規則を記述した変換規則プロ
グラム、(5)は変換規則プログラム(4) によりJ
CLを変換するプログラムを生成する変換プログラム生
成部、(6)は解析プログラム(3)で解析されたJC
Lを変換するために生成された変換プログラム、(7)
は解析プログラム(3)と変換プログラム(6)よりな
るジョブ制御言語変換プログラムである。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings. 1st
In the figure, (1) is an analysis rule program that describes the rules for parsing the JCL before conversion, and (2) is an analysis program generation unit that generates an analysis program for analyzing JCL before conversion from the analysis rule program (1). , (3) is an analysis program generated to analyze JCL before conversion,
(4) is a conversion rule program that describes the rules for converting JCL, and (5) is a conversion rule program that describes the rules for converting JCL.
A conversion program generation unit that generates a program to convert CL, (6) is the JC analyzed by the analysis program (3)
Conversion program generated to convert L, (7)
is a job control language conversion program consisting of an analysis program (3) and a conversion program (6).

次に上記構成に基づきJcL!i換プログラムの処理に
ついて説明する。先ず、変換前のJCLを解析する前に
、解析規則プログラム(1)に変換前JCLの構文を記
述し、この解析規則プログラム(1)を解析プログラム
生成部(2)で解析して変換前JCLを解析する解析プ
ログラムを生成する。
Next, based on the above configuration, JcL! The processing of the i exchange program will be explained. First, before analyzing the JCL before conversion, the syntax of the JCL before conversion is written in the analysis rule program (1), and this analysis rule program (1) is analyzed by the analysis program generation unit (2) to generate the JCL before conversion. Generate an analysis program to analyze.

一方、変換プログラム生成部(5) では従来とうりJ
CLの変換規則を記述した変換規則プログラム(4)よ
りJCLを変換する変換プログラム(8)を生成する。
On the other hand, in the conversion program generation section (5), the conventional
A conversion program (8) for converting JCL is generated from a conversion rule program (4) that describes conversion rules for CL.

以上のように各プログラム生成部(2)。As described above, each program generation unit (2).

(5)でそれぞれ解析プログラム(3)と変換プログラ
ム(6)を生成してジョブ制御言語変換プログラム(7
)を生成したならば、変換前JCLは、従来技術におい
て示した如く解析プログラム(3)で解析して変換に必
要な情報を抽出し、この情報を得て変換プログラム(6
)がJCLを変換する。
In step (5), the analysis program (3) and conversion program (6) are generated, respectively, and the job control language conversion program (7) is generated.
) is generated, the pre-conversion JCL is analyzed by the analysis program (3) as shown in the prior art, extracts the information necessary for conversion, obtains this information, and executes the conversion program (6).
) converts JCL.

又、構文の異なるJCLを変換する際には、上記解析規
則プログラム(1)にこのJCLの構文を記述した後、
解析プログラム生成部にて解析し解析プログラムを変換
対象である変換前JCL対応の解析プログラムに変換す
る。
Also, when converting JCL with a different syntax, after writing the JCL syntax in the above parsing rule program (1),
The analysis program generation unit analyzes and converts the analysis program into an analysis program compatible with the pre-conversion JCL, which is the conversion target.

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

以上のように、この発明によれば解析規則プログラムは
変換前JCLの構文を記述し解析プログラム生成部で解
析させた結果より、解析プログラムを変換前JCL対応
の解析プログラムに変換できるよう構成したので、変換
前のJCLの構文に依存することないプログラム様式で
、ジョブ制御言語変換プログラムを作成することができ
、融通性の高いジョブ制御言語変換プログラムとなる効
果がある。
As described above, according to the present invention, the analysis rule program is configured to convert the analysis program into an analysis program compatible with the pre-conversion JCL based on the result of writing the syntax of the pre-conversion JCL and having the analysis program generation section analyze it. , a job control language conversion program can be created in a program format that does not depend on the syntax of JCL before conversion, and has the effect of becoming a highly flexible job control language conversion program.

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

第1図はこの発明の一実施例によるジョブ制御言語変換
プログラム処理方式を示した図、第2図は従来のジョブ
制御言語変換プログラム処理方式を示した図である。 図において、(1)は解析規則プログラム、(2)は解
析プログラム生成部、(3)は解析プログラム、(4)
は変換規則プログラム、(5)は変換プログラム生成部
、(6)は変換プログラム、(7) はジョブ制御言語
変換プログラムである。 なお、各図中、同一符号は同−又は相当部分を示す。 代理人   大  岩  増  離 業 図 7:シ゛マブ4右りYケT4* 麦)委フ・ロア′ラム
FIG. 1 is a diagram showing a job control language conversion program processing method according to an embodiment of the present invention, and FIG. 2 is a diagram showing a conventional job control language conversion program processing method. In the figure, (1) is the analysis rule program, (2) is the analysis program generator, (3) is the analysis program, and (4)
is a conversion rule program, (5) is a conversion program generation unit, (6) is a conversion program, and (7) is a job control language conversion program. In each figure, the same reference numerals indicate the same or corresponding parts. Agent Masu Oiwa Leave Diagram 7: Shimabu 4 right Yke T4* Mugi) Committee member Roa'ram

Claims (1)

【特許請求の範囲】[Claims] 変換前ジョブ制御言語の解析規則を記述した解析規則プ
ログラムよりジョブ制御言語を解析するプログラムを生
成する解析プログラム生成部と、解析されたジョブ制御
言語を変換するため、変換規則を記述した変換規則プロ
グラムより変換前ジョブ制御言語を変換するプログラム
を生成する変換プログラム生成部とを有したジョブ制御
言語変換プログラム処理方式。
An analysis program generation unit that generates a program for analyzing job control language from an analysis rule program that describes analysis rules for the pre-conversion job control language, and a conversion rule program that describes conversion rules to convert the analyzed job control language. A job control language conversion program processing method, comprising: a conversion program generation unit that generates a program for converting a pre-conversion job control language.
JP29175388A 1988-11-18 1988-11-18 Processing system for job control language conversion program Pending JPH02137025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29175388A JPH02137025A (en) 1988-11-18 1988-11-18 Processing system for job control language conversion program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29175388A JPH02137025A (en) 1988-11-18 1988-11-18 Processing system for job control language conversion program

Publications (1)

Publication Number Publication Date
JPH02137025A true JPH02137025A (en) 1990-05-25

Family

ID=17772969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29175388A Pending JPH02137025A (en) 1988-11-18 1988-11-18 Processing system for job control language conversion program

Country Status (1)

Country Link
JP (1) JPH02137025A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19546393A1 (en) * 1994-12-12 1996-06-13 Nec Corp Chip formed solid electrolyte capacitor
JP2002287982A (en) * 2001-03-28 2002-10-04 Kawasaki Steel Systems R & D Corp Conversion supporting system between different types of systems

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19546393A1 (en) * 1994-12-12 1996-06-13 Nec Corp Chip formed solid electrolyte capacitor
US5654869A (en) * 1994-12-12 1997-08-05 Nec Corporation Chip-formed solid electrolytic capacitor without an anode lead projecting from anode member
US5707407A (en) * 1994-12-12 1998-01-13 Nec Corporation Method of forming chip-formed solid electrolytic capacitor without an anode lead projecting from anode member
DE19546393C2 (en) * 1994-12-12 1999-01-14 Nec Corp Chip-shaped solid electrolytic capacitor and its manufacturing process
JP2002287982A (en) * 2001-03-28 2002-10-04 Kawasaki Steel Systems R & D Corp Conversion supporting system between different types of systems

Similar Documents

Publication Publication Date Title
JP2624753B2 (en) How to create higher-level specifications
JP2001516079A (en) Program interface converter for computers with multiple platforms
JPH02137025A (en) Processing system for job control language conversion program
US20040046793A1 (en) Program generation method
JPH0969059A (en) File form conversion system
JP2833612B2 (en) Service primitive generation system
KR100321706B1 (en) Method for ducument composition using object linking and embedding scheme
JPH09311800A (en) Automatic data converting device
JP3731628B2 (en) CGI program creation method
JPH1097416A (en) File analyzing device
JPS6386031A (en) Program producing device
JP4201206B2 (en) CGI program creation method, recording medium recording program according to the method, and CGI program creation device
JP2598082B2 (en) Documentation device and documentation method for knowledge processing language
JPH02157935A (en) Load module generator
JPH0358136A (en) Compiler operation system in machine different in character code system
JP2982725B2 (en) Automatic program generator
CN100561495C (en) Disappear close and/or method of reducing and device
JP2001331312A (en) System for acquiring related information among plural programs
JPH04248624A (en) Program conversion processor
JPH03265926A (en) Extension mechanism integration data base of program information
JP2005165584A (en) Program creation system and method
JPH02297674A (en) System for supporting multi-media processing
JPH07334399A (en) Code conversion system for fixed length record
JPH05216822A (en) Command input system in computer
JP2000076056A (en) Automatic code generation system capable of expanding input specification