View previous topic :: View next topic
|
Author |
Message |
ManojLenkaMainframes
New User
Joined: 22 May 2008 Posts: 14 Location: Chennai,India
|
|
|
|
Hi All,
I retrived one element (COBOL program ) from PRODUCTION Region to the test region. Modified some line of codes and in TEST region, Tested the Program.
Then I tried to move the element to PRODUCTION region by making a package. I made a package( Name of the packge is PACK123) and then moved the element (Name of the element is ELE111) into the package. Then I CAST the Package, I am getting the message as CASTING UNSUCCESSFUL.
As I see the program , I see one of the copybooks which is used by the Program is signed out to another user in TEST region. Is it the reasoon why I get the CAST ERROR, if yes then I see there are as many 30 Copybooks in the Program out of which 5 are signed out to other users.
Suggest me How to get rid of the CASTING ERROR?
Thanks for your time and HELP!!! |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
when you view the cast report, have you tried entering the command: CZ. though this may be site specific, I think it is part of the tools provided by endevor. |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
Manoj,
Signout is not a problem for Endevor to cast the package.
Check out the cast error in the diplay dereport. My guess it would be the copy books using in your program might be at bottom level of other version. So Endevor might recommendng you to take that new copy book version.
so check out those copy which are having different levels at lower level, if you don't require them, make the casting successfull by placing Valid components = N", in the cast panel.
give a try pls |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Srini,
the cast is just a move. binds will be done, but recompile - not.
since the module is already compiled with the 'unmoveable' copybook, then the module must be regenerated so as to lose the copybook. then cast the migration with the module compiled with the copybook that will travel with it. |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
Dick,
I guess Cast don't do move, after casting then approval (if required) then if you do execution then the move will happen, at that time the processor setup at the destination Endevor environment does as per the processor setup.
From the Endevor documentation link.
Casting the Package
Casting a package prepares the package for review and subsequent execution.
When you cast a package, Endevor:
■ Determines whether approvers have been assigned to the inventory area(s)
included in the package.
■ Makes sure that the person casting the package has authority to perform
the package actions against the package inventory areas.
Checks the integrity of the package components.
■ Makes sure that the package contains the most recent versions of all
components.
■ Validates lock status, then locks the elements in a package to prevent their
modification or inclusion in another package.
middleware.its.state.nc.us/middleware/CICS/Documentation/Endevor70/F001771E.pdf
Manoj,
This may be an issue untill you fins the error in while casting package, so we can figure it out what would be the reason. |
|
Back to top |
|
|
ManojLenkaMainframes
New User
Joined: 22 May 2008 Posts: 14 Location: Chennai,India
|
|
|
|
Hi Srini & Dick,
Thanks for your answers.
I did the following things to get the Correct Casting.
1. Asked the other users to release the copybook signed out to them and comopiled the module with all the copybooks( Now all are free,not signed out to anybody) .
2 made a pakage
3. Then casted , CASTING SUCCESSFUl.
Really could not guess what was the problem.
More ideas are welcome in this regards.
Thanks
Manoj |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
Oops, I was over looked Manoj.
For a package execution the elements contains in the package shouls not be signedout by any other userid.
I guess that's the problem.
You might have received a cast error saying "Package elements are locked by other user/package"
Let me know if you seen what was the error? |
|
Back to top |
|
|
ManojLenkaMainframes
New User
Joined: 22 May 2008 Posts: 14 Location: Chennai,India
|
|
|
|
Hi Srini,
Thanks a lot.
Yes . you are correct. I could not recolloect exact message but it was like as below.
" one or more members of the package is signed out to other users".
Reagrds
Manoj |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
Thanks Manoj for your confirmation. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Srini,
you are correct, I should have said that a package execution results in moves and binds, not the cast.
I typed too quickly, after reading your suggestion that a rookie, that can not even analyse a cast report, should negate component validation. What the op has finally done is what should have happened.
either promoate the copybooks with the module or enter the module at the next stage so as to avoid the inclusion of the new copybooks. |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
Moderators,
Can any one take a moment and move this topic to "CA Products" from IBM Tools ? So in future no one miss this topic if some one searches for same issue.. |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
Thanks for your time Dick. |
|
Back to top |
|
|
|