I have been looking around the IBM Enterprise COBOL manuals and websites including the Enterprise COBOL PTF summary page, but I haven't seen this kind of function available or even proposed.
IBM XLC has intrinsic "builtin" functions to invoke a large range of Z hardware instructions like TR and CDSG and POPCNT, even somewhat simple ones like STCK and STCKE. Is there any hope at all that Enterprise COBOL will gain access to a similar family of "builtins"? Yes, we can simply write equivalent assembler code and call it from Enterprise COBOL, but it would be MUCH cleaner and easier to have the same capabilities as are provided by XLC. Failing that, is there any chance that Enterprise COBOL can gain the same ability to use inline assembler as XLC supports? That would be less clean than a set of "builtins" but would solve the same problem. As a motivation, I recently had a need to use STCKE as part of a "unique value" generating function, and had to drop to Assembler to use it. Not hard, but far less clean than being able to write it directly in the COBOL source. Peter This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
