DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old June 16th, 2004, 08:18 AM
Tmoran Tmoran is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 Tmoran User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
SQL0902C Resolution Assistance

A client of ours is attempting to compile an IO module SQL in it and is receiving the following error message (see below). He is compiling on an NT system using IBM DB2v7 and a Microfocus COBOL compiler. I am able to compile the same module on our local systems and have not been able to find any resolution. Any help would be greatly appreciated!!


* Micro Focus Net Express V4.0 revision 255 07-Jun-04 01:09 Page 1
* ANAPIOR.CBL
* Options: NOLIST NOASMLIST OMF(OBJ) GNT(.\) OBJ(.\)
* DIRECTIVES"c:\DPRDEV\RDB\COBOL.DIR"
2014 END-EXEC.
* 801-S**************
** External Compiler Module
* DB0100 SQL0902C A system error (reason code = "1") occurred.
** Subsequent SQL statements cannot be processed. SQLSTATE=58005

2037 END-EXEC.
* 801-S************** ( 1)**
** External Compiler Module message
** DB0100 SQL4901N Precompiler Services requires reinitialization
** because of a previous error.

2246 END-EXEC.
* 801-S************** ( 1)**

Reply With Quote
  #2  
Old June 17th, 2004, 07:55 AM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,827 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Day 22 h 57 m 29 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
It would appear that the precompiler is not able to connect to the database in order to validate the sql statements.

Make sure that your client can connect to the database on that machine using the dns that the precompiler uses using the same username and password.

Reply With Quote
  #3  
Old June 17th, 2004, 08:07 AM
Tmoran Tmoran is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 Tmoran User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
SQL0902C Resolution Assistance

Onslaught, Thanks for the info. A question for you. I was under the assumption that the precompiler failed due to some prior error:

** External Compiler Module
* DB0100 SQL0902C A system error (reason code = "1") occurred.
** Subsequent SQL statements cannot be processed. SQLSTATE=58005

However, since I do not have experience with this, am I incorrect? I am currently taking your advice and am looking into the compile job...

Reply With Quote
  #4  
Old June 17th, 2004, 08:42 AM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,827 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Day 22 h 57 m 29 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
The problem is that the documentation doesn't list what these reason codes are for this particular sql code. https://aurora.vcu.edu/db2help/db2m0/frame3.htm#sql0900
The only reference to reason code 1 stated connection problems and I have run into similar things in the past but I can't recal the exact error that was return.
You might also want to make sure that you and your client are running on the same fixpak and on the same compiler. I would go as far as to bring up a blank nt machine put thier compiler on it and go through the compilation on it and work through any bugs you might encounter there. Once you can get it to compile in that environment, then you should be able to talk them through compiling thier copy.
You may also want to make sure that they have service pack 6 on thier nt machine just to be safe.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > SQL0902C Resolution Assistance


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway