I'm trying to collect statistics for a table in a DB2 for z/OS 11
//IBMUSERA JOB(ACCOUNT),'NAME'
//*
//*
//*
//UTIL EXEC DSNUPROC,SYSTEM=DBBG,UID='TEMP',UTPROC=''
//*
//**********************************************
//*
//* GENERATING JCL FOR THE RUNSTATS UTILITY
//* DATE: 01/20/2021 TIME: 20:32:41
//*
//**********************************************
//*
//DSNUPROC.SYSIN DD *
RUNSTATS TABLESPACE(DSN00220.TESTTABLE) TABLE(TESTTABLE) COLUMN(ALL)
//
//*
//*
//*
//UTIL EXEC DSNUPROC,SYSTEM=DBBG,UID='TEMP',UTPROC=''
//*
//**********************************************
//*
//* GENERATING JCL FOR THE RUNSTATS UTILITY
//* DATE: 01/20/2021 TIME: 20:32:41
//*
//**********************************************
//*
//DSNUPROC.SYSIN DD *
RUNSTATS TABLESPACE(DSN00220.TESTTABLE) TABLE(TESTTABLE) COLUMN(ALL)
//
This JCL was created with the DB2 utility util but I'm obtaining the following error:
// IEFC612I PROCEDURE DSNUPROC WAS NOT FOUND
I'm an absolute newbie in this, I know the existence of mainframes since 2 days ago and reading and watching guides to get to this point, but I'm stuck now.
Some help would be appreciated.