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
 
Error: SYSIBM.SYSDATABASE is an undeclared table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
krishnadevanur

New User


Joined: 02 Aug 2006
Posts: 8

PostPosted: Mon Feb 26, 2007 1:48 am    Post subject: Error: SYSIBM.SYSDATABASE is an undeclared table
Reply with quote

Hi,

I have compiled a cobol program in test region and I binded the program in test region and it was successful.
But when I tried to compile in production region I am getting MAXCC = 12 saying that SYSIBM.SYSDATABASE ( I have used a query: SELECT CURRENT DATE - 7 DAYS FROM SYSIBM.SYSDATABASE WHERE NAME = 'DB014289') is an undeclared table.
How to resolve this issue ?

Thanks,

Krishna
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Feb 26, 2007 2:08 am    Post subject:
Reply with quote

Hello,

This sounds like a DB2 question, rather than a Natural/MQSeries question.

Maybe a moderator will move it if it is DB2 related.

Please find some other JCL that works to compile/bind in your production environment. It may be that your list of libraries is does not include everything needed for production.

If it works in test and fails in production, the fix will be site-specific. Have you ever used this table in production? Youmight try the query vis SPUFI or QMF to be sure your query will work in productions.

What step gets the RC=12? If you post your jcl and all of the error information, that will help.
Back to top
View user's profile Send private message
palas_08
Currently Banned

New User


Joined: 26 Feb 2007
Posts: 9
Location: kolkatta

PostPosted: Mon Mar 05, 2007 3:47 pm    Post subject:
Reply with quote

hi,

i think it will be sysibm.sysdummy1
Back to top
View user's profile Send private message
vini_srcna

Active User


Joined: 26 May 2005
Posts: 178
Location: Copenhagen, Denmark

PostPosted: Tue Mar 06, 2007 3:23 pm    Post subject:
Reply with quote

Can you be more specific. What exactly you are trying to do and what you need. If you just need CURRENT DATE - 7 DAYS then use the register SYSIBM.SYSDUMMY1.

You may not have access to the catalog tables in production.
If am right you might have got this error while during BIND. What is the SQLCODE..? Is that -204 ..? or -550 series.
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

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