Calling export command from a stored procedure

Hi All,

I am using DB8.2 version on Windows2000 with SP4.
I want to know that from DB2 stored procedure , how do you execute a "export" command?
say for e.g. to execute a load command from stored procedure we use,sysproc.db2load(....) is there any similar procedure to call "export" command as well.

Thanks.

Rgds,
Arpit
arpit080399Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arpit080399Author Commented:
Actually ghp,
In the link mentioned below it says we can using admin_cmd stored procedure

http://publib.boulder.ibm.com/infocenter/db2help/index.jsp?topic=/com.ibm.db2.udb.doc/admin/r0012547.htm
but i don't know how?
Any clues?

Thanks
ghp7000Commented:
yes, you are correct, learn something new everyday. But you will need db2 8.1 with fixpack 9 in order to get this feature.
Just follow the instructions at the link you posted and you'll be fine.
Computer101Commented:
PAQed with points refunded (250)

Computer101
EE Admin

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB2

From novice to tech pro — start learning today.