×
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.
I didn't think there would be a way to do it.
I guess I'm just going to store my data in a work file and SQL it out into a
cursor where I can control the column names....
Either that or get the pc guys to change their code to reference the field
names of the data structure.
Thanks for the reply.
Neill
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: 08 April 2009 20:58
To: Midrange Systems Technical Discussion
Subject: Re: Stored Procedure Result sets
Not with a stored procedure. The system doesn't keep track of which
columns are returned by a stored procedure -- indeed, your program logic
could potentially change those columns each time you run it.
However, if you used a UDTF, you could control the column names...
Otherwise, I suggest that you simply name your DS subfields the name
that you want SQL to see.
Neill Harper wrote:
Anybody know of a way to override the Result set column name generated by
the following:
SET RESULT SETS ARRAY :X FOR :Y ROWS
Where is X is a multi occurrence data structure.
Thanks
Neill
As an Amazon Associate we earn from qualifying purchases.