July 30, 2010, Friday, 210


ADMIN CMD procedure

From SQL PL Guide for DB2

Jump to: navigation, search

ADMIN_CMD Procedure

The ADMIN_CMD procedure can be used to run administative commands as a procedure. All important commands like runstats, reorg, export, import, load, online backup, etc. are supported.

Syntax:

 call SYSPROC.ADMIN_CMD (<command string>); 

An example can be found here: Example Runstats



Link to the DB2 Information Center: DB2 9 DB2 9.5