//**********************************************************/
//* PROGRAM:  RUNPGMT                                      */
//* JCL to start TeamConnection MVS Build Server under     */
//* a TSO environment.                                     */
//**********************************************************/
//*                                                        */
//*                  IBM TeamConnection                    */
//*                  Version 3 Release 1                   */
//*                                                        */
//* COPYRIGHT: Copyright (C) International Business        */
//*            Corp. 1995,1998                             */
//*                                                        */
//*          Licensed Materials - Property of IBM          */
//*                                                        */
//*      US Government Users Restricted Rights             */
//*  - Use, duplication or disclosure restricted by        */
//*      GSA ADP Schedule Contract with IBM Corp.          */
//*                                                        */
//*           IBM is a registered trademark of             */
//*     International Business Machines Corporation        */
//*                                                        */
//* DISCLAIMER OF WARRANTIES:                              */
//*  The following enclosed code is sample code created    */
//*  by IBM Corporation.  This sample code is not part of  */
//*  any standard product and is provided to you solely    */
//*  for the purpose of assisting you in the development   */
//*  of your applications.  The code is provided "AS IS",  */
//*  without warranty of any kind. IBM shall not be        */
//*  liable for any damages arising out of your use        */
//*  of the sample code                                    */
//*                                                        */
//*--------------------------------------------------------*/
//*  Some dataset names may need to be modified            */
//*  according to your system's customization              */
//*--------------------------------------------------------*/
//*RUNPGMT JOB YOUR-JOB-CARD-HERE
//RUNPGMT  EXEC PGM=IKJEFT01,REGION=8M,DYNAMNBR=30
//STEPLIB DD DSN=userid.TCV300.LOADLIB,DISP=SHR
//* userid.TEST.JCL must be allocated as a PDS with lrecl=80,
//* and recfm=FB
//TEAMPROC DD DSN=userid.TEST.JCL,DISP=SHR
//*
//* userid.teamc.ENV must be allocated as a sequential file
//* The following is a sample content of EDCENV
//* TC_TRACE=*
//* TC_FAMILY=tc@familysite@9999
//* TC_BUILDPOOL=mvspool
//* TC_BUILDENVIRONMENT=mvs
//* TC_BUILDER_RECYCLE_COUNT=5                                     
//* TC_BUILDER_RESTART_CMD=SUBMIT 'userid.JCL.CNTL(RUNPGMT)'     
//*
//EDCENV   DD  DSN=userid.teamc.ENV,DISP=SHR
//STDOUT   DD *
//SYSTSPRT DD SYSOUT=*
//STDERR   DD SYSOUT=*
//SYSUDUMP DD DUMMY
//CEEDUMP  DD SYSOUT=*
//*  See documentation for details of the invocation parameters
//SYSTSIN DD *
 CALL 'userid.TCV300.LOADLIB(TEAMCBLD)' +
   'ENVAR("_CEE_ENVFILE=DD:EDCENV")/-p mvspool -e mvs -u SYSDA' asis
//
