//SVCRFN JOB (ACCT#),'CBLINST',
// USER=, /* RACF */
// GROUP=, /* RACF */
// PASSWORD=, /* RACF */
// NOTIFY=,
// CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1)
//*
//* ** RFNJOB *** ----------------------------------------------------*
//*
//* &PREFIX..SVCRFN L=003 --- 2013/06/24 15:50:24 (NBJ)
//*
//* Licensed Materials - Property of Compute (Bridgend) Ltd
//*
//* Copyright (C) 2004-2010 - Compute (Bridgend) Ltd.
//* All rights reserved.
//*
//* ------------------------------------------------------------------*
//*
//* !!! Ensure CAPS OFF is in effect. !!!
//* This job contains case sensitive control statements.
//*
//* Executes SMP/E RECEIVE FROMNETWORK to transfer a SELCOPY Product
//* Suite service package from the CBL FTP server to the host system.
//*
//* An existing SMP/E global CSI must be specified for ddname SMPCSI.
//* For operand TRANSFERONLY, this may be any existing global CSI.
//* (No processing of package data takes place.)
//*
//* To install service to SELCOPY Product Suite in an existing CSI,
//* operand TRANSFERONLY may be uncommented so that, following the
//* transfer, RECEIVE processes the package data in the /SMPPTFIN
//* path for the specified global CSI.
//* This assumes that required SMP/E zone-related DDDEFs already exist
//* in the global CSI. (See "SMP/E for z/OS Commands".)
//*
//* To avoid space issues, it is recommended that a new file system be
//* mounted at the SMPNTS path on your host system. This should be
//* allocated with a SPACE value that can accomodate no less than 3
//* times the overall product package size.
//*
//* 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.
//* 2. Change #ntspath to be the name of your SMPNTS directory
//* which will contain the service directory.
//* (e.g. /u/smpe/smpnts)
//*
//* - Uncomment SMPWKDIR DD statement and tailor the PATH if a
//* separate workspace path linking to a different mounted file
//* system is to be used.
//* Note: SMPWKDIR is not used if TRANSFERONLY is specified.
//* SMPWKDIR is the target path for the unzipped package files.
//* These are deleted on completion of RECEIVE processing.
//*
//* - For SMP/E 34.09 or later...
//*
//* 1. Uncomment the SMPJHOME DD statement and tailor the PATH to
//* reference the Java runtime libraries
//* (e.g. '/usr/lpp/java/J5.0/'.) SMP/E will then use Java(TM)
//* to check the SHA-1 package integrity instead of ICSF.
//*
//* 2. Uncomment the SMPCPATH DD statement and tailor the PATH to
//* reference the SMP/E class libraries.
//*
//* - Uncomment TRANSFERONLY operand to do the ftp transfer only.
//* Job SVCRNTS may be used to perform RECEIVE FROMNTS.
//* Alternatively, job SVCRUNZ may be used to perform an unzip of
//* the package to a sequential data set and then use this as
//* SMPPTFIN input to RECEIVE.
//*
//* - Uncomment the CLIENT(CLNTPARM) operand and tailor firewall
//* information on the CLNTPARM DD input if the local host
//* requires firewall navigation in order to transfer the package.
//* (See "SMP/E for z/OS Commands".)
//*
//* Notes:
//*
//* 1. Job should complete with a return code 0.
//*
//* ------------------------------------------------------------------*
//* History:
//*
//* L=003 2013/06/24 -nbj- Remove /Mainframe from ftp file id.
//* L=002 2011/01/13 -nbj- Receive SMPMCS and HOLDDATA.
//* L=001 2011/01/11 -nbj- SMP/E RECEIVE FROMNETWORK Product Service.
//* ------------------------------------------------------------------*
//*
//*
//SMPERFN EXEC PGM=GIMSMP,REGION=0M,
// PARM='PROCESS=WAIT'
//SMPCSI DD DISP=SHR,DSN=#smppre.CSI <== change this.
//SMPNTS DD PATHDISP=KEEP,
// PATH='#ntspath/' <== change this.
//*SMPWKDIR DD PATHDISP=KEEP,
//* PATH='/u/smpe/workdir/' <== change this.
//*SMPJHOME DD PATH='/usr/lpp/java/J1.4/' <== change this.
//*SMPCPATH DD PATH='/usr/lpp/smp/classes/' <== change this.
//SMPLOG DD SYSOUT=*
//SMPOUT DD SYSOUT=*
//SMPRPT DD SYSOUT=*
//SMPLIST DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SMPCNTL DD *
SET BOUNDARY (GLOBAL).
RECEIVE
FROMNETWORK(
SERVER(SERVPARM)
/* CLIENT(CLNTPARM) */ /* <== change this. */
/* TRANSFERONLY */ /* <== change this. */
).
/*
//*
//* SERVPARM DD input is already customised for this package.
//* Please do not alter this information.
//*
//SERVPARM DD *
/*
//*
//* CLNTPARM DD input is required only if your local host requires
//* firewall navigation in order to transfer the package.
//* Tailor the CLIENT information as required for your firewall.
//* See "SMP/E for z/OS Commands" manual for CLIENT information.
//*
//CLNTPARM DD *
-v -f "//'tsoid.FTP.DATA'"
USER &USER;
PW &PW;
SITE &REMOTE_HOST;
/*
//*