Example 3. Sharing-with-full runtime environment

The sharing-with-full runtime environment allocates LPAR-specific libraries only, and in this example, obtains its base library information from a full runtime environment. The sharing-with-base runtime environment must contain the same set or a subset of the products and components in the base runtime environment.

This configuration can also be used for environments where storage devices are shared, although the sharing-with-base configuration is the preferred approach.

The following example represents a sharing-with-full runtime environment called SHARRTE1, which obtains its base library information from the full runtime environment (RTE1).

Name:        SHARRTE1 
Type:        Sharing  
Hilev:       E.F.G 
Midlev:      SHARRTE1 
Shares with: Full RTE called "RTE1" in Example 1. Its read-only base libraries 
             (copies of RTE1 base libraries) are shared by 2 LPAR RTEs (SHARRTE1 
             and SHARRTE3). Cited example here is for SHARRTE1.

             Read-only Base HLQ (BASELEV PROC symbol) = RTE_X_HILEV_SHARING parm. 
             (Value: PROD.CAN)  + RTE_SHARE parm. (Value: RTE1)                                                 
LPAR-specific library DD DSNAME resolution with concatenated base, read-only libraries:
  //RKANPAR  DD DISP=SHR, 
  //         DSN=E.F.G.SHARRTE1.RKANPARU 
  //         DD DISP=SHR, 
  //         DSN=PROD.CAN.RTE1.RKANPAR 
  //RKANCMD  DD DISP=SHR, 
  //         DSN=E.F.G.SHARRTE1.RKANCMDU 
  //         DD DISP=SHR, 
  //         DSN=PROD.CAN.RTE1.RKANCMD 
  //STEPLIB  DD DISP=SHR, 
  //         DSN=E.F.G.SHARRTE1.RKANMODU
  //         DD DISP=SHR, 
  //         DSN=PROD.CAN.RTE1.RKANMOD
  //         DD DISP=SHR, 
  //         DSN=PROD.CAN.RTE1.RKANMODL
  //         DD DISP=SHR, 
  //         DSN=PROD.CAN.RTE1.RKANMODP                     
In typical product started tasks, the LPAR-specific libraries are concatenated ahead of the base libraries (RTE1 read-only base libraries), as shown below:
  //&PROCNAME PROC  
  //          SYS=SHARRTE1, 
  //          RHILEV=E.F.G, 
  //          BASEHLEV=PROC.CAN.RTE1.R
  . 
  . 
  //STEPLIB   DD DISP=SHR, 
  //          DSN=&RHILEV..&SYS..RKANMODU 
  //          DD DISP=SHR, 
  //          DSN=&BASEHLEV.KANMODL 
  //          DD DISP=SHR, 
  //          DSN=&BASEHLEV.KANMOD 
  //          DD DISP=SHR, 
  //          DSN=&BASEHLEV.KANMODP 
  //RKANMODL  DD DISP=SHR, 
  //          DSN=&RHILEV..&SYS..RKANMODU 
  //          DD DISP=SHR, 
  //          DSN=&BASEHLEV.KANMODL              
Figure 1 illustrates a sharing-with-full runtime environment.
Figure 1. Sharing-with-full runtime environment
Sharing-with-full runtime environment