Re: [U2] Does UniDynArray of UOJ behave differently in Unix/Linux?

2007-07-23 Thread waivic
I need to set LANG=en_US in order for the codes working in our system. 
Wai 


waivic wrote:
> 
> We have a Unidata 7.1 runing on a Redhat Linux server. I build a
> subroutine X.SUB1(XL.INPUTS, X.OUTPUT). XL.INPUTS is a dynamic array list;
> X.OUTPUT is the output.
> b&
> b&
> 
> When I run the above UniObject codes in True Unix 64 environment,
> XL.INPUTS correctly get the input values and X.SUB1 is being run
> correctly. However, when I run the above UniObject codes in Red Hat Linux
> environment, the XL.INPUTS doesnbt being populated with the correct values
> from the input UniDynArray-inputArray. 
> 
> I have two questions:
> 1. Does anyone know the reason why this happens? 
> 2. Do I use the correct way to pass in an array of values to a subroutine
> with UOJ? Is there any better way to pass in an array of values through
> UOJ?
> 

-- 
View this message in context: 
http://www.nabble.com/Does-UniDynArray-of-UOJ-behave-differently-in-Unix-Linux--tf4127157.html#a11757186
Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Move data files from Unidata to Universe

2007-07-23 Thread Scott Ballinger
I have a Unidata demo on my pc that I installed along the the PE version of
Unidata. I want to test in my Universe/Linux environment. How does one
convert a Unidata account to Universe? (I am ok with the ud style dicts, so
I just need to convert the data files, indexes? etc.) It has been suggested
that uvbackup can do this.

/Scott Ballinger
Pareto Corporation
Edmonds WA USA
206 713 6006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Dictionary Help!

2007-07-23 Thread Al DeWitt
UniData 6.0.12.



I'm trying to remember where there is list of subroutines I can use when
creating v-descriptors/i-descriptors.  Since I don't do it very often I
have forgotten which manual they can be found in.



Can anybody enlighten me?



Thanks.



Albert DeWitt

Sr. Programmer Analyst

Stylmark, Inc.

763.574.8705 (V)

763-574-1052 (F)

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


RE: [U2] Unidata 7.1 / RedBack 4.2.6 / Connections dropping?

2007-07-23 Thread John Jenkins
Andy

Stopping while the "dbpause" is in effect and a RedBack request hits the
system at the time?

Otherwise - are you hitting a "sync" bottleneck with RFS?

Of course - I hope you are not starting RedBack as "root".

Regards

JayJay

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Pflueger
Sent: 22 July 2007 14:52
To: U2 User Group Mailing List
Subject: [U2] Unidata 7.1 / RedBack 4.2.6 / Connections dropping?

Hi all,

We've recently implemented a workaround on our Solaris 9 (production)
box to restartrgw on a daily basis...immediately following our backup
script that essentially runs dbpause, breaks mirror, dbresume, backups
the broken mirrored disk, and mirror resync. In addition, we're also
running UD w/ RFS enabled. The problems that we are facing (hence why
the workaround was implemented to restartrgw) was that RedBack would
intermittently drop connections if it goes for 3-4 days or so without
being restarted. By dropping connections I'm referring to anytime our
apps that use RedBack (very few anymore that we're developing our apps
with UniObjects) would result in unsuccessful db connection attempts.
Restartrgw seems to solve the immediate issue as does restartrgw on a
daily basis.

Has anybody out there running a similar setup encountered such
situations and is 'restartrgw' ultimately the best solution here? We
are, in fact, also running REDBACK.GC via a process that runs nightly
to keep garbage collection clean so I don't believe it's GC that is
part of the problem. Not sure if this makes sense or not, but it seems
to have started soon as we turned on RFS.

TIA,
Andy Pflueger
---
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] universe/unidata question

2007-07-23 Thread Brutzman, Bill
Approx seven years ago, for my company at the time, www.Epicor.com
recommended UniData for WinServers and UniVerse for Unix.

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Doug Chanco
Sent: Monday, July 23, 2007 4:24 PM
To: u2-users@listserver.u2ug.org
Cc: David London
Subject: [U2] universe/unidata question


Hey all,

I was wondering if anyone can tell me (or knows of any good
sites/articles that talk about)  the benefits of universe over unidata
(and visa versa).  From my universe days I recall that they had lots of
file types you could use (if your keys right mostly characters, left
heavy with numeric, etc )  which I don't think unidata has and I
also seem to recall (form my unidata days) that unidata had a self
resizing file (which I also recall did not work too well, by not
accounting for growth)



Other than that I cannot see the benefits of one over the other and
would appreciate any insight anyone would care to share



Thanks!



Dougc



_

Doug Chanco

Engineer Developer Senior, TLOTLD



Activant Solutions Inc.(tm)

Austin, Texas 78746

T: 800-678-5426

F: 512-278-5915

E-mail: [EMAIL PROTECTED] 

Web site: www.activant.com 

_
---
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] Redback problem with opening a pipe

2007-07-23 Thread Doug Farmer
John, 

Thanks for the response.  Of course it was user error.

The pipe names use the account name in the rgwresp.ini file.  For some
reason, I had included a space in the account name.  So the pipe name
ended up as "\\.\pipe\to_Manage 2000 7_2_3820"  (Notice the spaces!, I
sure didn't even in screen text I pasted into the message below)

When SPIDER is invoked, the pipe names are passed on the command line.
And, I bet SPIDER parses on spaces (I would have).  So, it ended up with
the wrong names for the pipes.

Of course we all thought firewall, security etc. like you pointed out.
Sorry for the trouble.

Doug

  



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Jenkins
Sent: Friday, July 20, 2007 6:30 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Redback problem with opening a pipe

Doug

A few things:

1. was RedBack installed as a LOCAL administrator? - not a domain
administrator or an administrator who inherits admin. Permissions from a
tiered domain admin. structure?

2. If you login as administrator on the console and use the Services
applet in Control Panel to start the service does it work?

3. Are the ports in rgwresp.ini available?

4. Does "rgwlint" give you a clean bill of health?

5. If you stop the other services does it now work?

6. Does RedBack work with the default rgwresp.ini?

7. Has someone "tuned" the registry - especially the desktop heap?


My suspicions are:

* Not installed as a true administrator

* Permissions (if not permissions due to the above)

* Over-zealous Anti-Virus/firewall software

* Windows resource issues (unusual on Win2K3)

Regards

JayJay



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Farmer
Sent: 20 July 2007 15:13
To: u2-users@listserver.u2ug.org
Subject: [U2] Redback problem with opening a pipe

Good morning,

Yesterday we tried to install Redback on a Windows 2003 server and we
are unable to get the Redback responders to work.

The server is also running SQL Server 2005 and BizTalk 2005.

If we look at the log records for a responder, we see the following
information.

UniData Release 6.1  Build: (5150)
(c) Copyright IBM Corporation 2005.
All rights reserved.

Current UniData home is D:\USR\UD61\.
Current working directory is d:\roi\MANAGE-2000.7.2.
:SPIDER \\.\pipe\to_Manage 2000 7_2_3820 \\.\pipe\from_Manage 2000
7_2_3820 ERROR open of topipe failed ERROR open of frompipe failed
:

We have a call into IBM, but they have only seen this once before and
closed that call without a solution.

We are running the connection with the parameter USEREXIT=WW.RPC as we
only need to be able to call subroutines from our Web pages.

We have installed this on Windows 2003 servers before with no problem.
Could it be SQL Server or BizTalk?

If anyone has any ideas, please let me know.

Thanks,

Doug Farmer


This e-mail is for the use of the intended recipient(s) only. If you
have received this e-mail in error, please notify the sender immediately
and then delete it. If you are not the intended recipient, you must not
use, disclose or distribute this e-mail without the author's prior
permission. We have taken precautions to minimize the risk of
transmitting software viruses, but we advise you to carry out your own
virus checks on any attachment to this message. We cannot accept
liability for any loss or damage caused by software viruses.
---
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/


This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] universe/unidata question

2007-07-23 Thread Doug Chanco
Hey all,

I was wondering if anyone can tell me (or knows of any good
sites/articles that talk about)  the benefits of universe over unidata
(and visa versa).  From my universe days I recall that they had lots of
file types you could use (if your keys right mostly characters, left
heavy with numeric, etc )  which I don't think unidata has and I
also seem to recall (form my unidata days) that unidata had a self
resizing file (which I also recall did not work too well, by not
accounting for growth)



Other than that I cannot see the benefits of one over the other and
would appreciate any insight anyone would care to share



Thanks!



Dougc



_

Doug Chanco

Engineer Developer Senior, TLOTLD



Activant Solutions Inc.(tm)

Austin, Texas 78746

T: 800-678-5426

F: 512-278-5915

E-mail: [EMAIL PROTECTED] 

Web site: www.activant.com 

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


Re: [U2] Does UniDynArray of UOJ behave differently in Unix/Linux?

2007-07-23 Thread Jeff Powell
On Linux I have found the UOJ needs LANG=en_US.iso885915

On Mon, 2007-07-23 at 00:05 -0700, waivic wrote:

> We have a Unidata 7.1 runing on a Redhat Linux server. I build a subroutine
> X.SUB1(XL.INPUTS, X.OUTPUT). XL.INPUTS is a dynamic array list; X.OUTPUT is
> the output.
> 
> I need to call X.SUB1 through UniObject for Java, I have the following codes
> (_uniSession is a UniSession Object):
> 
> UniSubroutine uSub = _uniSession.subroutine("X.SUB1", 2);
> UniDynArray inputArray = _uniSession.dynArray();
> inputArray.insert(1, 1, bF1V1b);
> inputArray.insert(1, 2, bF1V2b);
> inputArray.insert(1, 3, bF1V3b);
> inputArray.insert(2, 1, bF2V1b);
> inputArray.insert(2, 2, bF2V2b);
> inputArray.insert(2, 3, bF2V3b);
> ...
> ...
> UniDynArray returnValue=_uniSession.dynArray();
> uSub.setArg(0, inputArray);
> uSub.setArg(1, returnValue);
> uSub.call();
> b&
> b&
> 
> When I run the above UniObject codes in True Unix 64 environment, XL.INPUTS
> correctly get the input values and X.SUB1 is being run correctly. However,
> when I run the above UniObject codes in Red Hat Linux environment, the
> XL.INPUTS doesnbt being populated with the correct values from the input
> UniDynArray-inputArray. 
> 
> I have two questions:
> 1. Does anyone know the reason why this happens? 
> 2. Do I use the correct way to pass in an array of values to a subroutine
> with UOJ? Is there any better way to pass in an array of values through UOJ?
> 
> 
> Any suggestion is welcomed. Thanks a lot!
> 
> Wai
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2][UV] List-type Item File

2007-07-23 Thread Jeff Fitzgerald
Sounds like a cross reference file...  I would investigate the type 25
file, which is a B-Tree.  I don't know much about UV's implementation
but in general B-Tree files are good for this sort of thing.
Additionally, there are functions in UV BASIC that allow B-Tree file
navigation, BSCAN for instance.  Of course, you'll want to test before
committing to that approach.

HTH

Jeff Fitzgerald
Fitzgerald & Long, Inc.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Perry Taylor
Sent: Monday, July 23, 2007 6:56 AM
To: u2-users@listserver.u2ug.org
Subject: [U2][UV] List-type Item File

I have a need to store records which are lists of record ids, much like
those
in &SAVEDLISTS&, and I'm been trying to find the best file type to use.
There
will be millions of records in this file, with the number of attributes
varying from just a few to thousands.

This file will only be accessed by explicit item id and never queried.

I cannot use a type 1/19 file due to the number of records without
burning up
an excessive number of inodes (this is on Linux).  I would like to use a
dynamic file but I'm concerned about the varying size of the records and
performance.

Any suggestions?

Perry Taylor
ZirMed
626 West Main St , 6th Floor ● Louisville, KY 40202
www.zirmed.com 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2][UV] List-type Item File

2007-07-23 Thread Perry Taylor
I have a need to store records which are lists of record ids, much like those
in &SAVEDLISTS&, and I'm been trying to find the best file type to use.  There
will be millions of records in this file, with the number of attributes
varying from just a few to thousands.

This file will only be accessed by explicit item id and never queried.

I cannot use a type 1/19 file due to the number of records without burning up
an excessive number of inodes (this is on Linux).  I would like to use a
dynamic file but I'm concerned about the varying size of the records and
performance.

Any suggestions?

Perry Taylor
ZirMed
626 West Main St , 6th Floor ● Louisville, KY 40202
www.zirmed.com 


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
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Does UniDynArray of UOJ behave differently in Unix/Linux?

2007-07-23 Thread Bob Little
I wonder if your LANG environment is set right on the Linux box.

I know I have seen unexpected results with UV on Linux when the LANG 
environment variable is not set to "C".

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of waivic

I have two questions:
1. Does anyone know the reason why this happens? 
2. Do I use the correct way to pass in an array of values to a subroutine
with UOJ? Is there any better way to pass in an array of values through UOJ?


Any suggestion is welcomed. Thanks a lot!

Wai
-- 
View this message in context: 
http://www.nabble.com/Does-UniDynArray-of-UOJ-behave-differently-in-Unix-Linux--tf4127157.html#a11736870
Sent from the U2 - Users mailing list archive at Nabble.com.
---
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Does UniDynArray of UOJ behave differently in Unix/Linux?

2007-07-23 Thread waivic
We have a Unidata 7.1 runing on a Redhat Linux server. I build a subroutine
X.SUB1(XL.INPUTS, X.OUTPUT). XL.INPUTS is a dynamic array list; X.OUTPUT is
the output.

I need to call X.SUB1 through UniObject for Java, I have the following codes
(_uniSession is a UniSession Object):

UniSubroutine uSub = _uniSession.subroutine("X.SUB1", 2);
UniDynArray inputArray = _uniSession.dynArray();
inputArray.insert(1, 1, bF1V1b);
inputArray.insert(1, 2, bF1V2b);
inputArray.insert(1, 3, bF1V3b);
inputArray.insert(2, 1, bF2V1b);
inputArray.insert(2, 2, bF2V2b);
inputArray.insert(2, 3, bF2V3b);
...
...
UniDynArray returnValue=_uniSession.dynArray();
uSub.setArg(0, inputArray);
uSub.setArg(1, returnValue);
uSub.call();
b&
b&

When I run the above UniObject codes in True Unix 64 environment, XL.INPUTS
correctly get the input values and X.SUB1 is being run correctly. However,
when I run the above UniObject codes in Red Hat Linux environment, the
XL.INPUTS doesnbt being populated with the correct values from the input
UniDynArray-inputArray. 

I have two questions:
1. Does anyone know the reason why this happens? 
2. Do I use the correct way to pass in an array of values to a subroutine
with UOJ? Is there any better way to pass in an array of values through UOJ?


Any suggestion is welcomed. Thanks a lot!

Wai
-- 
View this message in context: 
http://www.nabble.com/Does-UniDynArray-of-UOJ-behave-differently-in-Unix-Linux--tf4127157.html#a11736870
Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/