Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Casting unsuccessful in Endevor

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Casting unsuccessful in Endevor
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    Post subject:
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: 195
Location: India

PostPosted: Mon May 26, 2008 5:47 pm    Post subject: Reply to: Casting unsuccessful in Endevor
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    Post subject:
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: 195
Location: India

PostPosted: Tue May 27, 2008 11:19 am    Post subject: Reply to: Casting unsuccessful in Endevor
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.

http://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    Post subject:
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: 195
Location: India

PostPosted: Tue May 27, 2008 11:32 am    Post subject: Reply to: Casting unsuccessful in Endevor
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    Post subject: Reply to: Casting unsuccessful in Endevor
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: 195
Location: India

PostPosted: Tue May 27, 2008 12:29 pm    Post subject: Reply to: Casting unsuccessful in Endevor
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    Post subject:
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: 195
Location: India

PostPosted: Tue May 27, 2008 12:39 pm    Post subject: Reply to: Casting unsuccessful in Endevor
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: 195
Location: India

PostPosted: Wed May 28, 2008 10:49 am    Post subject: Reply to: Casting unsuccessful in Endevor
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Casting a Binary Number to Numeric in... Bob Steinkraus Java & MQSeries 6 Tue Aug 09, 2016 5:58 pm
No new posts Endevor error C1UU999E during cast Musab Ahmed CA Products 3 Wed Jun 29, 2016 12:41 pm
No new posts SE37 while adding element to endevor kalyan.v CA Products 5 Mon Apr 25, 2016 6:05 pm
No new posts Endevor Error mahi CA Products 3 Sun Mar 20, 2016 4:08 pm
No new posts New PROC not reflecting in prod even ... Musab Ahmed CA Products 9 Tue Mar 15, 2016 12:45 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us