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
 
Invalid Keyword PLAN Error while runnig a Db2 RUn JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Invalid Keyword PLAN Error while runnig a Db2 RUn JCL
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    Post subject: Re: Invalid Keyword PLAN Error while runnig a Db2 RUn JCL
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    Post subject: Re: Invalid Keyword PLAN Error while runnig a Db2 RUn JCL
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    Post subject: Re: Invalid Keyword PLAN Error while runnig a Db2 RUn JCL
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    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 How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 4 Sat Apr 14, 2018 1:58 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am

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