//${MEMBER}  JOB ${zJobStatement1}                                                         
${zJobStatement2}                                                                        
${zJobStatement3}                                                                        
${zJobStatement4}                                                                        
//********************************************************************/         
//*  Check version step                                              */         
//********************************************************************/         
//CHEKV EXEC PGM=IKJEFT01,REGION=0M                                             
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*
//STDOUT   DD  SYSOUT=*                                                         
//SYSTSIN  DD  *                                                                
 BPXBATCH SH +                                                                  
 ${zSmpePath}+                                                                     
 /bin/bbowchkv.sh +                                                             
   '${zSmpePath}' +                                                                
   'bbowhfsa' +                                                                 
   '${TIMESTMP}' +                                                                
   '<version>7.0'                                              
/*
//********************************************************************/         
//*  Copy symlink script to the HFS (/tmp)                           */         
//********************************************************************/         
//COPYSYM EXEC  PGM=IKJEFT1A,COND=(0,LT)                                                    
//SYSEXEC   DD DISP=SHR,
//          DSN=${zTargetHLQ}.DATA                                       
//SYSTSPRT  DD SYSOUT=*
//BPXOUT    DD SYSOUT=*                                                         
//STDERR    DD SYSOUT=*
//STDOUT    DD SYSOUT=*                                                         
//SYSTSIN   DD *                                                                
 OPUT '${zTargetHLQ}.DATA(BBOSMLNK)' + 
 '/tmp/createIntermediateSymlinks_${TIMESTMP}.sh' 
 BPXBATCH SH chmod 755 /tmp/createIntermediateSymlinks_${TIMESTMP}.sh
/*
<!-- if (${zAppServerEnableIntermediateSymlink} == true) -->
//********************************************************************/         
//*  Create intermediate symlink -- appserver                        */         
//********************************************************************/         
//INTSYMLA EXEC PGM=IKJEFT01,REGION=0M,COND=(0,LT)
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*
//STDOUT   DD  SYSOUT=*                                                         
//SYSTSIN  DD  *                                                              
 BPXBATCH SH +                                                                  
 /tmp/createIntermediateSymlinks_${TIMESTMP}.sh +
 '${zAppServerSmpePath}' +
 '${zAppServerIntermediateSymlink}'
/*                                                         
<!-- endif -->
<!-- if (${zEnableIntermediateSymlink} == true) -->
//********************************************************************/         
//*  Create intermediate symlink -- dmgr                             */         
//********************************************************************/         
//INTSYMLD EXEC PGM=IKJEFT01,REGION=0M,COND=(0,LT)
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*
//STDOUT   DD  SYSOUT=*                                                          
//SYSTSIN  DD  *                                                               
 BPXBATCH SH +                                                                  
 /tmp/createIntermediateSymlinks_${TIMESTMP}.sh +
 '${zSmpePath}' +
 '${zIntermediateSymlink}'
/*
<!-- endif -->
//********************************************************************/         
//*  Create WAS HOME -- appserver                                    */         
//********************************************************************/
//MCFG1 EXEC PGM=IKJEFT01,REGION=0M,COND=(0,LT)
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=* 
//STDOUT   DD  SYSOUT=*                                                         
//SYSTSIN  DD  *                                                               
 BPXBATCH SH +                                                                  
 ${zAppServerSmpePath}+                                                                     
 /bin/bbowhfsa.sh +
<!-- if (${zAppServerEnableIntermediateSymlink} == true) -->                                                             
   '${zAppServerIntermediateSymlink}' +
<!-- endif -->
<!-- if (${zAppServerEnableIntermediateSymlink} != true) -->
   '${zAppServerSmpePath}' +                                                               
<!-- endif -->
   '${zAppServerConfigMountPoint}+                                                                 
    /${zAppServerWasServerDir}' +
    '${zAdminUserid}' +
    '${zConfigurationGroup}'                                            
/*                                                                                                                    
//********************************************************************/         
//*  Create WAS HOME -- dmgr                                         */         
//********************************************************************/         
//MCFG2 EXEC PGM=IKJEFT01,REGION=0M,COND=(0,LT)
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*
//STDOUT   DD  SYSOUT=*                                                         
//SYSTSIN  DD  *                                                                
 BPXBATCH SH +                                                                  
 ${zSmpePath}+                                                                     
 /bin/bbowhfsa.sh +                                                             
<!-- if (${zEnableIntermediateSymlink} == true) -->                                                             
   '${zIntermediateSymlink}' +
<!-- endif -->
<!-- if (${zEnableIntermediateSymlink} != true) -->
   '${zSmpePath}' +                                                               
<!-- endif -->                                                               
   '${zConfigMountPoint}+                                                                 
    /${zWasServerDir}' +
    '${zAdminUserid}' +
    '${zConfigurationGroup}'                                            
/*                                                                                                                                                                              
//********************************************************************/         
//*  Invoke bbowpost.sh -- appserver                                 */         
//********************************************************************/
//POST1 EXEC PGM=IKJEFT01,REGION=0M,COND=(0,LT)
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*
//STDOUT   DD  SYSOUT=*                                                         
//SYSTSIN  DD  *                                                               
 BPXBATCH SH +                                                                  
 ${zAppServerSmpePath}+                                                                     
 /bin/bbowpost.sh +                                                             
<!-- if (${zAppServerEnableIntermediateSymlink} == true) -->                                                             
   '${zAppServerIntermediateSymlink}' +
<!-- endif -->
<!-- if (${zAppServerEnableIntermediateSymlink} != true) -->
   '${zAppServerSmpePath}' +                                                               
<!-- endif -->                                                              
   '${zAppServerConfigMountPoint}+                                                                 
    /${zAppServerWasServerDir}'                                            
/*
//********************************************************************/         
//*  Invoke bbowpost.sh -- dmgr                                      */         
//********************************************************************/
//POST2 EXEC PGM=IKJEFT01,REGION=0M,COND=(0,LT)                        
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*
//STDOUT   DD  SYSOUT=*                                                                                                                         
//SYSTSIN  DD  *
 BPXBATCH SH +                                                                  
 ${zSmpePath}+                                                                     
 /bin/bbowpost.sh +                                                             
<!-- if (${zEnableIntermediateSymlink} == true) -->                                                             
   '${zIntermediateSymlink}' +
<!-- endif -->
<!-- if (${zEnableIntermediateSymlink} != true) -->
   '${zSmpePath}' +                                                               
<!-- endif -->                                                               
   '${zConfigMountPoint}+                                                                 
    /${zWasServerDir}'                                            
/*                                                                                                                                                                              
<!-- if (${zIsStackedTemplate} == true) -->
<!-- if (${zAppServerEnable${symlinkSeed}IntermediateSymlink} == true) -->
//********************************************************************/         
//*  Create feature pack (or stacked product) intermediate symlink --*/   
//*  appserver                                                       */      
//********************************************************************/ 
//INTSYMA2 EXEC PGM=IKJEFT01,REGION=0M,COND=(0,LT)
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*                                                         
//STDOUT   DD  SYSOUT=*
//SYSTSIN  DD  *                                                                
 BPXBATCH SH +                                                                  
 /tmp/createIntermediateSymlinks_${TIMESTMP}.sh +
 '${zAppServer${symlinkSeed}SmpePath}' +
 '${zAppServer${symlinkSeed}IntermediateSymlink}'
/*
<!-- endif -->
//********************************************************************/         
//*  Generate feature pack (or stacked product) symlinks -- appserver*/         
//********************************************************************/         
//SYMLNKA EXEC PGM=IKJEFT01,REGION=0M,COND=(0,LT)
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*                                                         
//STDERR   DD  SYSOUT=*                                                         
//STDOUT   DD  SYSOUT=*
//SYSTSIN  DD  *                                                                
 BPXBATCH SH +                                                                  
   ${zAppServer${symlinkSeed}SmpePath}+
   /${symlinkScriptPath} +
<!-- if (${zAppServerEnable${symlinkSeed}IntermediateSymlink} == true) -->
   ${zAppServer${symlinkSeed}IntermediateSymlink} +
<!-- endif -->
<!-- if (${zAppServerEnable${symlinkSeed}IntermediateSymlink} != true) -->                                                      
   ${zAppServer${symlinkSeed}SmpePath} +
<!-- endif -->                                                               
   ${zAppServerConfigMountPoint}/${zAppServerWasServerDir} + 
<!-- if (${zAppServerEnableIntermediateSymlink} == true) -->
   ${zAppServerIntermediateSymlink}
<!-- endif -->
<!-- if (${zAppServerEnableIntermediateSymlink} != true) -->                                                      
   ${zAppServerSmpePath}                                               
<!-- endif -->                                                               
/*                                                                              
<!-- if (${zEnable${symlinkSeed}IntermediateSymlink} == true) -->
//********************************************************************/         
//*  Create feature pack (or stacked product) intermediate symlink --*/
//*  dmgr                                                            */         
//********************************************************************/         
//INTSYMD2 EXEC PGM=IKJEFT01,REGION=0M,COND=(0,LT)
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*                                                         
//STDOUT   DD  SYSOUT=*
//SYSTSIN  DD  *                                                                
 BPXBATCH SH +                                                                  
 /tmp/createIntermediateSymlinks_${TIMESTMP}.sh +
 '${z${symlinkSeed}SmpePath}' +
 '${z${symlinkSeed}IntermediateSymlink}'
/*
<!-- endif -->
//********************************************************************/         
//*  Generate feature pack (or stacked product) symlinks -- dmgr     */         
//********************************************************************/         
//SYMLNKD EXEC PGM=IKJEFT01,REGION=0M,COND=(0,LT)
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*                                                         
//STDERR   DD  SYSOUT=*                                                         
//STDOUT   DD  SYSOUT=*
//SYSTSIN  DD  *                                                                
 BPXBATCH SH +                                                                  
   ${z${symlinkSeed}SmpePath}+
   /${symlinkScriptPath} +
<!-- if (${zEnable${symlinkSeed}IntermediateSymlink} == true) -->
   ${z${symlinkSeed}IntermediateSymlink} +
<!-- endif -->
<!-- if (${zEnable${symlinkSeed}IntermediateSymlink} != true) -->                                                      
   ${z${symlinkSeed}SmpePath} +
<!-- endif -->                                                               
   ${zConfigMountPoint}/${zWasServerDir} + 
<!-- if (${zEnableIntermediateSymlink} == true) -->
   ${zIntermediateSymlink}
<!-- endif -->
<!-- if (${zEnableIntermediateSymlink} != true) -->                                                      
   ${zSmpePath}                                               
<!-- endif -->                                                               
/*                                                                              
<!-- endif -->                                                                            
//********************************************************************/         
//*  Delete symlink script from the HFS.                             */         
//********************************************************************/         
//DELETER  EXEC PGM=IKJEFT01,REGION=0M                                          
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*
//STDOUT   DD  SYSOUT=*
//SYSTSIN  DD  *                                                                
 BPXBATCH SH +                                                                  
    rm /tmp/createIntermediateSymlinks_${TIMESTMP}.sh                                       
/*
//                                                                              
//* ================================================================ */         
//* PROPRIETARY-STATEMENT:                                           */         
//* Licensed Material - Property of IBM                              */         
//*                                                                  */         
//* 5724-I63, 5724-H88, 5655-N01, 5733-W61                           */         
//* (C) Copyright IBM Corp. 1999, 2008                               */         
//* All Rights Reserved                                              */         
//* US Government Users Restricted Rights - Use, duplication or      */         
//* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.*/         
//* ================================================================ */         
<!-- import documents/cntl/buildInfo.jcl -->
//* ================================================================ */         
<!--  Change Activity:                                                -->         
<!--                                                                  -->         
<!--  LIDB3773-25	H28W610	110405	DB: Initial creation          -->
<!--       362742    H28W610 041406  DB: remove customization info    -->    
<!--   	  396079  	H28W610 110306  PT: Apply SMPEASHM as WAS home-->
<!--       405456    H28W700 111406  DB: change version check to 7.0  -->
<!--       342930    H28W700 011607  DB: remove use of BBOHFSWR       --> 
<!--       447258    V7.0    062607 PXTN: Convert zmpt variables.     -->
<!--    481053 H28W700 110507    DB: Intermediate symlink support     -->
<!--    487829 H28W700 120607    DB: add createIntermediateSymlink.sh -->
<!--    507415 H28W700 032508    DB: copy symlink script during job   --> 
<!--   500745  V7.0    20080407 PXT: Change the order of DD statement --> 
<!--   503121  V7.0    20080411 PXT: Add "BPXOUT DD SYSOUT=*" stmt    -->
<!--  511429   H28W700 20080519 DMB  Use admin id for fs owner        -->                  
<!--  530902   V7.0   20080618 PDOP: Stacked create support           -->           
<!--  532424.1 V7.0   20080707 PDOP: Remove use of BBOWCPYA members   -->
<!--  534888   V7.0   20080708 PDOP: Common timestamp and build info  -->
<!-- ================================================================ -->         
