On Tue, 3 Jul 2012 07:17:35 -0600, Paul Gilmartin <[email protected]> wrote:
>On Jul 3, 2012, at 05:50, Binyamin Dissen wrote: > >> On Tue, 3 Jul 2012 07:22:39 -0400 Patrick Roehl <uga@ROEHL- CONSULTING.COM> >> wrote: >> >> :>Is there a reliable method to detect whether an assembly is using the z/OS >> :>macro libraries or the VSE macro library? >> >> :>We run our assemblies on z/OS using the VSE MACLIB when wanting a VSE >> :>object deck. >> >> :>Any pointers or examples are appreciated. >> >> &SYSTEM_ID >> >Does this tell you the target system or the host system? > >What is its value on various cross assemblers such as >Tachyon, Dignus, z390, ...? > >-- gil This technique shows the host system, not the target system. I see them result no matter which macro library is used: 1 csect testmod 2 gblc &MyEnv 3 &MyEnv setc '&SYSTEM_ID' 4 mnote 'MyEnv = &MyEnv' +MyEnv = z/OS 01.13.00 5 end
