IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Casting unsuccessful in Endevor


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ManojLenkaMainframes

New User


Joined: 22 May 2008
Posts: 14
Location: Chennai,India

PostPosted: Mon May 26, 2008 5:18 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon May 26, 2008 5:22 pm
Reply with quote

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
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Mon May 26, 2008 5:47 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon May 26, 2008 9:15 pm
Reply with quote

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
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Tue May 27, 2008 11:19 am
Reply with quote

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
View user's profile Send private message
ManojLenkaMainframes

New User


Joined: 22 May 2008
Posts: 14
Location: Chennai,India

PostPosted: Tue May 27, 2008 11:24 am
Reply with quote

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
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Tue May 27, 2008 11:32 am
Reply with quote

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
View user's profile Send private message
ManojLenkaMainframes

New User


Joined: 22 May 2008
Posts: 14
Location: Chennai,India

PostPosted: Tue May 27, 2008 12:21 pm
Reply with quote

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
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Tue May 27, 2008 12:29 pm
Reply with quote

Thanks Manoj for your confirmation.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue May 27, 2008 12:32 pm
Reply with quote

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
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Tue May 27, 2008 12:39 pm
Reply with quote

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
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Wed May 28, 2008 10:49 am
Reply with quote

Thanks for your time Dick.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts Updating endevor JCLs CA Products 5
No new posts IGZ0035S THERE WAS AN UNSUCCESSFUL OP... COBOL Programming 3
No new posts MFSUTIL execution unsuccessful - DFS1... IMS DB/DC 2
No new posts Finding the plan when code compiled u... DB2 2
Search our Forums:

Back to Top