要启用 C 存储过程 SYSPROC.OPT_RUNSQL,请执行以下操作:
ftp> quote site blk=6144 lrecl=1024 recfm=fb tracks unit=sysallda primary=90 200 SITE command was accepted ftp> binary 200 Representation type is Image
//*************************************************************** //* Notes = //* PRIOR TO RUNNING THIS JOB, //* locate and change the string "!!" to the following suffix //* for the different versions of DB2 for z/OS: //* For V8 and V10CM8, change to "J". //* For V9 and V10CM9, change to "K". //* For V10NFM, change to "M". //*************************************************************** //UNTERSE JOB CLASS=A,MSGLEVEL=(1,1), // NOTIFY=&SYSUID //UNTERSE EXEC PGM=TRSMAIN,PARM='UNPACK' //STEPLIB DD DISP=SHR,DSN=IBMUSER.TERSE.LOADLIB //SYSPRINT DD SYSOUT=*,DCB=(LRECL=1024,BLKSIZE=6144,RECFM=FB) //INFILE DD DISP=SHR,DSN=USER.TERSED.AOCRNSQ!! //OUTFILE DD DSN=USER.UNTERSED, // DISP=(SHR,CATLG,DELETE), // UNIT=3390,VOL=SER=DK8320,SPACE=(CYL,(5,5),RLSE) /*