RE: [U2] Identifying UD files

2006-01-25 Thread Chuck Mongiovi
 which OSOPENs and reads from the file and compares certain bytes at the 
 beginning of the file which appeared consistent in my initial checks, 
 however some valid files don't match this pattern.  Are there any more 

A year or so back, someone posted the /etc/magic settings for UV files, but 
no-one's come forward with UDT numbers yet ..
-Chuck
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Freeing up AIX disk space

2006-01-17 Thread Chuck Mongiovi
 I keep deleting files from AIX, but when I run a df -k, the amount of
 free space seems to be decreasing as opposed to increasing.

Does your free space always decrease that quickly?

It sounds like you're deleting the files (with rm?) and the reason that 
you're not getting the space back is that the files are in use by another 
process .. Try the df -d command to see if there's deleted files pending .. 
If you log them off, you'll get the space back .. So if the person that's got 
the files opened is a phantom or daemon, you'd have to stop that process as 
well ..

Before you do deletes, you should run the fuser -f filename (or fuser -c 
/filesystem) command to see if someone's using the file .. 

If files AREN'T in use, you should get the space back immediately .. If they're 
not in use, you'd be safe to resize them on the fly (if the resize is quick) ..

If you're on UDT, i've got a script that I use that uses fuser and then figures 
out what UDT users are involved using listuser ..

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


RE: [U2] Freeing up AIX disk space

2006-01-17 Thread Chuck Mongiovi
I wrote this last night, but for some reason it didn't get sent ...
-Chuck
---

 I keep deleting files from AIX, but when I run a df -k, the amount of
 free space seems to be decreasing as opposed to increasing.

Does your free space always decrease that quickly?

It sounds like you're deleting the files (with rm?) and the reason that 
you're not getting the space back is that the files are in use by another 
process .. Try the df -d command to see if there's deleted files pending .. 
If you log them off, you'll get the space back .. So if the person that's got 
the files opened is a phantom or daemon, you'd have to stop that process as 
well ..

Before you do deletes, you should run the fuser -f filename (or fuser -c 
/filesystem) command to see if someone's using the file .. 

If files AREN'T in use, you should get the space back immediately .. If they're 
not in use, you'd be safe to resize them on the fly (if the resize is quick) ..

If you're on UDT, i've got a script that I use that uses fuser and then figures 
out what UDT users are involved using listuser ..

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


RE: [U2] [UD] BASIC LOCKs

2005-12-28 Thread Chuck Mongiovi
David,
I don't currently use a READU on my UD system to LOCK phantoms, but I use it 
on UniVerse and it works unless you do an End Task on the UVSH process from 
the windows console .. Then you have to do some syntax of the UNLOCK command to 
fix things .. On my AIX machine, I use the listuser and ps commands to see if a 
phantom is actually still running .. This has it's quirks too ..

That being said, I tested a small phantom process and had it do a LOCK 1 
command and had it shutdown 3 ways without explicitly running a CLEAR.LOCKS 
command
1) normal exit (STOP)
2) deleteuser
3) input required

In all three cases, the LOCK went away .. I may start using this as a way to 
check that my phantoms are running ..

I know that UniVerse has similar LOCK syntax .. Does anyone else out there have 
any experience with LOCK and phantoms on UV?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of David Wolverton
Sent: Wednesday, December 28, 2005 12:56 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UD] BASIC LOCKs


Since we don't have Semaphore-like COMMON structures, I was going to use the
BASIC LOCK to know that a Phantom was running -- the lock missing would
tell me to start the process.

HOWEVER, if the phantom 'dies' - the documentation makes it read as if the
LOCK will stay engaged -- does anyone have practical knowledge if a phantom
falling over 'implies' an ECL QUIT?

I know I could use READU, but my understanding is that BASIC LOCKs use far
fewer resources to test - and as I will add a test for the Phantom being
'up' in several common routines, I don't want to cause extra bottlenecks.

(I really wish we had cross-process COMMON for things like this!)

Thanks -
David W.
---
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] Emails into AIX

2005-12-08 Thread Chuck Mongiovi
 I need to be able to email into the aix box to trigger automatioc process

Automatic processes on the PICK side or the AIX side? .. I have a .forward
script that gets run every time a piece of email comes in for a specific
user and writes it out individually into a UNIX directory .. I then have a
PHANTOM on the PICK side running looking for items in that PICK file ..

If it's on the AIX side, you can just use the .forward script ..
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] UniVerse Date/Time to UTC

2005-10-28 Thread Chuck Mongiovi
 Does anyone know if there is built-in functionality in UniVerse to
 convert a date and time to UTC?  I look through conversion codes and
 cannot seem to find anything there.  Any ideas?

Conversion or the current value? .. The current value (in seconds) is UV
SYSTEM(99)

To convert DATE() / TIME() to UTC, use:
( DATE() - 732 ) * 86400 + TM + (TIME.ZONE.OFFSET * 3600)

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


[U2] PICK 101

2005-10-04 Thread Chuck Mongiovi
Hey all,
We've got a new employee at my company with no PICK experience at all ..
Does anyone know of anywhere local to get a PICK 101 course in the NYC
area?
Thanks ..
-Chuck
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PICK 101

2005-10-04 Thread Chuck Mongiovi
 Matt Stern at Comprehensive Computer Services does Pick training. He's on
Long Island.

His answering machine works, so I left him a message ..

 http://tincat-group.com/mv/trilogy.html

These are great! ..

 Jon Sisk's PICK BASIC book that is online

I happen to have a mirror of it, so I can start there too ..

I'll update y'all again if I hear from Matt ..

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


[U2] AIX disk performance and UniData

2005-09-28 Thread Chuck Mongiovi
Hey all,
I'm having some system performance issues and I was wondering if there's a
way to resize UniData files to take advantage of AIX system's striping ..

We have all of our logical volumes striped - one is 2 disks stripes, one is
3 disks .. they're both setup with a stripe size of 128k .. So - my question
is if I raise the modulo on files with a MOD of less than 128 to 128 or 256
(prime of course) will I see a more even usage of my disks?

Does anyone have any experience with this at all?
-Chuck
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] Universe without root access

2005-09-23 Thread Chuck Mongiovi
what sort of printers , users are you talking about? - unix level
printers / users? .. on UniData, I have my users set up to use deleteuser
by running a BASIC program that does a sudo deleteuser {pid} command ..
they have no idea that they're using sudo, and it keeps them out of the root
account ..

HTH

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike Farrant
Sent: Friday, September 23, 2005 3:44 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [UV] Universe without root access


Yes we have sudo, but I was wondering whether a user could be setup as a
universe super-user (with privilege to setup printers, add/remove users
etc) without having root access.

Thanks

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chuck Mongiovi
Sent: 22 September 2005 17:38
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [UV] Universe without root access

use sudo .. it allows you to setup users to run commands with other
users privileges ..

ie: sudo kill 12345

http://www.courtesan.com/sudo/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike Farrant
Sent: Thursday, September 22, 2005 11:15 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] Universe without root access


Hi all,

We're wanting to remove root access from ALL Universe Users.

Is there a way to do this without losing super-user privilege

HP-UX B.11.11
Universe 9.6.1.6


Thanks in advance,

Mike
---
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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2]UD Login User

2005-09-16 Thread Chuck Mongiovi
As always - Unix or WinNT? ..

try listuser and ps eww syntax ..

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: Friday, September 16, 2005 1:43 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2]UD Login User


In a message dated 9/13/2005 6:18:16 AM Pacific Standard Time,  
[EMAIL PROTECTED] writes:

Hi,
After I login to Unidata, is there a way to know who is logged  in and
which account?

Thanks,
Savita  Chauhan


Others have answered your question if you want to know:
1) Who am *I* and 2) Where am *I* logged in ?
 
If your question was really:
3) Show me everyone who is logged in and where everyone is.
 
Then you can use LIST-USERS
 
Will Johnson
---
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]UD Login User

2005-09-14 Thread Chuck Mongiovi
HOPE THIS HELPS
http://www.geocities.com/SouthBeach/Lagoon/9819/acronyms.html

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marilyn Hilb
Sent: Wednesday, September 14, 2005 11:01 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2]UD Login User


Ok. I have to ask.. What does hth mean??

HTH,

Jeff Fitzgerald
Fitzgerald  Long, Inc.
---
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 for .NET

2005-08-18 Thread Chuck Mongiovi
Does anyone know where the SDK for UniObjects for .NET .. I can't find it to
download from on-line .. I tried installing UV10 DK to find the
uodotnet.dll, but no luck ..
-Chuck MOngiovi
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] get program name

2005-07-29 Thread Chuck Mongiovi
Try SYSTEM(9001) in UniVerse or SYSTEM(49) in UniData - these give the BASIC
call stack ..
-Chuck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dianne Ackerman
Sent: Friday, July 29, 2005 1:17 PM
To: U2 List Server
Subject: [U2] [UV] get program name


Is there a way in basic to get the name of the program you're in?  I
want to pass the name of the program to a subroutine for error reporting
and I don't want to have to set a variable PROG.NAME = THIS.PROG.NAME
in every program.  I was hoping for some kind of @PROGNAME variable, but
I can't find one.
Thanks!
-Dianne
---
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] get program name

2005-07-29 Thread Chuck Mongiovi
 That seems to return a 0.  Where in the documentation does it list what 
 the different SYSTEM functions are?

Are you on UV 10? .. My notes say it started in 10.0.4 .. 

From a discussion a year or so ago:

V 10.0.6 Patchlist says: 
   2621 The UniVerse BASIC SYSTEM(9001) function now returns the 
@LEVEL in correct order, and returns correct addresses. 


SYSTEM(9001) will return a dynamic array that contains roughly the same
info that PORT.STATUS LAYER.STACK or RAID T command coughs up. 

Here is a sample subroutine that displays the data and a dummy program
that calls it. 
Then from the menu, I get to pseudo-TCL and execute the dummy program. 

   CT CDS.BP SYS9001 DUMMY 

  SYS9001 
   0001 SUBROUTINE SYS9001 
   0002 CRT Depth Executing.. Address 
   0003 S = SYSTEM(9001) 
   0004 FOR A = 1 TO COUNT( S, @AM ) 
   0005 CRT SA,1 4R##: : SA,2 40L#40: SA,3 
   0006 NEXT A 
   0007 CRT QUOTE( S ) 
   0008 RETURN 

  DUMMY 
   0001 CALL SYS9001 

   ED VOC LIST 
   8 lines long. 

   : XEQ RUN CDS.BP DUMMY 
   Executing the command RUN CDS.BP DUMMY. 
   Depth Executing.. Address 
3: CDS.BP.O/SYS90010x6 
2: CDS.BP.O/DUMMY  0x0 
1: /dbms/uv/catdir/*UVPRINTMSG 0x4b40 
0: /dbms/uv/catdir/-MATBLOCK   0x0 
   -1: /dbms/uv/catdir/-PERMISSIONS0x0 
   -2: /dbms/uv/catdir/-GET.FILE.NAME  0x0 
   -3: /dbms/uv/BP.O/ED.B  0x0 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] get program name

2005-07-29 Thread Chuck Mongiovi
 From a discussion a year or so ago:

LOL

I guess I'm not the only pack rat here ;)
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Connecting SQL server from Universe

2005-07-26 Thread Chuck Mongiovi
 We are trying to connect to MSSQL server from Universe Database Server
 (currently we are using Universe 10.1.7 on Aix 5.2). Doesn't anybody

I've done it from UV 9.6 using the SQL api:
SQLConnect()
SQLExecDirect()
SQLDisconnect()

Etc ..

Is there any reason you couldn't use these if you've installed the ODBC
drivers under Unix?

Contact me privately and I can send you a sample program ..
-Chuck
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] What is the opposite of FORM.LIST? (uv10)

2005-07-20 Thread Chuck Mongiovi
How about COPY-LIST?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dave Walker
Sent: Wednesday, July 20, 2005 8:33 AM
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] What is the opposite of FORM.LIST? (uv10)


Depending on your basictype, you'd be wanting either READLIST or READSELECT.

READLIST dyn.array.var [FROM list.num] {THEN statements [END] | ELSE
statements [END]}
Synonym
READSELECT (BASICTYPE P only)

--
Dave Walker
8..7 4(())  -::-
  -::-8.74 .74(())
 ((88.74  ..74  -::-
((88.74   * Peace



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of George Gallen
 Sent: Tuesday, July 19, 2005 4:21 PM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] What is the opposite of FORM.LIST? (uv10)


 I know you use FORM.LIST to create an active list from a
 File/Item where
   the list will be each attribute of the item,

 But how do you save a select list to a file?

 I tried using SAVE-LIST FILENAME ITEMNAME but it doesn't seem to work,
   the FILENAME in question is a type 30, and the help page
 says it needs
   to be a type 1 or 19.

 Is there a way to get this to work on a type 30 file? without
 having to save
 it first to SAVEDLISTS, then copy it from there to the
 file/item in question.

 George
 ---
 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/


RE: [U2] Problem with phantom on Universe/NT

2005-07-07 Thread Chuck Mongiovi
Have you tried this:
NET USE \\server\share /user:xxx password
from the phantom before your copy?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of gerry-u2ug
Sent: Wednesday, July 06, 2005 6:38 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Problem with phantom on Universe/NT


my guess is that this is an authentication problem.
when logged in as yourself you have access to the remote server.
but the phantom, logged in as , does not.

Gerry


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ed Weissman
Sent: Wednesday, July 06, 2005 05:44 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Problem with phantom on Universe/NT


I have a DOS .bat command that does 2 things.  It moves a file from one
directory on the NT server (on which Universe resides) to another (archive)
directory on the same server.  It also copies that file from the NT server
to
another server on the network.  I have a PICK BASIC program that invokes
that
.bat file using EXECUTE  DOS /c runit.bat.  This PICK BASIC program works
perfectly when run from a live session, but not from a phantom.  When
invoked
from the phantom, the same server move works fine, but the copy to
another
server does nothing.  Clearly, the .bat file is always being invoked, but
it's almost like the other server isn't recognized from the phantom session.
Anyone else experience anything like this?  What gives?  Any insight greatly
appreciated.

Thanks,
Ed Weissman
The Matrix Group
---
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/


RE: [U2] [UD] License count update

2005-06-29 Thread Chuck Mongiovi
I took the UD200 admin class a while back, and you could just do a kill -1
smm_pid and it would recognize the changes in licence availability .. This
would also reset the MAX.USER count if you happend to set it to 0 to stop
logins .. The class was probably on UD 6, so I'm not sure if it works on 5.x
..

-CHuck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, June 29, 2005 10:53 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [UD] License count update


I just used the 'stopsmm -r' command with version 6.1.10 on HP-UX and it
worked as advertised for both a number of users licensed update and for
an Authorization update.  It certainly is nice to avoid the headaches a
restart.

My only comment is that if this handy way to bypass a restart has been
around since 5.0.1, which I believe was GA in 2000, it should have it
made it into the documentation by now, namely Installing and Licensing
UniData 6.1 Products.  We skipped version 5.0, going from 4.1 to 5.2,
so we never saw that readme.

Dean Armbruster
Ferguson Enterprises, Inc.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Wally Terhune
 Sent: Wednesday, October 13, 2004 4:44 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] [UD] License count update

 From the 5.0.1 readme (yes - it's been around for a number of
 years) I've used 'kill -HUP smm.pid' regularly on Unix. I
 can't say that I've used 'stopsmm -r' or tried it on Windows...
 You don't want to 'fat finger' a kill -9 smm.pid, though...  :-)

 Issue 7795 - Problem description

 UniData -- Prior to this release, when any changes were made
 for licensing purposes through the confprod utility, UniData
 had to be stopped and started again for those changes to take
 effect. Beginning at this release you no longer have to stop
 and start UniData.

 On UniData for UNIX, after changing the licensing information
 and obtaining an authorization code, execute either of the
 following commands from the UNIX
 prompt:

 kill -HUP smm_pid_ID
 or
  stopsmm -r

 On UniData for Windows NT, you use the stopsmm -r command.
 Note: Certain functions require that UniData be stopped, such
 as executing cntl_install, changing a file from recoverable
 to nonrecoverable, changing the udtconfig file, etc.


 Wally Terhune
 Manager - U2 Advanced Technical Services IBM DB2 Information
 Management Software
 Tel: 303.294.4866 Fax: 303.294.4832
 [EMAIL PROTECTED]

 www.ibm.com/software/data/u2/support - Open, Query, Update,
 Search - Online!



  Andy Pflueger
  [EMAIL PROTECTED]
  il.com
   To
  Sent by:  U2 User Group Mailing List
  [EMAIL PROTECTED] u2-users@listserver.u2ug.org
  stserver.u2ug.org
   cc


  Subject
  10/13/2004 01:24  [U2] [UD] License count update
  PM


  Please respond to
  u2-users






 Howdy folks,

 Just a question regarding updating license counts on the
 fly without physically issuing the 'stopud' and 'startud'
 command following the udtconfig file update for NUSERS
 parameter. I hear there's a kill command such as the
 following to essentially restart smm to re-read the updated
 configuration/license information without having users logoff...

 :WHAT
 Hardware : Sun Station
 Operating system : Solaris
 O.S. version : 2.7
 UniData version  : 6.0.3

 $ kill -HUP fill in PID # of SMM process here

 How will this affect a system which has users connected and
 their existing udt processes; or will it? Just want to check
 with y'all out there and see if anyone's done this on the fly
 and how it works.

 Danke,
 Andy Pflueger
 Ivy Hill Corporation
 Louisville, KY
---
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] To Cron or Not To Cron?

2005-05-23 Thread Chuck Mongiovi
If you were on UV 10, I'd say put an update trigger on the file and watch
what / who's doing it ..
-Chuck
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin King
Sent: Monday, May 23, 2005 3:41 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] To Cron or Not To Cron?


I have a client system running UV 9.6 on Linux, and sometime between
midnight and 4am in the morning, there's a job getting started that is
horking up some data.  I've checked cron and I'm not seeing anything
getting started there, any other ideas where I should look?  UV itself
doesn't have a scheduler, does it?

-Kevin
HYPERLINK mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
http://www.PrecisOnline.com

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.15 - Release Date: 5/22/2005
---
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] Access Violation

2005-05-16 Thread Chuck Mongiovi
 We have an application running on a Windows machine that telnets to a
 Universe server (running on Windows), calls a Universe program that

If you run the process from a console window, sometimes you can get more
messages about why it's failing ..
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Creating Unidata Triggers

2005-05-05 Thread Chuck Mongiovi
Exclusive access? .. You need to be the owner of the file .. I typically log
in as root, log into UniData, and create trigger .. Then every time I update
the trigger, I have a little program that compiles and then globally catalog
the trigger routines .. The trigger BASIC pgm has to be a globally
catalogued routine .. Here's the commands I use:

DELETE VOC PROGRAM_NAME (in case it's locally catalogged)
BASIC BP PROGRAM_NAME
CATALOG BP PROGRAM_NAME FORCE NEWVERSION (global  update shmem with the new
code)

HTH/Chuck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alfke, Colin
Sent: Thursday, May 05, 2005 12:56 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Creating Unidata Triggers


You need exclusive access to the file. If another user has the file
open then you might have problems.

Recently, I've been seeing this message - but the trigger has still been
added and works. Not sure why.

Hth
Colin Alfke
Calgary Canada
where is hasn't snowed in almost a week

-Original Message-
From: Jeffrey Butera

I've had plenty of luck creating unidata triggers in the past,
but I'm now getting permission denied.  I know from the docs
the info about who can (and
can't) create triggers.  Can anyone shed light on where
trigger info is stored under /usr/ud6x (or unishared), and if
changing permission on files in those directories requires a
restart of unidata?
---
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] [UD] Halting a Unidata process

2005-04-29 Thread Chuck Mongiovi
+AD4- In your experience, would '+ACE-kill -15 +AFs-pid+AF0-' cause any Unidata 
problems like
+AD4- file corruption, etc?

+AD4- It could indeed cause file corruption if the pid was in the middle of a 
WRITE.

Why aren't you going a +ACI-deleteuser pid+ACI- .. doesn't UDT on SUN have that?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniData file sizing weirdness

2005-04-01 Thread Chuck Mongiovi
Have you tried or tested with TYPE 1 hashing?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of George Land
Sent: Friday, April 01, 2005 4:19 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] UniData file sizing weirdness


Running UniData 6 on AIX 5.2 we have a file that is building from empty,
it is dynamic and has grown from a modulo of 1001 to a current modulo of
447845, far bigger than we would expect.  Running an ANALYZE.FILE on it
we have one key in group 0 then groups 1 to 15 have 0, groups 16, 18, 23
etc have one in and all the others are empty.  This file is being built
by one program and it is only writing to the file, nothing is deleting
from it.  The process doing it is taking much longer than it did (it
used to start at around 2.30 and be finished by 5.30, now it is starting
at 2.30 and finishing about 12.00)

The items all have keys like 98555*NO*W*NO-Z48*ENG*N and the body of the
items are 25-30 characters.

We've tried it as KEYONLY and as KEYDATA using the default split load
and merge load for each one.

Anyone any ideas what is going on/things to check?

Regards,
 
George Land
Technical Director
APT Solutions Limited
www.aptsolutions.co.uk 
---
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] UDT dynamic files

2005-03-18 Thread Chuck Mongiovi
 Chuck,  Is the file indexed?  I have noticed an improvement in copying

Yes, it is .. I'll do some more testing with the indexing disabled and see
what happens ..
-cHUCK
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] broken dynamic file on UDT

2005-03-07 Thread Chuck Mongiovi
Hey all,
I've got a *very* large dynamic file running on a UDT 6 / AIX 5 system ..
I'm trying to fix it with memresize and getting the following error:

Resize   HISTFILE  mod(,sep) = 0(,-1)  type = -1  memory = 8000 (k)
RESIZE file HISTFILE to 258317.
The temporary file for memresize is rsztemp9jrTya.
2:blk check error in U_catch_tuple for file 'HISTFILE' key '35676354',
number=224274
cannot read record from HISTFILE,key is 35676354 grp(224275) (1)th key --
RESIZE failed
No dictionary file reference in VOC for rsztemp9jrTya.
memresize failed.

The file DOES have indexes ..

I never have any problems with fixing static files, but when thie file
breaks (and it has several times), I can't fix it .. I just have to copy as
much data out of it as possible and dump the rest ..

Any ideas?
-Chuck MOngiovi
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] InterCall on Linux (to AIX)

2005-02-24 Thread Chuck Mongiovi
Hey all,
All of this talk of web interfaces has gotten me to experiment with
InterCall .. I'm trying to get a sample program running InterCall to work on
a RedHat machine talking to a UDT database on an AIX machine .. I've
successfully gotten the ICTEST program to work native on the AIX machine,
and also have it talk to other servers that we have .. I'm guessing that to
get the ICTEST working on Linux, I've got to get a version of PE for Linux,
and then MAKE the ICTEST there ..

IBM took down the PE from their web site .. So - assuming I've got my
process correct, if anyone has a copy of PE to share so I can get InterCall
working, please email me privately ..

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


RE: [U2] Will there be a PE version of SB+?

2005-02-16 Thread Chuck Mongiovi
You might want to peek at http://www.openqm.org/tiki-index.php

Does this work under other Unix flavors besides Linux? .. The builds look
like they're strictly Linux ..
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Universe to Web interface

2005-02-09 Thread Chuck Mongiovi
Does the PHO interface work with UniData as well?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ken Hall
Sent: Wednesday, February 09, 2005 4:35 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Universe to Web interface


If you are interested in a PHP interface to Universe using Intercall, 
please contact me.

Ken Hall, I.T. Manager
I.T. Manager
Western States Electric
Portland, Oregon
[EMAIL PROTECTED]

At 12:53 PM 2/9/2005, you wrote:
Wouldn't a php interface to U2 be nice? Then we could have LAUP instead of
LAMP. Or some such.

Python would be gravy too.

--
Dave Walker
 8..7 4(())  -::-
   -::-8.74 .74(())
  ((88.74  ..74  -::-
 ((88.74   * Peace



  -Original Message-
  From: CDMI [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, February 09, 2005 2:27 PM
  To: u2-users@listserver.u2ug.org
  Subject: RE: [U2] Universe to Web interface
 
 
  Will - this is what 'web servers' do.
  Good ones that are integrated with multivalue (that I know
  of) are typically
  not free.
 
  Steve T
  [EMAIL PROTECTED]
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  [EMAIL PROTECTED]
  Sent: Wednesday, February 09, 2005 12:30 PM
  To: u2-users@listserver.u2ug.org
  Subject: Re: [U2] Universe to Web interface
 
  In a message dated 2/9/2005 5:34:48 AM Pacific Standard Time,
  [EMAIL PROTECTED] writes:
 
   I still don't get why you want to use a BAT file to do this at all.
   IF you're using IIS, you should really be using ASP.
 
  I don't.
  Here is what I want From a web page, click on something, which in ANY
  fashion reaches into Universe and displays the results on
  that web page.
 
  Focusing on the ANY fashion, any way, any how, any method,
  with example
  code please so I don't go insane trying to follow the
  hand-waving.  And
  preferable I'm looking for the absolutely simplest manner of
  doing this.
  And the free way too ... btw.
 
  PS thanks for those of you who sent various examples of doing this.
  Will
  ---
  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/



Ken R. Hall
Information Technology Manager
Western States Electric, Inc.
9151 SE McBrod Street
Portland, OR 97222
503-653-8619
fax: 503-653-2279
mailto:[EMAIL PROTECTED]
www.wselectric.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/


[U2] Distributed files VS Dynamic files

2005-02-07 Thread Chuck Mongiovi
I spoke with a friend a few days ago about Distributed files .. I had never
worked with them before .. Now after doing some research (Kudos to Malcolm
Bull) I understand what DF's are ..

My questions are these:
Is there an equivalent of a distributed file on UniData?
Is there an equivalent to a UniData dynamic file (that can span disks and
reach tera-byte size) on UniVerse?

I know the two concepts are unrelated, but in the case of files growing over
2gb, they seem to overlap in usefulness ..

Any ideas?
-Chuck Mongiovi
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV - GROUP.STAT.DETAIL

2005-02-03 Thread Chuck Mongiovi
UniVerse or UniData? .. You could use the RECORD command, or FIXTOOL with
the appropriate log options ..

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Carolina Lizama
Sent: Thursday, February 03, 2005 11:44 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] UV - GROUP.STAT.DETAIL


Is there a way (a command or logic) to determine which records resides in
which bucket inside a hashed file, assuming we dont have the Hasing
Algorithm. I just want to simulate the output of GROUP.STAT.DETAIL through a
Basic Program.

Carol.


GROUP.STAT.DETAIL ERROR.DETAIL
Type description= Hashed, keys end in numbers.
Bytes  Record.id   File= ERROR.DETAIL  Modulo= 269  Sep= 4  Type= 2
   388  807
   404  269
   368  538
--
  1160 Bytes 3 Records in Group 1

   388  539
   404  1
   380  808
   400  270
--
  1572 Bytes 4 Records in Group 2

_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---
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] parsing XML

2005-01-24 Thread Chuck Mongiovi
What's the easiest way to:

1) parse an XML dynamic array (flat text) document into it's individual
key/value groups?
2) convert a dynamic array into an XML document?

... besides the obvious brute-force method of (1) parsing manually, and (2)
using a FOR/NEXT loop to build the XML document ...

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


RE: [U2] The list format and usefulness

2004-12-21 Thread Chuck Mongiovi
  Perhaps one solution (and I should take my own advice) is to read
through
  the existing responses and only provide a new or unique answer. Thus,
the
  post will get one occurrence of '4' instead of 20.

 there  are still times I reply to the only item in my inbox and then due
to
 list-lag (unavoidable), don't see my reply for a couple of hours. In the

My $0.02 is to follow *ancient* email ettiquete and copy what you're
replying to ..
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV / UNIX] - Automatically retrieving Exchange Rate from the Internet

2004-12-13 Thread Chuck Mongiovi
 I need to update my app. with live (daily) currency exchange rate
 information.  I used to do this by extracting information from a text
 base file posted to the internet by the IMF but it appears that they
 have now stopped doing this??  It struck me at the time that this was a

Try using lynx (or maybe curl) with this:
lynx -dump
http://www.oanda.com/convert/classic?user=printableexch=USDvalue=1expr=E
URdate_fmt=usdate=12/06/04lang=en

and parse the info out of the results .. There's probably better sources for
this on-line if you look around ..
HTH
-Chuck
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PICK Assembler Language

2004-11-12 Thread Chuck Mongiovi
Earlier on, the moderator mentioned to take the history portion of this
discussion to the U2 community list .. Where / How do we subscribe to the U2
community list?
-Chuck
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PICK Assembler Language

2004-11-10 Thread Chuck Mongiovi
 Ultimate, where Ult ran NATIVE under it's own virtal machine ..

 If you make an exception for Ult on VM, then you make the exact identical
 exception for MvBase on Windows.

I corrected myself to say CAN MvBase run as the ONLY O/S, whether or not
it's running in a VM

I gather from Brian's last post that it can't ..
-Chuck
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PICK Assembler Language

2004-11-08 Thread Chuck Mongiovi
I'm not familiar with MvBase, but I meant when PICK was the ONLY O/S on the
box, and the kernel was a PICK kernel .. I grew up on Ultimate
(Tech-Support, actually), so you can understand my model ..

I'll make an exception for something like the old IBM VM implementation of
Ultimate, where Ult ran NATIVE under it's own virtal machine ..

Does MvBase run as the ONLY O/S, or does it run in an emulator environment,
kind-of like Virtual-PC or WINE ..

Actually, I guess what I really mean is CAN MvBase run as the ONLY O/S,
whether or not it's running in a virtual environment ..
-Chuck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: Friday, November 05, 2004 6:56 PM
To: [EMAIL PROTECTED]
Subject: RE: [U2] PICK Assembler Language


Back when PICK ran native instead of under Unix (or whatever) ..

Pick STILL runs native in the MvBase implementation.  If you call it that.
It uses the same concepts of workspace, modes, and ABS frames and I'm sure
it's the same assembler, read pseudo-assembler.  Doesn't actually compile
to machine language you know.
Will
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PICK Assembler Language

2004-11-08 Thread Chuck Mongiovi
 Ok, so I'm a geek.  What can I say?  :)

And for all of the rest of the geeks out there, try this links out:

http://www.256b.com/

There was another link out there about making the smalles possible LINUX
executable - comparing the size of one generated with a C-compiler vs an
NASM compiler vs building it by hand to be the smallest, but I can't find it
..

 230 simultaneous serial users plus 22 serial printers on a 75Mhz 486.

 Funny how earlier the effort was borne on the programmer to be as
efficient
 as he could to make up for the deficiencies of the platform. Now-a-days,
the
 processors are so infinitely fast that they clearly cover up less
efficient
 programming.

 Therefore, it's easy to forget how far we've come.

You know, I was about to cheer your efficiency argument - since I *still*
try to be as efficient as possible regardless of the platform that I'm on,
but then you went and shot yourself in the foot ;)

The server I'm working on is IMHO *very* fast, but we run on SB+, which
makes it extremely easy to do tons of extra reads than are actually
necessary .. I've also got a few programmers who don't quite understand the
downside and performance implications of large DYNAMIC arrays ..

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


RE: [U2] PICK Assembler Language

2004-11-05 Thread Chuck Mongiovi
 Pick *has* an assembly language???!!!

Back when PICK ran native instead of under Unix (or whatever) ..

And some of us even programmed in it ..

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


[U2] AE on UniVerse

2004-10-29 Thread Chuck Mongiovi
Hey all,
I'd like to run AE (the UniData line editor) on UniVerse .. The source code
doesn't come with UniData .. Does anyone out there (maybe IBM?) have the
source code available so that I can port it over?

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


RE: [U2] AE on UniVerse

2004-10-29 Thread Chuck Mongiovi
 Any way you can backport it to 10.0 (10.0.17 to be precise)?

How about UV 9.6?
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] SYSTEM(40), [UV] SYSTEM(9001) - referencing name of a subroutine from within the subroutine.

2004-10-05 Thread Chuck Mongiovi
 for those interested in UV try SYSTEM(9001):
   OBJPATH = SYSTEM(9001)1,2
   PGMNAME = OBJPATH[ '/', DCOUNT(OBJPATH,'/'), 1 ]

What version of UV? .. It doesn't seem to work on 9.5
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] SYSTEM(40), [UV] SYSTEM(9001) - referencing name of a subroutine from within the subroutine.

2004-10-05 Thread Chuck Mongiovi
 introduced in 10.0.4 i believe

Thanks .. One day we'll get there .. But we've got say 100 or so small UV
based workstations to upgrade, and it's an all or nothing move ;)
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Unidata split node problem

2004-09-24 Thread Chuck Mongiovi
 UniData decides how many idxnnn files to use based on data
 volume, not number of indexed attributes.

Oops - I thought it was 1 to 1 ..
-Chuck
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Unidata split node problem

2004-09-23 Thread Chuck Mongiovi
 -rw-rw-r--   1 root users1073741824 Sep 23 10:14 dat001
 -rw-rw-r--   1 root users1073741824 Sep 23 14:55 dat002
 -rw-rw-r--   1 root users1073741824 Sep 17 14:13 dat003
 -rw-rw-r--   1 root users  55650304 Sep  6 10:39 dat004
 -rw-rw-r--   1 root users1073737728 Sep 23 14:49 idx001
 -rw-rw-rw-   1 root users1073737728 Sep 23 14:21 idx002
 -rw-rw-rw-   1 root users 960774144 Sep 23 14:21 idx003
 -rw-rw-r--   1 root users 236834816 Sep 23 14:55 over001

4 indexes or 3 - there's only 3 idxNNN files
-Chuck
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV: Indexing I-Descriptors

2004-09-20 Thread Chuck Mongiovi
 In order to get the customer name we translate into the address book.
Now
 Hence, you've got two unsynchronized indexes.  That's the problem noted.
 I don't believe U2 has an internal function to resolve this situation.

First off, I know that IBM doesn't support translates in indexes .. I know
for a fact that it doesn't work on UV - you build the index, and it *SEEMS*
to be OK, but all updates after that essentially produce a blank entry in
the index, since all NEW records don't actually exist when the initial index
update (and therefore initial translate) are done .. I suppose that if you
wrote the record initially (blank index key) and then later updated the
record without updating the translated data, the index would fix itself ..

The index still doesn't consistently work this way, so you can't really use
it ..

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


RE: [U2] RE: Seek Operation Failure

2004-09-20 Thread Chuck Mongiovi
 It just sounds like you have a corrupt file to me.

 Has the file possibly reached the Universe file limit size (varies
depending
 on what version you are running I believe) ?

You may have over-quoted a bit .. I couldn't follow what question you were
responding to ..
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Secure connex from outside world

2004-08-20 Thread Chuck Mongiovi
 I will only accept a secure connection ... SSH
 I have successfully used Putty

You could always use Putty to create an SSH tunnel (port forward your telnet
port to that system only) and then use whatever client you like ..

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


[U2] resizing VOC on UV

2004-08-13 Thread Chuck Mongiovi
The VOC file on my UV/NT box is set up as a type 3 file .. I'm thinking that
that's NOT the right type for the file, but I'm not sure yet ..

The CREATE.FILE documentation says that type 2 to 18 are hashed files ..
HASH.HELP says that type 3 files should be used for mostly NUMERIC keys and
also says that most of the keys in my VOC are full ASCII and should use type
4,8,12,16 ..

I can't find any other specific documentation about the HASH types, but my
inclination is to change the VOC from type 3 to type 4 ..

Has anyone had any negative experiences with this?

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


RE: [U2] Question on Unidata tables access speeds

2004-08-10 Thread Chuck Mongiovi
My opinion is that we're getting much too complicated here .. I agree that
it depepds on the data and file sizing .. I'd be interested in seeing the
output from:

1) LIST.INDEX FILE ALL
2) FILE.STAT FILE
3) LIST FILE INDEX.ATTRIBUTE1 INDEX.ATTRIBUTE2 .. etc (to see a sample of
the data)

Until then, all of this is just guess-work ..
-Chuck
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] many spindles - was Copying data between two UV servers

2004-08-03 Thread Chuck Mongiovi
 It's not just U2 that likes to have multiple spindles.
 Any disk intensive processing activity will benefit by having the load
split accross multiple disk subsystems.

Agreed .. So why when we bought our new RS6000 about 1 year ago did the IBM
guys try to sell us on a SMALLER number of LARGER disks and seemed suprised
when we said we wanted a LARGER number of SMALLER disks (small being
relative, since the smallest I could get now was 36gb) ..

I'll just put that down to the fact that they're sales guys, not technical
guys ;)
-Chuck
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] many spindles - was Copying data between two UV servers

2004-08-03 Thread Chuck Mongiovi
 FWIW, our newer disk cabinet with faster SCSI controllers and higher disk
RPM
  (but fewer spindles) blows away the older one that has 2-3 times the
spindles. :-)

 but 36 GB drives that cost a lot less, and that are a lot faster, and last
a lot longer

It's actually hard to think that a shop would NOT be mirrored/RAIDed these
days, so the question of a big drive dying becomes moot, and I'd be suprised
if the 36gb drives are actually faster than larger ones ..

Also, besides single drive speed/seek times, etc, I'd like to see some sort
of standard benchmark test, like this:

we tested 12 of these 36gb drives using RAID 0+1 (striping and mirroring),
for a total logical volume size of 216gb (6*36), with a combined seek rate
of X, and were able to perform X transactions per second using (insert your
DB of choice here)
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Universe/AIX Spooler Management

2004-07-29 Thread Chuck Mongiovi
I think you need SU to run lpalt (move jobs), but not cancel (delete jobs)
.. I use sudo to give my admin guys priviliges to do all of the commands
they need ..

HTH
-Chuck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Louis
Sent: Thursday, July 29, 2004 10:55 AM
To: [EMAIL PROTECTED]
Subject: [U2] Universe/AIX Spooler Management


Does a user need administrator privileges (su/root) in order to manage all
spool entries in the system?
Does a user need administrator privileges (su/root) in order to manage all
spool entries in the system?

We would like to have our tech person handle all spooler matters, but we
don't want to give him administrator rights.

Please advice on the best way to handle this.

Thanks again.
We would like to have our tech person handle all spooler matters, but we
don't want to give him administrator rights.

Please advice on the best way to handle this.

Thanks again.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] merge sort

2004-07-27 Thread Chuck Mongiovi
 Just to avoid the obvious question, you have tried using the LOCATE and
 INSERT commands?  If not this is an easy to use construct.

No, I have to admit that I haven't .. In order to use LOCATE, I have to
transpose my data:

REC1 = A]W]1]5]15
REC2 = B]X]2]6]25
REC3 = C]Y]3]7]100
REC4 = D]Z]4]8]11

to

REC1 = A]B]C]D
REC2 = W]X]Y]Z
REC3 = 1]2]3]4
REC4 = 5]6]7]8
REC5 = 15]25]100]11

I think this (and some version of the SHELL sort or DIMmed arrays) will work
for me ..

Thanks for all of the help everyone ..
-Chuck
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] merge sort

2004-07-26 Thread Chuck Mongiovi
I want a merge sort for data in BASIC, not lists.

For example (] is an @VM)

REC1 = A]B]C]D]15
REC2 = A]B]C]D]25
REC3 = A]B]C]D]100
REC4 = A]B]C]D]11

I want to sort by multi-value #5 .. The sorting isn't the issue .. It's when
DCOUNT(REC,@AM) gets large that the whole process gets extremely slow .. I
can't do something like MATPARSE, because I can't predict *HOW* big REC will
get ..

Anyway, I have a sneaking suspicion that it's already been done before, so
I'm trying to avoid re-inventing the wheel ..
-Chuck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rosenberg Ben
Sent: Friday, July 23, 2004 6:34 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [U2] merge sort


EXECUTE MERGE.LIST 0 UNION 0 TO 0
will sort and de-dupe the current select list.

 -Original Message-
 From: Chuck Mongiovi

 Does anyone know where I can get code for a
 generic BASIC Merge SORT routine?
 -Chuck
 ---


The information contained in this e-mail message may be privileged
and confidential information and is intended only for the use of
the individual and/or entity identified in the alias address of
this message.  If the reader of this message is not the intended
recipient, or an employee or agent responsible to deliver it to the
intended recipient, you are hereby requested not to distribute or
copy this communication. If you have received this communication in
error, please notify us immediately by telephone or return e-mail and
delete the original message from your system.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] merge sort

2004-07-26 Thread Chuck Mongiovi
That's been my temporary fix:

CONVERT @VM TO , IN REC
WRITE REC ON F.TMP,TMP.KEY1
EXECUTE ! sort -t, +4nr /tmp/:TMP.KEY1:  /tmp/:TMP.KEY2
READ REC FROM F.TMP,TMP.KEY2 ELSE NULL
CONVERT , TO @VM IN REC

I'm going to try the Shell Sort that's on the PickWicki and see if I can
modify it to work .. My question now is:

how big can you dimension arrays? .. if DCOUNT(REC,@AM) = 1, will the
MatParse work? .. (it did - I tried it) .. It also worked for 100,000 .. But
what's my limit and what will that do to my performance and memory usage?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Charlie Rubeor
Sent: Monday, July 26, 2004 10:46 AM
To: [EMAIL PROTECTED]
Subject: RE: [U2] merge sort


Do you need this for a unix platform?  This would not qualify as a generic
BASIC merge/sort, but you could shell to the unix sort command for this sort
of stuff.

-Original Message-
From: Chuck Mongiovi [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 9:04 AM
To: [EMAIL PROTECTED]
Subject: RE: [U2] merge sort

I want a merge sort for data in BASIC, not lists.

For example (] is an @VM)

REC1 = A]B]C]D]15
REC2 = A]B]C]D]25
REC3 = A]B]C]D]100
REC4 = A]B]C]D]11

I want to sort by multi-value #5 .. The sorting isn't the issue .. It's when
DCOUNT(REC,@AM) gets large that the whole process gets extremely slow .. I
can't do something like MATPARSE, because I can't predict *HOW* big REC will
get ..

Anyway, I have a sneaking suspicion that it's already been done before, so
I'm trying to avoid re-inventing the wheel ..
-Chuck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rosenberg Ben
Sent: Friday, July 23, 2004 6:34 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [U2] merge sort


EXECUTE MERGE.LIST 0 UNION 0 TO 0
will sort and de-dupe the current select list.

 -Original Message-
 From: Chuck Mongiovi

 Does anyone know where I can get code for a generic BASIC Merge SORT
 routine?
 -Chuck
 ---


The information contained in this e-mail message may be privileged and
confidential information and is intended only for the use of the individual
and/or entity identified in the alias address of this message.  If the
reader of this message is not the intended recipient, or an employee or
agent responsible to deliver it to the intended recipient, you are hereby
requested not to distribute or copy this communication. If you have received
this communication in error, please notify us immediately by telephone or
return e-mail and delete the original message from your system.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Graphics On an Apollo Thermal Printer.

2004-07-22 Thread Chuck Mongiovi
Bill,
How do you do your graphics - using ZPL (Zebra), etc .. Are you talking
about printing images on printers? .. I've done images in ZPL and EPL using
line draw commands before ..

-Chuck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bill Robinson
Sent: Wednesday, July 21, 2004 3:37 PM
To: [EMAIL PROTECTED]
Subject: [U2] Graphics On an Apollo Thermal Printer.


We are using Universe on a RS6000 with Unix.  We currently print labels with
graphics to Diagraph, Intermec and Zebra Printers.  Every time we get a new
printer I have to reinvent the wheel.  Well I was  wondering if anyone out
there has already invented this wheel, and would they share a little code.

Thank you,
Bill Robinson
[EMAIL PROTECTED]
EHV Weidmann Industries, Inc.
One Gordon Mills Way~PO Box 903
St. Johnsbury, VT 05819-0903
Phone (802) 751-3468
Fax   (802) 751-3431
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] What is UFD ????

2004-07-19 Thread Chuck Mongiovi
 Just got word from tech support to create an empty record named ERRLOG in
 UFD file. I've discovered UFD voc entry really points to the file D_UV

It's the UniVerse File Directory - the home directory of the account that
you're logged into (! pwd on Unix, DOS /C CD on NT) ..
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] building DICT items

2004-07-07 Thread Chuck Mongiovi
Sorry that I haven't responded to any of these posts - I was away for a few
days ..

Stuart answered the real question with:

F6/F6/I(i-dict) [thanks Stuart!]

Mark, I'm curious where you got the syntax for:

008 A;S(10*(NV=4))

I can't use TFILE;X;10;10 because UV doesn't support indexing (even as a
local file loopback TRANS)

Besides, it falls into the performance conversation - It causes another read
of the record.
-Chuck
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] building DICT items

2004-07-01 Thread Chuck Mongiovi
 In case you don't find it, he's the nub of it.

Thanks .. I was able to find this in the System Description PDF on-line ..
it's just a *tiny* bit more detailed than what you've said here ..

What I'd really like now is if anyone had a manual on the syntax of
I-descriptor attribute 2 and A-Dictionary attribute 8 ..

(BTW - U2 Tech Support tells me that such a manual doesn't exist, and I'm
going to have to try older Ultimate and AP manuals GASP and see if they're
any use .. but if you happen to have personal notes / manuals / etc ...)

Any help would be appreciated ..

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


RE: [U2] building DICT items

2004-07-01 Thread Chuck Mongiovi
 maybe Mr Bull's site ???...
 http://members.aol.com/_ht_a/mbtexts/23.html

Great!!! .. Way more detailed than the System Description setion 5 ..

It actually looks like a UniData spec (and I'm working with UniVerse in this
case) ..

Specifically, I'm looking to pull a single Multi-Value ( like
EXTRACT(@RECORD,5,5,0) ) using an A-type (since I'm coupling this with SB+
and *have* to use A-types AFAIK ..)

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


[U2] building DICT items

2004-06-30 Thread Chuck Mongiovi
Can someone point me to the UniVerse manual (rev 9.5) that shows the syntax
and rules on building D-type, A-type, and I-type DICTionary items?  .. I've
tried searching through the PDF's and can't find it (and since I'm primarily
a SystemBuilder guy, I've never had to before ;)

Thanks in advance ..
-Chuck Mongiovi / Silver Line Building Products
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] COMO capturing EXECUTE output

2004-06-28 Thread Chuck Mongiovi
 HUSH ON
 EXECUTE COMMAND CAPTURING OUTPUT
 HUSH OFF

The HUSH ON/OFF makes OUTPUT always come back blank .. I'd like to display
OUTPUT in the COMO file when it's appropriate, and throw it away the rest
of the time ..
-CHuck
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] COMO capturing EXECUTE output

2004-06-25 Thread Chuck Mongiovi
Does anyone know how to make COMO *NOT* capture EXECUTE output .. I'm
doing something like this:

001 EXECUTE ANY COMMAND CAPTURING STUFF
002 { CHECK STUFF FOR ERRORS }
003 IF ERRORS THEN PRINT STUFF

My program prints some output that I'll call NORMAL and I want to see that
in the COMO file .. when I run the EXECUTE command, I only want to see the
output if there's an error, so I can't use something like HUSH ON/OFF ..

Any ideas?

Chuck Mongiovi / Silver Line MIS
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] SYSTEM(49) on UV

2004-06-23 Thread Chuck Mongiovi
 BTW: this isn't the first time SYSTEM(9001) appeared on this list.

Sorry for the extra bandwith .. it's possible I didn't belong to the list
the 1st time it came around ..

 Also, it was not intended to work as UniData's equivalent.
 In fact, it is not possible due to their very different internal
architectures.

I can always hope that they'll merge (share actually) more and more as
time goes by .. as far as equivalency, it's fairly close, and that's close
enough for me ..

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


RE: [U2] SYSTEM(49) on UV

2004-06-22 Thread Chuck Mongiovi
 give SYSTEM(9001) a try on UV. I think it was added at 10.0.4.

Hmmm .. It seems to work .. not quite the same as UDT system(49), and it's
not in the UV10 BASIC manual ..

*AND* tech support told me yesterday that it didn't exist ..

Hmmm ..

(and many thanks ;)
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Triggers on UV

2004-06-16 Thread Chuck Mongiovi
Are WRITE  DELETE triggers available on UV 9.5? (or do they start with
UV10)
-Chuck
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Bverify equivalent on Reality flavor UV accounts

2004-05-19 Thread Chuck Mongiovi
There's always the brute force method of recompiling each of source files
and using an MD5 checksum to compare the generated object code with the
active object code ..

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Greg L.
Bonebrake
Sent: Wednesday, May 19, 2004 12:22 PM
To: [EMAIL PROTECTED]
Subject: [U2] Bverify equivalent on Reality flavor UV accounts


Working with a few Reality flavor accounts for a conversion and running
into problems with multiple copies of source in different BP files.
Does anyone know of any tricks or an equivalent to Reality's BVERIFY?

Thanks-

Greg
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users