//${zControlProcName}  PROC ENV=,REC=N,PARMS=' ',AMODE=00
// SET ROOT='${zConfigMountPoint}'                                                        
// SET FOUT='properties/service/logs/applyPTF.out'                              
// SET WSDIR='${zWasServerDir}'                      
//*************************************************************                 
//* Test that OMVS can successfully launch a shell and return *                 
//*************************************************************                 
//TOMVS   EXEC PGM=BPXBATCH,REGION=0M,                                          
// PARM='SH exit 13'                                                                               
//STDERR   DD PATH='&ROOT./&ENV..HOME/&FOUT.',                               
// PATHOPTS=(OWRONLY,OCREAT,OAPPEND),PATHMODE=(SIRWXU,SIRWXG)
//STDOUT   DD PATH='&ROOT./&ENV..HOME/&FOUT.',                               
// PATHOPTS=(OWRONLY,OCREAT,OAPPEND),PATHMODE=(SIRWXU,SIRWXG)                   
//*********************************************************                     
//* If the shell RC code is as expected (13) - proceed    *                     
//*********************************************************                     
//IFTST   IF (RC = 13) THEN                                                     
//*********************************************************                     
//* Start the Multi-Product PTF Post-Installer            *                     
//*********************************************************                     
//APPLY   EXEC PGM=BPXBATCH,REGION=0M,                                          
// PARM='SH &ROOT./&ENV..HOME/bin/applyPTF.sh inline'                                            
//STDERR   DD PATH='&ROOT./&ENV..HOME/&FOUT.',                               
// PATHOPTS=(OWRONLY,OCREAT,OAPPEND),PATHMODE=(SIRWXU,SIRWXG)
//STDOUT   DD PATH='&ROOT./&ENV..HOME/&FOUT.',                               
// PATHOPTS=(OWRONLY,OCREAT,OAPPEND),PATHMODE=(SIRWXU,SIRWXG)                   
//       IF (APPLY.RC ^= 0) THEN
//*********************************************************
//* If the APPLY step had a non-zero return code then     *
//* copy the contents of applyPTF.out to the job log      *
//*********************************************************
//PRNTOUT EXEC PGM=BPXBATCH,
// PARM='SH cat'
//STDIN  DD PATH='&ROOT./&ENV..HOME/&FOUT.'
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//       ENDIF
//       IF (APPLY.RC <= 4) THEN                                               
//*********************************************************                     
//* If the RC from the Post-Installer is LE 4 then start  *                     
//* the WebSphere Application Server                      *                     
//*********************************************************                     
//BBOPDCR    EXEC PGM=BPXBATA2,REGION=0M,TIME=MAXIMUM,MEMLIMIT=NOLIMIT,   
// PARM='PGM &ROOT./&WSDIR./lib/bbooctlm &AMODE. &PARMS. REC=&REC'                                                
//STDENV DD PATH='&ROOT/&ENV/was.env'                                   
//*                                            
//* Output DDs                                 
//*                                            
//DEFALTDD  DD SYSOUT=*,SPIN=UNALLOC,FREE=CLOSE
//HRDCPYDD  DD SYSOUT=*,SPIN=UNALLOC,FREE=CLOSE
//SYSOUT    DD SYSOUT=*,SPIN=UNALLOC,FREE=CLOSE
//CEEDUMP   DD SYSOUT=*,SPIN=UNALLOC,FREE=CLOSE
//SYSPRINT  DD SYSOUT=*,SPIN=UNALLOC,FREE=CLOSE
//          ENDIF                                                       
//IFTSTEND 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:                                                 -->         
<!--                                                                  -->         
<!--   WS14568 H28W500 021118  PDML: Initial release.                 -->         
<!--   MD15360 H28W500 030106  PDML: fixed INCLUDE typo.              -->         
<!--   MD15853 H28W500 030214  PDML: remove blank before Z=xxxx       -->         
<!--   MD15863 H28W500 030215  PDG1: Link to dir and not was.env      -->         
<!--   MD15893 H28W500 030215  PDML: add umask to PARM.               -->         
<!--   MD16482 H28W500 030521  PDML: add PARMS.                       -->         
<!--   WS17417 H28W500 070903  PDML: post installer support.          -->         
<!--   PQ77867 H28W500 030909  PDML: change CBCONFIG to DMCONFIG.     -->         
<!--   PQ79433 H28W500 110703  PDML: update path to applyPTF.sh.      -->         
<!--   241099  H28W600 102204  PDML: remove applyPTF step.            -->         
<!--   2418362 H28W600 010705  PDML: change time from MAXIMUM to      -->         
<!--                                 NOLIMIT.                         -->         
<!--   252514  H28W601 020105    DB: Set ENV as only ENV=,            -->         
<!--   250696  H28W601 020305    DB: update proc for V6 postinstaller -->         
<!--   253955  H28W601 020705  PDML: add missing ENDIF.               -->         
<!--   LIDB3645-13.2 H28W601 021705 PDML: add REC.                    -->         
<!--   338132  H28W610 020606  PDML: add 64 bit test.                 -->
<!--   373729  H28W700 011607    DB: remove TRAP(ON,NOSPIE)           -->         
<!--   403541  H28W610 111306   DMB: 64 bit updates                   -->         
<!--   447528  V7.0    20070629 PXT: Convert zmpt variables           -->
<!--  LIDB4689  V7.0    20071024 DMB: Move load modules to hfs        -->           
<!--   484612  V7.0    112607  PDOP: Symbolic parm for WAS server dir -->         
<!--   484621  V7.0    112707  PDOP: Replaced INCLUDE with output DDs -->
<!--   500745  V7.0    20080407 PXT: Change the order of DD statement -->
<!-- 524539.1  V7.0    20080619 DMB: add SYSPRINT and SYSOUT          -->
<!-- 524539.5  V7.0    20080626 DMB: reorder SYSPRINT and SYSOUT      -->         
<!-- 524539.6  V7.0    20080709 DMB: remove STDERR and STDOUT         -->         
<!--   534888  V7.0    20080708 PDOP: Common timestamp and build info -->
<!-- PM67193   V7.0    20120911 PDOP: Add PRNTOUT step                -->
<!-- ================================================================ -->         
