Why is the header criteria in RC/Update for Db2 for z/OS (RCU) not being saved.
Change the RC/Object profile flag SAVE HEADER ON EXIT setting it to 'Y'. If Global Defaults are enabled through the SETUPxx member in hlq.CDBAPARM
the UXSAVE flag in the hlq.CDBAPARM(DEFAULTS) member will also need to be set to 'Y'.
The EP function editing the DEFAULT CDBAPARM member shows the value on the screen:
PTGDF20 --------- Edit Parmlib Member DEFAULTS --------- yyyy/mm/dd hh:mm
OPTION ===>
Type the information in the fields below.
RC/Object Default Parameters
Suppress SET SQLID statements.> N (Y = yes, N = no)
Suppress .AUTH statements.....> N (Y = yes, N = no)
View BP Audit file............> N (Y = yes, N = no)
Force recoverable drop........> N (Y = yes, N = no)
Save header values at exit....> Y (Y = yes, N = no)
RC/Edit-Browse Default Parameters
Do auth checking before edit..> Y (Y = yes, N = no)
DATE format...................> ISO (ISO,USA,EUR,JIS,LOCAL)
TIME format...................> ISO (ISO,USA,EUR,JIS,LOCAL)
Format numerics with commas...> N (Y = yes, N = no)
In the CDBAPARM(DEFAULTS) member it looks like this:
DSLIST hlq.CDBAPARM(DEFAULTS) - 0 Line 0000000037 Col 001 080
Command ===> Scroll ===> CSR
/*-----------------------------------------------------------------*/
/* THIS SECTION IS FOR RC/OBJECT DEFAULT PROFILE VALUES. */
/*-----------------------------------------------------------------*/
/* */
UNOSETS (N) /* SUPPRESSS SET SQLID STMTS */
/* */
UNOAUTHS (N) /* SUPPRESS .AUTH STATEMENTS */
/* */
UPBPVIEW (N) /* VIEW BATCH PROCESSOR AUDIT FILE */
/* */
UDROPR (N) /* FORCE RECOVERABLE DROP */
/* */
UXSAVE (Y) /* SAVE HEADER VALUES ON EXIT */