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
 

 

Error for NULLID collection

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Fri Oct 19, 2012 11:49 am    Post subject: Error for NULLID collection
Reply with quote

Hi,

We have got a new subsystem created. Its a very raw system with not much pre-configured settings are done.

I tried connecting this subsystem from IBM data studio, the connection succeeded but when I ran any query it failed with the below error

DSNT.NULLID.SYSSTAT.5359534C564C3031;DISTSERV;04

I think the default packages for remote connections are not created/bound.

Can any one please let me know how to create these packages in NULLID collection? is there any SDSNSAMP member which contains these bind statements?
Back to top
View user's profile Send private message

GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1280
Location: Belgium

PostPosted: Fri Oct 19, 2012 1:07 pm    Post subject:
Reply with quote

These packages get created from the client (during db2 connect installation or something).
Try connecting to the z/OS subsystem using a userid with (minimal) PACKADM authority.

PS.: if you have questions about installation it is always a good idea to mention the version of the product(s). In this case DB2 z/OS and datastudio.
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Fri Oct 19, 2012 1:16 pm    Post subject:
Reply with quote

Hi,

I did not understand... You mean I should 1st grant PACKADM in COLLECTION NULLID TO MYUSERID?

Can you please elaborate a little more?

Version Numbers
DB2 Zos - V9.1 NFM
Data Studio for windows - Version 3.1.1.0, administration client
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1280
Location: Belgium

PostPosted: Fri Oct 19, 2012 1:23 pm    Post subject:
Reply with quote

The first time you connect to db2 z/OS with datastudio (or at least db2Connect) it will try to do some binds on z/OS. So the user that does this will need at least packadm on that collection.
SYSADM is also good ;).
Once the package is there you can revoke that authority and just leave execauth.

I'm not 100% sure this is how you solve it, but it is definitely a good start.
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Fri Oct 19, 2012 1:33 pm    Post subject:
Reply with quote

I have SYSADM authority... But still when i try connecting from data studio
i get the below error

DSNT.NULLID.SYSSTAT.5359534C564C3031;DISTSERV;04
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1280
Location: Belgium

PostPosted: Fri Oct 19, 2012 2:10 pm    Post subject:
Reply with quote

Code:
select location, collid, name, hex(CONTOKEN), "VERSION", pdsname from sysibm.syspackage p where name like 'SYSSTAT%'
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 Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am


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