JPH06168135A - System for starting user program after end of file transfer - Google Patents

System for starting user program after end of file transfer

Info

Publication number
JPH06168135A
JPH06168135A JP4319751A JP31975192A JPH06168135A JP H06168135 A JPH06168135 A JP H06168135A JP 4319751 A JP4319751 A JP 4319751A JP 31975192 A JP31975192 A JP 31975192A JP H06168135 A JPH06168135 A JP H06168135A
Authority
JP
Japan
Prior art keywords
file
name
user program
program
transfer
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
JP4319751A
Other languages
Japanese (ja)
Inventor
Toshiharu Wada
年晴 和田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4319751A priority Critical patent/JPH06168135A/en
Publication of JPH06168135A publication Critical patent/JPH06168135A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To start a user program without preliminarily registering the name of a transfer object file (start condition) and the name of a file (start information) which corresponds to it and where the user program to be started is stored. CONSTITUTION:After the end of file transfer, a part ('ABC') of the name of a transfer object file 7 is extracted from the name of the transfer object file 7 and an extender (the name indicating the classification of the file) 'LOD' indicating an execution program is added to this part to obtain another name in accordance with a certain conversion rule. For example, name 'ABC.LOD' is obtained when the name of the transfer object file is '!ABC0O01.DAT'. This obtained name is used as the name of a file 10 where the user program is stored; and when the pertinent file exists, it is not started unless the user program 11 is started.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機システムに常駐
し、回線で接続された相手計算機システムからファイル
転送の指示を待ち受ける型のファイル転送プログラムに
おいて、ファイル転送終了後に利用者プログラムを起動
する方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of activating a user program after file transfer is completed in a file transfer program resident in a computer system and waiting for a file transfer instruction from a partner computer system connected by a line. Regarding

【0002】[0002]

【従来の技術】従来の、ファイル転送終了時に利用者プ
ログラムを起動する方式では、転送対象ファイルの名前
(起動条件)とそれに対応した起動する利用者プログラ
ムを格納したファイルの名前(起動情報)をあらかじめ
起動定義ファイルに登録しておき、ファイル転送終了時
に起動定義ファイルを参照し、転送対象ファイルの名前
(起動条件)が一致したとき、それに対応した名前(起
動情報)のプログラムを起動する方式がとられていた。
2. Description of the Related Art In the conventional method of activating a user program at the end of file transfer, the name of the file to be transferred (start condition) and the name of the file storing the corresponding user program to be started (start information) are specified. A method that is registered in the startup definition file in advance, refers to the startup definition file at the end of file transfer, and when the name of the transfer target file (start condition) matches, starts the program with the corresponding name (start information) It was taken.

【0003】なお、ファイル転送終了後に利用者プログ
ラムなどを起動する方法については、マニュアル『VO
SK XNF/K/TCP』(HITACマニュアル
630−3−541 平成4年1月発行)の「7.1.
6 ファイル受信時のアプリケーションプログラムの開
始とその利用」で解説されている。
For the method of starting a user program after the file transfer is completed, refer to the manual "VO
SK XNF / K / TCP ”(HITAC Manual
630-3-541, issued in January 1992), "7.1.
6 Starting application programs when receiving files and using them ”.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術では、転
送対象ファイルの名前(起動条件)とそれに対応した起
動する利用者プログラムを格納したファイルの名前(起
動情報)をあらかじめ起動定義ファイルに登録しておく
必要があるため、わずらわしいという欠点があった。
In the above prior art, the name of the file to be transferred (starting condition) and the name of the file storing the corresponding user program to be started (starting information) are registered in advance in the starting definition file. There is a drawback that it is troublesome because it needs to be kept.

【0005】本発明の目的は、転送対象ファイルの名前
(起動条件)とそれに対応した起動する利用者プログラ
ムを格納したファイルの名前(起動情報)をあらかじめ
登録しておかなくても、利用者プログラムを起動するこ
とにある。
An object of the present invention is to provide a user program without having to register in advance the name of the file to be transferred (starting condition) and the name of the file storing the corresponding user program to be started (starting information). Is to start.

【0006】[0006]

【課題を解決するための手段】上記目的は、ファイル転
送終了後に転送対象ファイルの名前から一定の変換規則
に従って、例えば転送対象ファイルの名前が「!ABC
0001.DAT」なら「ABC.LOD」という名前
を求めるというように、転送対象ファイルの名前の一部
(「ABC」)を抜き出し、それに実行プログラムを示
す拡張子(ファイルの種類を表す名前)「LOD」を付
けるという変換規則によって別の名前を求め、この名前
を利用者プログラムを格納したファイルの名前とし、該
当するファイルがあればその利用者プログラムを起動し
なければ起動しないという方式をとることによって達成
できる。
The object of the present invention is to transfer the name of the transfer target file from the name of the transfer target file to a certain conversion rule after the file transfer is completed, for example, if the name of the transfer target file is "! ABC".
0001. In the case of "DAT", the name "ABC.LOD" is obtained, and a part ("ABC") of the name of the transfer target file is extracted, and the extension (name indicating the file type) "LOD" indicating the execution program is extracted. Achieved by obtaining another name according to the conversion rule that attaches, and using this name as the name of the file that stores the user program, and if there is a corresponding file, it will not be started unless the user program is started it can.

【0007】[0007]

【作用】ファイル転送終了後に転送対象ファイルの名前
から一定の変換規則に従って利用者プログラムを格納し
たファイルの名前(起動情報)が求められるので、転送
対象ファイルの名前(起動条件)とそれに対応した起動
する利用者プログラムを格納したファイル名前(起動情
報)をあらかじめ登録しておくことが不要となる。
[Operation] After the file transfer is completed, the name of the file storing the user program (starting information) is obtained from the name of the transfer target file according to a certain conversion rule, so the name of the transfer target file (starting condition) and the corresponding start-up It is not necessary to register in advance the file name (startup information) storing the user program to be executed.

【0008】[0008]

【実施例】以下、本発明の一実施例について図面で説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0009】図1は本実施例のシステム構成図である。
計算機システム1と相手計算機システム2とは回線3で
接続されている。計算機システム1には、ファイル転送
の指示を待ち受ける(常駐)型のファイル転送プログラ
ム4を実行しており、転送対象ファイル7の名前と転送
の指示(送信又は受信の指示)を受信し、転送対象ファ
イル7を読み込んで相手計算機システム2に送信した
り、相手計算機システム2から受信したデータを転送対
象ファイル7に格納したりする。そして、転送対象ファ
イル7の名前から一定の変換規則に基づいて利用者プロ
グラムを格納したファイル10の名前を求め、起動プロ
グラム9に利用者プログラムの起動要求をする。起動プ
ログラム9は、利用者プログラムを格納したファイル1
0を読み込んで利用者プログラム11を起動する。一
方、相手計算機システム2には、ファイル転送プログラ
ム5を実行し、端末装置6から転送対象ファイル8の名
前とファイル転送の指示(送信又は受信の指示)を入力
してこれを計算機システム1に送信し、転送対象ファイ
ル8を読み込んで計算機システム1に送信したり、計算
機システム2から受信したデータを転送対象ファイル8
に格納したりする。
FIG. 1 is a system configuration diagram of this embodiment.
The computer system 1 and the partner computer system 2 are connected by a line 3. The computer system 1 is executing a (resident) type file transfer program 4 that waits for a file transfer instruction, receives the name of the transfer target file 7 and the transfer instruction (transmission or reception instruction), and transfers the file. The file 7 is read and transmitted to the partner computer system 2, or the data received from the partner computer system 2 is stored in the transfer target file 7. Then, the name of the file 10 storing the user program is obtained from the name of the transfer target file 7 based on a certain conversion rule, and the start program 9 is requested to start the user program. The startup program 9 is the file 1 that stores the user program.
0 is read and the user program 11 is started. On the other hand, in the partner computer system 2, the file transfer program 5 is executed, the name of the transfer target file 8 and the file transfer instruction (transmission or reception instruction) are input from the terminal device 6 and transmitted to the computer system 1. Then, the file 8 to be transferred is read and transmitted to the computer system 1, or the data received from the computer system 2 is transferred to the file 8 to be transferred.
Or store it in.

【0010】図2は転送対象ファイル7の名前から利用
者プログラムを格納したファイル10の名前を求めると
きの変換規則の例である。転送対象ファイルの名前71
は、プログラム起動の識別72とプログラム名73と任
意名74と拡張子75とで構成されており、プログラム
起動の識別72が「!」であるとき、利用者プログラム
を起動するとし、利用者プログラムを格納したファイル
の名前101を求める。その方法は、プログラム名73
を抜き出しこれをプログラム名102とし、これに「L
OD」という拡張子103をつけることである。任意名
74「yyy」と拡張子「zzz」は、変換には用いな
い。プログラム起動の識別72が「!」でないときは、
利用者プログラムを起動しないことし、利用者プログラ
ムを格納したファイルの名前101は求めない。このよ
うにすると、例えば、転送対象ファイルの名前が「!A
BC0001.DAT」なら利用者プログラムを格納し
たファイルの名前は「ABC.LOD」となる。
FIG. 2 shows an example of conversion rules for obtaining the name of the file 10 storing the user program from the name of the transfer target file 7. Name of file to be transferred 71
Is composed of a program activation identification 72, a program name 73, an arbitrary name 74 and an extension 75. When the program activation identification 72 is "!", The user program is activated, and the user program The name 101 of the file in which is stored is calculated. The method is program name 73
Extract this and use it as the program name 102.
It is to add the extension 103 "OD". The arbitrary name 74 “yyy” and the extension “zzz” are not used for conversion. When the program start identification 72 is not "!",
The user program is not started, and the name 101 of the file storing the user program is not required. By doing this, for example, the name of the transfer target file is "! A.
BC0001. In the case of "DAT", the name of the file storing the user program is "ABC.LOD".

【0011】図3は計算機システム1のファイル転送プ
ログラム4のフローチャートである。ファイル転送プロ
グラム4は、回線3で接続された相手計算機システム2
のファイル転送プログラム5からの転送指示(送信又は
受信の指示、及び転送対象ファイル7の名前)を待ち受
ける(41)。ファイル転送をしようとする操作者は端
末装置6から転送指示をする。転送指示はファイル転送
プログラム5から回線3を通じて計算機システム1に渡
り、ファイル転送プログラム4が受信する。(42)。
これによって、計算機システム1の転送対象ファイル7
と相手計算機システム2の転送対象ファイル8との転送
が実行される(43)。ファイル転送が終了したとき、
図2の変換規則を用いて利用者プログラムを格納したフ
ァイル10の名前を、ファイル転送プログラム4が求め
る(44)。この結果名前が得られれば、得られた名前
を起動プログラム9に渡すとともに利用者プログラムの
起動要求をし、名前が得られなければ、起動要求はしな
い(45,46)。
FIG. 3 is a flow chart of the file transfer program 4 of the computer system 1. The file transfer program 4 is the partner computer system 2 connected by the line 3.
The transfer instruction (transmission or reception instruction, and the name of the transfer target file 7) from the file transfer program 5 is waited (41). An operator who wants to transfer a file gives a transfer instruction from the terminal device 6. The transfer instruction is passed from the file transfer program 5 to the computer system 1 through the line 3 and is received by the file transfer program 4. (42).
As a result, the transfer target file 7 of the computer system 1
And the transfer target file 8 of the partner computer system 2 is executed (43). When the file transfer is completed,
The file transfer program 4 obtains the name of the file 10 storing the user program using the conversion rule of FIG. 2 (44). As a result, if the name is obtained, the obtained name is passed to the activation program 9 and the user program activation request is made. If the name is not obtained, the activation request is not made (45, 46).

【0012】図4は、ファイル転送プログラム4におい
て、図2の変換規則によって転送対象ファイル7の名前
から利用者プログラムを格納したファイル10の名前を
求める処理のフローチャートである。まず、転送対象フ
ァイル名の先頭1文字を抜き出す(4401)。先頭1
文字が「!」ならば、次の3文字を抜き出し(440
2,4403)、これに「.LOD」を付け(440
4)、得られた名前を利用者プログラムを格納したファ
イルの名前とし(4405)、リターンコードを「利用
者プログラム名取得」として(4406)、リターンす
る。先頭1文字が「!」でないならば、リターンコード
を「利用者プログラム名取得せず」として(4402,
4407)、リターンする。
FIG. 4 is a flow chart of a process in the file transfer program 4 for obtaining the name of the file 10 storing the user program from the name of the transfer target file 7 according to the conversion rule of FIG. First, the first character of the transfer target file name is extracted (4401). Top 1
If the character is "!", Extract the next three characters (440
2,4403), with ".LOD" added (440
4) The obtained name is set as the name of the file storing the user program (4405), the return code is set as "acquire user program name" (4406), and the process returns. If the first character is not "!", The return code is set to "Don't acquire user program name" (4402,
4407), and return.

【0013】図5は起動プログラム9のフローチャート
である。起動プログラム9はファイル転送プログラム4
から渡された名前もとに該当するファイルさがし(9
1)、該当するファイルがあれば、これを読み込み利用
者プログラムを計算機システム1内に起動し、なければ
起動しない(92,93)。
FIG. 5 is a flowchart of the startup program 9. The startup program 9 is the file transfer program 4
Find the file corresponding to the name given by (9
1) If there is a corresponding file, the file is read and the user program is started in the computer system 1, and if not, it is not started (92, 93).

【0014】以上のようにして、転送対象ファイル7か
らそれに対応した利用者プログラムを格納したファイル
10の名前が求められ、目的の利用者プログラムが起動
されるので、転送対象ファイル7(起動条件)と利用者
プログラムを格納したファイルの名前10(起動情報)
をあらかじめ登録しておくことが不要となる。
As described above, the name of the file 10 storing the user program corresponding to it is obtained from the transfer target file 7, and the target user program is started. Therefore, the transfer target file 7 (start condition) And the name of the file that stores the user program 10 (startup information)
It is not necessary to register in advance.

【0015】なお、この例では、転送対象ファイルの名
前の先頭の「!」を利用者プログラムを起動するかしな
いか(起動する対象)の識別とし、「!」の次の3文字
を抜き出し、それに「.LOD」を付けた名前を利用者
プログラムを格納したファイルの名前とするとして変換
規則を決めているが、変換規則を利用者に指定させて変
換規則に自由度をもたせることもできる。例えば、変換
規則のパターンを正規表現やマスクパターンで指定させ
る。転送対象ファイルの名前から利用者プログラムを起
動する対象を選ぶための正規表現と、転送対象ファイル
の名前から利用者プログラムを格納したファイルの名前
に用いる文字(列)を取り出すためのマスクパターン
と、取り出した文字(列)を用いて利用者プログラムを
格納したファイルの名前を得るための正規表現をユーザ
に指定させる方式である。
In this example, the leading "!" In the name of the file to be transferred is used to identify whether or not the user program is to be started (the object to be started), and the three characters following "!" Are extracted. The conversion rule is determined by using the name with ".LOD" as the name of the file in which the user program is stored. However, the conversion rule can be given to the user to give the conversion rule a degree of freedom. For example, the pattern of the conversion rule is designated by a regular expression or a mask pattern. A regular expression for selecting the target to start the user program from the name of the transfer target file, and a mask pattern for extracting the character (string) used for the name of the file storing the user program from the name of the transfer target file, It is a method that allows the user to specify a regular expression for obtaining the name of the file in which the user program is stored using the extracted character (string).

【0016】[0016]

【発明の効果】本発明は以上のような方式であるので、
転送対象ファイルの名前(起動条件)とそれに対応した
起動する利用者プログラムの名前(起動情報)をあらか
じめ登録しておくことが不要となり、操作が簡単にな
る。また、起動条件と起動情報を登録するための手段が
不要となるので、構造も簡単になる。
Since the present invention has the above-mentioned method,
It is not necessary to register in advance the name of the file to be transferred (start condition) and the name of the user program to be started (start information) corresponding to it, and the operation becomes simple. Further, since the means for registering the activation condition and the activation information is unnecessary, the structure becomes simple.

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

【図1】本発明であるファイル転送終了後の利用者プロ
グラム起動方式のシステム構成図である。
FIG. 1 is a system configuration diagram of a user program starting method after completion of file transfer according to the present invention.

【図2】転送対象ファイルの名前から利用者プログラム
を格納したファイルの名前を求めるときの変換規則の例
を示す図である。
FIG. 2 is a diagram showing an example of a conversion rule when obtaining the name of a file storing a user program from the name of a transfer target file.

【図3】ファイル転送プログラムのフローチャートであ
る。
FIG. 3 is a flowchart of a file transfer program.

【図4】ファイル転送プログラムにおいて、図2の変換
規則によって転送対象ファイルの名前から利用者プログ
ラムを格納したファイルの名前を求める処理のフローチ
ャートである。
FIG. 4 is a flowchart of processing in the file transfer program for obtaining the name of the file storing the user program from the name of the transfer target file according to the conversion rule of FIG.

【図5】利用者プログラムを起動するプログラムのフロ
ーチャートである。
FIG. 5 is a flowchart of a program for starting a user program.

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

1…計算機システム、 2…相手計算機システム、 3…回線、 4,5…ファイル転送プログラム、 6…端末装置、 7,8…転送対象ファイル、 9…起動プログラム、 10…利用者プログラムを格納したファイル、 11…利用者プログラム。 1 ... Computer system, 2 ... Partner computer system, 3 ... Line, 4, 5 ... File transfer program, 6 ... Terminal device, 7, 8 ... Transfer target file, 9 ... Startup program, 10 ... File storing user program , 11 ... User program.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】計算機システムに常駐し、回線で接続され
た相手計算機システムからファイル転送の指示を待ち受
ける型のファイル転送プログラムにおいて、ファイル転
送終了時に、転送対象ファイルの名前から一定の変換規
則に従って利用者プログラムを格納したファイルの名前
を求め、その名前のファイルに格納されているプログラ
ムを自動的に起動することを特徴とするファイル転送終
了後の利用者プログラム起動方式。
1. A file transfer program resident in a computer system, which waits for a file transfer instruction from a partner computer system connected by a line, and is used according to a certain conversion rule from the name of the transfer target file at the end of the file transfer. A method for activating a user program after file transfer is completed, in which the name of the file that stores the user program is calculated, and the program stored in the file with that name is automatically started.
JP4319751A 1992-11-30 1992-11-30 System for starting user program after end of file transfer Pending JPH06168135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4319751A JPH06168135A (en) 1992-11-30 1992-11-30 System for starting user program after end of file transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4319751A JPH06168135A (en) 1992-11-30 1992-11-30 System for starting user program after end of file transfer

Publications (1)

Publication Number Publication Date
JPH06168135A true JPH06168135A (en) 1994-06-14

Family

ID=18113768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4319751A Pending JPH06168135A (en) 1992-11-30 1992-11-30 System for starting user program after end of file transfer

Country Status (1)

Country Link
JP (1) JPH06168135A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000089988A (en) * 1998-08-31 2000-03-31 Xerox Corp Method for managing self-management document based on document property
JP2002524793A (en) * 1998-09-08 2002-08-06 メタフォリクス エルエルシー Virtual file server
JP2010134963A (en) * 1998-08-31 2010-06-17 Xerox Corp Method for activating service using property attached to document

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000089988A (en) * 1998-08-31 2000-03-31 Xerox Corp Method for managing self-management document based on document property
JP2010134963A (en) * 1998-08-31 2010-06-17 Xerox Corp Method for activating service using property attached to document
JP2002524793A (en) * 1998-09-08 2002-08-06 メタフォリクス エルエルシー Virtual file server

Similar Documents

Publication Publication Date Title
US7796281B2 (en) Image forming system having reprint function
EP0926606A2 (en) Document data linking apparatus
JPH10269237A (en) Document browsing system
JPH06168135A (en) System for starting user program after end of file transfer
JP2003242105A (en) Automatic contents takeout device, automatic contents takeout method, output device, output method, and output program
JPH11305998A (en) Computer system
JP3450598B2 (en) Technical term dictionary selection device
JPH05147275A (en) Printing device
JP2001273254A (en) Information processor and storage medium
JPH10254865A (en) Communication control method, server system using the method and communication system using data base
JP2002366331A (en) Storage type printer
JPH04260963A (en) Server/client system
US8397169B2 (en) Image forming system capable of causing document box information of the printer driver to automatically adjust to a change in the document box information that is stored in an image forming apparatus
JP2003132183A (en) Processing emulation method, processing emulation program, and recording medium
JPH031224A (en) Input/output system
JP4648289B2 (en) Screen input device and screen input control program
JPH0414161A (en) Transaction processing system
JPH09223050A (en) Using method for shared file
JPS62109127A (en) Control system for output of display screen
JP2003303069A (en) Peripheral device, job management method, computer- readable storage medium and program
JPH07295910A (en) Client management method in client-server system
JPS63100561A (en) Linking control system for job in distributed processing system
JP2008003990A (en) Service cooperation method, device and program
JPH03113673A (en) Code data control system
JPH0895913A (en) Automatic program starting method