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

Collection ID in the package


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
grayWolf

New User


Joined: 04 Oct 2010
Posts: 19
Location: Land of broken dreams

PostPosted: Fri Nov 19, 2010 10:16 am
Reply with quote

Hi,

While running a Cics program, I had mistakenly given the collection Id in the package that was supposed to be used for a Stored Procedure. But the program went fine without giving -805 or -806. Can anyone explain this because I was asked for a reason?

Thanks.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Nov 19, 2010 10:52 am
Reply with quote

Hello and welcome to the forum,

The most likely reason is that while you did something unintended, it was still "valid". . . If the compile/bind were successful, where is the error?

The system won't know what you intend, it just works with what is given.
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Fri Nov 19, 2010 1:15 pm
Reply with quote

programs run with a plan, not a collection.
A plan can have multiple collections, : f.e. both program- and SP-collection.
(actually multiple packages , but usually name in packlist = '*')

Code:
Select * from sysibm.syspacklist where planname = ?
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Rebind issue - Package DB2 2
No new posts Why myself doing Package Bind always ... DB2 5
No new posts JCL to delete component in a package Compuware & Other Tools 14
No new posts What's plan, package, bind ? DB2 2
No new posts Cobol DB2 package accessing differen... DB2 1
Search our Forums:

Back to Top