JPH01302427A - Input/output file altering system for execution form program - Google Patents

Input/output file altering system for execution form program

Info

Publication number
JPH01302427A
JPH01302427A JP63133465A JP13346588A JPH01302427A JP H01302427 A JPH01302427 A JP H01302427A JP 63133465 A JP63133465 A JP 63133465A JP 13346588 A JP13346588 A JP 13346588A JP H01302427 A JPH01302427 A JP H01302427A
Authority
JP
Japan
Prior art keywords
input
file
default
output file
output
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
JP63133465A
Other languages
Japanese (ja)
Inventor
Makoto Noda
誠 野田
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 JP63133465A priority Critical patent/JPH01302427A/en
Publication of JPH01302427A publication Critical patent/JPH01302427A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To easily alter a fixed input file or an output file without altering an execution program by altering the input file or the output file designated by the input of a command at the time of activation. CONSTITUTION:By the contents of command information to alter the input file or the output file received from an initial processing execution processing means 1-1, a fixed input/output file altering means 12 alters the contents of a fixed input file designating information storing means 1-3 and a fixed output file designating information storing means 1-4, and returns a control to the executing means 1-1. Next, since the executing means 1-1 transfers the control to an executing program 1-5, the executing program 1-5 inputs data from an input file indicated by the contents of the storing means 1-3, outputs the data to an output file 4 indicated by the contents of the storing means 1-4, and executes the program processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は実行形式プログラムの入出力ファイル変更方式
に関し、特に電子計算機システムにおける実行形式プロ
グラムの入出力ファイル変更方式に関する。。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input/output file changing method for an executable program, and more particularly to a method for changing an input/output file of an executable program in a computer system. .

〔従来の技術〕[Conventional technology]

従来の実行形式プログラムは、 (A)オペレーティングシステムの働きにより、端末装
置などから入力されたコマンド情報を格納している入力
コマンド情報格納テーブルから、初期処理に必要なコマ
ンド情報を入力して実行する初期処理実行手段、 (B)既定で入力を行うファイルを指定する情報を格納
する既定入力ファイル指定情報格納手段、 (C)既定で出力を行うファイルを指定する情報を格納
する既定出力ファイル指定情報格納手段、 (E)前記既定入力ファイル指定情報格納手段の内容が
示す入力ファイルからデータを入力し、前記既定出力フ
ァイル指定情報格納手段の内容が示す出力ファイルにデ
ータを出力することにより、プログラム処理を実行する
実行プログラム、 を備えて構成されている。
Conventional executable programs: (A) The operating system inputs and executes command information necessary for initial processing from an input command information storage table that stores command information input from a terminal device, etc. (B) default input file specification information storage means for storing information specifying a file for input by default; (C) default output file specification information for storing information for specifying a file for output by default; (E) program processing by inputting data from an input file indicated by the contents of the default input file specification information storage means and outputting the data to an output file indicated by the contents of the default output file specification information storage means; It consists of an executable program that executes .

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の実行形式プログラムは、実行時に既定で
入力または出力を行うファイルを、コマンド入力により
起動時に変更することができず、既定で入力または出力
を行うファイルを変更するためには、実行プログラムの
中で、ファイルの変更を行う手続きを陽に記述しなけれ
ばならないという問題点がある。
In the conventional executable programs mentioned above, the file that is input or output by default during execution cannot be changed at startup by inputting a command, and in order to change the file that is input or output by default, the executable program There is a problem in that the procedure for changing files must be explicitly described.

本発明の目的は、コマンド入力により指定された入力フ
ァイルや出力ファイルの変更を起動時に行うことにより
、既定の入力ファイルや出力ファイルの変更を実行プロ
グラムの変更なしに容易に行える実行形式プログラムの
入出力ファイル変更方式を提供することにある。
An object of the present invention is to provide an executable program that can easily change default input files and output files without changing the execution program by changing the input files and output files specified by command input at startup. The purpose is to provide a method for changing output files.

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

本発明の実行形式プログラムの入出力ファイル変更方式
は、 (A)オペレーティングシステムの働きにより、端末装
置などから入力されたコマンドのコマンド情報を格納し
ている入力コマンド情報格納テーブルから、初期処理に
必要なコマンド情報を入力して実行するとともに、前記
入力コマンド情報格納テーブルに含まれる入力ファイル
や出力ファイルを変更するコマンド情報を取出す初期処
理実行手段、 (B)既定で入力を行うファイルを指定する情報を格納
する既定入力ファイル指定情報格納手段、 (C)既定で出力を行うファイルを指定する情報を格納
する既定出力ファイル指定情報格納手段、 (D)前記初期処理実行手段で取出された入力ファイル
や出力ファイルを変更するコマンド情報を受けて、その
コマンド情報の内容により、前記既定入力ファイル指定
情報格納手段および前記既定出力ファイル指定情報格納
手段の内容を変更する既定入出力ファイル変更手段、 (E)前記既定入力ファイル指定情報格納手段の内容が
示す入力ファイルからデータを入力し、前記既定出力フ
ァイル指定情報格納手段の内容が示す出力ファイルにデ
ータを出力することにより、プログラム処理を実行する
実行プログラム、 を備えて構成されている。
The input/output file changing method of the executable program of the present invention is as follows: (A) The operating system uses the input command information storage table that stores the command information of commands input from a terminal device, etc., to input files necessary for initial processing. (B) information specifying a file to be input by default; (C) default output file specification information storage means for storing information specifying a file to be output by default; (D) input file extracted by the initial processing execution means; Default input/output file changing means receives command information for changing an output file and changes the contents of the default input file designation information storage means and the default output file designation information storage means according to the contents of the command information; (E) an execution program that executes program processing by inputting data from an input file indicated by the contents of the default input file specification information storage means and outputting the data to an output file indicated by the contents of the default output file specification information storage means; It is configured with.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の実行形式プログラムの入出力ファイル
変更方式の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a method for changing input and output files of an executable program according to the present invention.

まず、第1図に示す実行形式プログラム1を起動するた
め、入力コマンド情報格納テーブル2は、端末装置など
から入力されたコマンドのコマンド情報を、オペレーテ
ィングシステムの働きにより格納している。
First, in order to start the executable program 1 shown in FIG. 1, the input command information storage table 2 stores command information of commands input from a terminal device or the like by the function of the operating system.

実行形式プログラム1が起動されると、最初に実行形式
プログラム1の初期処理実行手段1−1は、入力コマン
ド情報格納テーブル2から、初期処理に必要なコマンド
情報を入力して実行する。
When the executable program 1 is started, the initial processing execution means 1-1 of the executable program 1 first inputs command information necessary for initial processing from the input command information storage table 2 and executes it.

その際に、初期処理実行手段1−1は、入力コマンド情
報格納テーブル2に含まれる入力ファイルや出力ファイ
ルを変更するコマンド情報を取出して、既定入出力ファ
イル変更手段1−2に渡している。
At this time, the initial processing execution means 1-1 extracts command information for changing input files and output files included in the input command information storage table 2, and passes it to the default input/output file changing means 1-2.

一方、既定入力ファイル指定情報格納手段1−3は、既
定で入力を行うファイルを指定する情報を格納している
On the other hand, the default input file designation information storage means 1-3 stores information that designates a file to be input by default.

また、既定出力ファイル指定情報格納手段1−4は、既
定で出力を行うファイルを指定する情報を格納している
Further, the default output file designation information storage means 1-4 stores information that designates a file to be output by default.

そこで、初期処理実行手段1−1は、既定入出力ファイ
ル変更手段1−2に制御を渡すので、既定入出力ファイ
ル変更手段1−2は、初期処理実行手段1−1から受け
た入力ファイルや出力ファイルを変更するコマンド情報
の内容により、既定入力ファイル指定情報格納手段1−
3および既定出力ファイル指定情報格納手段1−4の内
容の変更を実施して、制御を再び初期処理実行手段1−
1に戻す。
Therefore, the initial processing execution means 1-1 passes control to the default input/output file changing means 1-2, so that the default input/output file changing means 1-2 changes the input file received from the initial processing execution means 1-1. Default input file specification information storage means 1-
3 and the contents of the default output file specification information storage means 1-4 are changed, and the control is restarted by the initial processing execution means 1-4.
Return to 1.

次に、初期処理実行手段1−1は、実行プログラム1−
5に制御を渡すので、実行プログラム1−5は、既定入
力ファイル指定情報格納手段1−3の内容が示す入力フ
ァイル3からデータを入力し、既定出力ファイル指定情
報格納手段1−4の内容が示す出力ファイル4にデータ
を出力することにより、プログラム処理を実行すること
ができる。
Next, the initial processing execution means 1-1 executes the execution program 1-
5, the execution program 1-5 inputs data from the input file 3 indicated by the contents of the default input file specification information storage means 1-3, and inputs data from the input file 3 indicated by the contents of the default output file specification information storage means 1-4. Program processing can be executed by outputting data to the output file 4 shown in FIG.

以上述べたように、本実施例の実行形式プログラムの入
出力ファイル変更方式は、コマンド入力により指定され
た入力ファイルや出力ファイルの変更を起動時に行うこ
とにより、既定の入力ファイルや出力ファイルの変更を
実行プログラムの変更なしに容易に行うことが、できる
As described above, the input/output file changing method of the executable program of this embodiment is to change the input file or output file specified by the command input at startup, so that the default input file or output file can be changed. This can be easily done without changing the execution program.

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

以上説明したように、本発明の実行形式プログラムの入
出力ファイル変更方式は、コマンド入力により指定され
た入力ファイルや出力ファイルの変更を起動時に行うこ
とにより、既定の入力ファイルや出力ファイルの変更を
実行プログラムの変更なしに容易に行えるという効果を
有している。
As explained above, the input/output file changing method of the executable program of the present invention changes the input file or output file specified by the command input at startup, thereby changing the default input file or output file. This has the advantage that it can be easily performed without changing the execution program.

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

第1図は本発明の実行形式プログラムの入出力ファイル
変更方式の一実施例を示すブロック図である。 1・・・・・・実行形式プログラム、2・・・・・・入
力コマンド情報格納テーブル、3・・・・・・入力ファ
イル、4・・・・・・出力ファイル、1−1・・・・・
・初期処理実行手段、1−2・・・・・・既定入出力フ
ァイル変更手段、1−3・・・・・・既定入力ファイル
指定情報格納手段、1−4・・・・・・既定出力ファイ
ル指定情報格納手段、1−5・・・・・・実行プログラ
ム。
FIG. 1 is a block diagram showing an embodiment of a method for changing input and output files of an executable program according to the present invention. 1... Executable program, 2... Input command information storage table, 3... Input file, 4... Output file, 1-1...・・・
- Initial processing execution means, 1-2... Default input/output file changing means, 1-3... Default input file specification information storage means, 1-4... Default output File specification information storage means, 1-5... Execution program.

Claims (1)

【特許請求の範囲】 (A)オペレーティングシステムの働きにより、端末装
置などから入力されたコマンドのコマンド情報を格納し
ている入力コマンド情報格納テーブルから、初期処理に
必要なコマンド情報を入力して実行するとともに、前記
入力コマンド情報格納テーブルに含まれる入力ファイル
や出力ファイルを変更するコマンド情報を取出す初期処
理実行手段、 (B)既定で入力を行うファイルを指定する情報を格納
する既定入力ファイル指定情報格納手段、 (C)既定で出力を行うファイルを指定する情報を格納
する既定出力ファイル指定情報格納手段、 (D)前記初期処理実行手段で取出された入力ファイル
や出力ファイルを変更するコマンド情報を受けて、その
コマンド情報の内容により、前記既定入力ファイル指定
情報格納手段および前記既定出力ファイル指定情報格納
手段の内容を変更する既定入出力ファイル変更手段、 (E)前記既定入力ファイル指定情報格納手段の内容が
示す入力ファイルからデータを入力し、前記既定出力フ
ァイル指定情報格納手段の内容が示す出力ファイルにデ
ータを出力することにより、プログラム処理を実行する
実行プログラム、 を備えることを特徴とする実行形式プログラムの入出力
ファイル変更方式。
[Scope of Claims] (A) Through the operation of the operating system, command information necessary for initial processing is input and executed from the input command information storage table that stores command information of commands input from a terminal device, etc. (B) default input file specification information that stores information specifying a file to be input by default; storage means; (C) default output file specification information storage means for storing information specifying files to be output by default; (D) command information for changing the input files and output files retrieved by the initial processing execution means; (E) default input/output file changing means for changing the contents of the default input file designation information storage means and the default output file designation information storage means according to the contents of the command information; (E) the default input file designation information storage means; an execution program that executes program processing by inputting data from an input file indicated by the contents of and outputting the data to an output file indicated by the contents of the default output file specification information storage means. Format program input/output file change method.
JP63133465A 1988-05-30 1988-05-30 Input/output file altering system for execution form program Pending JPH01302427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63133465A JPH01302427A (en) 1988-05-30 1988-05-30 Input/output file altering system for execution form program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63133465A JPH01302427A (en) 1988-05-30 1988-05-30 Input/output file altering system for execution form program

Publications (1)

Publication Number Publication Date
JPH01302427A true JPH01302427A (en) 1989-12-06

Family

ID=15105417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63133465A Pending JPH01302427A (en) 1988-05-30 1988-05-30 Input/output file altering system for execution form program

Country Status (1)

Country Link
JP (1) JPH01302427A (en)

Similar Documents

Publication Publication Date Title
JPH01302427A (en) Input/output file altering system for execution form program
JPH01251264A (en) Command adding and deleting system for time sharing system
JP2511544B2 (en) System definition change method
JPH0290226A (en) Console message output length control system
JPH02137054A (en) Information processor
JPH04305733A (en) System forming method
JPH01142827A (en) Program starting system
JPH04148326A (en) Application activating system
JPH02280229A (en) System for executing program
JPH01155593A (en) Rom writer device control system
JPH0486938A (en) Application start-up device
JPH0484355A (en) Terminal-relying command executing system
JPS6349839A (en) Leading system for electronic computer system
JPH02280228A (en) System for converting input data
JPH02118726A (en) Job performance control system
JPH04112389A (en) Data flow type processor control system
JPS6123235A (en) Control method of spool output data
JPS61217832A (en) Automatic changing system for system function
JPS6165348A (en) Connection system for external device
JPH0256668A (en) Program activating system in distributed system
JPH02285420A (en) Parameter setting system
JPH02214965A (en) Program control system for time sharing system
JPH02224131A (en) Computer system
JPH04353930A (en) Started parameter fetch control system
JPS61163437A (en) Information processing system