The sample code is ok but nothing that will help that much. One of the two examples is specifically for the ENF interface BCPii provides for, among many other things, getting return code info for things such as issuing z/OS commands. The return code you receive from BCPii simply means BCPii was able to issue its call, not that the specific function you were attempting worked <sigh>. To get the results of some BCPii calls, you need to code an ENF exit. Another ENF interface is for Operating System message tracking. Seems to work ok as long as the operating system message isn't too long, then it doesn't work so good <g>. Given how 'young' this product is, there are problems I've come across.
Luc, while not in a position to simply hand over working code, I can provide something I didn't have while writing API interfaces for all of the BCPii call types (CONN, DISC, CMD, et al); namely someone to ask questions of. If you run into problems feel free to ask through this forum or you can contact me via my email address. Good luck. Stan Stan Weyman Senior Software Engineer stan.wey...@emc.com EMC² (508)249-3966 where information lives It is wise to keep in mind that neither success nor failure is ever final... -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Mary Anne Matyaz Sent: Wednesday, December 29, 2010 6:51 AM To: IBM-MAIN@bama.ua.edu Subject: Re: BCPii code Luc, IBM is providing two samples via apar OA31731. http://www-01.ibm.com/support/docview.wss?crawler=1&uid=isg1OA31731 The bad news is, they are in C. Mary Anne ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html