The report name can be retrieved from the External Writer name. The format is
DO NAME = %%EXTWTR[(startpos,length)]
where
Example
ON CLASS ABC EXTWTR $* . . .
DO NAME = %%EXTWTR(5,3)
Note: $* in ON CLASS parameter EXTWTR is a mask resulting in decollation of all outputs with a writer name starting with $.
Parent Topic |