Before installing groups AAA1 and AAA2, you can check them by using the CHECK command. This ensures that all transactions have access to their related programs, that terminal definitions have access to their related typeterm definitions, and so on.
CHECK GROUP(AAA1)
This should
result in the message:
W PROGRAM CCC1 referenced by TRANSACTION DDD1 in group AAA2
cannot be found
This is because when you moved transaction DDD1, you
did not also move its related program, CCC1.
COPY PROGRAM(CCC1) G(AAA1) TO G(AAA1)
If you repeat the CHECK command on both groups, there should be no
more error messages.