Defining the intrapartition data set
You can either use the sample job described here to define the transient data intrapartition data set, or you can use the CICS®-supplied job, DFHDEFDS. DFHDEFDS creates the DFHINTRA data set as one of the data sets for a CICS region.
The intrapartition data set must be big enough to hold all the data for intrapartition queues. See Size of the intrapartition data set for more information.
An intrapartition data set used as a transient data queue must be associated with only one CICS region.
CICS stores the relative byte addresses (RBAs) of records written to an intrapartition data set used as a transient data queue, and you must take care to preserve the RBAs during any VSAM export or import operation on the data set.
Data can be corrupted or lost if you start CICS with the wrong intrapartition data set; that is, a data set that contains data from another CICS region.
Data can be corrupted or lost if you use VSAM export or import services to increase the available space by compressing the data set, or to increase the control interval size.
Do not use the extended addressing entry-sequenced data set (ESDS) format for an intrapartition data set.
Procedure
If you are using the sample job to define the transient data intrapartition data set, perform the following steps:
Sample job to define a transient data intrapartition data set
In Figure 1, the high level qualifier (CICSTSnn.CICS) assumes the release level of CICS TS 6.3. You must adapt it for your own CICS release.
//DEFDS JOB accounting info,name,MSGCLASS=A
//TDINTRA EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
DEFINE CLUSTER -
( NAME(CICSTS63.CICS.applid.DFHINTRA) -
RECORDSIZE(1529,1529) -
RECORDS(100) -
NONINDEXED -
CONTROLINTERVALSIZE(1536) -
VOL(volid)) -
DATA -
( NAME(CICSTS63.CICS.applid.DATA.DFHINTRA))
/*
//
What to do next
Use the TD system initialization parameter to specify an appropriate number of VSAM buffers and strings for the transient data intrapartition data set. CICS uses buffers to make control intervals from the data set available in CICS storage, and uses strings for VSAM I/O requests between a buffer and the data set. Typically, the default setting of three buffers and three strings is sufficient.