John: I have to look but can you do :
__asm ….inline Regards, Scott From: John McKown Sent: Tuesday, March 25, 2014 1:29 PM To: IBM Mainframe Discussion List Yes, I am reading the book on Metal C. But I often appreciate other peoples' opinions and ideas. So I'm "just asking". I am porting some C code to z/OS (nedit thread on MVS-OE). I need to be able to do z/OS enqueues and dequeues. I don't see any C subroutine to do this. So I need to write something. This is not a big deal to me. Normally, I'd just whip something up in HLASM and go on with it. But I was thinking that it might be better to try to use Metal C simply because everything else is written in "normal" C. Yes, I know how to write LE assembler code. The C code is xplink, so I think in either case, I will need to use "#pragma linkage" to set the routine up as having OS linkage. Thanks for your opinions. -- There is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN