Method of switching operating systems for a data processing system
First Claim
Patent Images
1. A method of switching from one operating system (OS) program to another OS program for a data processing system to provide a different function which comprises:
- a processor;
first memory means for storing a plurality of OS programs each having a specified file name and a plurality of data sets;
second memory means having a first area for storing an OS program, a second area for storing a data set used by the OS program, a third area for temporarily storing a processing program to be executed, and a fourth area for storing a program which loads a selected one of OS programs in said first memory means to said first area of said second memory means, said first memory means being an externally provided auxiliary memory; and
control means including a data input device for instructing the loading of an OS program with a specified file name from said first memory means to said second memory means, so that the processing program stored in said third area of said second memory means is executed under control of the OS program loaded in said first area, said method comprising;
a first step of verifying an OS load instruction issued by said control means using a first program section in the OS program stored in said second memory means, and, if the OS load instruction is acceptable, preparing a parameter indicative of the content of said second area of said second memory means;
a second step of executing the program in said fourth step to load a new OS program with a file name specified by said control means from said first memory means to said first area of said second memory means; and
a third step of executing a second program section of the newly loaded OS program prior to execution of the processing program to load a data set which is necessary for the new OS program and is not present in said second area of said second memory means as a result of reference to a parameter prepared by the previous OS program.
1 Assignment
0 Petitions
Accused Products
Abstract
A data processing system in which one of several operating systems (OS) stored in the auxiliary storage is selectively loaded to the main storage so that an application program is run under the selected operating system. Each operating system is provided with a function of loading a new operating system to the main storage in response to the OS switching instruction issued as an operator command or a job control statement. The improved OS switching method eliminates time used to verify memory repeatedly and to load data sets used commonly by each operating system.
31 Citations
10 Claims
-
1. A method of switching from one operating system (OS) program to another OS program for a data processing system to provide a different function which comprises:
-
a processor; first memory means for storing a plurality of OS programs each having a specified file name and a plurality of data sets; second memory means having a first area for storing an OS program, a second area for storing a data set used by the OS program, a third area for temporarily storing a processing program to be executed, and a fourth area for storing a program which loads a selected one of OS programs in said first memory means to said first area of said second memory means, said first memory means being an externally provided auxiliary memory; and control means including a data input device for instructing the loading of an OS program with a specified file name from said first memory means to said second memory means, so that the processing program stored in said third area of said second memory means is executed under control of the OS program loaded in said first area, said method comprising; a first step of verifying an OS load instruction issued by said control means using a first program section in the OS program stored in said second memory means, and, if the OS load instruction is acceptable, preparing a parameter indicative of the content of said second area of said second memory means; a second step of executing the program in said fourth step to load a new OS program with a file name specified by said control means from said first memory means to said first area of said second memory means; and a third step of executing a second program section of the newly loaded OS program prior to execution of the processing program to load a data set which is necessary for the new OS program and is not present in said second area of said second memory means as a result of reference to a parameter prepared by the previous OS program. - View Dependent Claims (2, 3)
-
-
4. A method of switching from one operating system (OS) program to another OS program for a data processing system which comprises:
-
a processor; an external memory for storing a plurality of OS programs each having a specific file name, a plurality of data sets, and an operating system loader; a main memory having a first area for storing an OS program, a second area for storing a data set used by the OS program, a third area for temporarily storing a processing program to be executed, a fourth area for storing the operating system loader, and a fifth area for permanently storing an initial program loader which loads an operating system loader from said external memory to said fourth area of said main memory; and OS control means for instructing the loading of an OS program with a specified file name from said external memory to said first area of said main memory, so that the processing program stored in said third area of said main memory is executed by said processor under control of the OS program loaded in said first area, each of the OS programs includes a first program section for verifying an OS load instruction issued by said OS control means and, if the instruction is acceptable, preparing a parameter indicative of the content of said second area and storing the parameter in a certain location in said main memory, and a second program section for loading a data set needed by the OS program from said external memory to said third area of said main memory, by making reference to the parameter, said method comprising; first step of initiating a resident initial program loader following a power-ON operation of said data processing system to load an operating system loader stored in said external memory to said fourth area of said main memory; a second step of executing a first section of the operating system loader in said fourth area to verify the first, second and third areas of said main memory and, thereafter, executing a second section of the operating system loader to load a specified OS program stored in said external memory to the first area of said main memory means; a third step of executing the second program section of the OS program loaded to said main memory; a fourth step of executing the first program section of the OS program loaded to said main memory and, thereafter, executing the second section of the operating system loader in the fourth area to load a new OS program stored in said external memory to said main memory when an OS load instruction is issued by said OS content means; and a fifth step of executing the second program section of the new OS program loaded in said fourth step so as to load a data set, which is needed by the new OS program and is not present in the second area, from said external memory to said main memory means. - View Dependent Claims (5, 6, 7, 8, 9, 10)
-
Specification