Defining the auxiliary temporary storage data set
You can either define a VSAM data set for auxiliary temporary storage as a single extent data set on a single volume using the sample job described here, or use the CICS®-supplied job DFHDEFDS. DFHDEFDS creates the DFHTEMP data set as one of the data sets for a CICS region.
About this task
You must not define any additional associations for a temporary storage data set. For example, do not define a PATH. Doing so causes CICS startup to fail. Do not allocate the DFHTEMP data set from an SMS data class using extended addressability because CICS does not support this.
Procedure
Sample job defining an auxiliary temporary storage 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.
//DEFTS JOB accounting info,name
//AUXTEMP EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
DEFINE CLUSTER(NAME(CICSTS63.CICS.CNTL.CICSqualifier.DFHTEMP)-
RECORDSIZE(4089,4089) -
RECORDS(200) -
NONINDEXED -
CONTROLINTERVALSIZE(4096) -
SHAREOPTIONS(2 3) -
VOLUMES(volid)) -
DATA(NAME(CICSTS63.CICS.CNTL.CICSqualifier.DFHTEMP.DATA) -
UNIQUE)
/*
What to do next
Use the TS system initialization parameter to specify an appropriate number of VSAM buffers and strings for auxiliary temporary storage. CICS uses each VSAM buffer to make a control interval from DFHTEMP available in CICS storage, and uses a VSAM string for each VSAM I/O request between a buffer and DFHTEMP. Typically, the default setting of three buffers and three strings is sufficient. For information about the performance considerations, see Auxiliary temporary storage: monitoring and tuning.