Well
If fate is going to pick someone for weird things to happen - it looks like Im that guy for now
I have a couple of weird things - but heres the first one
I created the sql function in the normal manner and tested it
It failed - and I am trying to determine why
But heres the first weird part
I had to logoff and log back in again
The function was no longer there
I tried this a number of times
Create
Test
Log off
Log on
No function
I even used the IBM I Access Client solutions to display all the sql functions that are there
Its there after I created it
I log off
Refresh the IBM I Access Client solutions and its gone
I am stumped
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
-----Original Message-----
From: Alan Shore
Sent: Wednesday, January 10, 2018 3:39 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Creating an SQL function from a service program
Hi Dave
The function I first attempted to use was for accounting, but I needed a result of that function for the web front end
Which is a separate set of procedures
However - depending upon how my testing goes - I may place this new procedure in with the existing procedure
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of dlclark@xxxxxxxxxxxxxxxx
Sent: Wednesday, January 10, 2018 3:22 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Creating an SQL function from a service program
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 01/10/2018
02:19:21 PM:
Hi Dave
Just to let you know that when I saw how much needed to be re-
compiled and then tested - to prove that the change still worked Well
- let me just say The engineer/scientist inside of me wanted to make
these changes so that everything will work correctly But the lazy
S.O.B. inside of me started shouting - AND ALL THAT TESTING TO DO!!!!!
I ended up doing what you suggested
Made a separate service program that called the original service
program
I just tested my new service program - and it works perfectly Now let
me create the function from that new service program and see the
results
I wouldn't refer to it as lazy. Nothing wrong with a little compromise between most efficient code and number of programs affected.
;-) Otherwise... You say you created a whole new service program for
this? I would have just added the new service procedure to the existing service program to keep related procedures together. Was there a site reason you created a separate service program?
Sincerely,
Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300
Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331
*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary information. If you have received this message in error, please immediately notify the sender and delete and destroy the message and all copies. All unauthorized direct or indirect use or disclosure of this message is strictly prohibited. No right to confidentiality or privilege is waived or lost by any error in transmission.
*********************************************************************************************
--
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:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.