|
Later At 04:55 AM 10/17/2005, you wrote:
On 16/10/2005, at 2:51 PM, qsrvbas@xxxxxxxxxxxx wrote:I was going to look over a QUSRTOOL example, the TSO sockets tool, and found that the compile of one of the C modules failed with this error:36 |#include <asyncIO.h> *=SEVERE==========> CZM0296 #include file <asyncIO.h> not found.QSYSINC has no asyncIO.h in V5R1, R2 or R3. And surprise -- InfoCenter has no search references to such an include, although there are a couple comments in a couple Apache source modules to asyncIO.Does no one compile things from QUSRTOOL anymore?Anyway, does anyone out there have an example of asyncIO.h that might be appropriate?I suspect it doesn't exist for OS/400, but I might as well ask.Looks like someone screwed up. Probably by compiling and testing on AIX instead of OS/400 but that's just a guess on my part.If you look at the source from the TSO tool on 530 you'll see that asyncIO.h has been replaced by qsoasync.h which also exists on 510.There are other things that have changed too but you can get the 510 TSO source to compile by creating your own asyncio.h file which contains only the Qso_OverlappedIO_t definitions from qsoasync. For example:/* ** Dummy to compile TSO tool */ typedef void * descriptorHandle_t; struct overlappedIO_t { descriptorHandle_t descriptorHandle; void * buffer; size_t bufferLength; int postFlag : 1; int fillBuffer : 1; int postFlagResult : 1; int reserved1 : 29; int returnValue; int errnoValue; int operationCompleted; int secureDataTransferSize; unsigned int bytesAvailable; char reserved2[52]; }; typedef struct overlappedIO_t overlappedIO_t;Although the modules compile cleanly I have not tried to bind them nor tried to run the tool. I leave that as an exercise for you.Postscript: Searching the IBM Support site came up with a hit in the Software Knowledgebase specifically for this problem. It is in the locked section which seems unavailable at present. Trying to use it results in:ErrorIf this problem continues, please use our Customer assistance page to report it to our help desk.Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 \ / X ASCII Ribbon campaign against HTML E-Mail / \ -------------------------------------------------------------------- -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.