View previous topic :: View next topic
|
Author |
Message |
ganna_f16
New User
Joined: 07 Mar 2005 Posts: 17 Location: India
|
|
|
|
Hi,
When I rann the DB2 Run JCL, I am getting bellow error.
READY
DSN SYSTEM(DSN)
READY
run PROGRAM(INQUIRY1) PLAN(CUSTPLAN) LIB('ABCDEF.GHIJKL.LOADLIB')
INVALID KEYWORD, PLAN(CUSTPLAN)
READY
END
READY
END
Can any body help me in this. |
|
Back to top |
|
|
kgumraj
Active User
Joined: 01 May 2006 Posts: 151 Location: Hyderabad
|
|
|
|
Hi,
Let look on your dump
Code: |
READY
DSN SYSTEM(DSN)
READY
[color=red]run PROGRAM(INQUIRY1) PLAN(CUSTPLAN) LIB[/color]('ABCDEF.GHIJKL.LOADLIB')
INVALID KEYWORD, PLAN(CUSTPLAN)
READY
END
READY
END
|
The code maked in red is not a TSO command, it is a DSN command and your DSN is not active at the time when RUN is exceuted.
See the READY doesnt have DSN prompt. |
|
Back to top |
|
|
ganna_f16
New User
Joined: 07 Mar 2005 Posts: 17 Location: India
|
|
|
|
Hi Kiran,
Thanks for your quick response.
I am trying to execute this from last one week. Still I am getting the same message. Will this mean my DB2 system is down?
Regards,
Kiran |
|
Back to top |
|
|
kgumraj
Active User
Joined: 01 May 2006 Posts: 151 Location: Hyderabad
|
|
|
|
Quote: |
I am trying to execute this from last one week. Still I am getting the same message. Will this mean my DB2 system is down?
|
Yes, you are correct. we too had a similar problem. We solved it by giving a JES2 command, I dont know it can help in your installation, but see the jcl of yours
Code: |
/*JBS BIND DB2T.DB2
//JOBLIB DD DSN=M027PDPB.DB2T.DSNLOAD,DISP=SHR
//* COMPILE STEP
//DSNTIAUL EXEC DSNHCOB2,USER=USZ9997,MEM=SCGB39MP,PARM.PC=SOURCE,
// PARM.COB=LIB
|
Quote: |
/*JBS BIND DB2T.DB2
|
This is the JES2 command that activates or gives priority when the system is not regognised too early by the TSO.
And this command need to come just after the Jobcard.
Also we used the JOBLIB try giving that as in your shop |
|
Back to top |
|
|
|