RE: [U2] Problems with UniObjects and .NET Service

2005-09-06 Thread David Beahm

Peter-
I banged my head against a similar problem -- it wasn't UniObjects, but 
involved third-party DLL's.  In short, everything worked fine until I 
tried to use it in the context of a web service.  I don't know why or 
what the workaround is, but the problem is that ASP.NET doesn't play 
well with old-school elements like this.  I'll bet your code would work 
just fine if it was all compiled in .Net -- even though it should work 
as is.


Sorry I don't have a better answer.

Best,
David Beahm


U2 Users Digest wrote:
Date: Mon, 5 Sep 2005 16:25:27 +0100 
From: Welsh, Peter [EMAIL PROTECTED]

Subject: [U2] Problems with UniObjects and .NET Service

This is a bit of a strange one and I apologise for such a convoluted bit of
programming.

I am writing a Windows Service in VB.NET.
I know the best way to get at my data is through UniObjects.
I am using UniData 5.1 (on DGUX).
I have written a small DLL in VB6 that uses UniObjects to do the data
manipulation I need.
The method is passed the connection parameters and various properties are
set to string values looked up from our UniData server.

It works like a dream when calling the DLL from within a VB6 form.
It works like a dream when calling the DLL from a VB.NET form.
It freezes up when calling the DLL from within a VB.NET Service.

The code:
Dim udMain As UDTFakeObject.UniDataSessionClass
runs quite happily but

udMain = New UDTFakeObjector.UniDataSessionClass
causes it to freeze. No errors raised. Not particularly high processor
utilisation or anything out of the ordinary. It just does not continue on to
execution of the next line.

If I copy and paste the same code into a Forms Application it works quite
happily.

The Initialise event on the UDTFakeObjector.UniDataSessionClass simply
creates an instance of an Uvoaif

I have tried having the service run as LocalSystem, Local Administrator, and
as myself but changing user makes no difference.

I am getting really frustrated here so any ideas that anyone may have will
be very gratefully received.

Many thanks in advance,

Peter Welsh
Senior IT Development Officer
NHS Argyll  Clyde

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] RE: Named Common

2005-09-06 Thread David A Barrett
 How on earth do You implement a persistent local variable without
using named common ??

- -- mats

@USER0
@USER1
@USER2
@USER3
@USER4

This is also in the manual.   :)

Dave Barrett,
Lawyers' Professional Indemnity Company
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Daniel Jorgenson/GUS/SICK is out of the office.

2005-09-06 Thread Daniel Jorgenson
I will be out of the office starting  09/06/2005 and will not return until
09/07/2005.

I will respond to your message when I return.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] RE: Named Common

2005-09-06 Thread Mats Carlid

Yes it's a possible way of 'remembering' some values but we
ruled it out for the same reason as unnamed common -  sooner
or later you'll interact with a subroutine or function that also
uses them  and then ...

btw  named common isn't quite safe either -
it's possible that another routine uses the same name
for it's common ...

What's really needed is a  'local static'  modifier.

-- mats


David A Barrett wrote:


How on earth do You implement a persistent local variable without
using named common ??

- -- mats
   



@USER0
@USER1
@USER2
@USER3
@USER4

This is also in the manual.   :)

Dave Barrett,
Lawyers' Professional Indemnity Company
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Re: Program Slowing Down/Named Common

2005-09-06 Thread David A Barrett
Sorry, but I have to disagree.  Whether or not using the Named COMMON is
basically a good practice is beside the point.  There is something wrong
somewhere when a subroutine takes progressively longer to execute each time
it is called, even though there is nothing accumulating anywhere.  The
Named COMMON trick doesn't really address that issue, but remains a
work-around to mask the problem.

The other thing the Named COMMON did show was that issue has to do with the
file handling in Universe, since that was the only thing we changed to
relieve the problem.


Dave Barrett,
Lawyers' Professional Indemnity Company
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] SQL Server vs. U2 Cost of Ownership

2005-09-06 Thread Dawn Wolthuis
I'm doing some research for a talk and am interested in hearing from people
who are running (or have run) transaction processing systems on both U2 and
SQL Server. What are your intuitions and/or facts about the differences in
cost of ownership between these two environments? Do you think the COA of
each environment is roughly the same or is one less than the other? A short
answer to that question would be helpful, but if you have a chance, more
details would also be appreciated.

Some categories might be:
1) Ease in learning  training
2) Actual hard costs in the budget for the software
3) How much hardware is required for each: cpu, memory, disk, bandwidth, ...
4) User access (24/7) and related costs
5) Reliability, risk of downtime, risk of data loss, time it takes to
recover from unscheduled downtime
6) Number or fraction of professionals required to support a production
environment in each (and/or lists of what tasks are required on an on-going
or periodic basis)
7) Cost of optional and 3rd party add-ins
8) End-User Satisfaction
9) IT User Satisfaction
10) Ease, speed,  quality of new software development  maintenance of
existing in-house software
11) Vendor support
12) Reporting -- Ease of getting the data back out; e.g. use of 3rd party
tools; are more data marts required in one environment than the other?
13) Cost of establishing or maintaining security / access
14) Cost of backups
15) Performance

Do you have any facts or intuitions about these categories? What other
categories should I be thinking about?

Thanks in advance for any help you can give. --dawn
--
Dawn M. Wolthuis
Tincat Group, Inc.

Take and give some delight today!
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] RE: Named Common

2005-09-06 Thread Stevenson, Charles
  btw  named common isn't quite safe either - it's possible 
  that another routine uses the same name for it's common ...
 
 I hit that using Pace at a previous job ...
 
  What's really needed is a  'local static'  modifier.
 
 Would be nice :-)

What's really needed is a good software mapping tool.

cds
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: Counting (was: RE: [U2] TCL beginner)

2005-09-06 Thread Ron Hutchings
Universe supports the ENUM command that does the same thing as adding our 
favorite CNT I-descriptor to the dictionary or VOC.  It is always available 
without editting dictionaries or vocs.  It does add a column to the output.

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] RE: Named Common

2005-09-06 Thread u2
[EMAIL PROTECTED] wrote:
   btw  named common isn't quite safe either - it's possible 
   that another routine uses the same name for it's common ...
  
  I hit that using Pace at a previous job ...
  
   What's really needed is a  'local static'  modifier.
  
  Would be nice :-)
 
 What's really needed is a good software mapping tool.
 
Do you really want to debug the output of a (otherwise very good) code 
generator?

Although it might well help in spotting the problem. But imho, for a good 
programmer experience is a very important debugging tool ...

Cheers,
Wol
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Newsgroup for DesignBais

2005-09-06 Thread Dave Bryant
To coincide with the release of Version 3.1 of our DesignBais product, we
are delighted to announce the creation of our newsgroup, hosted by Google
at: 

http://groups.google.com/group/DesignBais-Forum/ 

Stop by the website (www.designbais.com) , read the newsletter, download the
new product from the Test Drive section, and then join the newsgroup to see
what's going on in the DesignBais community.

Regards,

Dave Bryant (daveb AT designbais DOT com)

[demime 1.01d removed an attachment of type application/ms-tnef which had a 
name of winmail.dat]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] RE: Named Common

2005-09-06 Thread Richard Taylor
Named common can be a very powerful tool and where needed is often the
best, if not only, way to create a solution that works for the user.  Like
any other tool it has its good and bad points.  

First and foremost is selecting a name that is as unique to the process
(not filename) as possible. 

Then DOCUMENT YOUR SYSTEM!!  

Finally, manage your common.  At least in UV we had a problem because
named common persisted between accounts when a LOGTO was done.  Yes there
are ways around that problem, but it was a subtle problem to debug, when
global settings were carried over from the other account.

Any tool can be misused.

Rich Taylor | Senior Programmer/Analyst| VERTIS
250 W. Pratt Street | Baltimore, MD 21201
P 410.361.8688 | F 410.528.0319 
[EMAIL PROTECTED] | http://www.vertisinc.com
 
Vertis is the premier provider of targeted advertising, media, and
marketing services that drive consumers to marketers more effectively.
 
The more they complicate the plumbing
  the easier it is to stop up the drain
 
- Montgomery Scott NCC-1701

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-u2-
 [EMAIL PROTECTED] On Behalf Of Mats Carlid
 Sent: Tuesday, September 06, 2005 9:57 AM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] RE: Named Common
 
 Yes it's a possible way of 'remembering' some values but we
 ruled it out for the same reason as unnamed common -  sooner
 or later you'll interact with a subroutine or function that also
 uses them  and then ...
 
 btw  named common isn't quite safe either -
 it's possible that another routine uses the same name
 for it's common ...
 
 What's really needed is a  'local static'  modifier.
 
 -- mats
 
 
 David A Barrett wrote:
 
 How on earth do You implement a persistent local variable without
 using named common ??
 
 - -- mats
 
 
 
 @USER0
 @USER1
 @USER2
 @USER3
 @USER4
 
 This is also in the manual.   :)
 
 Dave Barrett,
 Lawyers' Professional Indemnity Company
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UD] UniData 7.1 PDF Docs

2005-09-06 Thread David Wolverton
I just downloaded the PDF docs -- it appears the INDEX.PDX is missing 

Anyone else have this issue, or did I somehow grab a defective ZIP from the
IBM Web Site?

And if anyone has the index.pdx for UD 7.1, I'd love to get it -- I used the
'search' all the time in the 6.1 docs

David W
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UD] UniData 7.1 PDF Docs

2005-09-06 Thread Wally Terhune
Should be there..
In my installation:
C:\IBM\UDDoc\ud71\index.pdf

You may have to open it 'directly' (find it and double click on it) to use
the Adobe search tool

Wally Terhune
Manager - U2 Advanced Client Support
IBM Information Management
Tel: 303.294.4866  -- New Number 9/24/05:  303.773.7969
Fax: 303.294.4832 -- New Fax 9/24/05:303.773.5915
[EMAIL PROTECTED]

Check out the details of the special 3 day SMB offer available for U2
customers and Partners to attend the IBM DB2 Information Management
Technical Conference on September 11-16, 2005 in Orlando, Florida.

See the complete listing of exciting U2 technical sessions that will be
offered.  Attend several of the no-charge U2 pre-conference tutorials on
Sunday the 11th. Sign up for no-charge U2 certification exams that are
taking place throughout the conference. Attend one of our brand new
Usability Lab sessions on External Database Access (EDA) or U2 Web Builder
and offer your valuable feedback on product design and functionality.

http://www.ibm.com/software/data/u2/offers



 David Wolverton
 [EMAIL PROTECTED]
 etTo
 Sent by:  u2-users@listserver.u2ug.org
 [EMAIL PROTECTED]  cc
 stserver.u2ug.org
   Subject
   [U2] [UD] UniData 7.1 PDF Docs
 09/06/2005 03:44
 PM


 Please respond to
 u2-users






I just downloaded the PDF docs -- it appears the INDEX.PDX is missing 

Anyone else have this issue, or did I somehow grab a defective ZIP from the
IBM Web Site?

And if anyone has the index.pdx for UD 7.1, I'd love to get it -- I used
the
'search' all the time in the 6.1 docs

David W
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

[demime 1.01d removed an attachment of type image/gif which had a name of 
graycol.gif]

[demime 1.01d removed an attachment of type image/gif which had a name of 
pic03937.gif]

[demime 1.01d removed an attachment of type image/gif which had a name of 
ecblank.gif]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] UniData 7.1 PDF Docs

2005-09-06 Thread David Wolverton
Nope -- not in the ZIP file on the IBM web site, it would appear...

It *should be*, but it's not...  Where did you get your copy of the
documentation??

David W. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wally Terhune
Sent: Tuesday, September 06, 2005 6:16 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UD] UniData 7.1 PDF Docs

Should be there..
In my installation:
C:\IBM\UDDoc\ud71\index.pdf

You may have to open it 'directly' (find it and double click on it) to use
the Adobe search tool

Wally Terhune
Manager - U2 Advanced Client Support
IBM Information Management
Tel: 303.294.4866  -- New Number 9/24/05:  303.773.7969
Fax: 303.294.4832 -- New Fax 9/24/05:303.773.5915
[EMAIL PROTECTED]

Check out the details of the special 3 day SMB offer available for U2
customers and Partners to attend the IBM DB2 Information Management
Technical Conference on September 11-16, 2005 in Orlando, Florida.

See the complete listing of exciting U2 technical sessions that will be
offered.  Attend several of the no-charge U2 pre-conference tutorials on
Sunday the 11th. Sign up for no-charge U2 certification exams that are
taking place throughout the conference. Attend one of our brand new
Usability Lab sessions on External Database Access (EDA) or U2 Web Builder
and offer your valuable feedback on product design and functionality.

http://www.ibm.com/software/data/u2/offers



 David Wolverton
 [EMAIL PROTECTED]
 etTo
 Sent by:  u2-users@listserver.u2ug.org
 [EMAIL PROTECTED]  cc
 stserver.u2ug.org
   Subject
   [U2] [UD] UniData 7.1 PDF Docs
 09/06/2005 03:44
 PM


 Please respond to
 u2-users






I just downloaded the PDF docs -- it appears the INDEX.PDX is missing 

Anyone else have this issue, or did I somehow grab a defective ZIP from the
IBM Web Site?

And if anyone has the index.pdx for UD 7.1, I'd love to get it -- I used the
'search' all the time in the 6.1 docs

David W
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

[demime 1.01d removed an attachment of type image/gif which had a name of
graycol.gif]

[demime 1.01d removed an attachment of type image/gif which had a name of
pic03937.gif]

[demime 1.01d removed an attachment of type image/gif which had a name of
ecblank.gif]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Problems with UniObjects and .NET Service

2005-09-06 Thread David Jordan
I assume you are talking about a web service when you say a .NET service.

When you are doing a webservice you have to process through the IIS
facility.  With IIS particularly older versions of windows server there is
an issue with running dlls for security reasons, a bit like the sandbox
security of java. As the dll is being accessed from the internet it creates
a potential security hole and thus there are restrictions to running dlls.

I cannot remember the specific details, but read up about
inprocess/outprocess dlls in IIS.  What you have to do is to declare the
dlls you want to use and they will work with IIS.   Caution, every time you
update the dlls you may have to restart IIS.

Hope this points you in the right direction

Regards
David Jordan
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/