Others have given you answers, and I have no disagreement with any of them.
And I suspect the question you really wanted to ask was "how do I know my
z12 has SRST?" and others have answered that correctly. ("It does.") Here
are my answers however to the question you asked (more or less) "how can I
tell if model XXX has instruction YYY?"Answer 1: First, look up the instruction in Z PoOp. See if it says "Program Exceptions: . Operation (if the xxxxxxx facility is not installed)." If like SRST it does not, then the instruction is present on all Z processors and that is your answer. If it does, then you have to go through the various announcement letters to see when the xxxxxxx facility was added. If your machine is earlier, then you are out of luck. Answer 2: Assemble your program with option MACHINE(ZS-n,LIST) where n is 6 less than the "marketing model number." For example, for a z9, n would be 3. For a BC12, n would be 6. (For a z196/114, n is 5.) That will do two things: give you an assembler error if the instruction is not supported, and give you a list of every supported op code. Save the list somewhere for ongoing reference, and fall back to just MACHINE(ZS-n) in your options, which will guarantee you never use an unsupported instruction. Answer 3: I just happen to have a table that shows - For each release of z/OS, the minimum hardware required. - For each Z processor model, the corresponding C and COBOL ARCH level, the HLASM ZS level, and the significant (IMHO) instruction features implemented. So you can answer not only the question "does model XXX implement instruction YYYY?" but also "if I am targeting z/OS v.r and above, am I guaranteed that any box that supports that z/OS will have instruction YYYY?" It's in PDF form, and I don't think this list supports attachments, so if you send me an off-list e-mail I will send you back the table. (This is not a commercial pitch. No salesman will call. I will not save or share your e-mail address.) Charles -----Original Message----- From: IBM Mainframe Assembler List [mailto:[email protected]] On Behalf Of Frank M. Ramaekers Sent: Wednesday, March 20, 2019 2:42 PM To: [email protected] Subject: Basic question on Procesors/Instruction set Where does one find a table of instructions a particular processor is capable of? (I have a zBC12 and get a SPEC EXCEPT on a SRST/Search string) Frank M. Ramaekers Jr. | Mainframe Systems Analyst I | CIS Mainframe Services Unisys | (512)-387-3949 | Francis.Ramaekers at Unisys.Com [unisys_logo]<http://www.unisys.com/> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all devices. [Grey_LI]<http://www.linkedin.com/company/unisys> [Grey_TW] <http://twitter.com/unisyscorp> [Grey_GP] <https://plus.google.com/+UnisysCorp/posts> [Grey_YT] <http://www.youtube.com/theunisyschannel> [Grey_FB] <http://www.facebook.com/unisyscorp> [Grey_Vimeo] <https://vimeo.com/unisys> [Grey_UB] <http://blogs.unisys.com/> ---------------------------------------------------------------------- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at [email protected].
