[U2] [UV] errlog API

2011-07-11 Thread Perry Taylor
Does anyone know if there is any exposed API to enable a BASIC program to make 
entries to the UniVerse errlog?

Thanks.

Perry Taylor
Zirmed, Inc.

CONFIDENTIALITY NOTICE: This e-mail message, including any 
attachments, is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information.  Any
unauthorized review, use, disclosure or distribution is 
prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health 
Information, any communications containing such material will 
be returned to the originating party with such advisement 
noted. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the 
original message.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Debugger Woes

2011-07-11 Thread Israel, John R.
OK boys and girls, here is a weird one!

Last week, one of our programmers was looking for some issues with 2 programs 
in Avanté.  All he did with the 1st program (IIREADUL) was add a comment and 
recompile the code with the debugger option.  All he did to the 2nd program is 
recompile with the debugger on.  For some weird reason, our barcode handheld 
users started core dumping!  This was not constantly happening, but was 
occurring 5-10 times an hour.  We did not initially hit on the fact that it was 
one or both of these programs (debug mode should NOT do this), but after 
recompiling them w/o the debugger, the problems disappeared.

Any divine insight as to why having a program compiled with debug on would 
cause frequent (but not consistent) code dumps?

HPUX: 11.31
UniData: 7.2.1
SB: 5.4.2


John Israel
Senior Programmer/Analyst
Dayton Superior Corporation
1125 Byers Road
Miamisburg, OH  45342

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Debugger Woes

2011-07-11 Thread Baakkonen, Rodney A (Rod) 46K
 Check the size of the program when compiled with the -D. You may be blowing 
some Shared Basic Code parameter in udtconfig. 

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R.
Sent: Monday, July 11, 2011 1:40 PM
To: 'U2 Users List'
Subject: [U2] Debugger Woes

OK boys and girls, here is a weird one!

Last week, one of our programmers was looking for some issues with 2 programs 
in Avanté.  All he did with the 1st program (IIREADUL) was add a comment and 
recompile the code with the debugger option.  All he did to the 2nd program is 
recompile with the debugger on.  For some weird reason, our barcode handheld 
users started core dumping!  This was not constantly happening, but was 
occurring 5-10 times an hour.  We did not initially hit on the fact that it was 
one or both of these programs (debug mode should NOT do this), but after 
recompiling them w/o the debugger, the problems disappeared.

Any divine insight as to why having a program compiled with debug on would 
cause frequent (but not consistent) code dumps?

HPUX: 11.31
UniData: 7.2.1
SB: 5.4.2


John Israel
Senior Programmer/Analyst
Dayton Superior Corporation
1125 Byers Road
Miamisburg, OH  45342

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users





___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Simple FMT question

2011-07-11 Thread Wols Lists
On 08/07/11 20:17, Bob Woodward wrote:
 I know that X = (:X)[4] works to get my results but FMT should
 work, too.  The major benefit is that if the number is more than 4
 digits, FMT won't truncate it.  I hope.

Others have pointed this out too, but ime FMT adds text marks if you go
over the specified length. Test it, but FMT(12345, 4'0'R) would give,
I think, 1tm2345. That's the syntax I'm used to - UV Prime flavour.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Epicor and Eclipse

2011-07-11 Thread Wols Lists
On 08/07/11 22:53, Mecki Foerthmann wrote:
 Microsoft isn't struggling and they license Sharepoint only for named
 users and still sell it!

Are you sure :-) (MS isn;t struggling, that is ...)

They've had several very high profile reverses lately. The obvious
example to me is the London Stock Exchange, where their system failed
publicly and dramatically, and has been replaced by a new system that is
both faster and cheaper. I can't name any more examples off the top of
my head, but I know there have been a fair few.

I'm seeing a bunch of reports that their behaviour is typical for a
company spiralling into Chapter 11 - some estimates are as close as 2012!

They're up against serious competition from Apple and Linux now - for
the first time in many years they're actually having to compete, and
compete hard.

And although they look profitable, they have long had a reputation for
massaging the figures. Except now it looks like the figures are coming
home to roost. And their big problem is the mismatch between where the
expenses are incurred and the income is made. From what I can tell, the
American operation is running at a loss, but overseas operations are
profitable. The problem is that overseas operations are in tax havens,
so while it looks like they're making more than they're spending, the
money is not in the right place. And as soon as they repatriate the
money, they will incur tax liabilities that will drive them into the red.

In other words - America is not profitable. Bankruptcy is inevitable if
they don't repatriate profits. But if they do repatriate profits, Uncle
Sam will want his cut, which they can't afford, so bankruptcy is
inevitable...

If you want to trust Microsoft and rely on them, fine. But what's the
saying? trust, but verify? What will you do if MS's activation servers
go down, and Windows et al stops working?

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Simple FMT question

2011-07-11 Thread BobW
Ya know, this makes sense.  Though I should never get to a 5 digit number,
I've been bit before with assuming things like that.  I think it was
mentioned earlier to do a LEN() check.  I think I want to stay away from
changing the BasicType, though.  No guessing what can of worms THAT would
open.

Thanks everyone for your insights!

BobW

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists
Sent: Monday, July 11, 2011 2:31 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Simple FMT question

On 08/07/11 20:17, Bob Woodward wrote:
 I know that X = (:X)[4] works to get my results but FMT should
 work, too.  The major benefit is that if the number is more than 4
 digits, FMT won't truncate it.  I hope.

Others have pointed this out too, but ime FMT adds text marks if you go
over the specified length. Test it, but FMT(12345, 4'0'R) would give,
I think, 1tm2345. That's the syntax I'm used to - UV Prime flavour.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1388 / Virus Database: 1516/3758 - Release Date: 07/11/11

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users