My guess would be that SYSSTATE exists in VSE too but it's only a guess. Can't
verify it.
GBLC &SYSOSREL_ZOSV1R1
SYSSTATE TEST
AIF ('&SYSOSREL_ZOSV1R1' NE '').ZOS
All the SYSOSREL for each z/OS rel get set so you could use any but v1r1 should
always be there (or you could use OS390)
Jon Perryman.
________________________________
From: Patrick Roehl <[email protected]>
Subject: Detect z/OS or VSE at Assembly Time
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.