Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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                                              

****

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 16 '15, 4:56 a.m.

Question was seen: 4,136 times

Last updated: Jan 16 '15, 4:56 a.m.

Confirmation Cancel Confirm