As Prino, Monitor and others have said, you
cannot do symbol substitution in data.
If you think outside the box, you can do what you want to do other ways. This will always work.
//A EXEC PGM=IKJEFT01,
// PARM='DEL ''&SYSUID..GOTCOPY.IMS0.TOIMSO'' NONVSAM PURGE SCRATCH'
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
The TSO DELETE command is sort of an alias for the IDCAMS DELETE command and takes the same parameters, and it is not widely appreciated that the JCL PARM for the TSO Terminal Monitor Program is treated as a TSO command.
Now, of course, as you have probably noted, there is a space problem here: it may not be possible to fit the JCL PARM into a single JCL line, but you can remove the default SCRATCH parameter and you probably do not need the NONVSAM parameter, and you can use JCL symbols, like this -
//TSODEL PROC D='?'
//A EXEC PGM=IKJEFT01,
// PARM='DEL ''&SYSUID..&D'' PURGE'
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
// PEND
//EXEC EXEC TSODEL,D='GOTCOPY.IMS0.TOIMSO'
Of course, there is the simpler solution -
//A EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DEL GOTCOPY.IMS0.TOIMSO NONVSAM PURGE
TSO will insert your userid for you!