As asked, your question cannot be answered because you did not provide vital information. When you say
I have PROG X calling/linked to newly created module PROG Y in same region.
do you mean:
- EXEC CICS XCTL
- EXEC CICS LINK
- EXEC CICS LOAD
- program language CALL
The answer depends upon which of these you are using.
From the Resource Defintiion Guide manual:
22.214.171.124 When the autoinstall control program is invoked for program autoinstall
For programs, the autoinstall control program is invoked when:
Any of these commands references a previously undefined program:
EXEC CICS LINK
EXEC CICS XCTL
EXEC CICS LOAD
The program is the first program in a transaction.
An EXEC CICS ENABLE is issued for a GLUE or a TRUE.
An abend occurs after an EXEC CICS HANDLE ABEND PROGRAM command is issued and CICS invokes the named program.
CICS calls a user-replaceable program.
For mapsets, the autoinstall control program is invoked when an EXEC CICS SEND MAP or EXEC CICS RECEIVE MAP refers to a previously undefined mapset.
For partitionsets, the autoinstall control program is invoked when an EXEC CICS SEND PARTNSET or EXEC CICS RECEIVE PARTN command refers to a previously undefined partitionset.