Mario, Did you ever try yours but returning the value in functRC (an output from the __asm) rather than 0, just to bound the problem?
How much does the compiler attempt to figure out what the __asm is trying to do (besides just manipulating the instructions based on the "symbols"? And what is the "default" with respect to getting the compiler to honor what was coded (and how do you override that default if that default is not right for the case in hand)? Peter Relson z/OS Core Technology Design
