mkk157
Active User
Joined: 17 May 2006 Posts: 310
|
|
|
|
Dear Expert,
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. |
|