Micro-mainframe link control method and apparatus
First Claim
1. A method of controlling a micro device making an access to a file present in a mainframe by a micro device linked to the mainframe, said method comprising the steps of:
- in response to a request for file access from a user program executed in the micro device, referring to a table in which a plurality of command sequences are stored corresponding to a plurality of kinds of requests respectively, and reading out one of the command sequences corresponding to a kind of the request from the user program, each of the plurality of command sequences including a process for composing and transmitting a transmission packet, each command included in a command sequence to compose one of the transmission packets being executed to obtain components of the transmission packet;
composing a transmission packet, said composing step including a step of interpreting, by a control program executed in the micro device, the command sequence read out from the table corresponding to the kind of request from the user program; and
transmitting the composed transmission packet to the mainframe in accordance with a command in the command sequence.
0 Assignments
0 Petitions
Accused Products
Abstract
A method of controlling a micro device linked to a mainframe in such a manner that a file present in the mainframe can be accessed from the micro device. In response to a request for file access from a user program, reference is made to a table in which a plurality of command sequences for use in composing transmission packets is stored, corresponding respectively to a plurality of kinds of requests. Each of the command sequences includes a plurality of commands, which are executed to obtain respective components of a transmission packet. A transmission packet is composed in accordance with the command sequence corresponding to the kind of request from the user program, and the resulting transmission packet is transmitted to the mainframe.
-
Citations
13 Claims
-
1. A method of controlling a micro device making an access to a file present in a mainframe by a micro device linked to the mainframe, said method comprising the steps of:
-
in response to a request for file access from a user program executed in the micro device, referring to a table in which a plurality of command sequences are stored corresponding to a plurality of kinds of requests respectively, and reading out one of the command sequences corresponding to a kind of the request from the user program, each of the plurality of command sequences including a process for composing and transmitting a transmission packet, each command included in a command sequence to compose one of the transmission packets being executed to obtain components of the transmission packet; composing a transmission packet, said composing step including a step of interpreting, by a control program executed in the micro device, the command sequence read out from the table corresponding to the kind of request from the user program; and transmitting the composed transmission packet to the mainframe in accordance with a command in the command sequence.
-
-
2. A method of controlling a micro device to access to a file present in a mainframe linked to the micro device, said method comprising the steps of:
-
In response to a request for file access from a user program executed in the micro device, referring to a table in which a plurality of command sequences are stored corresponding to a plurality of kinds of requests respectively, and reading out one of the command sequences corresponding to a kind of the request from the user program, each of the plurality of command sequences including a process for composing and transmitting a transmission packet, each command included in a command sequence to compose one of the transmission packets being executed to obtain components of the transmission packet, wherein at least one command in a command sequence to compose a transmission packet is a set command including variables specifying position and length by which a component of the transmission packet is read out; composing a transmission packet, said composing step comprising a step of interpreting, by a control program executed in the micro device, the command sequence read out from the table corresponding to the kind of request from the user program, and a step of reading out data of the length from the position specified by the variables and setting the data as a component according to the set command; and transmitting the composed transmission packet to the mainframe in accordance with a command in the command sequence. - View Dependent Claims (3, 4)
-
-
5. A method of controlling a micro device to access has a file present in a mainframe linked to the micro device, said method comprising the steps of:
-
transferring a table to the micro device from the mainframe, said table including a plurality of command sequences for use in composing and transmitting transmission packets corresponding respectively to a plurality of kinds of requests, each of a plurality of commands included in a command sequence to compose a transmission packet being executed to obtain respective components of the transmission packet, wherein at least one command in a command sequence to compose a transmission packet is a set command including variables specifying position and length by which a component of the transmission packet is read out; in response to a request for file access from a user program executed in the micro device, referring to the table transferred in said transferring step; composing a transmission packet, said composing step including interpreting, by a control program executed in the micro device, the command sequence read out from the table corresponding to the kind of request from the user program, and a step of reading out data of the length from the position specified by the variables and setting the data as a component according to the set command; and transmitting the composed transmission packet to the mainframe in accordance with a command in the command sequence. - View Dependent Claims (6)
-
-
7. A micro device to access a file present in a mainframe linked to the micro device, said device comprising:
-
storage means for storing a table in which a plurality of command sequences are stored corresponding respectively to a plurality of kinds of requests, each of the plurality of command sequences including a process for composing and transmitting a transmission packet, each of a plurality of commands included in a command sequence to compose a transmission packet being executed to obtain respective components of a transmission packet; referring means for referring to the table in said storage means in response to a request of file access from a user program executed in the micro device; composition means for composing a transmission packet, said composition means comprising means for interpreting, by a control program executed in the micro device, a command sequence read out from the table corresponding to a kind of request from the user program; and transmitting means for transmitting the transmission packet composed by said composition means to the mainframe in accordance with a command in the command sequence. - View Dependent Claims (11)
-
-
8. A micro device to access to a file present in a mainframe linked to the micro device, said device comprising:
-
storage means for storing a table in which a plurality of command sequences for use in composing and transmitting transmission packets are stored corresponding respectively to a plurality of kinds of requests, each of a plurality of commands included in a command sequence to compose a transmission packet being executed to obtain respective components of a transmission packet, wherein at least one command in a command sequence to compose a transmission packet is a set command including variables specifying position and length by which a component of the transmission packet is read out; referring means for referring to the table in said storage means in response to a request of file access from a user program executed in the micro device; composition means for composing a transmission packet, said composition means comprising means for interpreting, by a control program executed in the micro device, the command sequence read out from the table corresponding to the kind of request from the user program, and means for reading out data of the length from the position specified by the variables and setting the data as a component according to the set command; and transmitting means for transmitting the transmission packet composed by said composition means to the mainframe in accordance with a command in the command sequence. - View Dependent Claims (9, 10)
-
-
12. A micro device to access a file present in a mainframe linked to the micro device, said device comprising:
-
storage means for storing information; transferring means for transferring a table to said storage means from the mainframe, said table including a plurality of command sequences for use in composing and transmitting transmission packets corresponding respectively to a plurality of kinds of requests, each of a plurality of commands included in a command sequence to compose a transmission packet being executed to obtain respective components of the transmission packet, wherein at least one command in a command sequence to compose a transmission packet is a set command including variables specifying position and length by which a component of the transmission packet is read out; referring means for referring to the table in said storage means in response to a request of file access from a user program; composition means for composing a transmission packet, said composition means including means for interpreting, by a control program executed in the micro device, the command sequence read out from the table corresponding to the kind of request from the user program, and means for reading out data of the length from the position specified by the variables and setting the data as a component according to the set command; and transmission means for transmitting the transmission packet composed by said composition means to the mainframe in accordance with a command in the command sequence. - View Dependent Claims (13)
-
Specification