Thanks for all the suggestion, but I just about determined that what I want to do just can't be done in manner that the compiler will generate the proper linkage code. I think the real issue is that a a function pointer, the complier really does not have any knowledge to link the #pragma linkage directive with the actual function pointer. I tried pretty much all the variations in the posts above and I always took an abend in IGGCSI00, most likely because of linkage.
So to resolve this, I wrote a quick little assembler routine to take 2 parameters (Module EP, Parm List @). I build the zOS parameter list in the C Program and pass it and the Module EP to it. Works great. Thanks to everyone. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
