Q:
How are the alternate indicies (AIX) and paths handled during a CICS/FRS recovery?
The alternate index is automatically recovered (when a base is) IF the UPGRADE parameter is specified on the VSAM definition.
Recovery system for CICS files.
Q:
How are the alternate indicies (AIX) and paths handled during a CICS/FRS recovery?
The alternate index is automatically recovered (when a base is) IF the UPGRADE parameter is specified on the VSAM definition.
Q:
Why is FRS recovery not working as expected? Possible symptoms include a return code of 4 or above, VSAM/FRS error codes in R15 and FDBK, or no records recovered for a file or files.
A:
There could be a number of causes.
Q:
If we restore an ESDS VSAM file from a backup, will the recovered
records have same RBA as the original online file?
Q:
Can FRS print from DFHLOG, the CICS system log used for Dynamic Transaction Backout (DTB)?
A:
No. The FRS can only print from the journals (DFHJ01, DFHJ02, etc.) used for forward recovery.
Q:
The recovery program only prints the record key portion of the updated record. Is there a way to see the entire record update?
A:
Yes, by using the print program. It has a variety of output options, one of which is to print the whole record being added, updated, or deleted.
Q:
How do you copy a z/OS journal for later use by CICS/FRS?
A:
You must use IBM journal utility program DFHJUP as follows.
For SYSUT1:
SUBSYS=(LOGR,DFHLGCNV,LOCAL,COMPAT41),DCB=BLKSIZE=32760
For SYSUT4, use the following DCB:
DCB=(RECFM=VB,LRECL=32756,BLKSIZE=32760)
For SYSIN, use:
OPTION COPY NEWDCB (and END)
Full sample JCL is in SAMPLIB member JCOPYTS.
Q:
What should your JCL look like when reading a "live" z/OS journal with the recovery program (FRSCESA) or the print program (FRSPESA)?
A:
For the JOURNAL DD, you must include the following SUBSYS and DCB parameters:
SUBSYS=(LOGR,DFHLGCNV,LOCAL,COMPAT41V),DCB=BLKSIZE=32760. Full sample JCL is in SAMPLIB members RECOVTS for recovery and PRINTTS for the print program.
Q:
Will the alternate indexes be populated or do we need to explicitly
rebuild them?
Q:
Can multiple VSAM files be recovered in one execution of CICS/FRS?
A:
Yes, as long as all of their updates are contained on the same journal.
Q:
In the FCT, I have only used the 'RECOVERY PARAMETERS' and ignored the 'AUTO JOURNALLING'.
Is it sufficient to change only the 'RECOVERY PARAMETERS' of the FCT and ignore the 'AUTO JOURNALLING'?
A:
YES, it is BEST to change the RECOVERY PARAMETERS and leave the AUTO JOURNALLING parameters alone. The RECOVERY PARAMETERS are the newer and recommended way.
Q
Is there any difference between the 'RECOVERY PARAMETERS' and 'AUTO JOURNALLING' of the CICS FCT? Is there any consideration before choosing which to use for VSAM Forward Recovery purpose?
A
YES. Some of the AUTO JOURNALLING parameters (specifically JNLadd = Before or ALL) can cause problems because Before and All journal records are written Before the VSAM I/O. This causes CICS WRITEs to be journaled even when the DUPREC condition is raised, producing FRS duplicate record errors (R15=8,FDBK=8).
RECOVERY PARAMETERS are recommended over AUTO JOURNALLING parameters (in CICS TS).
Q:
Why do the transaction and file timestamps in the FRS reports seem to be hours later than when the files were opened or when the transactions were done in CICS?
A:
Because the third parameter of your
SUBSYS parameter is specifying or defaulting to GMT rather than LOCAL
time. To fix change it to:
SUBSYS=(LOGR,DFHLGCNV,LOCAL,COMPAT41V)
Q:
Where can you find an explanation of the FRS/VSAM RPL feedback reason codes, error codes and return codes that may appear in the FRS recovery report, in the R15 (return code) and FDBK (RPLERRCD/reason code) fields?
A:
Some of the more common ones are listed near the back of the FRS manual, in section 5.2 Trouble Diagnosis.
All of them are found in IBM's VSE Messages and Codes, in the Chapter on VSE/VSAM Return and Error Codes, or in IBM's z/OS DFSMS Macro Instructions for Data Sets manual, in the chapter on VSAM Macro Return and Reason Codes.
R15 represents the return code value in register 15 and FDBK represents the Hex Error Code (for VSE) or the hex Reason Code (for z/OS).
When looking up the FDBK code, be sure to look in the correct table based on the return code and the type of VSAM error (OPEN error, PUT error, etc.).