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
 

 

Collection ID in the package

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Collection ID in the package
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

Site Director


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

PostPosted: Fri Nov 19, 2010 10:52 am    Post subject:
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: 1278
Location: Belgium

PostPosted: Fri Nov 19, 2010 1:15 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts What's plan, package, bind ? jackzhang75 DB2 2 Sun Feb 28, 2016 7:29 pm
No new posts Cobol DB2 package accessing differen... Mainak_Dalal DB2 1 Tue Jan 26, 2016 12:57 am
No new posts Can not find SQL statement of package... chaoj DB2 2 Wed Mar 11, 2015 12:00 pm
No new posts Plan, Package and collections. shankarm DB2 1 Fri Jan 23, 2015 1:50 pm


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