×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
You are right, I had been victim of LCL context in Synon.
The file handle I was passing into Open and Close was ok, but the file
handle for write was always zero.
It worked from the command line and in a submitted job because there was
only one file open that had a handle of zero.
But evidently when you call a stored procedure there is already a file open,
worryingly I was writing to it and closing it.
Glad its working.... although now I have to figure out why
SQLTYPE(BLOB_FILE) gives poor performance for the first call to a stored
proc, it never ends!!!
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Campin
Sent: 22 June 2010 21:39
To: Midrange Systems Technical Discussion
Subject: Re: External Stored Procedure writing to IFS Stream file
That does not make a lot of sense. I have used that trick all over the
place. Stored procedure writes to IFS and client reads the data from IFS.
Something else must be going on. Bet it is writing it somewhere else.
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.