//${MEMBER}  JOB ${zJobStatement1}                                                         
${zJobStatement2}                                                                        
${zJobStatement3}                                                                        
${zJobStatement4}                                                                        
//********************************************************************/         
//*  copy files to HFS                                               */         
//********************************************************************/         
//COPYUSS EXEC  PGM=IKJEFT1A                                                    
//* Copy customized members to the HFS files                                    
//SYSEXEC   DD DISP=SHR,
//          DSN=${zTargetHLQ}.DATA                                       
//SYSTSPRT  DD SYSOUT=*
//BPXOUT    DD SYSOUT=*                                                         
//SYSTSIN   DD *                                                                
%BBOWCPYA                                                                       
/*                                                                              
//********************************************************************/         
//*  convert files to ASCII.                                         */         
//********************************************************************/         
/*                                                                              
//E2ASCRPT EXEC PGM=IKJEFT01,REGION=0M                                          
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*
//STDOUT   DD  SYSOUT=*                                                         
//SYSTSIN  DD  *                                                               
 BPXBATCH SH +                                                                  
   /tmp/bbowe2aa_${TIMESTMP}.sh                                           
/*                                                                              
<!-- if (${zNodeGroupName} != DefaultNodeGroup) -->
//********************************************************************/         
//*  call createNodeGroup.                                           */         
//********************************************************************/         
/*                                                                              
//CNGSCRPT EXEC PGM=IKJEFT01,REGION=0M                                          
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*
//STDOUT   DD  SYSOUT=*                                                         
//SYSTSIN  DD  *                                                                
 BPXBATCH SH +                                                                  
   ${zConfigMountPoint}+                                                                   
   /${zWasServerDir}+                                                                 
   /bin/wsadmin.sh +                                                            
    -host ${zFederateDmaNodeHostName} +                                                          
    -port ${zFederateDmaPort} +                                                           
    -conntype ${zFederateDmaPortType} +
<!-- if (${zFederateDmaSecurity} == true -->                                                            
    -username ${zFederateDmaSecurityUserID} +                                                       
    -password ${zFederateDmaSecurityPassword} +                                                       
<!-- endif -->
<!-- endif --> 
<!-- if (${zNodeGroupName}!=DefaultNodeGroup) -->                                                                     
    -f /tmp/createNodeGroup_${TIMESTMP}.jacl +                                   
      ${zNodeGroupName}                                       
/*                                                                              
<!-- endif -->
//********************************************************************/         
//*  Run addNode.sh                                                  */         
//********************************************************************/         
//BBOWAN   EXEC PGM=IKJEFT01,REGION=0M                                          
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*                                                         
//STDOUT   DD  SYSOUT=*
//SYSTSIN  DD  *                                                                
 BPXBATCH SH +                                                                  
   ${zConfigMountPoint}+                                                                   
   /${zWasServerDir}+                                                                 
   /bin/addNode.sh +                                                            
   ${zFederateDmaNodeHostName} +                                                                 
   ${zFederateDmaPort} +                                                                   
<!-- if (${zFederateIncludeApps} == true) -->
   -includeapps +                                                               
<!-- endif -->
<!-- if (${zFederateFederateSib} == true) -->
   -includebuses +                                                              
<!-- endif -->
<!-- if (${zFederateNodeAgentAfterFederation} == false) -->
   -noagent +                                                                   
<!-- endif -->
<!-- if (${zFederateAppServerSecurity} == true) -->
   -localusername ${zFederateAppServerSecurityUserID} +
   -localpassword ${zFederateAppServerSecurityPassword} +
<!-- endif -->
<!-- if (${zFederateDmaPortType} == RMI) -->
   -conntype RMI +
<!-- endif -->
<!-- if (${zFederateDmaSecurity} == true) -->
   -username ${zFederateDmaSecurityUserID} +                                                        
   -password ${zFederateDmaSecurityPassword} +                                                        
<!-- endif -->
   -nodegroupname ${zNodeGroupName} +                                                    
   -portprops /tmp/portFile_${TIMESTMP}.props +                                  
   -nodeagentshortname ${zFederateServerShortName}                                         
/*                                                                              
//********************************************************************/         
//*  delete portFile from the HFS (/tmp)                             */         
//********************************************************************/         
//DELETEP  EXEC PGM=IKJEFT01,REGION=0M                                          
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*                                                         
//STDOUT   DD  SYSOUT=*
//SYSTSIN  DD  *                                                               
 BPXBATCH SH +                                                                  
    rm /tmp/portFile_${TIMESTMP}.props                                         
/*                                                                              
<!-- if (${zNodeGroupName} != DefaultNodeGroup) -->
//********************************************************************/         
//*  delete jacl file from the HFS (/tmp)                            */         
//********************************************************************/         
//DELETEJ  EXEC PGM=IKJEFT01,REGION=0M                                          
//SYSTSPRT DD  SYSOUT=*
//BPXOUT   DD  SYSOUT=*
//STDERR   DD  SYSOUT=*                                                         
//STDOUT   DD  SYSOUT=*
//SYSTSIN  DD  *                                                                
 BPXBATCH SH +                                                                  
    rm /tmp/createNodeGroup_${TIMESTMP}.jacl                                     
/*                                                                              
<!-- endif -->
//* ================================================================ */         
//* 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:                                                -->         
<!--                                                                  -->         
<!--    MD16389 H28W500 030402 PDML: initial release.                 -->         
<!--    MD16901 H28W500 030423 PDML: add port.                        -->         
<!--    MD15371 H28W500 030529 PDML: fix MAX length: replace ASWASH   -->         
<!--                                 with CBCONFIG and ASDIRN.        -->         
<!--  MD17356.1 H28W500 030625 PDML: add more options.                -->         
<!--    MD18078 H28W502 030929 PDML: add time stamp.                  -->         
<!--    MD18711 H28W502 031120 PDML: change WAS HOME variables.       -->         
<!--    207448  H28W510 040609 PDML: add -nodegroup.                  -->         
<!--   219562.1 H28W510 040728 PDML: add portFile, moved all the ports-->         
<!--                                 to portFile.                     -->         
<!--   219562.2 H28W510 040826 PDML: change -nodegroup to             -->         
<!--                                 -nodegroupname.                  -->         
<!--   242273   H28W600 041103 PDML: add createNodeGroup.             -->         
<!--   243976   H28W600 111904 PDML: move ANNOGP to it's own line.    -->         
<!--   240620   H28W600 111904 PDML: add -includebusses.              -->         
<!--   246207   H28W600 120304 PDML: change from -includebusses to    -->         
<!--                                 -includebuses.                   -->         
<!--   249266   H28W600 011005 PDML: add userid and password to the   -->         
<!--                                 createNodeGroup step if security -->         
<!--                                 is enabled.                      -->         
<!--   269443   H28W602 042805   DB: add -noagent option              -->         
<!--   304155   H28W610 090905 PDML: change bbowwpfa to bbowaddn.     -->         
<!--   311865   H28W610 100805   DB: use user-entered user/pass       -->         
<!--    322806 H28W602 111105    DB: some steps were using >> instead -->         
<!--                                 of >>>>                          -->         
<!--   334832   H28W602 010406   DB: first write to log should use >> -->         
<!--   338132   H28W610 020606 PDML: add SBBGLOAD.                    -->
<!--   368111   H28W610 081406   DB: add localusername/localpassword  -->
<!--   414773   H28W610 011507   DB: remove use of BBOHFSWR to write  -->
<!--                                 logs to stdout and stderr        -->        
<!--   467454   H28W610 091707   DB: add RMI conntype support         -->        
<!--   500745  V7.0    20080407 PXT: Change the order of DD statement -->
<!--   503121  V7.0    20080411 PXT: Add "BPXOUT DD SYSOUT=*" stmt    -->         
<!--   534888  V7.0    20080708 PDOP: Common timestamp and build info -->
<!-- ================================================================ -->         
