If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Error using "put routine"

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-20-04, 18:10
tmullins tmullins is offline
Registered User
 
Join Date: Aug 2003
Posts: 68
Error using "put routine"

I'm trying to load the .sar file into the db using "put routine" command, but I get the following error:


SQL0443N Routine "SYSFUN.PUT_ROUTINE_SAR" (specific name "PUT_SAR1PARM") has returned an error SQLSTATE with diagnostic text "-970, 55009, routine.sar".
SQLSTATE=38000


This "put routine" works on every db server (dev, QA, release), but only fails on the production server. HELP??????????



-Terrence
Reply With Quote
  #2 (permalink)  
Old 09-21-04, 08:59
n_i n_i is online now
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
SQL0970N The system attempted to write to a read-only file.

Explanation:

A file used by the database is marked read-only or does not
exist. The database requires write access to this file.

The statement cannot be processed.

User Response:

Terminate the application on receipt of this message (SQLCODE).
Ensure that all database files are allowed both read and write
access. Check for unnecessary blank spaces within the specified
filename.

sqlcode : -970

sqlstate : 55009
here I'm lenghtening my message to 10 characters otherwise it won't allow me to post
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On