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

Invalid Keyword PLAN Error while runnig a Db2 RUn JCL


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

New User


Joined: 07 Mar 2005
Posts: 17
Location: India

PostPosted: Fri Jan 12, 2007 4:37 pm
Reply with quote

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
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Fri Jan 12, 2007 5:17 pm
Reply with quote

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
View user's profile Send private message
ganna_f16

New User


Joined: 07 Mar 2005
Posts: 17
Location: India

PostPosted: Fri Jan 12, 2007 5:26 pm
Reply with quote

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
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Fri Jan 12, 2007 5:45 pm
Reply with quote

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
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top