Hi
I am trying to use db2exfmt inside procedure.Procedure got created successfully.But I am getting below error when I execute it.
ADMINCMD statement in Procedure:
CALL SYSPROC.ADMIN_CMD('db2exfmt -d X-e Y-s Y-w -1 -n'||PKGNAME||'-g -# 0 -o '||OBJECT_NAME||'.exp');
execution statement:
call "Y"."ADM_EXP"('Y','Y.SAMP')
SQL0171N The data type, length or value of argument "1" of routine
"SYSPROC.ADMIN_CMD" is incorrect. SQLSTATE=42815
Please help
thanks