View previous topic :: View next topic
|
Author |
Message |
ruodeer
New User
Joined: 06 Jul 2007 Posts: 58 Location: home
|
|
|
|
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 |
|
|
Srihari Gonugunta
Active User
Joined: 14 Sep 2007 Posts: 295 Location: Singapore
|
|
|
|
Can you please give the complete JCL you used. |
|
Back to top |
|
|
senthilssg
New User
Joined: 09 Dec 2005 Posts: 64 Location: USA
|
|
|
|
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 |
|
|
ruodeer
New User
Joined: 06 Jul 2007 Posts: 58 Location: home
|
|
|
|
Hi senthilssg,
exactly you are right, I just missed the STEPLIB specifying the DB2 library, thanks so much! |
|
Back to top |
|
|
|