EJB CICS sample application task guide: Deployment
sgd030
The CICS production deployment tool applies specified required changes to the ejb-jar file and is able to produce as output:
For this task we assume that you have:
Two windows open on your workstation:
Restoring original Environment.
Press any key to continue . . .
and you should then press any key to close this console window.
Click OK.
The remaining tasks in the task hierarchy are now enabled.
DJAR
REQUESTMODEL
The EJB CICS Sample Application uses the default transaction CIRP, so a Request Model definition is not required
DFHCSDUP update
On the Define CICS parameters panel, enter:
CSD list: C021LIST
CSD Group: C021EJB
Output HFS file name: /usr/deployedJARs/C021CSD
BATCHREP update
On the Define CICSPlex SM parameters panel edit the fields to set:
Context: <name of your Context>
RESDESC: EJBSAMPD
RESGROUP: EJBSAMPG
Output HFS file name: /usr/deployedJARs/SAMPBREP
//C021CSDU JOB (0),RACF,MSGCLASS=H,REGION=3M,TIME=1439, // CLASS=A,NOTIFY=&SYSUID /*JOBPARM LINES=9999 //JCLLIB JCLLIB ORDER=DEMOCICS.C021.JCL //* //* RUN DFHCSDUP TO //* CREATE REQUIRED RESOURCES FOR CICS EJB SAMPLE //* //CSDUP EXEC PGM=DFHCSDUP,REGION=4M //STEPLIB DD DISP=SHR,DSN=CTS210.CICS610.SDFHLOAD //DFHCSD DD DISP=SHR,DSN=DEMOCICS.COMMON.CICSTS21.DFHCSD, // AMP=('BUFND=4,BUFNI=12') //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SYSIN DD * *********************************************************************** 03600000 * CICS EJB SAMPLE RESOURCE DEFINITIONS * 01600000 * * 02000000 * CICS RESOURCE DEFINITION BATCH UPDATE STREAM CREATED USING THE * 02400000 * CICS EJB PRODUCTION DEPLOYMENT TOOL. * 02800000 * * * THE ASSUMPTION IS THAT THE CICS REGION IS ALREADY CONFIGURED AS * * AS AN EJB SERVER, SO ONLY THE DJAR DEFINITION IS REQUIRED. * *********************************************************************** 03600000 DELETE DJAR(EJBSAMP) GROUP(C021EJB) DEFINE DJAR(EJBSAMP) GROUP(C021EJB ) DESCRIPTION(DJAR for EJB Sample) CORBASERVER(CSV1) HFSFILE(/usr/deployedJARs/SampleEJB.jar) ADD GROUP(C021EJB) LIST(C021LIST) |
CONTEXT CICSPLX1; CREATE RESDESC RESDESC(EJBSAMPD) DESCRIPTION( ) LSREGSTR(NO) AUTOINST(NO) ; CREATE RESGROUP RESGROUP(EJBSAMPG) DESCRIPTION( ) ; CREATE RESINDSC RESDESC(EJBSAMPD) RESGROUP(EJBSAMPG) DESCRIPTION( ) ; CREATE EJDJDEF NAME(EJBSAMP) RESGROUP(EJBSAMPG) DESCRIPTION('DJAR for EJB Sample') CORBASERVER(CSV1) HFSFILE(/usr/deployedJARs/SampleEJB.jar) ; |
CEMT I TCPIPSERVICE will display information about TCPIPSERVICE definitions.
CEMT I CORBASERVER will display information about CORBASERVER definitions.
CEMT I DJAR will display information about DJAR definitions.
CEMT I BEAN will display information about Enterprise Beans.
You are now ready to test your EJB CICS application.