I am facing one technical problem while moving the cobol program from one stage to another stage.
The full details are as follows:
I have a COBOL-DB2 program PGM1 whcih uses one copybook CPB1 where we don't have any changes to that copybook. I have successfully compiled the program and tested in the UNIT stage A.
Now as part of the another project, a COBOL-DB2 program PGM1 is again undergoing some changes along with the copybook. Now they are adding new fields to the copybook. whcih will be going to implement at the later stage.
But, I have successfully moved the element from A to B, B to D and then D to F.
I created the package to move the program PGM1 from stage F to P. while casting the package I have selected the option VALIDATE COMPONENTS ===> W. I got the CAST SUCCESSFUL message. But When I see the cast report It throws a warning message that
"INPUT COMPONENT WAS FOUND IN A STAGE PRIOR TO THIS ELEMENT'S ENV/STG LOCATION
INPUT COMPONENT CPB1"
Why is this happening ? While moving a code from one stage to another will it recompile and searches for the copybooks in that stage and in the later higher stage till production if not found or will just move the load module from one stage to another stage.
Can anyone reply back with the right solution ASAP.
This is quite common message Endevor through because of this parallel development.
SInce the same copy book is already present in bottom stage also which Endevor warning you saying that you might required that updated version instead of current version which is there in your package.
It depends up on your Endevor Admin team setup to allow you even that message or through an error
As long as you don't need the updated copy book the message is fine for your to further proceed