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
 

 

run DSN command failed!

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

New User


Joined: 06 Jul 2007
Posts: 59
Location: home

PostPosted: Tue Dec 11, 2007 11:41 am    Post subject: run DSN command failed!
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    Post subject:
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    Post subject:
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: 59
Location: home

PostPosted: Wed Dec 12, 2007 2:30 pm    Post subject:
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    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 TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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