JPH06103043A - Date limited program generation processing method - Google Patents

Date limited program generation processing method

Info

Publication number
JPH06103043A
JPH06103043A JP24845192A JP24845192A JPH06103043A JP H06103043 A JPH06103043 A JP H06103043A JP 24845192 A JP24845192 A JP 24845192A JP 24845192 A JP24845192 A JP 24845192A JP H06103043 A JPH06103043 A JP H06103043A
Authority
JP
Japan
Prior art keywords
program
date
processing
limited
business 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
JP24845192A
Other languages
Japanese (ja)
Inventor
Yoshiko Baba
美子 馬場
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 JP24845192A priority Critical patent/JPH06103043A/en
Publication of JPH06103043A publication Critical patent/JPH06103043A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To provide the program generation processing method for generating a date limited program while easily maintaining reliability concerning the generation of a computer program. CONSTITUTION:In the case of preparing the date limited program limiting the use of a job processing program up to a required date, a monitor program and the job processing program are individually prepared as respectively independent programs (processing steps 1 and 2) and after the object modules of the job processing program and the monitor program are individually generated (processing steps 3 and 4), a load module enabling the execution of the date limited program us formed (processing step 5) by linking and editing both of object modules. Then, this method is provided with a program defining the activation of the job processing program only when the date does not exceed the limited date by comparing the date held in the monitor program itself with the date possessed from an operating system.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機のプログラムに
よる業務処理において、その処理内容を有効とする期日
を限定するために、実行する日付を監視して、その期日
後は当該プログラムが処理を実行できないようにする場
合に、そのような監視機能を設けて業務処理を行う期日
限定プログラムを生成する処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention monitors the date of execution in order to limit the date on which the contents of processing are valid in business processing by a computer program, and after that date, the program executes the processing. The present invention relates to a processing method for generating a deadline-limited program for performing business processing by providing such a monitoring function when the execution is prohibited.

【0002】[0002]

【従来の技術と発明が解決しようとする課題】計算機の
プログラムについて、使用契約により使用を許諾する期
間を限定し、或いは税制改変や改元などにより、それら
に関連する処理内容に、ある期日より後は変更を要する
等の理由により、公知のようにプログラムを実行して使
用することのできる期日を限定することがある。
2. Description of the Related Art Regarding a computer program, the processing content related to the computer program is limited to a certain period after a certain date due to the limitation of the license period according to the usage contract or the tax system modification or revision. Due to reasons such as the need to change, the date when the program can be executed and used may be limited as is known.

【0003】その場合に、そのような業務処理プログラ
ムの一部分として、プログラム中に限定する期日を表す
定数データを持ち、実行している現日付を監視して、所
定の期日を過ぎているときは実行を中断し、期日内の場
合のみ業務処理に入るようにした制御機能のプログラム
を付加して、前記の目的を達成することができる。
In such a case, as a part of such a business processing program, there is constant data representing a limited date in the program, the current date of execution is monitored, and when the predetermined date has passed, The above-mentioned object can be achieved by adding a control function program that suspends the execution and starts the business processing only within the deadline.

【0004】しかし、ある業務の処理と、処理内容とし
てそれとは全く関係の無い、期日限定制御の処理とが、
このように一体のプログラムに組み込まれていると、一
方の処理のメンテナンスにおいて、他方の処理に悪影響
を及ぼすような誤りを発生することが多くなり、信頼性
を損ない易い。
However, the processing of a certain task and the processing of the deadline limited control, which has nothing to do with the processing content,
When incorporated in such an integrated program, an error that adversely affects the other process often occurs during maintenance of one process, and the reliability is likely to be impaired.

【0005】しかも、限定する期日については、契約の
更新、制度改変予定の変更や見込み違い等によって、期
日を修正する必要が、しばしば生じる。本発明は、期日
限定プログラムを、信頼性を維持し易いようにして生成
することができる期日限定プログラム生成処理方法を目
的とする。
Moreover, it is often necessary to revise the limited date due to renewal of contract, change of system modification schedule, misconception or the like. An object of the present invention is to provide a date limited program generation processing method capable of generating a date limited program so as to easily maintain reliability.

【0006】[0006]

【課題を解決するための手段】図1は、本発明の構成を
示す処理の流れ図である。図は期日限定プログラム生成
処理方法の構成であって、所要の業務処理プログラムの
使用を、所要の期日までの使用に限定するために、該業
務処理プログラムの実行時に、該実行時の日付を監視し
て実行可否を識別する機能を、当該業務処理プログラム
に設けて、期日限定プログラムを作成するに際し、監視
プログラムと、該業務処理プログラムとを、各独立のプ
ログラムとして個別に作成する(処理ステップ1、
2)。
FIG. 1 is a flow chart of processing showing the configuration of the present invention. The figure shows the configuration of the date-limited program generation processing method. In order to limit the use of the required business processing program to the use until the required date, the date of the execution is monitored when the business processing program is executed. By providing the function for identifying whether or not to execute the program in the business processing program, and creating the deadline-limited program, the monitoring program and the business processing program are individually created as independent programs (processing step 1 ,
2).

【0007】該業務処理プログラムと該監視プログラム
とのオブジェクトモジュールを個別に生成した後(処理
ステップ3、4)、両該オブジェクトモジュールを結合
編集することによって、該期日限定プログラムの実行可
能なロードモジュールとする(処理ステップ5)。
After the object modules of the business processing program and the monitoring program are individually generated (processing steps 3 and 4), both the object modules are combined and edited to execute the load module of the due date limited program. (Processing step 5).

【0008】該監視プログラムには、自身に保持する期
日とオペレーティングシステムから取得する日付とを比
較し、該日付が該期日を越えていない場合のみ、該業務
処理プログラムを起動するように定義したプログラムを
設ける。
The monitoring program is a program defined to compare the due date held in itself with the date obtained from the operating system and to activate the business processing program only when the date does not exceed the due date. To provide.

【0009】[0009]

【作用】本発明により、期日限定の制御を行う監視プロ
グラムを、業務処理プログラムとは別個の独立の原始プ
ログラムとして作成し、両原始プログラムを個別にコン
パイル又はアセンブルして、それぞれのオブジェクトモ
ジュールを生成する。
According to the present invention, a monitoring program for performing a deadline-limited control is created as an independent source program separate from the business processing program, and both source programs are individually compiled or assembled to generate respective object modules. To do.

【0010】その両オブジェクトモジュールをいわゆる
リンクエディット処理により、結合編集することによ
り、目的の日付限定プログラムの実行可能なロードモジ
ュールとする。
The object modules are combined and edited by a so-called link edit process to form a load module capable of executing the target date limited program.

【0011】従って、プログラムの修正は、各原始プロ
グラムについて行い、修正したプログラムのみについて
オブジェクトモジュールを再生成し、他方の未変更のプ
ログラムのオブジェクトモジュールと結合すればよい。
Therefore, it is sufficient to modify the program for each source program, regenerate the object module only for the modified program, and combine it with the object module of the other unmodified program.

【0012】従って一方の修正において、他方まで誤っ
て変更する危険は無くなる。監視プログラムは、期日限
定の制御を行うために、自プログラム内に保持する期日
とシステムの時計機能等から取得する日付とを比較し、
現日付が期日を越えていない場合のみ、業務処理プログ
ラムを起動するように定義したプログラムとし、現日付
が期日を越えている場合には、適当なメッセージを出力
してプログラムの実行を中断する。
Therefore, the risk of accidentally changing one modification to the other is eliminated. The monitoring program compares the due date held in its own program with the date acquired from the system clock function, etc.
Only when the current date does not exceed the due date, the program is defined to start the business processing program. When the current date exceeds the due date, an appropriate message is output and execution of the program is interrupted.

【0013】又必要な場合には監視プログラムを、現日
付が期日を越えている場合に、上記業務処理プログラム
とは別の第二の業務処理プログラムを起動するようにす
ることもでき、その場合には、第二の業務処理プログラ
ムを作成して、前記結合編集によって、監視プログラ
ム、前記の期日限定対象の業務処理プログラム、及び第
二の業務処理プログラムを日付限定プログラムに組み込
むようにする。
If necessary, the monitoring program can be activated to start a second business processing program different from the above-mentioned business processing program when the current date exceeds the due date. In addition, a second business processing program is created, and the monitoring program, the business processing program for which the deadline is limited, and the second business processing program are incorporated into the date limited program by the combined editing.

【0014】[0014]

【実施例】図2は、監視プログラムの処理の流れの一例
を示す図であり、図2(a)は期日内であれば、結合され
ている業務処理プログラムを動作させ、期日を過ぎると
そのジョブを中止する場合であり、(b)は期日内は第1
の業務処理プログラム、期日後は第2の業務処理プログ
ラムを動作させるようにする場合である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 is a diagram showing an example of the flow of processing of a monitoring program. In FIG. 2 (a), if the deadline is within the deadline, the combined business processing programs are operated, and when the deadline passes, the This is the case when the job is canceled, and (b) is the first within the due date.
In this case, the second business processing program is to be operated after the due date.

【0015】図2(a)においては、先ず処理ステップ10
でオペレーティングシステムに要求してシステムの時計
から当日の日付の値を得る。処理ステップ11でプログラ
ム内に定数として保持する期日データと、前ステップで
取得した日付とを比較し、日付が期日より大きくなけれ
ば、処理ステップ12で業務処理プログラムの入口へ分岐
する。
In FIG. 2A, first, processing step 10
Asks the operating system to get the current day's date value from the system clock. In the processing step 11, the due date data held as a constant in the program is compared with the date acquired in the previous step. If the date is not larger than the due date, the processing step 12 branches to the entrance of the business processing program.

【0016】日付が期日より大きければ、処理ステップ
13で期日を越えている旨の、システム管理者向けのメッ
セージを出力し、処理ステップ14で重要エラーを示す所
定の復帰コードを設定し、処理ステップ15で当ジョブを
終了させるようにシステムに復帰する処理をして終わ
る。
If the date is greater than the due date, the processing step
A message for the system administrator indicating that the deadline has been exceeded is output in step 13, a predetermined return code indicating a critical error is set in processing step 14, and the job is returned to the system so that this job is ended in processing step 15. The process is done and the process ends.

【0017】図2(b)の場合も、処理ステップ10、処理
ステップ11までは(a)と同様にして期日を識別する。そ
の結果、日付が期日より大きくなければ、処理ステップ
16で第1の業務処理プログラムの入口へ分岐する。又、
日付が期日より大きければ、処理ステップ17で第2の業
務処理プログラムの入口へ分岐する。
Also in the case of FIG. 2B, the due date is identified in the same manner as in (a) up to processing step 10 and processing step 11. As a result, if the date is not greater than the due date, the processing step
At 16 branches to the entrance of the first business processing program. or,
If the date is larger than the due date, the process branches to the entrance of the second business processing program at step 17.

【0018】図3は本発明による期日限定プログラム作
成の手順の一例を示す図であり、図2(a)又は(b)に示す
処理内容の監視プログラムを例えばアセンブラ言語で記
述して、監視プログラムの原始プログラム20を作成す
る。
FIG. 3 is a diagram showing an example of a procedure for creating a date-limited program according to the present invention. The monitoring program for the processing content shown in FIG. 2A or 2B is written in, for example, assembler language, and the monitoring program is described. Create a primitive program 20 of.

【0019】この原始プログラム20を、アセンブラ22に
入力してアセンブルし、監視プログラムのオブジェクト
モジュール23を生成するが、原始プログラム20では期日
データの値は未定義とし、アセンブルのパラメータの1
つとして、期日データ21を入力することによって、必要
な値を期日データとしてプログラムに埋め込むようにす
る。
The source program 20 is input to the assembler 22 and assembled to generate the object module 23 of the monitoring program. In the source program 20, the value of the due date data is undefined and the assembler parameter 1 is set.
As an example, by inputting the due date data 21, necessary values are embedded in the program as the due date data.

【0020】業務処理プログラムは通常は例えばコボル
言語等の高級プログラミング言語で記述された原始プロ
グラムが作成され、別途それをコンパイラでコンパイル
して、オブジェクトモジュール24が生成されているもの
とする。
It is assumed that the business processing program is normally a source program written in a high-level programming language such as the Cobol language, and is separately compiled by a compiler to generate the object module 24.

【0021】ここで、業務処理プログラムは、監視プロ
グラムが図2(a)の処理の場合には1個であり、(b)の
処理の場合には第1及び第2の2個の業務処理プログラ
ムであって、それぞれのオブジェクトモジュールが準備
される。
Here, the number of business processing programs is one when the monitoring program is the processing shown in FIG. 2A, and the two business processing programs are the first and second business processing when the processing is the processing shown in FIG. 2B. As a program, each object module is prepared.

【0022】以上の監視プログラムのオブジェクトモジ
ュール23と、業務処理プログラムの1又は2個のオブジ
ェクトモジュール24とを、リンケージエディタ25に入力
して結合編集処理を行うことにより、期日限定プログラ
ムのロードモジュール26を生成する。
By inputting the object module 23 of the above-mentioned monitoring program and one or two object modules 24 of the business processing program into the linkage editor 25 to perform the combined editing process, the load module 26 of the deadline limited program To generate.

【0023】[0023]

【発明の効果】以上の説明から明らかなように本発明に
よれば、計算機プログラムの生成において、期日限定プ
ログラムを、保守に際して信頼性を維持し易いようにし
て生成することができるという著しい工業的効果があ
る。
As is apparent from the above description, according to the present invention, when the computer program is generated, the date-limited program can be generated so that reliability can be easily maintained during maintenance. effective.

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

【図1】 本発明の構成を示す処理の流れ図FIG. 1 is a flow chart of processing showing the configuration of the present invention.

【図2】 監視プログラムの処理の流れ図[Fig. 2] Flow chart of processing of monitoring program

【図3】 期日限定プログラム作成手順の例を示す図FIG. 3 is a diagram showing an example of a procedure for creating a date-limited program

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

1〜5、10〜17 処理ステップ 20 監視プログラムの原始プログラム 22 アセンブラ 23 監視プログラムのオブジェクトモジュール 24 業務処理プログラムのオブジェクトモジュール 25 リンケージエディタ 26 期日限定プログラムのロードモジュール 1 to 5 and 10 to 17 Processing steps 20 Source program for monitoring program 22 Assembler 23 Object module for monitoring program 24 Object module for business processing program 25 Linkage editor 26 Load module for deadline limited program

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 所要の業務処理プログラムの使用を、所
要の期日までの使用に限定するために、該業務処理プロ
グラムの実行時に、該実行時の日付を監視して実行可否
を識別する機能を、当該業務処理プログラムに設けて、
期日限定プログラムを作成するに際し、 監視プログラムと、該業務処理プログラムとを、各独立
のプログラムとして個別に作成し(1、2)、 該業務処理プログラムと該監視プログラムとのオブジェ
クトモジュールを個別に生成した後(3、4)、両該オブジ
ェクトモジュールを結合編集することによって、該期日
限定プログラムの実行可能なロードモジュールとし
(5)、 該監視プログラムには、自身に保持する期日とオペレー
ティングシステムから取得する日付とを比較し、該日付
が該期日を越えていない場合のみ、該業務処理プログラ
ムを起動するように定義したプログラムを設けるように
構成されていることを特徴とする期日限定プログラム生
成処理方法。
1. In order to limit the use of a required business processing program to the use up to the required date, a function of monitoring the date when the business processing program is executed and discriminating whether or not it can be executed is provided. , Provided in the business processing program,
When creating the deadline-limited program, the monitoring program and the business processing program are individually created as independent programs (1, 2), and the object modules of the business processing program and the monitoring program are individually created. After that (3, 4), by combining and editing both the object modules, it becomes a load module that can execute the due date limited program.
(5), The monitoring program is defined to compare the due date held in itself with the date acquired from the operating system, and to start the business processing program only when the date does not exceed the due date. A date-limited program generation processing method, characterized in that it is configured to provide a program.
JP24845192A 1992-09-18 1992-09-18 Date limited program generation processing method Pending JPH06103043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24845192A JPH06103043A (en) 1992-09-18 1992-09-18 Date limited program generation processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24845192A JPH06103043A (en) 1992-09-18 1992-09-18 Date limited program generation processing method

Publications (1)

Publication Number Publication Date
JPH06103043A true JPH06103043A (en) 1994-04-15

Family

ID=17178332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24845192A Pending JPH06103043A (en) 1992-09-18 1992-09-18 Date limited program generation processing method

Country Status (1)

Country Link
JP (1) JPH06103043A (en)

Similar Documents

Publication Publication Date Title
US7613595B2 (en) Execution and real-time implementation of a temporary overrun scheduler
US6055368A (en) Batch execution control programming device and method
JP4257553B2 (en) Motion controller program creation and execution method
JPH06103043A (en) Date limited program generation processing method
JP3196675B2 (en) Language processing method
JPH09218789A (en) Division compiling system
Puschner et al. Developing software with predictable timing behavior
JPH0667871A (en) Automatic program updating system
CN102902532B (en) Tool chain conversion and extension method in integrated development environment
JP3368795B2 (en) Compilation control method, compilation device, and recording medium
JPH01240934A (en) Automatic re-compiling method
Muszynski et al. Implementing a domain-specific modeling environment for a family of thick-client GUI components
Schleicher High-level modelling of development processes
Norström et al. Findings from introducing state-of-the-art real-time techniques in vehicle industry
US20090254879A1 (en) Method and system for assuring data integrity in data-driven software
JP2924075B2 (en) How to modify the program
JPH1083328A (en) Pseudo input/output realizing system for single body test
JPH0358232A (en) Preprocessor calling system
JP2003208317A (en) Program development method
JPH03198127A (en) Developing process controller for computer program
JPH02253443A (en) Program generating method
JPH01267731A (en) System for preparing segment overlay program
JP2002132308A (en) Method for protecting user register
JPH04323731A (en) Optimized text editing system
JPH05250149A (en) Program analysis system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011002