I should add that there are a number of other things to fix to pass Martin's compliance test; I'll submit patches as I look into this further. (A couple of obvious errors were not initializing minor_status on return.) The test suites themselves are at: http://www.sap.com/print/partners/icc/scenarios/technology/bc-snc.asp -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com