RE: [U2] Custom Functions

2005-06-23 Thread Claus Derlien
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Wendy Smoak Sent: Wednesday, June 22, 2005 8:47 PM To: u2-users@listserver.u2ug.org Subject: [U2] Custom Functions --- snip --- We consider subroutines fairly expensive in terms of system resources,

RE: [U2] Best practice for Sequential IDs using TRANSACTION START COMMIT/RO...

2005-06-23 Thread Les Hewkin
Just going a bit off topic but. we had a batch process that processed lots of data and I mean lots, but it didn't have any transaction boundaries. Someone was asked to add them. So what did they do? yes you got it. At the start of the routine they started a transactions and at the end of

[U2] Write error in UniAdmin

2005-06-23 Thread Paul Hamrick
The last two installations I have received the following errors when attempting to create a device under Devices in UniAdmin 1.3.1. The error is Unable to write device record to DEVICE. This is UniVerse 10.1.11 for Windows. Platform: Windows 2003 Server Standard I have logged in both a local

[U2] Write error in UniAdmin

2005-06-23 Thread Paul Hamrick
The last two installations I have received the following errors when attempting to create a device under Devices in UniAdmin 1.3.1. The error is Unable to write device record to DEVICE. This is UniVerse 10.1.11 for Windows. Platform: Windows 2003 Server Standard I have logged in both a local

RE: [U2] Best practice for Sequential IDs using TRANSACTION START COMMIT/RO...

2005-06-23 Thread Stevenson, Charles
In my opinion... NO : Retrofitting TRANSACTIONs into existing programs would be a nightmare. YES: Definitely use them when writing a new application from scratch and even a new sub-system enhancement if it is pretty much self-contained with limited, well-defined interfaces that write into the

RE: [U2] Custom Functions

2005-06-23 Thread Burwell, Edward
Here is a sample: MYFUNC looks like: 001 FUNCTION MYFUNC(ARG) 002 RETURN (ARG=Y) 003 END MYFUNC is globally cataloged DICT FILE TEST looks like: 001 V 002 SUBR(MYFUNC,Y) 003 004 005 1R 006 S when I LIST FILE TEST, I get a Segmentation fault(coredump) and it dumps me into Unix. -Original

Re: [U2] Custom Functions

2005-06-23 Thread Wendy Smoak
From: Ray Wurlod [EMAIL PROTECTED] Try using the SUBR() function, as I mentioned in another post. Ouch. Granted my function opens a file and [currently, for debug] prints to the screen, but attempting to call it with SUBR from an I-Descriptor caused... '25945 Bus error' and left the session

RE: [U2] Custom Functions

2005-06-23 Thread gerry-u2ug
globally catalogued as in CATALOG SUB.BP *MYFUNC ? so you should be using : SUBR(*MYFUNC,Y) we do this all the time in universe since at least v7 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Burwell, Edward Sent: Thursday, June 23, 2005 10:46 AM To:

RE: [U2] Custom Functions

2005-06-23 Thread colin.alfke
Wendy; I tend not to use a FUNCTION unless I really need it for the syntax. It helps me to remember that even when calling a function you can change any of the passed variables - not just the return variable (just like a subroutine). For some reason I didn't think a function could do that, I'm

[U2] Parsippany

2005-06-23 Thread Brutzman, Bill
There seems to be a [water?] company in Parsippany NJ using U2. I would like to know who they are. --Bill Bill Brutzman Manager, IT HK MetalCraft Mfg Corp PO Box 775 35 Industrial Road Lodi NJ 07644-0775 973.471.7770 x145 973.471.9666 .fax www.hkMetalCraft.com

RE: [U2] Parsippany

2005-06-23 Thread John Varney
So would I -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brutzman, Bill Sent: Thursday, June 23, 2005 2:58 PM To: 'u2-users@listserver.u2ug.org' Subject: [U2] Parsippany There seems to be a [water?] company in Parsippany NJ using U2. I would like to

RE: [U2] Parsippany

2005-06-23 Thread Karen.BESSEL
Nestle Waters North America uses UniVersethey are based in Greenwich, CT but distribute water (Poland Spring, Deer Park, etc.) everywhere -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill Sent: Thursday, June 23, 2005 2:58 PM To:

RE: [U2] Custom Functions

2005-06-23 Thread Burwell, Edward
I've never seen this asterisk thing on the front of a cataloged program. I've never had to do that in UniData. I can call a SUBROUTINE fine from a Virtual attribute no problem - and not asterisk. Could it have something to do with the fact that we run BASICTYPE 'p' and ECLTYPE 'p'?

RE: [U2] Parsippany

2005-06-23 Thread Bruce Lunt
I used to work for Matheson Gas Co. that used Epicor on HP900 with UD. They are based in Parsippany, NJ. I haven't worked with them for many years so I can't say for sure if they are still running the same systems. Bruce Lunt From: Brutzman, Bill [EMAIL PROTECTED] Reply-To:

RE: [U2] Parsippany

2005-06-23 Thread John Varney
I'm just interested to know who uses multi-value in the north-eastern US -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roger Glenfield Sent: Thursday, June 23, 2005 4:06 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Parsippany The epicor job

RE: [U2] Custom Functions

2005-06-23 Thread Ian McGowan
Ouch. Granted my function opens a file and [currently, for debug] prints to the screen, but attempting to call it with SUBR from an I-Descriptor caused... '25945 Bus error' and left the session unresponsive. I don't get the example as posted - seems like F.FILE doesn't get saved anywhere

RE: [U2] Parsippany

2005-06-23 Thread u2
Wow, wouldn't we all love to get a list like that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Varney Sent: Thursday, June 23, 2005 4:41 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Parsippany I'm just interested to know who

RE: [U2] Parsippany

2005-06-23 Thread Kathleené M Bodine
They are running Epicor's Avante software. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Lunt Sent: Thursday, June 23, 2005 1:32 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Parsippany I used to work for Matheson Gas Co. that used Epicor

RE: [U2] Custom Functions

2005-06-23 Thread u2
I think it's a universe/unidata difference. I get the segmentation fault running unidata in ecl type U as well. Here's some interesting info and an ugly hack--in unidata. Apparently, the keywords SUBROUTINE and FUNCTION are interchangable as far as BASIC is concerned, so create a subroutine

RE: [U2] Custom Functions

2005-06-23 Thread Burwell, Edward
Interesting. But you NEED that extra parameter? I tried DEFFUNing a SUBROUTINE that has only 1 parameters and could not get it to work. If your FUNCTION sets any of the parameters, you can CALL It from UniBasic -- and you don't have to DEFFUN it. -Original Message- From: [EMAIL

RE: [U2] Write error in UniAdmin

2005-06-23 Thread Richard Wilson
Are you trying to add a tape device? If so you need to manually edit the DEVICES file. -Original Message- From: Paul Hamrick [mailto:[EMAIL PROTECTED] Sent: Thursday, 23 June 2005 10:54 PM To: u2-users@listserver.u2ug.org Subject: [U2] Write error in UniAdmin The last two installations

RE: [U2] Custom Functions

2005-06-23 Thread Ken Wallis
gerry-u2ug wrote: globally catalogued as in CATALOG SUB.BP *MYFUNC ? so you should be using : SUBR(*MYFUNC,Y) we do this all the time in universe since at least v7 As others have mentioned, its a difference between UniData and UniVerse. On UniData you *CAN* use an asterisk before a

RE: [U2] Best practice for Sequential IDs using TRANSACTION START COMMIT/RO...

2005-06-23 Thread David Jordan
That could have been simply overcome by locking the file instead of individual records. I have done very large transaction boundaries for a specific type of system and they worked very well. Saves a lot of leg work and programming to manually create a recovery process for a major batch updated.

[U2] Connection Refused downloading PE

2005-06-23 Thread Wendy Smoak
After answering all those questions, I finally made it to the place where I could download UD 6.1 PE and the download applet reports http://service2.boulder.ibm.com:7618 Connection Refused . The 'clients' .zip file is downloading over HTTP with no problems, but it looks like it's coming from