//SVCRUNZ JOB (ACCT#),'CBLSVC',                                                 
//             USER=,                                       /* RACF */          
//            GROUP=,                                       /* RACF */          
//         PASSWORD=,                                       /* RACF */          
//           NOTIFY=,                                                           
//            CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1)                                 
//*                                                                             
//* ** SVCRUNZ *** ---------------------------------------------------*         
//*                                                                             
//* &PREFIX..SVCRUNZ  L=005 --- 2012/06/01 10:09:06 (NBJ)                       
//*                                                                             
//*  Licensed Materials - Property of Compute (Bridgend) Ltd                    
//*                                                                             
//*  Copyright (C) 2004-2011 - Compute (Bridgend) Ltd.                          
//*  All rights reserved.                                                       
//*                                                                             
//* ------------------------------------------------------------------*         
//*                                                                             
//*  !!! Ensure CAPS OFF is in effect. !!!                                      
//*  This job contains case sensitive control statements.                       
//*                                                                             
//*  Step GIMUNZIP: Executes the GIMUNZIP service routine to extract            
//*                 packaged SMPMCS service to a sequential data set.           
//*                                                                             
//*  Step SMPERECV: Executes SMP/E RECEIVE against the SMPMCS service           
//*                 package sequential data set for the product CSI.            
//*                                                                             
//*  You must customise this job before running it:                             
//*                                                                             
//*   -  Tailor the JOB statement.                                              
//*                                                                             
//*   -  Tailor job variables to suitable values for you installation.          
//*      This may be done manually or by invoking the SELCOPY/i and             
//*      ISPF edit macro, ZZSIEDIT, configured when SELCOPY product             
//*      suite was installed. See library SZZSSAM1.                             
//*                                                                             
//*      See instructions in the macro for more information.                    
//*                                                                             
//*       1. Change #smppre to be the DSN prefix (high level                    
//*          qualifiers) of the SMP/E GLOBAL CSI data set. Also used as         
//*          prefix for unzipped SMPMCS and HOLDDATA data set names.            
//*                                                                             
//*       2. Change #tvol (or remove if unneccessary) the target volume         
//*          for the SMPMCS data set.                                           
//*                                                                             
//*   -  If SHA-1 hash checking is required on the archive files, then          
//*      do the following:                                                      
//*                                                                             
//*       1. Change PARM='HASH=YES' on the EXEC statement.                      
//*                                                                             
//*       2. For SMP/E 34.09 or later, uncomment the SMPJHOME and               
//*          SMPCPATH DD statements and tailor the PATH values to               
//*          reference your Java runtime and SMP/E class libraries.             
//*          SMP/E will then use Java(TM) to check the SHA-1 package            
//*          integrity instead of ICSF.                                         
//*                                                                             
//*   -  Tailor SMPDIR DD statement PATH parameter to match your SMPNTS         
//*      directory and CBL package subdirectory.                                
//*                                                                             
//*  Notes:                                                                     
//*                                                                             
//*  1. Job should complete with a return code 0.                               
//*                                                                             
//* ------------------------------------------------------------------*         
//* History:                                                                    
//*                                                                             
//*  L=005 2012/06/01 -nbj- Include RFPRFIX(#smppre) for RELFILEs.              
//*  L=004 2011/01/21 -nbj- Include replaec="yes" on GIMUNZIP archives.         
//*  L=003 2011/01/13 -nbj- ".PROD" qualifier.                                  
//*  L=002 2011/01/12 -nbj- Use S0001 file reference for SMPMCS.                
//*  L=001 2011/01/11 -nbj- UNZIP and SMP/E RECIEVE Product Service.            
//* ------------------------------------------------------------------*         
//*                                                                             
//*                                                                             
//GIMUNZIP EXEC PGM=GIMUNZIP,REGION=0M,PARM='HASH=NO'                           
//SMPDIR   DD PATH='/u/smpe/smpnts/X2026147/',         <== change.              
//            PATHDISP=KEEP                                                     
//*SMPJHOME DD PATH='/usr/lpp/java/J1.4/'              <== change.              
//*SMPCPATH DD PATH='/usr/lpp/smp/classes/'            <== change.              
//SMPOUT   DD SYSOUT=*                                                          
//SYSPRINT DD SYSOUT=*                                                          
//SYSUT3   DD UNIT=SYSALLDA,SPACE=(CYL,(10,10))                                 
//SYSUT4   DD UNIT=SYSALLDA,SPACE=(CYL,(15,5))                                  
//SYSIN    DD *                                                                 
<GIMUNZIP>                                                                      
<ARCHDEF                                                                        
    name="SMPPTFIN/S0001.CBL.PROD.SERVICE.X2026147.SMPMCS.pax.Z"                
  volume="#tvol"                             <!-- change. -->                   
 replace="yes"                                                                  
 newname="#smppre.X2026147.SMPMCS">          <!-- change. -->                   
</ARCHDEF>                                                                      
                                                                                
<ARCHDEF                                                                        
    name="SMPHOLD/S0002.CBL.PROD.HOLDDATA.pax.Z"                                
  volume="#tvol"                             <!-- change. -->                   
 replace="yes"                                                                  
 newname="#smppre.HOLDDATA">                 <!-- change. -->                   
</ARCHDEF>                                                                      
</GIMUNZIP>                                                                     
/*                                                                              
//*                                                                             
//SMPERECV EXEC PGM=GIMSMP,COND=(4,LT,GIMUNZIP),                                
//             REGION=0M,                                                       
//             PARM='PROCESS=WAIT',                                             
//             DYNAMNBR=120                                                     
//SMPCSI   DD  DISP=SHR,                                                        
//             DSN=#smppre.CSI                         <== change.              
//SMPPTFIN DD  DISP=SHR,                                                        
//             DSN=#smppre.X2026147.SMPMCS             <== change.              
//SMPHOLD  DD  DISP=SHR,                                                        
//             DSN=#smppre.HOLDDATA                    <== change.              
//SMPOUT   DD  SYSOUT=*                                                         
//SMPRPT   DD  SYSOUT=*                                                         
//SMPLIST  DD  SYSOUT=*                                                         
//SYSPRINT DD  SYSOUT=*                                                         
//SMPCNTL  DD  *                                                                
  SET BOUNDARY (GLOBAL).                                                        
  RECEIVE                                                                       
        .                                                                       
/*                                                                              
//*                --- End of SVCRUNZ ---                                       
