DB2 now comes with a stored procedure called SYSPROC.DB2LOAD that can
execute a LOAD, but the IMPORT syntax does not work using the SP. This
seems curious to me since a stored procedure is most likely to be used
from an application program and the LOAD command requires sysadm,
dbadm, or load authority on the entire database. Whereas, IMPORT
authority can be granted on an individual table only (with CONTROL).
Therefore, an application program would most likely do an IMPORT since
granting authority for a LOAD is usually unacceptable.
Is there a stored procedure that will execute an IMPORT or any CLI
command?