Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us