not out of the box.
depending on the way the <exec> was invoked
for common invocation method ( just type the name) the parse source will give You the ddname
after that it' s up to You to scan the concatenation sequence to find out from which dataset the
rexx was fetched
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort