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
On Mar 23, 2020, at 8:44 AM, Peter Relson <rel...@us.ibm.com> wrote: > > Shmuel is of course correct. &DISP(R1) is an incorrect reference to the > "R1" element of &DISP which is not valid syntax, contrast with &DISP(1) > for example. > With the trailing period, &DISP.(R1) says to substitute &DISP and then > append (R1). > > But why write this macro at all? > In what was does the z/OS-provided CALL macro not do exactly what you're > trying to do? > > Peter Relson > z/OS Core Technology Design