dejunzhu
Active User
Joined: 08 May 2008 Posts: 390 Location: China
|
|
|
|
I have below step, wich is to issue DB2 REPAIR command to execute:
Code: |
//STEP2 EXEC DSNUPROC,SYSTEM=DB21,UID='REPAIR',UTPROC=''
//DSNUPROC.SYSREC DD DUMMY
//DSNUPROC.SYSIN DD *
REPAIR SET TABLESPACE
// DD DSN=QUA.DS.PARM(QUA),DISP=SHR
// DD DSN=&&TS,DISP=(OLD,PASS)
NOCOPYPEND |
but from log, I can see the command was not successfully constructed.
this is the log:
Code: |
********************************* TOP OF DATA ******************
DSNUGUTC - OUTPUT START FOR UTILITY, UTILID = CMD0200J
DSNUGTIS - PROCESSING SYSIN AS EBCDIC
DSNUGUTC - REPAIR
2.14 DSNUCBRS - SET TABLESPACE QUALIFIER. TESTTABLE
DSNUGBAC - UTILITY EXECUTION COMPLETE, HIGHEST RETURN CODE=0
******************************** BOTTOM OF DATA **************** |
that is , parameter NOCOPYPEND was not appended to the command.
I don't understand why this happened.
but from the log, I also found
Code: |
NP DDNAME StepName ProcStep
SYSIN STEP2 DSNUPROC
SYSIN |
the second SYSIN contains 'NOCOPYPEND ' but not belongs to any step.
how can I resolve this? |
|