|
Pete: Yes, I've seen exactly that and the fix was PTF SI03758. If that does _not_ fix it in your case, I'd be _VERY_ interested in hearing about it because I fought this for weeks with IBM. Learned way more than I ever thought I'd need about what __errno, NetServer, QNTC, etc., all really do; and I'd hate to have to learn all over. Tom Liotta midrange-l-request@midrange.com wrote: > 11. Problem with open() in QP0LLIB1 (Pete Hall) >--__--__-- > >We are experiencing an error in V5R1M0 when executing the open() function >from service program QP0LLIB1. > >We are using the following RPG prototype: > > DopenAPI PR 10I 0 EXTPROC('open') > D PR_PthStr * VALUE OPTIONS(*STRING) > D PR_OpnFlg 10I 0 VALUE > D PR_Mod 10U 0 VALUE OPTIONS(*NOPASS) > D PR_CnvCCSID 10U 0 VALUE OPTIONS(*NOPASS) > >And calling the API with the following values: > > FileHandle = OpenAPI(path: 553648154: 448) > >The API is returning -1 in FileHandle, which indicates that the open >failed. However, the target file is being created by the function call, and >calling the __errno function returns a pointer to 0 (zero), indicating that >no error has occurred. > >A valid file handle is returned when this same code is executed under >V4R5M0. A search of APARs and PTF cover letters didn't turn up any similar >problems. The latest DB2 group and hyper PTFs are installed. > >Has anyone seen this before? A fix would be nice too... -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertechgroup.com __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
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.