JPH0540612A - Computer prperty conversion processor - Google Patents

Computer prperty conversion processor

Info

Publication number
JPH0540612A
JPH0540612A JP19625591A JP19625591A JPH0540612A JP H0540612 A JPH0540612 A JP H0540612A JP 19625591 A JP19625591 A JP 19625591A JP 19625591 A JP19625591 A JP 19625591A JP H0540612 A JPH0540612 A JP H0540612A
Authority
JP
Japan
Prior art keywords
conversion
computer
information
asset
file
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.)
Withdrawn
Application number
JP19625591A
Other languages
Japanese (ja)
Inventor
Taiichi Suzuki
泰一 鈴木
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP19625591A priority Critical patent/JPH0540612A/en
Publication of JPH0540612A publication Critical patent/JPH0540612A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To obtain a computer property conversion processor which converts automatically the relative computer properties in a batch in the case of changing a source program, etc. CONSTITUTION:When the necessary computer properties 1 are changed, a property contents analyzing part 2, a conversion information generating part 3 and a conversion processing part 4 are provided. The part 2 analyzes the contents of the properties 1 of each computer and produces the correlative information 5 to show the reference/definition relations among the properties 1. The part 3 produces the conversion information 6 to convert the designated property 1 based on the prescribed specifications of conversion and decides other properties 1 that must be converted in response to the conversion of the designated property 1 based on the information 5. Thus the part 3 produces the information 6 to designate the contents of conversion of each property 1. The part 4 converts the properties 1 based on the information 6 and outputs the converted computer properties 7.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は計算機システムにおい
て、原始プログラム等の変更を行う場合に、そのプログ
ラムの実行に関係するジョブ定義情報、ファイル定義
体、画面定義体、及びその他のプログラム等の計算機資
産を、原始プログラムと共に一括して自動変換するため
の計算機資産変換処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system, such as a job definition information, a file definition program, a screen definition program, and other computer programs related to the execution of a program when the program is changed. The present invention relates to a computer asset conversion processing device for automatically converting assets together with a source program.

【0002】[0002]

【従来の技術と発明が解決しようとする課題】計算機シ
ステムにおいて、計算機の機種を更改した場合等に、そ
れまでの旧計算機で実行していた処理と同等の処理を新
計算機で行うためには、旧計算機で動作していたプログ
ラム、ファイルその他の計算機資産について、一般に新
計算機の仕様に合うように変換する必要が生じる。
2. Description of the Related Art In a computer system, when the model of the computer is renewed, in order to perform the same process as the process executed on the old computer up to that time on the new computer, , It is generally necessary to convert the programs, files, and other computer assets that were running on the old computer so that they meet the specifications of the new computer.

【0003】そのような変換対象となる計算機資産とし
ては、その処理の主部を構成する原始プログラム、その
原始プログラムが参照する他のプログラム、それらのプ
ログラムが参照し、定義している画面定義体及びファイ
ル定義体等、及びその処理のジョブを定義する、ジョブ
制御言語で記述されたジョブ定義情報等がある。
As such computer assets to be converted, a source program that constitutes the main part of the processing, other programs that the source program refers to, and a screen definition body that these programs refer to and define. And a file definition body and the like, and job definition information described in a job control language that defines a job for the processing.

【0004】前記のような場合には、しばしば変換対象
の計算機資産が大量になるので、できるだけ自動化する
ことが変換作業の効率化及び確実化のために要求され
る。特に原始プログラム等の変換に伴って、そのプログ
ラムから参照、定義されるファイル等、関連して変更の
必要が発生する計算機資産がある。例えば原始プログラ
ム中に新たなファイル記述を追加すると、ジョブ定義情
報にもファイル定義を追加し、追加したファイルのファ
イル定義体を作成するという一連の変更が必要になる。
In the above-mentioned case, since the computer resources to be converted are often large, it is required to automate as much as possible in order to make the conversion work efficient and reliable. In particular, there are computer assets that need to be changed in association with the files referenced and defined by the program when the source program is converted. For example, if a new file description is added to the source program, the file definition is also added to the job definition information and a series of changes are required to create a file definition body of the added file.

【0005】そのような関連して発生する変更につい
て、それらを見落とし無く取り上げ、必要な変換を行う
作業には熟練を要すると共に、個々の資産の変更に際し
て、個別に変換仕様を人手で作成して変換を実行しなけ
ればならないので、工数を要し、且つ誤りを生じ易い。
[0007] Such related changes occur without any oversight, and it takes skill to perform the necessary conversion, and at the time of changing each asset, conversion specifications are manually created individually. Since the conversion has to be executed, it requires man-hours and is prone to errors.

【0006】本発明は、原始プログラム等の変換を行う
場合に、関連するジョブ定義情報、ファイル定義体、画
面定義体、及びその他のプログラム等の計算機資産を、
一括して自動変換するための計算機資産変換処理装置を
目的とする。
According to the present invention, when a source program or the like is converted, related computer resources such as job definition information, file definition body, screen definition body, and other programs are stored.
An object is a computer asset conversion processing device for automatically converting all at once.

【0007】[0007]

【課題を解決するための手段】図1は、本発明の構成を
示すブロック図である。図は計算機資産変換処理装置の
構成であって、計算機で実行されるべき処理に関する原
始プログラム、及び該処理に必要なその他の計算機資産
からなる、所要の計算機資産1を変更するに際し、資産
内容解析部2と、変換情報生成部3と、変換処理部4と
を設ける。
FIG. 1 is a block diagram showing the configuration of the present invention. The figure shows the configuration of a computer asset conversion processing device, and when changing a required computer asset 1 consisting of a source program related to processing to be executed by a computer and other computer assets required for the processing, an asset content analysis is performed. The unit 2, the conversion information generation unit 3, and the conversion processing unit 4 are provided.

【0008】資産内容解析部2は、各該計算機資産1の
内容を解析して、該計算機資産相互間の参照、定義関係
を示す、相互関係情報5を生成する。変換情報生成部3
は、所定の変換仕様に従って、指定の該計算機資産1を
変換するための変換情報6を生成し、該指定の計算機資
産の変換に対応して変換を要する、その他の該計算機資
産を相互関係情報5によって決定して、当該各計算機資
産1の変換内容を指示する変換情報6を生成する。
The asset content analysis unit 2 analyzes the content of each computer asset 1 and generates mutual relationship information 5 indicating the reference and definition relationship between the computer assets. Conversion information generation unit 3
Generates conversion information 6 for converting the specified computer asset 1 according to a predetermined conversion specification, and requires conversion corresponding to the conversion of the specified computer asset. 5 to generate conversion information 6 instructing the conversion contents of each computer asset 1 concerned.

【0009】変換処理部3は、各変換情報6に従って該
計算機資産を変換して、変換後の計算機資産7を出力す
る。
The conversion processing unit 3 converts the computer asset according to the respective conversion information 6 and outputs the converted computer asset 7.

【0010】[0010]

【作用】本発明の処理装置により、例えば計算機の機種
変更に伴って定まるファイル記述等の変換内容を、変換
情報生成部に組み込んでおくことにより、原始プログラ
ムで該当する種類のファイルを使用する指定があれば、
その変換を行う変換情報が生成される。
With the processing device of the present invention, conversion contents such as a file description determined according to a model change of a computer are incorporated in the conversion information generation unit, thereby designating the use of a file of a corresponding type in the source program. If there is a,
Conversion information for performing the conversion is generated.

【0011】同時に、資産内容解析部によって予め必要
な計算機資産を解析して作成する相互関係情報によっ
て、原始プログラムの前記の変換を行ったファイルに関
する、ファイル定義体等の他の計算機資産が分かるの
で、それらの資産について変換情報生成部により、所定
の変換仕様に従って変換情報を生成する。
At the same time, other computer assets, such as a file definition body, relating to the file obtained by the above-mentioned conversion of the source program can be known from the mutual relationship information created by analyzing the necessary computer assets in advance by the asset content analysis unit. The conversion information generation unit generates conversion information for these assets in accordance with predetermined conversion specifications.

【0012】以上の変換情報に基づいて、計算機資産を
変換して出力するので、変換作業が効率よく確実に自動
処理される。
Since the computer assets are converted and output based on the above conversion information, the conversion work can be efficiently and reliably automatically processed.

【0013】[0013]

【実施例】図2及び図3は、本発明の実施例を示すブロ
ック図であり、計算機資産としてプログラム言語COB
OLの原始プログラム10、そのプログラムで参照される
プログラムライブラリの登録集11、画面定義体12、ファ
イル定義体13、及びジョブを定義する制御言語14があ
る。
2 and 3 are block diagrams showing an embodiment of the present invention, in which a programming language COB is used as a computer asset.
There is an OL source program 10, a library 11 of program libraries referred to by the program, a screen definition body 12, a file definition body 13, and a control language 14 for defining a job.

【0014】資産内容解析部2には、各資産種類に応じ
た解析機能があり、プログラム解析部15によって原始プ
ログラム10及び登録集11のプログラムを解析することに
より、それらのプログラムから参照/定義するように記
述されている画面定義体及びファイル定義体について、
画面名又はアクセス名と、指定されているデータ項目名
(以下で項目名という)とをプログラム解析情報20とし
て取り出す。
The asset content analysis unit 2 has an analysis function according to each asset type, and the program analysis unit 15 analyzes the programs of the source program 10 and the registry 11 to refer to / define from those programs. For the screen definition and file definition described as follows,
The screen name or access name and the designated data item name (hereinafter referred to as item name) are retrieved as the program analysis information 20.

【0015】画面解析部16は、画面定義体12を解析し
て、プログラム解析情報20に取り出された画面名の各画
面定義体について、項目名と、各項目の位置、属性
(色、輝度等)の情報を画面定義体解析情報21として取
り出す。
The screen analysis unit 16 analyzes the screen definition body 12, and for each screen definition body of the screen name extracted in the program analysis information 20, the item name, the position of each item, the attributes (color, brightness, etc.). ) Information is taken out as screen definition program analysis information 21.

【0016】ファイル解析部17は、ファイル定義体13を
解析して、プログラム解析情報20に取り出されたアクセ
ス名を持つ各ファイル定義体について、物理ファイル
名、ファイル属性(編成等)、レコード名と項目名等の
情報をファイル定義体解析情報22として取り出す。
The file analysis unit 17 analyzes the file definition body 13 and, for each file definition body having the access name extracted in the program analysis information 20, a physical file name, a file attribute (organization, etc.), a record name, and the like. Information such as item names is taken out as file definition information 22.

【0017】又、制御言語解析部18は、制御言語14を解
析して、プログラム解析情報20に取り出されたアクセス
名の指定があれば、その物理ファイル名、ファイル属性
等の指定情報を制御言語解析情報23として取り出す。
Further, the control language analysis unit 18 analyzes the control language 14, and if the access name fetched in the program analysis information 20 is designated, the control language analysis unit 18 gives the designation information such as the physical file name and file attribute. Extracted as analysis information 23.

【0018】次に相互関係生成部19が、以上のプログラ
ム解析情報20、画面定義体解析情報21、ファイル定義体
解析情報22及び制御言語解析情報23を整理して、相互関
連を索引し易く配列し、相互関係情報5として出力す
る。
Next, the interrelationship generating unit 19 arranges the program analysis information 20, the screen definition program analysis information 21, the file definition program analysis information 22 and the control language analysis information 23, and arranges them so that the interrelationships can be easily indexed. Then, the information is output as mutual relationship information 5.

【0019】例えば必要な計算機の或る機種から別の或
る機種への切換において、一定の原始プログラムの変換
仕様等が定まるので、変換情報生成部3にはその変換仕
様に従って変換機能等を内蔵している。変換には、プロ
グラム内のファイル記述の変換、画面定義体に関する画
面制御用領域の指定、画面制御用命令等の変換、及びそ
の他の変換がある。
For example, when switching from one model of a necessary computer to another model, conversion specifications of a fixed source program are determined, so that the conversion information generating unit 3 has a conversion function according to the conversion specifications. is doing. The conversion includes conversion of a file description in a program, designation of a screen control area relating to a screen definition, conversion of a screen control command, and other conversions.

【0020】プログラム変換部24は、原始プログラム10
及び登録集11のプログラムを参照して、その変換仕様に
従って原始プログラム及び登録集のプログラムの置換
行、挿入行、削除行の指定、及び置換/挿入プログラム
文等からなるプログラム変換情報30を生成する。
The program conversion unit 24 uses the source program 10
Also, referring to the program in the registry 11 and in accordance with the conversion specifications, program conversion information 30 including replacement lines, insertion lines, deletion lines of the source program and programs in the library, and replacement / insertion program statements is generated. ..

【0021】同時に、ファイル記述の変換を行ったファ
イルについて、変更されたファイル編成、レコード長、
キー項目等の情報をファイル記述変換情報31として生成
し、又画面操作に関する変換に伴って、新たに作成した
画面の項目名、位置、属性等の情報を、画面記述変換情
報32として生成する。
At the same time, for the file whose file description has been converted, the changed file organization, record length,
Information such as key items is generated as the file description conversion information 31, and information such as the item name, position, and attribute of the newly created screen is generated as the screen description conversion information 32 along with the conversion related to the screen operation.

【0022】次に、画面変換部25は、相互関係情報5及
び画面定義体解析情報21を参照して、画面定義体12に画
面記述変換情報32に従う変換を加えた定義体を生成する
ための、画面定義体生成情報33を生成する。
Next, the screen conversion unit 25 refers to the mutual relationship information 5 and the screen definition structure analysis information 21 to generate a definition structure in which the screen definition structure 12 is converted according to the screen description conversion information 32. , Screen definition information generation information 33.

【0023】又、ファイル変換部26は、相互関係情報5
及びファイル定義体解析情報22を参照して、ファイル定
義体13にファイル記述変換情報31に従う変換を加えた定
義体を生成するための、ファイル定義体生成情報34を生
成する。
Further, the file conversion unit 26 uses the mutual relationship information 5
Also, with reference to the file definition structure analysis information 22, file definition structure generation information 34 for generating a definition structure in which the file definition structure 13 is converted according to the file description conversion information 31 is generated.

【0024】その後、制御言語変換部27が、相互関係情
報5、制御言語解析情報23、ファイル記述変換情報31及
びファイル定義体生成情報34を参照して、制御言語14の
ファイル指定情報をそれらの変換と矛盾しないような指
定に変換した新機種用の制御言語を生成するための、制
御言語生成情報35を生成する。
Thereafter, the control language conversion unit 27 refers to the mutual relationship information 5, the control language analysis information 23, the file description conversion information 31 and the file definition generation information 34, and sets the file designation information of the control language 14 to those items. The control language generation information 35 for generating the control language for the new model converted to the specification that does not conflict with the conversion is generated.

【0025】変換処理部4は、以上により生成されたプ
ログラム変換情報30を原始プログラム10及び登録集11に
適用して、それぞれ変換した原始プログラム40、登録集
41を出力する。
The conversion processing unit 4 applies the program conversion information 30 generated as described above to the source program 10 and the registry 11, and converts the source program 40 and the library 11, respectively.
Outputs 41.

【0026】又、画面定義体生成情報33、ファイル定義
体生成情報34及び制御言語生成情報35によって、変換後
の画面定義体42、ファイル定義体43及び制御言語44をそ
れぞれ生成し出力する。
Further, the screen definition body 42, the file definition body 43 and the control language 44 after conversion are respectively generated and output by the screen definition body generation information 33, the file definition body generation information 34 and the control language generation information 35.

【0027】[0027]

【発明の効果】以上の説明から明らかなように本発明に
よれば、計算機資産の変換において、原始プログラム等
の変更を行う場合に、関連する計算機資産が、一括して
自動変換されるので、計算機の更改等における大量の計
算機資産の変換作業を、効率よく且つ確実に処理できる
という著しい工業的効果がある。
As is apparent from the above description, according to the present invention, in the conversion of computer assets, when a source program or the like is changed, the related computer assets are automatically converted in a batch. There is a remarkable industrial effect that the conversion work of a large amount of computer assets in the case of computer renewal can be efficiently and reliably processed.

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

【図1】 本発明の構成を示すブロック図FIG. 1 is a block diagram showing a configuration of the present invention.

【図2】 本発明の実施例ブロック図(その1)FIG. 2 is a block diagram of an embodiment of the present invention (No. 1)

【図3】 本発明の実施例ブロック図(その2)FIG. 3 is a block diagram of an embodiment of the present invention (No. 2)

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

1 変更前の計算機資産 2 資産内容解析部 3 変換情報生成部 4 変換処理部 5 相互関係情報 6 変換情報 7 変換後の計算機資産 10、40 原始プログラム 11、41 登録集 12、42 画面定義体 13、43 ファイル定義体 14、44 制御言語 15 プログラム解析部 16 画面解析部 17 ファイル解析部 18 制御言語解析部 19 相互関係生成部 20 プログラム解析情報 21 画面解析情報 22 ファイル解析情報 23 制御言語解析情報 24 プログラム変換部 25 画面変換部 26 ファイル変換部 27 制御言語変換部 30 プログラム変換情報 31 ファイル記述変換情報 32 画面記述変換情報 33 画面定義体生成情報 34 ファイル定義体生成情報 35 制御言語生成情報 1 Computer assets before change 2 Asset content analysis unit 3 Conversion information generation unit 4 Conversion processing unit 5 Mutual relationship information 6 Conversion information 7 Computer resources after conversion 10, 40 Source program 11, 41 Library 12, 42 Screen definition 13 , 43 File definition 14, 44 Control language 15 Program analysis section 16 Screen analysis section 17 File analysis section 18 Control language analysis section 19 Mutual relationship generation section 20 Program analysis information 21 Screen analysis information 22 File analysis information 23 Control language analysis information 24 Program converter 25 Screen converter 26 File converter 27 Control language converter 30 Program conversion information 31 File description conversion information 32 Screen description conversion information 33 Screen definition generation information 34 File definition generation information 35 Control language generation information

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 計算機で実行されるべき処理に関する原
始プログラム、及び該処理に必要なその他の計算機資産
からなる、所要の計算機資産(1)を変更するに際し、 資産内容解析部(2)と、変換情報生成部(3)と、変換処理
部(4)とを設け、 該資産内容解析部(2)は、各該計算機資産(1)の内容を解
析して、該計算機資産相互間の参照及び定義関係を示
す、相互関係情報(5)を生成し、 該変換情報生成部(3)は、所定の変換仕様に従って、指
定の該計算機資産(1)を変換するための変換情報(6)を生
成し、 該指定の計算機資産(1)の変換に対応して変換を要す
る、その他の該計算機資産を該相互関係情報によって決
定して、当該各計算機資産(1)の変換内容を指示する変
換情報(6)を生成し、 該変換処理部(4)は、各該変換情報(6)に従って該計算機
資産(1)を変換して出力するように構成されていること
を特徴とする計算機資産変換処理装置。
Claim: What is claimed is: 1. When changing a required computer asset (1) consisting of a source program related to processing to be executed by a computer and other computer assets necessary for the processing, an asset content analysis unit (2), A conversion information generation unit (3) and a conversion processing unit (4) are provided, and the asset content analysis unit (2) analyzes the contents of each computer asset (1) and refers to each other among the computer assets. And the mutual relation information (5) indicating the definition relation, and the conversion information generation unit (3) converts the designated computer asset (1) according to a predetermined conversion specification (6). Is generated, and conversion is required corresponding to the conversion of the designated computer asset (1), other computer assets are determined by the mutual relationship information, and the conversion content of each computer asset (1) is instructed. The conversion information (6) is generated, and the conversion processing unit (4) converts the computer asset (1) according to each conversion information (6). Computer asset conversion processing apparatus characterized by being configured to output.
JP19625591A 1991-08-06 1991-08-06 Computer prperty conversion processor Withdrawn JPH0540612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19625591A JPH0540612A (en) 1991-08-06 1991-08-06 Computer prperty conversion processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19625591A JPH0540612A (en) 1991-08-06 1991-08-06 Computer prperty conversion processor

Publications (1)

Publication Number Publication Date
JPH0540612A true JPH0540612A (en) 1993-02-19

Family

ID=16354771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19625591A Withdrawn JPH0540612A (en) 1991-08-06 1991-08-06 Computer prperty conversion processor

Country Status (1)

Country Link
JP (1) JPH0540612A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165342A (en) * 2006-12-27 2008-07-17 Hitachi Software Eng Co Ltd Source code creating method, device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165342A (en) * 2006-12-27 2008-07-17 Hitachi Software Eng Co Ltd Source code creating method, device and program

Similar Documents

Publication Publication Date Title
JP2624753B2 (en) How to create higher-level specifications
JPS63181033A (en) Automatic program generating system
JPH09259153A (en) Device and method for generating batch execution control program
JPH0683598A (en) Job flow specification automatic generating method
JPH11102289A (en) Screen generating method for operation process
JPH0540612A (en) Computer prperty conversion processor
US7225196B2 (en) Data conversion method and computer system therefor
JP3637606B2 (en) Data processing device
JPH0528088A (en) Method for automatically generating hardware constitution information
JPH0667871A (en) Automatic program updating system
JP4590907B2 (en) Software development support device and software development support program
JP2720768B2 (en) Program customization equipment
JP7491678B2 (en) Parameter setting device and parameter setting system for machine tool
JP2007094453A (en) Program development support system, program development support method and program
JP3305782B2 (en) Software standardization method and software product analysis method
JPH06242933A (en) Program document maintenance device
JPH0562781B2 (en)
JP2724241B2 (en) Automatic program generator with block diagram parts processing function
JPS63138466A (en) Control method for form data on cad system
JPH11110202A (en) Automatic job control language preparation method
JPH06103262A (en) Data analyzing system
JPH0243656A (en) Execution environment changing system for on-line transaction processing system
JP2000222252A (en) Memory content display system and memory content editing system
JPH10171646A (en) General analyzer and its method
JPH10340188A (en) Automatic preparing device of file updated item related graphic

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981112