Joined: 20 Dec 2006 Posts: 1 Location: Bhubaneswar
I have a participating package which is in production. When i am viewing a SRO module of that package , it is using other copybooks. But when i am searching that copybook in production copybook PDS , i am not getting that. Rather i am getting that in a development participating package.
My question is when we are promoting a participating package to higher environment , do we promote only the SRO module , not the copybook ?
Edited: Other duplicate post is been deleted.. Anuj
Joined: 11 Dec 2008 Posts: 59 Location: Pune , India
It seems that the participating packages which contain the program and copybooks ( as mentioned above ) are under the same super package. When you compile a program it searches for the related copybooks first in all the participating packages under the same superpackage and then in the base PDS and includes them in the compilation . In this case the copybook is a new one ( not baselined earlier ) hence not present in base but present in one of the participating package.
We do not promote copybooks only baseline them . When you compile a program , the copybook code is embedded in the load module of the program as a result of compilation . We promote this load module of the program to higher regions ( referred as promoting a program ). As a rule therefore in all development project generally we keep the participating package for copybook and program separate . So that during promotion we can promote the one for program only .