[U2] Uniobjects.net READU Question

2007-03-01 Thread Patricia Wilson
Issue: When you do a READU on a record that doesn't exist, the first
time it fails and hits the exception, but the second read is successful
- even though the record still doesn't exist.



Why? Is this a bug?

   try

{

UniSession u=UniObjects.OpenSession(host, login,
passwd, account, uvcs);

UniFile file=u.CreateUniFile(filename);

file.UniFileLockStrategy =
UniObjectsTokens.UVT_EXCLUSIVE_READ;

UniDynArray record;

for (int i = 0; i  2; i++)

{

try

{

record = file.Read(reckey);

txtStatus.Text += string.Format(Try#{0}: read
successful\r\n, i);

}

catch (Exception ex)

{

txtStatus.Text += string.Format(Try#{0}: read
exception: {1}\r\n, i, ex.Message);

}

}

UniObjects.CloseSession(u);

}

catch (Exception ex)

{

txtStatus.Text += string.Format(session exception:
{0}\r\n, ex.Message);

}













Patricia M. Wilson

MIS

x 3095

813.635.3095

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


RE: [U2] Spectrum Conference in Long Beach, CA- IBM U2 Certification testi ng

2007-03-01 Thread Stevenson, Charles
  From: Eric Armstrong, Friday, February 02, 2007 8:16 AM
  Does anyone know how many and what kinds of tests IBM will be giving?
  Also, how long is each test, 
  and what is the best way to prepare for them?

I learned the following from IBM  Spectrum today.

IBM testing will be offered free to conference attendees.
Thursday  Friday mornings from 9-12.
Note: published schedule says more, but hours had to be reduced.

Each test has a 90 minute limit.

Certification information can be found on the website at:
   http://www.ibm.com/certify/certs/dm_index.shtml#u2

These are the U2 certification tests available.
   U2 Family Application Development
  http://www-03.ibm.com/certify/certs/u2sefyad.shtml
   UniVerse V10.1 Administration
  http://www-03.ibm.com/certify/certs/u2seuva10.shtml
   UniVerse V9.6 Administrator
  http://www-03.ibm.com/certify/certs/u2seuva9.shtml
   UniData V6.1 Administration
  http://www-03.ibm.com/certify/certs/u2seuda6.shtml
   UniData V5.2 Administrator
  http://www-03.ibm.com/certify/certs/u2seuda5.shtml

I *think* passing any of those allows you to bill yourself as an
IBM Certified Solutions Expert - U2
 and use an IBM logo to that effect.  Something like that.

As for training, IBM suggests taking their classes:
   U2125 Programming
   UV904 UV Admin 
   UD200 UD Admin
They hope to make sample tests available in the future, but don't have
any yet.
It sounds like an opportunity for list members to jump in and offer
their 3rd party training or books.


I hope that helps,
Chuck Stevenson
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


FW: [U2] Uniobjects.net READU Question

2007-03-01 Thread IT-Laure Hansen
Please read the thread below: Chuck in our staff has interesting
comments and some workaround coding methodology that may be the answer.

Laure Hansen,
City of Redwood City
Information Technology
www.redwoodcity.org
1017 Middlefield Road
Redwood City, CA 94063
Tel: 650-780-7087
Fax: 650-556-9204
[EMAIL PROTECTED]
 


-Original Message-
From: IT-Chuck Smith 
Sent: Thursday, March 01, 2007 1:27 PM
To: IT-Laure Hansen
Subject: RE: [U2] Uniobjects.net READU Question


The pre dot.net uniobjects did not have exceptions (more accurately, the
pre dot.net VB did not have exceptions) so you had to check the status.
I continued the practice in my dot net app partly out of habit but  also
because I read the documentation and saw that the status tests were
still supported.  I agree that it looks like there is a bug, but if the
code is robust you won't hit it.  You can send my sample in as a
workaround if you want -- it's definitely the way to go.

Chuck 

-Original Message-
From: IT-Laure Hansen 
Sent: Thursday, March 01, 2007 1:24 PM
To: IT-Chuck Smith
Subject: RE: [U2] Uniobjects.net READU Question

Thanks, I'll try to look into your code further soon. Do you recommend I
send it back to the U2 e-mail group as a workaround? I'll be happy to do
that. 

I'm surprised you haven't hit it in your work in the past (unless there
were no records locks in the code you've written in the past?). Seems
that if it is a known bug, it would have surfaced pretty quickly. Maybe
it is linked to a specific version and/or environment?

Laure Hansen,
City of Redwood City
Information Technology
www.redwoodcity.org
1017 Middlefield Road
Redwood City, CA 94063
Tel: 650-780-7087
Fax: 650-556-9204
[EMAIL PROTECTED]
 


-Original Message-
From: IT-Chuck Smith 
Sent: Thursday, March 01, 2007 1:19 PM
To: IT-Laure Hansen
Subject: RE: [U2] Uniobjects.net READU Question


No I didn't know about it.  In addition to catching the exception, we
should test the status.  This covers the bases.  Here is what I mean
from my demo app (the test for UVE_RNF is for a record that doesn't
exist, i.e. Record Not Found):

Try
Form5020.RecordID = ClaimNo.Trim
Form5020.Read()
Select Case Form5020.FileStatus
Case UVE_NOERROR
If Form5020.Record.Extract(30, 0, 0).StringValue
=  Then
Call EnableFields(True)
Else
txtApprDate.Text =
UniverseConnection.uonetSession.Oconv(Form5020.Record.Extract(30, 0,
0).StringValue, D4/)
Call EnableFields(False)
End If
txtEmp5020.Text = ClaimNo.Trim
txtInj5020.Text = ClaimNo.Trim
txtAppr5020.Text = ClaimNo.Trim
temp = Form5020.Record.Extract(1, 1,
0).StringValue
Call GetEmployeeData(temp)
txtEmpSsn.Text = temp.Substring(0, 3) + - +
temp.Substring(3, 2) _
+ - + temp.Substring(5, 4)
temp =
UniverseConnection.uonetSession.Oconv(Form5020.Record.Extract(14, 0,
0).StringValue, D4/)
dte = Convert.ToDateTime(temp).ToLongDateString
dteInjuryDate.Value = dte
txtAccidentDesc.Text =
Form5020.Record.Extract(10, 0, 0).StringValue
cnt = InjuryCodes.Dcount(1)
For i = 1 To cnt
If Form5020.Record.Extract(58, 0,
0).StringValue = InjuryCodes.Extract(1, i, 0).StringValue Then
cmbKindOfAccident.SelectedIndex = i - 1
Exit For
End If
Next
txtSupvName.Text = Form5020.Record.Extract(28,
0, 0).StringValue
temp =
UniverseConnection.uonetSession.Oconv(Form5020.Record.Extract(30, 0,
0).StringValue, D4/)
If temp.Trim   Then
dte =
Convert.ToDateTime(temp).ToLongDateString
txtApprDate.Text = dte.ToString
End If
If txtApprDate.Text   Then
btnApprove.Enabled = False
End If
tab5020.SelectedTab = EmployeeTab
Case UVE_RNF
ok = MessageBox.Show(Claim  + ClaimNo.Trim + 
Not Found., _
Simple 5020, buttonType, icontype, 0, 0)
Exit Sub
Case UVE_LCK Or UniObjectsTokens.LOCK_OTHER_READU
ok = MessageBox.Show(Record is locked by
another user, _
Simple 5020, buttonType, icontype, 0, 0)
Exit Sub
Case Else
 

[U2] OT:Employment

2007-03-01 Thread Anthony Dzikiewicz
Hi all,

If anyone knows of an open position in the Providence/Boston  area, I
would appreciate a heads up.  My company was bought  and I will soon be
out of a job.

Thanks
Anthony Dzikiewicz
Alperts Furniture

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.5/707 - Release Date: 3/1/2007
2:43 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Lists are back online

2007-03-01 Thread Bill Haskett
Many thanks, Larry.  :-)

Bill Haskett

|-Original Message-
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED] On Behalf Of Larry Hiscock
|Sent: Thursday, March 01, 2007 1:29 PM
|To: u2-users@listserver.u2ug.org; 
|[EMAIL PROTECTED]; 
|[EMAIL PROTECTED]; [EMAIL PROTECTED]
|Subject: [U2] Lists are back online
|
|Hi folks,
|
|Sorry for the interruption in the list traffic.  We had some technical
|difficulties getting majordomo properly configured with demime and the
|digests under the new security model.
|
|It appears that things are functioning correctly now, and the 
|digests should start going out beginning this evening.
|
|Thanks again for your patience and understanding.
|
|Larry Hiscock
|Moderator
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] OT:Employment

2007-03-01 Thread will

Is this the fate of all of us or is the glass half full?

Anthony Dzikiewicz wrote:

Hi all,

If anyone knows of an open position in the Providence/Boston  area, I
would appreciate a heads up.  My company was bought  and I will soon be
out of a job.

Thanks
Anthony Dzikiewicz
Alperts Furniture

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


RE: [U2] OT:Employment

2007-03-01 Thread Bill Haskett
The glass is half full.

Bill
 

|-Original Message-
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED] On Behalf Of will
|Sent: Thursday, March 01, 2007 6:08 PM
|To: u2-users@listserver.u2ug.org
|Cc: [EMAIL PROTECTED]
|Subject: Re: [U2] OT:Employment
|
|Is this the fate of all of us or is the glass half full?
|
|Anthony Dzikiewicz wrote:
| Hi all,
|
| If anyone knows of an open position in the Providence/Boston  area, I
| would appreciate a heads up.  My company was bought  and I 
|will soon be
| out of a job.
|
| Thanks
| Anthony Dzikiewicz
| Alperts Furniture
|---
|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] OT:Employment

2007-03-01 Thread Tony Gravagno
(Testing to see if I can respond to this forum again)
When a company buys a site with MV software, and the decision has been made
to trash everything already in place, it seems apparent that there wasn't a
lot of discussion on the matter.  Everyone assumes that's the best decision
because the people making the decisions only know one side of the equation.
People rarely take a position to champion the preservation of the MV app,
usually because the acquired IT people aren't talking with new management.

MV software and data can be integrated with that of a parent company.
There may not be a need to replace the system.  Integration rather than
migration should be high on the list of options, at least to start,
especially in today's world of Service Oriented Architecture where software
is Expected to do this sort of thing.  As IBM and other companies have
found, the MV solution may actually be the best available for the business.
Most of my clients are VARs rather than end-users, and I've heard a number
of stories of buy-outs where the MV app was trashed, only to be brought
back in years later when the new owners find out the company wasn't running
as smoothly as it was when the MV app was in place.

I'm not saying MV is always the best solution.  I've seen some really
rotten MV solutions and great software that wasn't MV-based.  But someone
needs to do a semi-impartial analysis to compare the systems of the new
owners with those of an acquired company.  If the MV software deserves to
go, so be it.  For anyone who faces losing their job, I'd recommend you try
to ensure that management has all the facts and knows their options - you
don't have a lot to lose.

Tony Gravagno
Nebula Research and Development
TG@ removethisNebula-RnD.com

will wrote:
 Is this the fate of all of us or is the glass half full?
 
 Anthony Dzikiewicz wrote:
 Hi all,
 
 If anyone knows of an open position in the Providence/Boston  area, I
 would appreciate a heads up.  My company was bought  and I will soon
 be out of a job. 
 
 Thanks
 Anthony Dzikiewicz
 Alperts Furniture
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] OT:Employment

2007-03-01 Thread Bruce Nichol

At 19:07 01/03/07 -0800, you wrote:


The glass is half full.


Ah! But which half?



Regards,

Bruce Nichol
Talon Computer Services
ALBURYNSW 2640
Australia

http://www.taloncs.com.au

Tel: +61 (0)411149636
Fax: +61 (0)260232119

If it ain't broke, fix it till it is! 
---

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


RE: [U2] OT:Employment

2007-03-01 Thread Kevin King
But someone needs to do a semi-impartial analysis to compare the
systems of the new owners with those of an acquired company.

Ah, and therein lies the rub Tony.  Acquisitions and mergers do not
generally include many impartial parties.  The only difference between
business as usual and acq/merge is that with an acq/merge you're less
likely to have people faking their ambivalence and/or ignorance.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Migration to Windows Servber 2003 on a VMWARE box

2007-03-01 Thread Bob Witney
I suspect that like many of you in the past, I am being asked to get Universe 
up on Windows 2003 server which will actually be a virtual machine (or two)

I am in contact with IBM who I am sure will be more than helpful as usual, but 
any feedback (off list so as not to bore everyone else) would be appreciated

Its a 100 user system on 10.1.14 and aix 5.3

We are using the GCI and aix sendmail and various links across sockets and via 
odbc to MS SQL databases

The system is pretty much 24/7 (except for the savevg's of course)

Thanks in advance - 

Bob Witney  
IT Senior
EXPLORE!
Nelson House
55 Victoria Road
Farnborough
Hampshire
GU14 7PA, UK

[EMAIL PROTECTED]
  Tel:  01252 379489
Mob: 07973 451156
  www.explore.co.uk


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] OT:Employment

2007-03-01 Thread Tony Gravagno
Kevin King wrote:
 But someone needs to do a semi-impartial analysis to compare the
 systems of the new owners with those of an acquired company.
 
 Ah, and therein lies the rub Tony.  Acquisitions and mergers do not
 generally include many impartial parties.  The only difference between
 business as usual and acq/merge is that with an acq/merge you're less
 likely to have people faking their ambivalence and/or ignorance.

And that's exactly why I put semi before impartial.  :)  There's no
doubt many people would be partial toward whatever decisions are already
favored.  But technical people by nature are inclined toward problem
solving rather than playing political games.  The right person doing a
system analysis, even someone completely bias in favor of relational
solutions, might recognize that the MV software supporting their new
acquisition could be partially responsible for their decision to buy the
company in the first place.  Good software is an asset.  Replacing it
without a proper evaluation is irresponsible.  If people find themselves in
this sort of situation, they should strongly recommend such an evaluation
on these grounds.

T

(Forum mods, thank you very much for your efforts.  I can now post from my
preferred server.)
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/