Recovery for temporary storage

This section deals with both backward and forward recovery of temporary storage.

Backward recovery

Temporary storage queues that are to be recoverable by CICS® must be on auxiliary temporary storage.

Define temporary storage queues as recoverable using temporary storage model resource definitions as shown in the following example define statements:

CEDA DEFINE DESCRIPTION(Recoverable TS queues for START requests) TSMODEL(RECOV1)
            GROUP(TSRECOV) PREFIX(DF) LOCATION(AUXILIARY) RECOVERY(YES)
 
CEDA DEFINE DESCRIPTION(Recoverable TS queues for BMS) TSMODEL(RECOV2)
            GROUP(TSRECOV) PREFIX(**) LOCATION(AUXILIARY) RECOVERY(YES)
 
CEDA DEFINE DESCRIPTION(Recoverable TS queues for BMS) TSMODEL(RECOV3)
            GROUP(TSRECOV) PREFIX($$) LOCATION(AUXILIARY) RECOVERY(YES)

CICS continues to support temporary storage tables (TST) and you could define recoverable TS queues in a TST, as shown in the following example:

DFHTST TYPE=RECOVERY,
       DATAID=(DF,**,
               $$(,character-string)...)

The DATAID DF makes the temporary storage queues used on CICS start requests recoverable.

The DATAIDs ** and $$ make the temporary storage queues used by BMS recoverable.

The DATAID character string represents the leading characters of each temporary storage queue identifier that you want to be recoverable. For example, DATAID=(R,ZIP) makes recoverable all temporary storage queues that have identifiers starting with the character "R" or the characters "ZIP".

For more information on allocation and space requirements, see theCICS Operations and Utilities Guide.

Forward recovery

If you want forward recovery of temporary storage:

  1. Record the changes made to temporary storage during the current CICS run; you must provide application programs to do this. At emergency restart time, you can then delay the emergency restart (by using PLTPI, for example) and, again using application programs, rebuild as much as possible of the temporary storage data using the records previously read.
  2. Repeat the emergency restart but with the system initialization parameters amended to cold-start temporary storage (TS=(COLD)). Note, however, that this loses the contents of the entire temporary storage data set.
[[ Contents Previous Page | Next Page Index ]]