View previous topic :: View next topic
|
Author |
Message |
grayWolf
New User
Joined: 04 Oct 2010 Posts: 19 Location: Land of broken dreams
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
GuyC
Senior Member
Joined: 11 Aug 2009 Posts: 1281 Location: Belgium
|
|
|
|
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 |
|
|
|