Thanks @Jonathan and @Steve. I can make that work. Charles
-----Original Message----- From: IBM Mainframe Assembler List [mailto:[email protected]] On Behalf Of Jonathan Scott Sent: Friday, September 29, 2017 5:16 AM To: [email protected] Subject: Re: Determining MACHINE level in a macro Ref: Your note of 29 September 2017, 05:08:48 -0700 There is no incrementing machine hardware level, and even if there were, there is no guarantee that all "upgrades" are totally compatible. An alternative approach is to check whether an opcode which was introduced in that level is a known machine opcode, for example using LAT: AIF (O'LAT EQ 'O').ZS6OK If you want to check OPTABLE, the only safe approach is to check for existing known OPTABLE values and assume that if it is none of those, it is a future level! Jonathan Scott HLASM team IBM Hursley UK
