The DAY030 step of the first DAILY that ran after applying SMF maintenance abended with a U0999 and the SAS LOG contained the following error:
28422 + %CRCLEN(TS=DETAIL); %CRCFMT(TS=DETAIL);
_ _
180 180
ERROR 180-322: Statement is not valid or it is used out of proper order.
It was then determined that the SMFCGEN job was not submitted as required as part of the SMF maintenance being applied, so the SMFCGEN job was submitted and completed successfully.
Upon completion, the DAILY job was restarted in the DAY030 step and abended again, but this time with a U0998 and
the MICS LOG contains the following:
BAS00194E =====> *** ABORT ERROR ***
BAS00194E =====> Error: %BATRCWK macro not found.
BAS00194E =====> Either CYCLEGEN was not run,
BAS00194E =====> BAT files are not active in the WK timespan,
BAS00194E =====> or cccCGEN generated an invalid DYcccSUM member.
BAS00194E =====> Database cycle aging aborting due to errors.
This error occurs if the required maintenance steps are not followed in the correct sequence ensuring that each step in the product
change checklist completed successfully before proceeding to the next.
When applying MICS maintenance, ensure that all steps in the generated checklist are completed in the instructed order.
If you have any questions regarding any of the steps listed in a generated MICS product change checklist, contact MICS Support before proceeding.
Specifically, MICS Product Change SMF7047 adds the BATCRC file to the database. If the generation steps associated with this
change (or subsequent maintenance) are skipped or executed out of sequence, the %BATRCWK macro—required for internal
step restart during the DAY030 aging process—will be missing from the unit macro library.
To resolve this issue and correctly regenerate the BATCRC related macros, execute the following jobs in this exact order:
Note: If the SMF component is installed in more than one database unit with internal step restart active, the unit level steps will need to be performed in each unit database.
Because internal step restart is active in this particular instance, MICS will automatically restart the aging process from the beginning of the step.
With the %BATRCWK macro now correctly generated and present in the library, the DAY030 step will complete successfully.