Creating Translator for C during Build - RTC 4.0.5
Im trying to submit or execute a JCL when executing Build definition. I place the command inside the translator and it seems i Need to use a REXX script to do this,
my Questions are:
Do i still need to define the DD allocations in the translator even if its already defined under the JCL?
For the inputs or the files being translated, how can i make them the file to be process or build by the said JCL?
Can I just use the build definition to load the files in the Z/OS environment and use the post command line to submit the JCL to make it easier? If Yes, what specific build definition should i use(must be using Rational Build Agent)?
*****
//CMPDN100 JOB (T,92958888P),
// 'N=TSO.X549360',
// CLASS=S,
// MSGCLASS=H,
// MSGLEVEL=(1,1),
// REGION=0M,
// NOTIFY=&SYSUID
//*
// SET SRCE= <- 0 or 3 chars
// SET MEM=ASM2C <- any
// SET COMP= <- Dependent of SRCE
// SET MYIN=X552551.RTC.C.SRC
// SET MYOUT=X552551.LOAD31
// SET CPARM=('DEF(IBMC),SOURCE,LIST,XREF,DEF(AVIS),
// DEF(CTRACE1),OPT(3),DEF(NDLL),ARCH(10),OPTIMIZE(2)')
// SET LPARM=('RENT,MAP,NCAL,AMODE(31),RMODE(ANY)')
//*****************************************************************
//*
//* COMPILE THE C PROGRAM IF THE PRECOMPILE
//* RETURN CODE IS 4 OR LESS
//*
//*****************************************************************
//C EXEC PGM=CCNDRVR,PARM=(&CPARM)
//*
//STEPLIB DD DISP=SHR,DSN=CBC.SCCNCMP
//SYSLIB DD DISP=SHR,DSN=X552551.RTC.C.HDRLIB
// DD DISP=SHR,DSN=T.WM.WAVE3.DEV.HDRLIB
// DD DISP=SHR,DSN=SYS1.DSND00B.SDSNC.H
//* DD DISP=SHR,DSN=SYS1.AD370.SEDCDHDR
//SYSLIN DD DISP=SHR,DSN=T.WM.WAVE3.DEV.OBJLIB(&COMP.&MEM)
//SYSPRINT DD SYSOUT=*
//SYSCPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTERM DD DUMMY
****