How to get plan analyzer report in a dataset.?

Document ID : KB000117970
Last Modified Date : 25/10/2018
Show Technical Document Details
Issue:
How to get plan analyzer report in a dataset?
 
Resolution:
Change  the following:
.LIST SYSOUT(A,,) 00630002 
To
.LIST DDNAME(ddname) 
The DDNAME should point to the PDS that the output is going to written to.