473,395 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

getting error while calling ADMIN.BACKUPSCHEMA

Hi,

I am getting the error while trying to take a backup of the schema
according to the backupschema.sql written at
http://www-128.ibm.com/developerwork...rticle/dm-0602...

db2 =CALL ADMIN.BACKUPSCHEMA('PKMSQA','/u01/Backup_schema')
SQL0438N Application raised error with diagnostic text: "EXPORT
raised
error". SQLSTATE=78000
db2 =>

Here PKMSQA is the schema name and '/u01/Backup_schema' is the
directory on AIX.

I am on DB2 9.1 with Aix 5.3.

Can anybody explain why this error is coming?

Please help as this is urgent.

Rahul

P.S. My previous message heading incorrectly stated that i was caaling
ADMIN.COPYSCHEMA, but i was calling ADMIN.BACKUPSCHEMA.
Apologies for the same.

Sep 19 '07 #1
5 3850
Rahul Babbar wrote:
Hi,

I am getting the error while trying to take a backup of the schema
according to the backupschema.sql written at
http://www-128.ibm.com/developerwork...rticle/dm-0602...

db2 =CALL ADMIN.BACKUPSCHEMA('PKMSQA','/u01/Backup_schema')
SQL0438N Application raised error with diagnostic text: "EXPORT
raised
error". SQLSTATE=78000
db2 =>

Here PKMSQA is the schema name and '/u01/Backup_schema' is the
directory on AIX.

I am on DB2 9.1 with Aix 5.3.

Can anybody explain why this error is coming?

Please help as this is urgent.

Rahul

P.S. My previous message heading incorrectly stated that i was caaling
ADMIN.COPYSCHEMA, but i was calling ADMIN.BACKUPSCHEMA.
Apologies for the same.
These are from my developerWorks article?
In 99% of the cases the reason is in permissions.
IMPORT is using the fenced ID (which often is the same as the instance
id). That id needs to have access to the directory.
I do have an improved version of the DDLs. If you ping me I can send it
to you.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Sep 19 '07 #2
On Sep 19, 6:50 pm, Serge Rielau <srie...@ca.ibm.comwrote:
Rahul Babbar wrote:
Hi,
I am getting the error while trying to take a backup of the schema
according to the backupschema.sql written at
http://www-128.ibm.com/developerwork...rticle/dm-0602...
db2 =CALL ADMIN.BACKUPSCHEMA('PKMSQA','/u01/Backup_schema')
SQL0438N Application raised error with diagnostic text: "EXPORT
raised
error". SQLSTATE=78000
db2 =>
Here PKMSQA is the schema name and '/u01/Backup_schema' is the
directory on AIX.
I am on DB2 9.1 with Aix 5.3.
Can anybody explain why this error is coming?
Please help as this is urgent.
Rahul
P.S. My previous message heading incorrectly stated that i was caaling
ADMIN.COPYSCHEMA, but i was calling ADMIN.BACKUPSCHEMA.
Apologies for the same.

These are from my developerWorks article?
In 99% of the cases the reason is in permissions.
IMPORT is using the fenced ID (which often is the same as the instance
id). That id needs to have access to the directory.
I do have an improved version of the DDLs. If you ping me I can send it
to you.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Serge,

Can you please send the improved version to me. as soon as possible?

Thanks
Rahul

Sep 20 '07 #3
Rahul Babbar wrote:
On Sep 19, 6:50 pm, Serge Rielau <srie...@ca.ibm.comwrote:
>Rahul Babbar wrote:
>>Hi,
I am getting the error while trying to take a backup of the schema
according to the backupschema.sql written at
http://www-128.ibm.com/developerwork...rticle/dm-0602...
db2 =CALL ADMIN.BACKUPSCHEMA('PKMSQA','/u01/Backup_schema')
SQL0438N Application raised error with diagnostic text: "EXPORT
raised
error". SQLSTATE=78000
db2 =>
Here PKMSQA is the schema name and '/u01/Backup_schema' is the
directory on AIX.
I am on DB2 9.1 with Aix 5.3.
Can anybody explain why this error is coming?
Please help as this is urgent.
Rahul
P.S. My previous message heading incorrectly stated that i was caaling
ADMIN.COPYSCHEMA, but i was calling ADMIN.BACKUPSCHEMA.
Apologies for the same.
These are from my developerWorks article?
In 99% of the cases the reason is in permissions.
IMPORT is using the fenced ID (which often is the same as the instance
id). That id needs to have access to the directory.
I do have an improved version of the DDLs. If you ping me I can send it
to you.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

Serge,

Can you please send the improved version to me. as soon as possible?
done

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Sep 20 '07 #4
On Sep 20, 5:08 pm, Serge Rielau <srie...@ca.ibm.comwrote:
Rahul Babbar wrote:
On Sep 19, 6:50 pm, Serge Rielau <srie...@ca.ibm.comwrote:
Rahul Babbar wrote:
Hi,
I am getting the error while trying to take a backup of the schema
according to the backupschema.sql written at
http://www-128.ibm.com/developerwork...rticle/dm-0602...
db2 =CALL ADMIN.BACKUPSCHEMA('PKMSQA','/u01/Backup_schema')
SQL0438N Application raised error with diagnostic text: "EXPORT
raised
error". SQLSTATE=78000
db2 =>
Here PKMSQA is the schema name and '/u01/Backup_schema' is the
directory on AIX.
I am on DB2 9.1 with Aix 5.3.
Can anybody explain why this error is coming?
Please help as this is urgent.
Rahul
P.S. My previous message heading incorrectly stated that i was caaling
ADMIN.COPYSCHEMA, but i was calling ADMIN.BACKUPSCHEMA.
Apologies for the same.
These are from my developerWorks article?
In 99% of the cases the reason is in permissions.
IMPORT is using the fenced ID (which often is the same as the instance
id). That id needs to have access to the directory.
I do have an improved version of the DDLs. If you ping me I can send it
to you.
Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Serge,
Can you please send the improved version to me. as soon as possible?

done

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Serge,

I am again getting the same error

db2 = call ADMIN.BACKUPSCHEMA('PKMSQA2', '/u01/Backup_schema')
SQL0438N Application raised error with diagnostic text: "EXPORT
raised
error". SQLSTATE=78000
db2 =>
I have checked that everybody has been given read/write/execute
permissions for the directory (/u01/Backup_schema).
What else could be the error?
Rahul

Sep 21 '07 #5
Rahul Babbar wrote:
On Sep 20, 5:08 pm, Serge Rielau <srie...@ca.ibm.comwrote:
>Rahul Babbar wrote:
>>On Sep 19, 6:50 pm, Serge Rielau <srie...@ca.ibm.comwrote:
Rahul Babbar wrote:
Hi,
I am getting the error while trying to take a backup of the schema
according to the backupschema.sql written at
http://www-128.ibm.com/developerwork...rticle/dm-0602...
db2 =CALL ADMIN.BACKUPSCHEMA('PKMSQA','/u01/Backup_schema')
SQL0438N Application raised error with diagnostic text: "EXPORT
raised
error". SQLSTATE=78000
db2 =>
Here PKMSQA is the schema name and '/u01/Backup_schema' is the
directory on AIX.
I am on DB2 9.1 with Aix 5.3.
Can anybody explain why this error is coming?
Please help as this is urgent.
Rahul
P.S. My previous message heading incorrectly stated that i was caaling
ADMIN.COPYSCHEMA, but i was calling ADMIN.BACKUPSCHEMA.
Apologies for the same.
These are from my developerWorks article?
In 99% of the cases the reason is in permissions.
IMPORT is using the fenced ID (which often is the same as the instance
id). That id needs to have access to the directory.
I do have an improved version of the DDLs. If you ping me I can send it
to you.
Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Serge,
Can you please send the improved version to me. as soon as possible?
done

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

Serge,

I am again getting the same error

db2 = call ADMIN.BACKUPSCHEMA('PKMSQA2', '/u01/Backup_schema')
SQL0438N Application raised error with diagnostic text: "EXPORT
raised
error". SQLSTATE=78000
db2 =>
I have checked that everybody has been given read/write/execute
permissions for the directory (/u01/Backup_schema).
What else could be the error?
As I said: permissions are nearly always the reason.
Start the debugger (e.g. Developer Workbench) and walk through it.
You should be able to see the original error and go from there.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Sep 21 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Xeon | last post by:
Hi, Is there anyway to set a custom error handler which is actually a method of a class? i.e. setting the method eh() of class foo as error handler in the snippet below. class foo { function...
4
by: Larry Tate | last post by:
I am wanting to get those cool html error pages that ms produces when I hit an error in asp.net. For instance, when I get a compilation error I get an html error page that shows me the ...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
6
by: Binoy | last post by:
Hello, I am getting this error once in a while from my web sites. When I will refresh web browser, it goes off and sites are working fine. Directory structures and file names are as below- ...
1
by: ranju | last post by:
I am trying to spawn a process (say an exe file) with different user crendentials than that of the current user. 1) Called LogonUserEx() to logon the user and recieve a handle to the token that...
33
by: JamesB | last post by:
I am writing a service that monitors when a particular app is started. Works, but I need to get the user who is currently logged in, and of course Environment.UserName returns the service logon...
1
by: sjambok | last post by:
I've done it before... on a different site. Set up all the test enviorns I could... no change, no clue. No .htaccess to block any transactions.. at least what I could see up to the root level. ...
0
by: Rahul Babbar | last post by:
Hi, I am getting the error while trying to take a backup of the schema according to the backupschema.sql written at...
4
by: nickyeng | last post by:
i calling this piece of java code in jsp : List<Customer> list = Customer.listby_page(currentRs); ... ... then it gives me the following error:
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.