Previous Topic: Parmlib and Symbolic SubstitutionNext Topic: Symbolic Substitution for Parmlib Member Names


Parmlib Attribute Values

CA Vtape supports system symbol substitution within the parmlib members. For example, &SYSNAME resolves to the system name on which a Subsystem is executed. In addition to the standard system symbols, the following CA Vtape symbols may be used:

&JOBNAME

For the jobname of the CA Vtape started task.

&NULL

Nulls, a zero length string.

&PARMDIR

For the parmlib member containing the Parmlib Directory section.

&STEPNAME

For the stepname of the CA Vtape started task.

&SVTS

For the subsystem id of the CA Vtape started task (SVTn where n = 1-8).

&THIS

For the current parmlib member name.

Symbolic variables allow attributes to be assigned unique values while sharing parmlib members among different Subsystems.

For example, you define IBM logstreams on LPARS named SYS1 and SYS2 to offload and save the internal logger data. If you defined the logstream names as VTAPE.SYS1.LOGSTREAM and VTAPE.SYS2.LOGSTREAM, you do not need to have two Dynamic Options Sections members so you can set two different values for the Logstream attribute.

All that is necessary is to edit the OSPARMS member of the parmlib, find the Logstream attribute and set it to a value of VTAPE.&SYSNAME.LOGSTREAM:

Logstream = VTAPE.&SYSNAME.LOGSTREAM

When CA Vtape is started, the system name will be substituted for the &SYSNAME variable and the appropriate IBM logstream for that LPAR will be accessed.

The MessagePrefix attribute is an example of a parmlib attribute that defaults to a symbolic substitution value.

When CA Vtape is started, it dynamically defines itself as a subsystem to the operating system. The subsystem id used is taken from the SVTS parameter on the EXEC statement of the SVTSCE PROC. When started with the SVTS parameter set to SVT1, the MessagePrefix value becomes SVT1. This Subsystem will preface all of its messages with SVT1. If the SVTS parameter is set to SVT2, the MessagePrefix value becomes SVT2. This Subsystem will preface all of its messages with SVT2.