Hi Luca,
I've been able to reproduce the issue on my development system. This seems to be some incompatibility in z390.
I have not been able to locate the root cause of the problem, but I did find (a kind of) a workaround:
- I changed the copy members to parameter-less macros (in the macro directory, of course)
- I modified the assembly invocation to bat\asm D:\temp\ave SYSMAC(D:\temp\mac\*.mac) SYSCPY(D:\temp\cpy\*.cpy) tracem
That is: I modified the paths to match those on my system, removed all remaining parameters, and added TRACEM
The information you're looking for is in the generated .trm file.
By the way: you wrote you were looking for the assembler source after macro expansion. Just to be pedant:
1) macro expansion and copy execution are different processes
2) for z390 (just like HLASM) there is no such thing as 'after macro expansion'. Macro expansion and assembly occur in a combined phase, which may include look-ahead processing. This is what gives the conditional assembly logic its extreme expressive power. It enables your conditional assembly logic to inspect attributes of items defined on assembler instructions. If we had a strict division of macro processing from assembler processing, this would not be possible.