Assign values to the ZCCENV type attribute
Customize and run the Perl script SetZCCEnvAttr.pl to update the ZCCENV type attribute to meet your site's requirements.
Before you begin
Previous step: Define the type attribute for the build project VOB
About this task
The following code sample shows a portion of the SetZCCEnvAttr.pl script. You need to modify this script to specify the correct data in the $value array to meet your site's needs. All variables in the $value array are used to generate the BCL when the build request is processed. You can add more attributes, such as an attribute for CICS® or other components, as your site requires. All build scripts that use the ZCCENV type attribute will be modified accordingly.
my $project = 'parmbld';
my $pvob = 'pvob_parmbld';
my $value; # $env, $db2sys, $menv, $os390_hostname, $os390_port, $stage
# $copylib1, $copylib2, $copylib3, $copylib4;
# $syslib1, $syslib2, $syslib3;
# $syslib4, $steplib1, $steplib2 # optional
# $hostpds_prefix, $hostpds_affix, $cbllib, # optional
# $loadlib, $c390llib, $dbrmlib, $tgtlib, $db2_owner
$value = "\\\"DEV,DB2,QA,stplex4a.svl.ibm.com,9525,,";
$value .= "JHUANG.B.COPYLIB,JHUANG.B.COPYLIB2,JHUANG.B.COPYLIB3,JHUANG.B.COPYLIB4,";
$value .= "JHUANG.C.SYSLIB,JHUANG.C.SYSLIB2,JHUANG.C.SYSLIB3,";
$value .= "JHUANG.CA.PARMBLD.LOAD,IMS.PGMTEST,DB2.DBRM.TEST,DEV.COPYLIB,MFX@\\\"";
$status = `cleartool mkattr -replace -nc ZCCENV $value project:$project@\\$pvob`;
Procedure
To set values for the ZCCENV type attribute, do these
steps.
What to do next
Next step: Configuring the view elements