The following setup is required to run the samples:
Set up the Link3270 environment as described in Managing the Link3270 bridge environment. Ensure that you have defined :
Add the load library containing the load modules to the RPL concatenation of your CICS startup job.
Resource | Description |
---|---|
DFH0CBRC | COBOL sample business client |
DFH0CBRL | COBOL sample bridge client |
DFH$BRCC | C sample business client |
DFH$BRLC | C sample bridge client |
BRCO | Transaction to drive DFHC0BRC |
BRCH | Transaction to drive DFH$BRCC |
Examples of these resource definitions are provided for you in group DFH$BRLK. Install this group, or add it to the grouplist installed during CICS startup.
Add the load library containing the load modules to the RPL concatenation of your CICS startup job.
-----------------------------------------------------------------------
//DFH$BRXJ JOB (accounting information)
// CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1),REGION=12M
//LINK3270 EXEC PGM=DFH0CBRX
//*********************************************************************
//* *
//* JCL NAME = DFH$BRXJ *
//* *
//* DESCRIPTIVE NAME = Link3270 bridge EXCI business client sample *
//* *
//* FUNCTION = *
//* *
//* Sample JCL for running the Link3270 bridge EXCI *
//* business client samples DFH0CBRX and DFH$BRXC. *
//* *
//* The file DSN qualifier hlq must be changed. *
//* This JCL runs the COBOL sample DFH0CBRX *
//* This must be compiled into application library *
//* before the JCL is run. *
//* application library must be changed. *
//* To run the C Sample change DFH0CBRX to DFH$BRXC. *
//* *
//* The CICS External Interface Guide contains a detailed *
//* description of the Link3270 bridge. *
//* *
//*********************************************************************
//STEPLIB DD DSN=application library,DISP=SHR
// DD DSN= hlq.SDFHEXCI,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//
File | Source library |
---|---|
dfh$brec.c | CICSTS31.CICS.SDFHSAMP |
dfh$brxc.h | CICSTS31.CICS.SDFHSAMP |
dfh$brmh.h | CICSTS31.CICS.SDFHSAMP |
dfhbrich.h | CICSTS31.CICS.SDFHC370 |
dfhbrihh.h | CICSTS31.CICS.SDFHC370 |