<snip>
In case of a bad return code I WTO r15 and r0 in ebcdic and then use the 
wto message as a header as the first parameter when I build a parameter 
list to call a program to snap relevant variables the variables in the 
macro I use to build LIST= parm on the SNAP
</snip>

So do that but, within your macro, invoke the CALL macro to do its thing 
so that you don't have to write that part yourself.

Peter Relson
z/OS Core Technology Design

Reply via email to