Previous Topic: Parmlib Attribute ValuesNext Topic: Initial Configuration of the Parmlib


Symbolic Substitution for Parmlib Member Names

If you wanted to start CA Vtape on two LPARs, SYS1 and SYS2, with different settings for attributes in the Dynamic Options Sections, you could do this from a single parmlib by making the following changes:

  1. Edit the OSPARMS member and copy the Dynamic Options Section out to two new members in parmlib named VTDOSYS1 and VTDOSYS2.
  2. Find the Parmlib Directory Section in the OSPARMS member and change the DynamicOptions attribute from &THIS to VTDO&SYSNAME.

    DynamicOptions = VTDO&SYSNAME

  3. Edit the new VTDOSYS1 and VTDOSYS2 parmlib members and set the LPAR specific values for the Dynamic Options Section attributes.

When started on SYS1, the DynamicOptions value of VTDO&SYSNAME will be resolved to VTDOSYS1 and initialization will read that member to load the Dynamic Options Section values. When started on SYS2, the DynamicOptions value of VTDO&SYSNAME will be resolved to VTDOSYS2 and initialization will read that member to load the Dynamic Options Section values.

Symbolic substitution can be tailored to select only part of a substitution variable. For example, you are starting an SVT1 and an SVT2 on LPARs SYSA and SYSB. You could change the Parmlib Directory Section DynamicOptions attribute to DO&SYSNAME.&SVTS(4:1):

DynamicOptions = DO&SYSNAME.&SVTS(4:1)

&SVTS(4:1) indicates that starting with the fourth character of the SVTS parameter, a one character substitution should take place. If the SVTS parameter value is SVT1, 1 would be substituted. If the SVTS parameter value is SVT2, 2 would be substituted.

For DO&SYSNAME.&SVTS(4:1), when SVT1 is started on LPAR SYSA, the DynamicOptions attribute will be resolved to a value of DOSYSA1. When SVT2 is started on LPAR SYSA, the DynamicOptions attribute will be resolved to a value of DOSYSA2.

For complete information regarding the use of system symbols including substring notation, see the IBM MVS Initialization and Tuning Reference.