We have expanded the database record sizes for RULELONG, but we cannot SWITCH between the alternate and primary databases. Why does this fail?

Document ID : KB000028483
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

We switched to the alternate databases, and then upped the size of the RULES and INFOSTG databases to 16k so that we can implement RULELONG. When we try and switch back, the SWITCH command fails with:

ACF79351 INVALID DATABASE CI SIZE
ACF79355 DATABASE SWITCH FAILED.

Why does this fail?

Solution:

The SWITCH command only works with databases that are the same size. Since the ALT databases are 4k, and the new PRIMARY databases are 16k, the SWITCH command fails. You need to stop and restart ACF2 at this point to resolve the problem.

P ACF2
S ACF2 <== the default START is the primary databases, so that will resolve the problem. ACF2 can be started pointing to other databases defined in the ACFFDR.

See Appendix C: Console Operator Commands Summary in the ACF2 System Programmers Guide for more information.