|
Donald Whittaker wrote: > Here is the pcml that I use for call QCDRCMDI. > Maybe you can compare the two and see if anything > jumps out at you. Donald, thanks for that. While it didn't directly solve my problem, it was helpful to compare, and see that we had taken a similar approach. I noticed that you had "init" attributes for everything, including the output values. Did you find that that was necessary? I tried doing that to fix my problem, but it didn't help. In the end I tried adding the optional parameter, and that didn't help. But then when I re-examined the examples from IBM I'd been working from, I discovered the cause of the problem. It seems that if you use in-line struct elements, like this (some elements removed for brevity): <program name="register" path="/QSYS.lib/QTNADDCR.pgm"> <data name="resourceHandle" type="int" length="4" usage="output" init="0000"/> <struct name="qualExitPgm" usage="input"> <data name="exitPgm" type="char" length="10" usage="input" init=" " /> <data name="exitPgmLib" type="char" length="10" usage="input" init=" " /> </struct> </program> then you need to have the "usage" attribute on the struct tags, _as well_ as the data tags within them. I originally had: <struct name="qualExitPgm"> etc. Adding the usage fixed it. I'm not now sure whether the "optional" parameter is necessary or not, but I think I'm going to need it anyway. Now all I have to do is work out what the commitment control exit program has to do. Cheers, Martin. -- Martin McCallion Senior Technical Consultant Work: martin.mccallion@misys.com Home: martin.mccallion@ukonline.co.uk Misys International Banking Systems 1 St George's Road, London, SW19 4DR, UK T +44 (0)20 8486 1951 F +44 (0) 20 8947 3373 www.misys.com This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the intended named recipient of this email then you should not copy it or use it for any purpose, nor disclose its contents to any other person. You should contact Misys International Banking Systems as shown below so that we can take appropriate action at no cost to yourself. Misys International Banking Systems Ltd,1 St George's Road, London, SW19 4DR, UK. Email: ibs.postmaster@misys.com. Tel: +44 (0) 20 8879 1188 Fax: +44 (0) 20 8947 3373 Misys International Banking Systems Ltd is registered in England and Wales under company no. 971479
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.