Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us