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

run DSN command failed!


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

New User


Joined: 06 Jul 2007
Posts: 58
Location: home

PostPosted: Tue Dec 11, 2007 11:41 am
Reply with quote

Hi all,when I ran following code :

Code:
//SYSTSIN DD *   
     
 DSN  SYSTEM(DSNA)   
 BIND PLAN(PLAN1) -
 MEMBER(READDB)     
 END     
/*


It ran and bound successfully,but when I run following code:

Code:
//SYSTSIN DD DISP=SHR,DSN=DSN1


and the record in dataset DSN1 is :

Code:
 DSN  SYSTEM(DSNA)   
 BIND PLAN(PLAN1) -
 MEMBER(READDB)     
 END


it failed as per following SDSF output:
Code:
1READY                           
   DSN SYSTEM(DSNA)             
 IKJ56500I COMMAND DSN NOT FOUND

 READY                           
   BIND PLAN(PLAN1)       
            MEMBER(READDB)           
 IKJ56500I COMMAND BIND NOT FOUND
 READY                           
 END   


That means system can not enter DSN subsystem when the SYSTIN is specified in another dataset..

why these happened ? could someone here help me out? thanks!
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Wed Dec 12, 2007 11:52 am
Reply with quote

Can you please give the complete JCL you used.
Back to top
View user's profile Send private message
senthilssg

New User


Joined: 09 Dec 2005
Posts: 64
Location: USA

PostPosted: Wed Dec 12, 2007 11:59 am
Reply with quote

Hi ruodeer ,

From the error , I noticed that you didn't mention "SDSNLOAD" in the steplib /Job lib of your JCL . Please concatnate the library and try it .
It will work .

Thanks and Regrads
Senthil
Back to top
View user's profile Send private message
ruodeer

New User


Joined: 06 Jul 2007
Posts: 58
Location: home

PostPosted: Wed Dec 12, 2007 2:30 pm
Reply with quote

Hi senthilssg,
exactly you are right, I just missed the STEPLIB specifying the DB2 library, thanks so much!
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top