[U2] uniobjects issue

2011-09-30 Thread douglas chanco
I have  a fairly simple c# .net console application that selects data from a 
pick file loads it into a (in memory) data table and then bulk loads it into a 
sql table.

The process works fine on a test system but on another system that has the same 
pick table but with 20ish indexes (yeah I know) it locks up.

The program does a uniobjects read and lockstrategy no locking, the record is 
not locked and I wrapped the command in a try catch and no error is returned, 
it's just stuck at the read command.

I can use ED to read the record the locking table does not show any lock on 
that item and using every (with the LIST.READU) doesn't show anything either.

A fellow worker mentioned a index lock but I am not sure why that would cause a 
lock in the uniobjects program, I did a test with a pick program reading the 
pick file and writing to a unix file and it has no problems, but every time I 
run the uniobjects program on this system is freezes at different points and 
with different items, yet when I run the program on a system where there are 
either no indexes and/or no activity the code runs fine.

I may have to modify the program to call the pick subroutine and then read from 
the created unix file, but I thought I's ask teethe list first for ideas or 
suggestions

thanks

dougc

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


RE: [U2] Uniobjects Issue

2007-07-10 Thread David Jordan
Hi Steve

If I remember rightly, there may be an issue of opening files not in the
account, ie remote files from other accounts.  Check to see if this file you
are looking at is a remote file.  

Another issue could be as simple as the logon you are using does not have
access rights to the file you are using.

Regards 

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


RE: [U2] Uniobjects Issue

2007-07-10 Thread Steve Long
Thanks for all the responses.  It turns out it was the UD_Database config.
The account I was working in was not defined.  Once I fixed it, it worked
famously.

Thanks for the help!

Steve From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject:
RE: [U2] Uniobjects Issue Date: Tue, 10 Jul 2007 16:45:30 +1000  Hi Steve
 If I remember rightly, there may be an issue of opening files not in the
account, ie remote files from other accounts. Check to see if this file you
are looking at is a remote file.   Another issue could be as simple as the
logon you are using does not have access rights to the file you are using. 
Regards   David Jordan --- 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] Uniobjects Issue

2007-07-09 Thread Steve Long
Hi all -

I am new to Uniobjects and have written a small test program that just reads a
specified record from a file and returns it.  This works perfectly on the PE
edition, as well as on my clien't system IF I attempt to read a standard file
like VOC or BP.  If I attempt to read a record out of a file or directory I
have created, it fails stating the file doesn't exist, when I know full well
it does, as does the record I am trying to read.

Is there a configuration I missed somewhere?

Thanks in advance.

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


Re: [U2] Uniobjects Issue

2007-07-09 Thread Ray Wurlod
UniVerse or UniData?  If UniVerse, try creating with CREATE TABLE, just to 
check a theory; it ought to make no difference, though it does for ODBC access.

 - Original Message -
 From: Steve Long [EMAIL PROTECTED]
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Uniobjects Issue
 Date: Mon, 9 Jul 2007 11:53:19 -0700
 
 
 Hi all -
 
 I am new to Uniobjects and have written a small test program that just reads a
 specified record from a file and returns it.  This works perfectly on the PE
 edition, as well as on my clien't system IF I attempt to read a standard file
 like VOC or BP.  If I attempt to read a record out of a file or directory I
 have created, it fails stating the file doesn't exist, when I know full well
 it does, as does the record I am trying to read.
 
 Is there a configuration I missed somewhere?
 
 Thanks in advance.
 
 Steve
 ---
 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] Uniobjects Issue

2007-07-09 Thread Hona, David S
It's likely you're not logged on to the same account. Check your code to
see if you specify the account name or pathname of the account (where
you file resides).


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Long
Sent: Tuesday, July 10, 2007 4:53 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Uniobjects Issue

Hi all -

I am new to Uniobjects and have written a small test program that just
reads a specified record from a file and returns it.  This works
perfectly on the PE edition, as well as on my clien't system IF I
attempt to read a standard file like VOC or BP.  If I attempt to read a
record out of a file or directory I have created, it fails stating the
file doesn't exist, when I know full well it does, as does the record I
am trying to read.

Is there a configuration I missed somewhere?

Thanks in advance.

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


Re: [U2] Uniobjects Issue

2007-07-09 Thread John Kent

Steve,
   uniobject or uniobjects dot net ?

Contact me offline if you want some examples
or
have a look at the pickwicki web site

jak
- Original Message - 
From: Steve Long [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Tuesday, July 10, 2007 4:53 AM
Subject: [U2] Uniobjects Issue



Hi all -

I am new to Uniobjects and have written a small test program that just 
reads a
specified record from a file and returns it.  This works perfectly on the 
PE
edition, as well as on my clien't system IF I attempt to read a standard 
file
like VOC or BP.  If I attempt to read a record out of a file or directory 
I
have created, it fails stating the file doesn't exist, when I know full 
well

it does, as does the record I am trying to read.

Is there a configuration I missed somewhere?

Thanks in advance.

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.10.0/887 - Release Date: 5/07/2007 
1:55 PM

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


[U2] UniObjects Issue

2007-03-20 Thread Chandrika Padaki
Is there anyone out there who can help me with an Unibjects issue I am
facing. We currently are working with Universe 9.6 and I am using
Uniobjects to retrieve the information. I have successfully used
ReadNamedField method to do that. We will be moving to Universe 10.1.17.
I am unable to use the ReadNamedField method available in the newer
releases of Uniobjects anymore. Are there any known issues or
whitepapers I can use. I have been searching the IBM site and have found
no reference to any change in functionality. Any help I can get will be
well appreciated. 

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


Re: [U2] UniObjects Issue

2007-03-20 Thread Daniel
Hi Chandrika,
We've also experienced some issues with ReadNameField method on
Uniobjects for Java ( on Unidata 7.1)
The issue was that after executing the
method, when we called a subroutine , we got UniSubroutine Exception (Error
number 30102), almost every time we try.

We changed our way of getting named
fields by creating a subroutine on Unidata that made the work for us. I don't
know if maybe that problem with the ReadNameField method is the reason you
can't make it work.

Let me know if you get more lights on this problem
Daniel


- Original Message 
From: Chandrika Padaki
[EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent:
Tuesday, March 20, 2007 10:23:02 AM
Subject: [U2] UniObjects Issue

Is there
anyone out there who can help me with an Unibjects issue I am
facing. We
currently are working with Universe 9.6 and I am using
Uniobjects to retrieve
the information. I have successfully used
ReadNamedField method to do that. We
will be moving to Universe 10.1.17.
I am unable to use the ReadNamedField
method available in the newer
releases of Uniobjects anymore. Are there any
known issues or
whitepapers I can use. I have been searching the IBM site and
have found
no reference to any change in functionality. Any help I can get
will be
well appreciated. 

Thanks in advance.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit
http://listserver.u2ug.org/
_
___
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your
favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects Issue

2007-03-20 Thread Chandrika Padaki
Daniel,
I will, we are currently working with IBM on this issue. What version of 
Uniobjects are you working on?
Chandrika

 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daniel
Sent: Tuesday, March 20, 2007 2:38 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] UniObjects Issue


Hi Chandrika,
We've also experienced some issues with ReadNameField method on
Uniobjects for Java ( on Unidata 7.1)
The issue was that after executing the
method, when we called a subroutine , we got UniSubroutine Exception (Error
number 30102), almost every time we try.

We changed our way of getting named
fields by creating a subroutine on Unidata that made the work for us. I don't
know if maybe that problem with the ReadNameField method is the reason you
can't make it work.

Let me know if you get more lights on this problem
Daniel


- Original Message 
From: Chandrika Padaki
[EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent:
Tuesday, March 20, 2007 10:23:02 AM
Subject: [U2] UniObjects Issue

Is there
anyone out there who can help me with an Unibjects issue I am
facing. We
currently are working with Universe 9.6 and I am using
Uniobjects to retrieve
the information. I have successfully used
ReadNamedField method to do that. We
will be moving to Universe 10.1.17.
I am unable to use the ReadNamedField
method available in the newer
releases of Uniobjects anymore. Are there any
known issues or
whitepapers I can use. I have been searching the IBM site and
have found
no reference to any change in functionality. Any help I can get
will be
well appreciated. 

Thanks in advance.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit
http://listserver.u2ug.org/
_
___
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your
favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
---
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/