//BIPGEN JOB
//******************************************************************
//* *
//* @START_COPYRIGHT@ *
//* *
//* Licensed Materials - Property of IBM; *
//* 5655-G97 (c) Copyright IBM Corp. 2004; *
//* All Rights Reserved; *
//* US Government Users Restricted Rights - use, *
//* duplication or disclosure restricted by GSA *
//* ADP Schedule Contract with IBM Corp.; *
//* See Copyright Instructions *
//* *
//* @END_COPYRIGHT@ *
//* *
//******************************************************************
//* IBM WebSphere Event/Message Brokers *
//* *
//* Copy component profile to the file system and generate an *
//* ENVFILE. *
//* *
//* IMPORTANT: *
//* *
//* You must submit BIPGEN each time you update a profile! *
//* *
//******************************************************************
//* MORE INFORMATION - See: *
//* *
//* WebSphere Event/Message Brokers Information Centre. *
//* *
//******************************************************************
//* CUSTOMIZE THIS JCL HERE FOR YOUR INSTALLATION
//* YOU MUST DO GLOBAL CHANGES ON THESE PARAMETERS USING YOUR EDITOR
//* *
//* Replace ++HOME++
//* Home directory where ENVFILE and STDERR
//* and STDOUT files will be created.
//* e.g. '/u/home'
//*
//* Replace ++COMPONENTDATASET++
//* Component dataset.
//* e.g. 'BIP.BROKER.MQ01BRK'
//*
//* Replace ++COMPONENTPROFILE++
//* Component profile name.
//* e.g. Broker = 'BIPBPROF'
//* Usernameserver = 'BIPUPROF'
//* Configmgr = 'BIPCPROF'
//*
//******************************************************************
//*
//******************************************************************
//* Copy BIPBPROF/BIPUPROF/BIPCPROF to file system
//******************************************************************
//*
//COPYPROF EXEC PGM=IKJEFT01,
// PARM='OCOPY INDD(BIPFROM) OUTDD(BIPPROF)'
//SYSTSPRT DD DUMMY
//BIPFROM DD DISP=SHR,DSN=++COMPONENTDATASET++(++COMPONENTPROFILE++)
//BIPPROF DD PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=(SIRWXU,SIRWXG),
// PATH='++HOME++/bipprof'
//SYSTSIN DD DUMMY
//*
//******************************************************************
//* Copy BIPPROF to SYSOUT
//******************************************************************
//*
//COPYENV EXEC PGM=IKJEFT01,
// PARM='OCOPY INDD(BIPFROM) OUTDD(BIPPROF)'
//SYSTSPRT DD DUMMY
//BIPFROM DD PATHOPTS=(ORDONLY),
// PATH='++HOME++/bipprof'
//BIPPROF DD SYSOUT=*,DCB=(RECFM=V,LRECL=256)
//SYSTSIN DD DUMMY
//*
//******************************************************************
//* Create ENVFILE from BIPPROF
//******************************************************************
//*
//CREATENV EXEC PGM=IKJEFT01,REGION=0M
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
BPXBATCH SH -
. ++HOME++/bipprof; -
/bin/printenv > -
++HOME++/ENVFILE
//*
//******************************************************************
//* Copy ENVFILE to SYSOUT
//******************************************************************
//*
//COPYENV EXEC PGM=IKJEFT01,
// PARM='OCOPY INDD(BIPFROM) OUTDD(ENVFILE)'
//SYSTSPRT DD DUMMY
//BIPFROM DD PATHOPTS=(ORDONLY),
// PATH='++HOME++/ENVFILE'
//ENVFILE DD SYSOUT=*,DCB=(RECFM=V,LRECL=256)
//SYSTSIN DD DUMMY
//*
//