11.4 Step 4: Start CRM on Mainframe
Use the following command to start CRM on mainframe:
CRM [ -t 0|1|2|3 ] [-p<nbr>] [-s] [-n <type>:#:#] [-u <keyfile>] [-S <SSL configuration file>] [-V] [-P [interval]] [-R [interval]] [-F [trcsz]] <addr> <group>
You can use JCL to start CRM as shown in the following listing:
Listing Using JCL to Start CRM
// SET STARTCMD='"//<address>:<port>" <group>'
// SET OBJLIB=
// SET DATA=
// SET ENVFILE=ENV
// SET RUNOPTS=
// SET SIZE=0M
// SET ENV='ENVAR("_CEE_ENVFILE=DD:ENV")'
//* SET CEE=CEE,CBC=CBC
//CRM EXEC PGM=CRM,REGION=&SIZE,
// PARM='POSIX(ON) &ENV &RUNOPTS/&STARTCMD'
//STEPLIB DD DSN=&OBJLIB,DISP=SHR
//* DD DSN=&CEE..SCEERUN,DISP=SHR
//* DD DSN=&CBC..SCLBDLL,DISP=SHR
//MSGFILE DD SYSOUT=*
//TRACE DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//ENV DD DSN=&DATA(&ENVFILE),DISP=SHR
For more information, see Command Reference Pages.
After all preceding steps performed, boot the ARTIMS domain and make a call to the online transaction to invoke the sub-transaction on z/OS.
Parent topic: ART CICS Calls Transaction in Z/CICS