Abstract:
Apparatus including a program formed from Layered Procedure Sets and providing control for the program such that the message event blocks established for a session of the program are uniquely identifiable to the session and such that a single control block is established for a Layered Procedure Set during a session, the control block being uniquely identifiable to the Layered Procedure Set based on the particular session and the identification of the Layered Procedure set.

Description:
This is a continuation application under 37 CFR 1.62 of prior application Ser. No. 07/452,065, filed Dec. 15, 1989, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     This invention relates to a method and apparatus for use with software programs and, in particular, to a method and apparatus for controlling operation and control block management of these programs. 
     In computer operating systems in use today, the programs of the systems are often segmented into layers each of which contains a group of self-contained functions or procedures. Each such layer shall be referred to herein as a Layered Procedure Set or LPS. 
     A basic model governing the communication of messages between and the invoking of LPSs in computer programs is the so-called queued &#34;Scheduler-Dispatcher&#34; model. This model is widely used in the data processing industry, especially in data communications. A particular data communications version of a Scheduler-Dispatcher model is described in Appendix C of IBM&#39;s SNA Format &amp; Protocol Reference: Architectual Logic. 
     In the queued Scheduler-Dispatcher functionality, message event blocks (MEBs) are used in conjunction with the Scheduler, Dispatcher and LPSs. MEBs provide an internal storage medium consistent enough in form to be able to pass messages identified as events and their associated control information from place to place within a program, and especially through the Scheduler and Dispatcher and between LPSs. 
     In one version of the Scheduler-Dispatcher model, the Scheduler functions as a loop within a procedure. The Scheduler loop first waits on interrupts within the system and when an input/output (&#34;I/O&#34;) procedure completes, identifies an associated MEB on its ready queue (&#34;READY Q&#34;), dequeues the MEB and enqueues it to the queue of the Dispatcher (&#34;DISPATCH Q&#34;) and calls the Dispatcher. The Scheduler also acts on receiving control back from the Dispatcher to check its Ready Q and, if the READY Q contains an MEB, the Scheduler dequeues the MEB from the READY Q and enqueues it to the DISPATCH Q and calls the Dispatcher. If the READY Q is empty, however, the Scheduler checks the queue of the I/O (&#34;I/O Q&#34;). If there is an MEB on the I/O Q, the Scheduler dequeues the MEB and passes it as a parameter for execution of the I/O procedure. 
     When the Dispatcher is called by the Scheduler, the Dispatcher dequeues an MEB from its DISPATCH Q and calls the LPS associated with the destination contained in the MEB, passing the MEB as a parameter. When control is returned to the dispatcher from the LPS, the Dispatcher checks the DISPATCH Q to determine whether any MEBs are present. If the DISPATCH Q is empty, it returns control to the Scheduler. If the DISPATCH Q is not empty, the Dispatcher repeats its procedure until the DISPATCH Q is empty at which time It then returns control to the Scheduler for repeat of the Scheduler procedure. 
     In the above operation of the Scheduler-Dispatcher model, the Scheduler, if there are no MEBs in the READY Q, checks the I/O Q to determine whether there are any MEBs present in this queue. If so, the Scheduler dequeues the MEB from the I/O Q to initiate execution of an I/O procedure. This is accomplished by an I/O handler (&#34;I/O Handler&#34;) which begins execution upon a call from the Scheduler. This call is accompanied by passing of the MEB. Once the I/O handler has initiated the I/O operation, it returns control immediately to the Scheduler. To complete an I/O, the Scheduler invokes the I/O Handler by a call to the procedure wait on interrupt. The I/O Handler then checks for completion interrupts for the I/O operation (e.g., hitting of a key by a user). If a completion interrupt has occurred, the I/O Handler locates the MEB associated with that I/O, updates the MEB and enqueues it to the READY Q. If a completion interrupt has not occurred, the I/O Handler suspends processing and the process is idle until a completion interrupt actually OCCURS. 
     The call by the Scheduler to the wait on interrupt procedure is completed when the I/O Handler returns control to the Scheduler. At this point, the Scheduler falls through, i.e., returns to, its READY Q loop procedure. In particular, the Scheduler initiates the LPS portion of its processing cycle by dequeuing the completed and updated MEB from the I/O operation in its READY Q, enqueuing the EMB to the Dispatch Q and then calling the Dispatcher. 
     The LPS structure and the Scheduler-Dispatcher model with I/O Handler and MEBs is of considerable use in controlling execution and operation and control block management and storage in programs. It is particularly advantageous where the level of complexity of a program is such as to require the utilization of multiple LPSs for the purpose of modularity. It is also advantageous where multiple sessions are to be executed concurrently within the same program. As used herein, a session within a program may be thought of as one or more multi-threaded tasks intended to be completed as a unit. This unit, however, will not be executed continuously from start to finish and the execution of units of several sessions may be occurring concurrently. As an example, the tasks associated with the operation of a single terminal may be considered as a session, while the tasks associated with the operation of multiple terminals may be considered as multiple sessions. A typical example of a program requiring the LPS and Scheduler-Dispatcher structure might be a data communications program (e.g., SNA or OSI) where there are formally architectured functional divisions of labor and where there are many devices (terminals, remote computer systems, disk resources) which are being serviced simultaneously. 
     While the LPS structure is highly advantageous, the manner of storage and management of the control blocks, both MEBs and layer control blocks (&#34;CBs&#34;) which store control and other information associated with the LPSs, permits programming which can have undesired results. A typical data structure for such storage and management of MEBs and CBs is described and shown on page 8 of Appendix A of the aforementioned IBM reference. As shown by the illustrated Node Control Block (equivalent to an MEB), all the CBs are attached directly to the Node Control Block, are rigidly set forth or typed, and all CBs of all the layers (the equivalent of LPSs) are freely available to any other layer. 
     With this type of storage and management for the CBs, it becomes possible for one LPS to access and alter the content of the CB of another LPS. Such alteration, if it occurs, can have a detrimental effect on program operation, since the second LPS may need its unaltered CB in continuing a procedure. It also inhibits so-called &#34;information hiding&#34;, which has been found to be beneficial to program operation and management. 
     It is, therefore, an object of the present invention to provide a method and apparatus for program control and operation which tends to mitigate the aforesaid disadvantages. 
     It is a further object of the present invention to provide a method and apparatus for program control in an LPS architectured system which is structured to establish privacy of each CB with respect to its LPS. 
     It is a further object of the present invention to provide a method and apparatus for program control in an LPS architectured system wherein access of an LPS to a CB of another LPS is inhibited. 
     It is yet a further object of the present invention to provide a method and apparatus for program control in an LPS architectured system wherein information hiding is promoted. 
     SUMMARY OF THE INVENTION 
     In accordance with the principles of the present invention, the above and other objectives are realized by configuring the program and program control of an LPS based system such that the MEBs established in the program for a particular session are associated only with that particular session. The program and control are further configured such that each LPS is allocated only a single CB for a particular session, which CB is only accessible by that LPS and not other LPSs during the session. 
     In the embodiment of the invention to be disclosed hereinafter, an MEB established for a session carries an identifier (referred to as a SESSION KEY) which uniquely allocates the MEB to the session for which it was established. Similarly the CB of an LPS for a particular session, is associated with the SESSION KEY for that session, as well as with the identifier of the LPS (referred to as &#34;LPSID&#34;) for which the CB was established. 
     In this way, each established MEB is allocated to a particular session and each established CB is allocated to a particular LPS in a particular session. Furthermore, each LPS is constrained to invoke only a SESSION KEY and its LPSID when developing a pointer for a CB. As a result, an LPS is compelled to retrieve only its own CB and access to the CBs of other LPSs is inhibited. 
     In further aspects of the invention, access to a particular LPS is confined to a single entry point (referred to as the Entry Router) and exit from the LPS to a particular exit point (referred to as the Exit Router) so as to prevent calling of procedures within an LPS directly from outside the LPS. Also the programming and CB storage control and management is such that the storage scheme for the CB of an LPS is unknown to the LPS. In addition, the programming inhibits the LPS from accessing sessions other than that of a current MEB. These requirements along with permitting an LPS to access only its own allocated CB in a session, facilitate the information hiding aspects of the system. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The above and other features and aspects of the present invention will become more apparent upon reading the following detailed description conjunction with the accompanying drawings, in which 
     FIG. 1 illustrates a computing apparatus and associated terminals in accordance with the principles of the present invention; 
     FIG. 2 shows the details of a portion of the program execution and control system of the apparatus of FIG. 1; 
     FIG. 3 shows the structure of an MEB used in the program execution and control system of FIG. 2; 
     FIG. 4 shows in greater detail an LPS used in the system of FIG. 1; 
     FIGS. 5-7 show diagrammatically an example of the sequence of operation of the program of the apparatus of FIG. 1; and 
     FIGS. 7-21 the program flow corresponding to the operating sequence of FIGS. 5-6. 
    
    
     DETAILED DESCRIPTION 
     FIG. 1 shows a computing apparatus or system 1 including a program execution and control operating system 2 for executing a program 3 comprised of a plurality of LPSs 3A, 3B . . . 3N and a program control means 3&#39; which is described in greater detail hereinabelow. The apparatus 1 is addressed by a plurality of terminals 4A, 4B and communicates with a plurality of storage units or disks 5A, 5B. 
     The computing apparatus 1 can be any type of computing apparatus with a processing environment similar to that of UNIX and a programming environment like that of C. Such computing apparatus can support the program 3 with LPSs 3A to 3N. For example, the computing apparatus might be an IBM PC with an MS-DOS operating system or a DEC VAX with a VMS operating system, or the environment on which the LPS program originated, Tandem NonStop with Guardian. 
     The program 3 is a single program instantiated as a single running process. The terms process and program are intended to convey the equivalent of a UNIX program and process. In the present illustrative case, the program 3 is complex enough to be divided into functionally discrete groupings of functions or procedures which are multi-threaded in nature (i.e., several actions can be taken place concurrently). 
     As above-indicated, each LPS 3A to 3N is an entirely self contained group of functions or procedures. Furthermore, in accordance with the invention, entry into and exit from each LPS 3A to 3N is through a single procedure. These attributes for each of the LPSs 3A to 3N are illustrated for the LPS 3A in FIG. 4. As shown, the LPS 3A contains procedures Proc 1 to Proc 3 and entry into the LPS 3A is through a single procedure, called only by the Dispatcher (described below), identified as Entrance Router; and exit is also through a single procedure, and identified as the Exit Router. By exit is meant the issuance of MEBs to other LPSs or the I/O Handler (described below). More particularly, a procedure in LPS 3A is indirectly invoked as a function of the input handling performed by the Entrance Router for that LPS. A procedure within an LPS 3A, on the other hand, cannot generate output, except by invoking the Exit Router for that LPS. 
     FIG. 2 shows the program control means 3&#39; which supports control of inputs and outputs in and to the program 3 and, in particular, in, to and between the LPSs 3A to 3N. This program control means 3&#39; of the program 3 is in the form of the Scheduler-Dispatcher model and I/O Handler discussed above. Thus, as shown, in FIG. 2, the execution section 2A comprises a Scheduler 21, Dispatcher 22, I/O Handler 23, I/O Q 24, READY Q 25 and DISPATCH Q. These elements function as previously described above for the Scheduler-Dispatcher model in interacting with the LPSs 3A to 3N within the program 3. The program control means 3&#39; also includes a Control Manager 27 which acts also as a secondary scheduler for the output MEBS from the LPSs 3A to 3N routing them to the I/O Q and the DISPATCH Q as determined by the outputs. 
     FIG. 3 shows the structure of an MEB utilized in the program 3 and program control means 3&#39; for conveying messages. As shown, the MEB includes usual fields marked ELEMENT, ORIGIN, DESTINATION, EVENT, DATA COUNT, DATA, and USER DATA. Of these, the fields DESTINATION and ORIGIN provide information as to the next element to be receiving the MEB (DESTINATION) and the element which last received the MEB and its associated message (ORIGIN). In the case of messages to and from an LPS, these fields would contain the identifier LPSID of the particular LPS. ELEMENT refers to any LPS or the I/O Handler. The fields DATA and DATA COUNT are pointers to a message buffer and the size of the buffer respectively. The field EVENT designates the event to be invoked by the MEB. 
     In accordance with the principles of the present invention, the MEB is adapted to include a further field which specifically identifies the MEB with a particular session of the program 3. In the case shown, this field is identified as Session Key. The Session Key ties the MEB to a particular session. Recognizing the need for passing information between LPSs (normally accomplished by direct access of CBs by LPSs), a USER DATA pointer field is provided for the MEB and is constrained to contain only data specifically required for inter LPS communication. More general data concerning each LPS is thus not available from this field, thereby promoting hiding of the LPS data. 
     An MEB is generated by the program 3 upon the establishment of each new session. The MEB is created by a procedure or function within the program 3 by calling the procedure CREATE MEB. The called procedure responds by creating an MEB having a SESSION KEY or pointer which identifies the session uniquely and the place in memory allocated to the session. The allocated memory location can then be accessed for later use by LPSs invoking specific procedures detailed hereinbelow passing the Session Key as a parameter. 
     The creation of an MEB may likely be performed upon initialization of the program 3, as by one of the terminals 4A, 4B being brought into operation. Each initialization of a different terminal amounts to a new session and each new session establishes another MEB with a Session Key allocated to that session. 
     Once an MEB with a Session Key has been established for a session, the LPSs 3A to 3N can duplicate the created MEB by calling the procedure CLONE MEB. This procedure creates a new MEB based on the original MEB passed with the call and the new MEB has the same SESSION KEY and identifier as the original MEB. Also, each LPS can destroy an existing MEB allocated to a session by calling the procedure PUT MEB. If the MEB is the only one allocated to the session, the session as well as the MEB will be terminated. 
     As above-indicated, each of the LPSs is identified with an identifier LPSID which identifies it uniquely among the LPSs within a single program. In further accordance with the invention, the program 3 and control means 3&#39; are such that each LPS is further allocated only a single CB and corresponding memory storage area for each program session. The CB is established by the LPS calling the procedure ALLOCATE CB which then allocates a CB using the LPSID of the LPS and the MEB SESSION KEY as unique identifiers. In allocating a CB, the length of the CB is determined by the LPS in the ALLOCATE CB instruction to insure complete flexibility in the CB format. 
     The program 3 and control means 3&#39; are also such that storage of an allocated CB of an LPS is unknown to the LPS until retrieval of a CB which can only be achieved by the LPS calling FIND CB with the LPSID and SESSION KEY. Likewise, a CB of an LPS can be removed from a session by calling DEALLOCATE CB again using only the combination of LPSID and SESSION KEY. Illustrative Examples, of procedures for CREATE MEB, CLONE MB, PUT MEB, ALLOCATE CB, FIND CB and DEALLOCATE CB are set forth in the attached Appendix I, pages A14-20, which is made a part hereof. 
     By requiring that a LPS only have access to a CB in a session by calling its LPSID and the SESSION KEY, an LPS is given access only to its own CB. Thus, access to and altering of another LPS&#39;s CB is prevented. Furthermore, the programming 3 and control means 3&#39; are such that each LPS can only access the session of the current MEB. These atributes of the LPSs foster information hiding in the program 3. 
     FIGS. 5-7 show diagrammatically an example of the sequence of operation of the system 1 during initialization of the terminals 4A, 4B and during subsequent entry of inputs at the terminals, respectively. FIGS. 7-21 illustrate the program flow corresponding to the operating sequences of FIGS. 5-7. An example of a short program for performing the sequence of operation in FIGS. 5-7 is set forth in the aforementioned Appendix I, at pages A1-A13, with the steps in FIGS. 5-7 being indicated on the corresponding program parts. 
     In the operating sequence of the above figures, it is assumed that both terminals 4A and 4B turn on requiring two sessions designated A and B which will operate concurrently. It is further assumed that during these sessions both terminals will specify events requiring procedures of LPSs 3A and 3B. 
     Prior to initialization, the READY Q, DISPATCH Q and I/O Q are empty and there are no MEBs present. Upon initialization of the terminals 4A and 4B, program 3 invokes sequence steps 1 and 2 in which the program creates a first MEB(A) associated with the session A of the terminal 4A and a second MEB(B) associated with the session B of the terminal 4B. These MEBs are placed on the READY Q for processing by the Scheduler at step 3. 
     The Scheduler dequeues the MEB(A) from the READY Q to the DISPATCH Q and calls the Dispatcher. At step 4, the Dispatcher dequeues the MEB(A) to the LPS 3A identified by the LPSID in the DESTINATION block of the MEB. In step 5, the LPS 3A processes the MEB(A) in accordance with the EVENT block which indicates initialization. LPS 3A thereupon allocates a CB to itself and identifies the CB with the MEB(A) SESSION KEY and with the LPSID of LPS 3A. The MEB(A) through the program manager is then placed on the I/O Q. That completes the Dispatch cycle for the MEB(A) and control returns to the Scheduler. 
     In steps 6, 7, 8 and the steps 3, 4 and 5 are repeated for the MEB (B), resulting in a second CB for the LPS 3A being established for the session B, which CB is uniquely identified by the MEB&lt;B) session Key and the LPSID of LPS 3A. Step 8 completes the second Dispatch cycle and both MEB(A) and MEB(B) are on the I/O Q. 
     In step 9, the Scheduler finds no MEBs in its READY Q and thus falls through to the I/O Q which now contains MEB(A) and MEB(B). The Scheduler dequeues MEB(A) and calls for an I/O. The Scheduler then in step 10 again continues its loop on the I/0 Q, dequeues MEB(B) and calls for an I/O. 
     In step 11, the Scheduler then waits for a completion interrupt for an I/O procedure. In the present case, it is assumed that the I/O for terminal 4B associated with the session B and MEB(B) completes first (e.g. user on terminal 4B hits enter key) causing a completion interrupt. The I/O Handler then places the MEB(B) on the READY Q with its DESTINATION set at its previous ORIGIN, i.e., LPS 3A and returns control to Scheduler. The MEB(A) is still in the I/O, since no completion interrupt for this MEB has occurred. In step 12 the Scheduler loops back to check the READY Q dequeues MEB(B) from the READY Q, enqueues it on the DISPATCH Q and calls the Dispatcher. 
     In step 13, the DISPATCHER dequeues the DISPATCH Q, passing the MEB(B) to the LPS 3A, its DESTINATION. At this point, the MEB(A) still remains in the I/O. At step 14, the LPS 3A, recognizes from the EVENT of MEB(B) that the I/O for MEB(B) has been completed. It then calls its CB for the Session B, using the MEB(B) SESSION KEY and LPSID. After updating, the LPS 3A procedure continues, whereupon it is assumed that a query regarding the session B has been made to LPS 3A by the user. The LPS 3A thus changes the DESTINATION for the MEB(B) to LPS 3B and its event to data in to satisfy the query. The MEB(B) is then placed on the DISPATCH Q, while the MEB(A) still remains in the I/O. 
     In step 15, the Dispatcher dequeues the DISPATCH Q passing the MEB(B) to the LPS 3B by calling this LPS. At step 16, the LPS 3B, recognizing this as a new session, establishes a CB for the new session B by calling the procedure ALLOCATE CB. The CB is then allocated using the MEB(B) SESSION KEY and the LPSID as identifiers. The LPS 3B then updates and its procedure continues, whereupon it calls for a disk I/O. The MEB(B) is then placed on the I/O Q with its EVENT changed to do disk The MEB(A) still remains in the I/O. Since there are no MEBs on the DISPATCH Q, this ends the dispatcher cycle. 
     Return of control is thus made to the Scheduler in step 17. The Scheduler, finding nothing in its READY Q, then falls through to the I/O Q. The Scheduler finds MEB(B) in the I/O Q and dequeues MEB(B) calling for an I/O at step 17. At this point, internal processing is carried out, the I/O Handler returns control to the Scheduler, and the Scheduler waits for a completion interrupt for an I/O by calling the procedure wait on interrupt, since both MEB(A) and MEB(B) are in I/O. 
     In step 18, the I/O for MEB(A) completes. The MEB(A) is placed by the I/O Handler on the READY Q with its DESTINATION LPS 3A and its EVENT changed to io done. Control is returned to the Scheduler. The Scheduler then calls the Dispatcher after the MEB(A) is dequeued from the READY Q and enqueued to the DISPATCH Q, while the MEB(B) remains in the I/O. In step 19, the Dispatcher dequeues the DISPATCH Q passing the MEB(A) to LPS 3A, the MEB(B) still remaining in the I/O. In step 20,the LPS 3A recognizes that the I/O has been completed and calls its CB for the session A with the MEB(A) SESSION KEY and LPSID. The Session A CB is updated and the procedure continues, whereupon the MEB(A) is also set for a data query by LPS 3B. Thus, the MEB(A) DESTINATION is set to LPS 3B and the EVENT to data in. The MEB(A) placed on the DISPATCH Q with MEB(B) remaining in the I/O and LPS 3A returns control to the DISPATCHER. 
     In step 21, the Dispatcher dequeues the MEB(A)A and calls the LPS 3B. In step 22, the LPS 3B recognizing this is another session, i.e., Session A, allocates a CB to this session using the procedure ALLOCATE CB. A CB for the LPS 3B is thus allocated to the Session A by identifying the CB with with the MEB(A) Session Key and the LPSID. The LPS 3B then updates the allocated CB and continues to a disk I/O procedure. At this point, the MEB(A) is enqueued to the I/O Q with its event changed to do disk io. LPS 3B returns control to the DISPATCHER. This completes the Dispatch cycle which returns control to the Scheduler. 
     At step 23, the scheduler checks the READY Q, finding it empty drops through to the I/O Q and calls for an I/O for the MEB(A) in the Q. At step 24, the procedure then returns after internal processing, and the Scheduler waits for a completion interrupt for the I/O of either the MEB(A) and MEB(B). 
     In step 25, the Scheduler waits for a completion interrupt by calling the procedure wait on io. In this case, the disk I/O for the query for terminal 4b associated with the session B and MEB(B) completes, causing a completion interrupt. The I/O Handler then places the MEB(B) on the READY Q with its destination set at its previous ORIGIN, i.e., LPS 3A and returns control to the Scheduler. The MEB(A) is still in the I/O, since no completion interupt for this MEB for disk I/O has occurred. In step 26, the Scheduler loops back to check the READY Q, dequeues MEB(B) from the READY Q, enqueues it on the DISPATCH Q and calls the Dispatcher. 
     In step 27, the DISPATCHER dequeues the DISPATCH Q, passing the MEB(B) to the LPS 3B, its DESTINATION. At this point, the MEB(A) remains in the I/O. At step 28, the LPS 3B recognizes from the EVENT disk io done of MEB(B) that the I/O for MEB(B) has been completed. It then calls its CB for the Session B, using the MEB(B) SESSION KEY and LPSID. After updating, the LPS 3B procedure continues, whereupon it is assumed that the data from the completed I/O on Session B has to be forwarded to LPS 3A. The LPS 3B thus changes the DESTINATION for the MEB(B) to LPS 3A, the ORIGIN for the MEB(B) to LPS 3B, and its EVENT to data out. The MEB(B) is then placed on the DISPATCH Q, while the MEB(A) still remains in the I/O. Control is returned to the Dispatcher. 
     In step 29, the DISPATCHER dequeues the DISPATCH Q, passing the MEB(B) to the LPS 3A, its DESTINATION. MEB(A) remains in the I/O. At step 30, the LPS 3A recognizes from the EVENT data out of MEB(B) that the data carried on this MEB must be formatted for terminal I/O to terminal 4B associated with session B and MEB(B). After updating, the LPS 3A procedure continues, whereupon it prepares the MEB(B) for terminal I/O. The LPS 3A thus changes the DESTINATION to an insignificant value, the ORIGIN for the MEB(B) to LPS 3B, and its EVENT to do terminal io. The MEB(B) is then placed on the DISPATCH Q, while the MEB(A) still remains in the I/O. Control is returned to the Dispatcher. The Dispatcher, finding no MEBs on the DISPATCH Q, returns control to the Scheduler. 
     In step 31, the Scheduler, finding no MEB on its READY Q, then falls through to the loop on the I/O Q. The Scheduler finds the MEB(B) in the I/O Q, dequeues the MEB(B) from the I/O Q, and invokes the I/O Handler by passing the MEB(B) as a parameter to the procedure do io. At this point, internal processing is carried out, and the I/O Handler returns control to the Scheduler. The Scheduler, finding no MEBs on the I/O Q, waits for an interrupt completion by calling wait on interrupt. Both MEB(A) and MEB(B) are in I/O. MEB(A) is still held by the I/O Handler for disk I/O, and MEB(B) is held by the I/O Handler for terminal I/O. 
     In foregoing the illustrative example, it is apparent that the program 3 and control 3&#39; allocate the MEB&#39;s on a session basis, two sessions being illustrated in the example. It is also apparent that the program 3 and control 3&#39; cause the LPSs to allocate and have access to one CB per session and that access to the respective CB is through the SESSION KEY and the LPSID. These attributes of the system 1, as above-discussed, promote information hiding and enhanced performance. 
     It should be noted that in the system 1, the CBs of the LPSs are not intended to be used to transfer information from one LPS to another, but rather to establish an environment for an LPS within a session. The CBs can be thought of as answering for their respective LPSs the questions &#34;Where Was I When I issued the I/O or other request&#34;. 
     In all cases, it is understood that the above-identified arrangements are merely illustrative of the many possible specific embodiments which represent applications of the present invention. Numerous and varied other arrangements can readily be devised in accordance with the principles of the present invention without departing from the spirit and scope of the invention. ##SPC1##