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: 
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] Issue with installing UniVerse on Linux

2007-07-09 Thread Trevor McNamara
Hi,

I'm having some issues with installing UniVerse on an Ubuntu machine.

I have everything in the /tmp/uv directory, so the listing is like this:-

CONNPL
CVTB
DEVELOP
DOC
FILESIZE
GCI
IC
JDBC
MAIN
NETWORK
NLS
OBJ
PORTING
QA
STARTUPUCI
UOJ
UVODBC
uv.load

When I run ./uv.load it runs, i select option 1 (Install as root), then it
prompts for the settings, which i change option 4 and 5 to /tmp/uv
So looks like this:-
_
UniVerse Installation Options

The current settings of the available options are:

   UniVerse installer: root
   UniVerse administrator: root  uid=0  gid=0

1) UniVerse home directory:   /usr/ibm/uv
  (currently: Not Installed.)
2) UniVerse-UniData shared directory: /usr/ibm/unishared
  (currently: Not Installed.)
3) Compile terminfo definitions:  true
4) Rewind tape name   /tmp/uv
5) No-rewind tape name/tmp/uv
6) Long File NamesOFF
_

When i press enter to begin installing it comes up with the following:-
_
User uvsql will inherit ownership of the SQL catalog.
Downloading from /tmp/uv to /usr/ibm/uv

Now loading uniVerse from the install media...

cpio: premature end of file
Unable to read installation media.
Contact your IBM support representative.
_


I have created the uvsql and uvadm users.
I have also tried burning it all to cd and running it from there, which
produced the same results?

Anyone got any ideas?

Thanks
Trev
---
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 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] Trigger help

2007-07-09 Thread Dean.Armbruster
I didn't see a post for B, so here is mine:

Inside your trigger routine, use SYSTEM(49) to dump the program stack.
@LOGNAME will give you the user running it.  Report them in a fashion
most helpful to you, e.g. write it to a log, send an email, etc.
SYSTEM(51) may also be helpful.



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Norman Morgan
> Sent: Wednesday, June 27, 2007 12:09 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Trigger help
> 
> It's time to wave the white flag and display my ignorance.  
> After all these years of writing MV code, I am attempting to 
> use a trigger routine for the first time.  I need to find out 
> what is causing the "mysterious disappearance" of the 
> contents of certain fields in our PRODUCT master file.  It 
> looks like an update trigger would be the best way, but how do
> I:
> 
> A) compare the before and after images of the record to catch 
> changes in those fields
> B) determine what program is doing the felonious update and 
> what user is running it.
> 
> I can do all of these easily in an SB+ subroutine, but it 
> looks like I need to do it in barefoot UniBasic.
> 
> Can someone give me some pointers?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Changing ownership of an SQL Schema

2007-07-09 Thread Richard Taylor
We have a number of ODBC schemas setup in Unidata.  Some have been around
for quite awhile and the person who created them is no longer around.  What
is the methodology to change the documented ownership of these schemas?

Rich Taylor | Senior Programmer/Analyst| VERTIS
250 W. Pratt Street | Baltimore, MD 21201
P 410.361.8688 | F 410.454.8392
[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
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [ID] SA: Unidata 7.1.8 on RH Linux vs permissions.

2007-07-09 Thread Jon Wells

Greg,

This is probably the problem.  I'll be able to try this in the morning.

Thanks,
Jon

At 03:04 PM 7/9/2007, Greg Fraser wrote:

Jon,

Just a thought...did you try running convdata and convidx (probably 
using the -r option on both) against the account you copied over from AIX?


>>> Jon Wells <[EMAIL PROTECTED]> 7/9/2007 3:32 PM >>>
Hi all,

I'm unable to run updatevoc on a copy of a UDT account from our AIX
server as I get a "Segmentation fault".  It ran fine on the demo
account; of course the Unidata install created that with 777
permissions.  Does anyone know enough about Unidata internals to know
where to look for what I assume is a permissions issue?

Thanks,

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


[U2] SQL Select problem using ORDER BY and UONET

2007-07-09 Thread Peter Veenhof
Hi all,

I'm using SQL select statements in Universe (so I can implement JOINS)
however in UONET the SelectList object, ReadList() method returns a
UniDynArray that has all the VMs replaced with AMs if I use ORDER BY in
the select! Has anyone else experienced this problem? If I have no ORDER
BY in the select then I get a proper UniDynArray back with VMs and
AMS

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


Re: [U2] [ID] SA: Unidata 7.1.8 on RH Linux vs permissions.

2007-07-09 Thread Jeff Schasny
Have you run fnuxi on the copied data files?

Jon Wells wrote:
> Hi all,
>
> I'm unable to run updatevoc on a copy of a UDT account from our AIX 
> server as I get a "Segmentation fault".  It ran fine on the demo 
> account; of course the Unidata install created that with 777 
> permissions.  Does anyone know enough about Unidata internals to know 
> where to look for what I assume is a permissions issue?
>
> Thanks,
>
>
> *---*
>   Jon Wells
> Database Administrator Beloit College
> Information Services & ResourcesBeloit, Wisconsin
> 608-363-2290[EMAIL PROTECTED]   608-363-2100(fax)
> *---*
> Colleague 17   Benefactor 5.1
> AIX 5.1.3IBM RS6000 F50UniData 6.1.11
> *---*
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
>

-- 

Jeff Schasny - Denver, Co, USA
jeff at schasny dot com

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


[U2] [ID] SA: Unidata 7.1.8 on RH Linux vs permissions.

2007-07-09 Thread Jon Wells

Hi all,

I'm unable to run updatevoc on a copy of a UDT account from our AIX 
server as I get a "Segmentation fault".  It ran fine on the demo 
account; of course the Unidata install created that with 777 
permissions.  Does anyone know enough about Unidata internals to know 
where to look for what I assume is a permissions issue?


Thanks,


*---*
  Jon Wells
Database Administrator Beloit College
Information Services & ResourcesBeloit, Wisconsin
608-363-2290[EMAIL PROTECTED]   608-363-2100(fax)
*---*
Colleague 17   Benefactor 5.1
AIX 5.1.3IBM RS6000 F50UniData 6.1.11
*---*
---
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/


[U2] Unidata config

2007-07-09 Thread Jeff Butera
I'm having trouble with unidata 7.1 (hpux 11.23) accepting some of my 
configuration.  When I enter


MAX_FLENGTH 1073741824
SBCS_SHM_SIZE 16777216

and attempt to save, I get the following

MAX_FLENGTH is not reasonable.  Recommended to be >= 32KB and <= 2GB-16KB
and SBCS_SGM_SIZE is set to 0.

Last I checked, 1,073,741,824 was <= 2GB-16KB.  These values work fine on 
similar Solaris server.


Anyone have insight why it thinks this is unreasonable?


Jeff Butera, Ph.D.
Administrative Systems
Hampshire College
[EMAIL PROTECTED]
413-559-5556

"Daddy - did you lose your mind?"
Catherine Butera
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Disappearing Indexes on UniVerse

2007-07-09 Thread Jerry Banker
I have seen where the system automatically creates a new index when it
encounters an error. I have two sets of indices right now on my system.
We didn't create them so the system must have.

I_CUST.HIST.XR00
I_CUST.HIST.XREF
I_CUST.MS00
I_CUST.MSTR

I've checked the SET.INDEX and the 00 files are the ones being used, the
others were the ones we created. We do batch rebuilds of our indices at
night so I guess they could have been created then. Resize may do it
also.
Jerry

-Original Message-
From: Bernard Lubin [mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 08, 2007 6:21 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Disappearing Indexes on UniVerse

I have several instances of indexes disappearing.  The symptom is as
follows:
 The index file is still present at unix, but it looks like it has been
re-initialised (It looks like someone has manually deleted the index,
then
re-issued the CREATE-INDEX without running the BUILD.INDEX)
 This seems to happen after we have run a RESIZE on the system.  We do
not
disable the index prior to running the RESIZE command. But there have
been
instances of the index just disappearing when no RESIZE was done on the
system.
  Our normal users do not have access to TCL, and no programs issues the
"DELETE-INDEX" command. The indexing of a file can only be done by the
system administrator. 
  
 
Has anyone experienced similar situation?  If so, how did you resolve
it?  
 
Any help/suggestion would be greatly appreciated.
 
 
Bernard Lubin
Development Department
Reynolds and Reynolds
---
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] UV install - internal vs. external

2007-07-09 Thread bpaige
Thanks to all that replied!

Licensing isn't an issue.  If we need to reconfigure our licensing scheme
and/or purchase more licenses, we will.

My larger concern is any of those extraneous files out in the wonderful world
of unix.  Doing a central install doesn't do us much good if there are files
outside of the install directory that would need to be constantly maintained
anyway.  Also, we'd need to know what they all are so that they can be set up
on any failover server(s).

If anyone knows of any that haven't already been mentioned in this thread,
please let me know.

Thanks!
Brian

~
>
> Talk to your supplier about backup server licensing.
>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _

The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material not 
intended for Public use.  
Any review, retransmission, dissemination or other use of, or taking of any 
action in reliance upon, this information by persons or entities other than the 
intended recipient is 
strictly prohibited. If you received this communication in error, please notify 
the sender and delete the material from any and all computers or devices.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Disappearing Indexes on UniVerse

2007-07-09 Thread Ray Wurlod
Could be that RESIZE isn't re-creating the index pathname in the file's header 
- which, if true, would be a bug.

A workaround would be to follow the RESIZE with a SET.INDEX command to 
re-inform the hashed file about the location of its indexes.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/