Can I compile a CICS/COBOL program that calls Aion without pre-compile and pre-link steps?

Document ID : KB000056065
Last Modified Date : 14/02/2018
Show Technical Document Details

Yes, Use this job to call a CICS/COBOL proc:

//JOBCARD JOB ...
//********************************************************************
//* COMPILE AND LINK CLCICCB (SAMPLE CICS CLIENT PROGRAM)             
//********************************************************************
// JCLLIB ORDER=(CICSSYS.CTS220.CICS.SDFHPROC)                        
//STEP2 EXEC DFHZITCL,                                                
//     PROGLIB='hlq.AION95.LOAD',    LKED.SYSLMOD                   
//     LNGPRFX='IGY',                                                 
//     MOD=modname,                    COBOL SOURCE MOD NAME          
//     SOURCE='hlq.AION95.CBLSRC',     COBOL SOURCE LIB               
//     LINKINC='hlq.AION95.CBLINC',    COBOL LINK INCLUDE STATEMENTS  
//     AIONHLQ='aionhlq.V9R5M0',       AION INSTALL HLQ               
//     APPHLQ='apphlq.V9R5M0',         AION APP HLQ                   
//     APP='appname',                  AION APP NAME                  
//     PARM.COBOL='RENT,PGMNAME(LM),DLL,LIB,CICS(''COBOL3''),NODYNAM',
//     PARM.LKED='RENT,LIST,XREF,LET,MAP,DYNAM(DLL),CASE(MIXED)',     
//     INDEX='CICSSYS.CTS220.CICS',                                   
//     LIBPRFX='CEE'                                                  
//COBOL.SYSIN  DD DSN=&SOURCE.(&MOD),DISP=SHR                         
//COBOL.SYSLIB DD DSN=&APPHLQ..&APP..COBOL,DISP=SHR                   
//LKED.SDS     DD DSN=&AIONHLQ..SDS,DISP=SHR                          
//LKED.SYSIN   DD DSN=&LINKINC.(&MOD),DISP=SHR                        
//LKED.SYSPRINT DD SYSOUT=*