Unclassified RE: [U2] Testing if a Unidata file has records or not!

2004-11-29 Thread HENDERSON MICHAEL MR
Frank,

I wouldn't do it that way!
If the file actually has a gazillion records in it, "COUNT" could take a
l-o-n-g time! ;-)

Another way could be to do 
EXECUTE 'SELECT  SAMPLE 1'.
IF @SELECTED EQ 0 THEN

END ELSE

END
[This is the UniVerse syntax, but UDT should be similar]


HTH


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bright, Frank
Sent: Tuesday, 30 November 2004 10:38
To: U2-Users Group (E-mail)
Subject: [U2] Testing if a Unidata file has records or not!

To All:

I am writing an interesting program.  One that finds where a file is
empty of records or not.  I used the EXECUTE command with the COUNT
command to get the number of records in a file.  If its 0 then the file
is empty.

But is there a better way as the execution command causes problem in
other parts of this program.

So, if anyone has any ideas along the lines of telling if a file is
empty (Unidata file), could you please give me a note!


Thank You Very Much!


Frank Bright
Univ. of the Arts
[EMAIL PROTECTED]



___
Frank M. Bright [EMAIL PROTECTED] 
Administrative Computing
University of the Arts (A15)  http://www.uarts.edu 
320 S. Broad St.  215-717-6081(w) 
Philadelphia, PA 19102 215-717-6087(f) 
Colleague 17.0.14  AIX 5.2.0.2   Unidata 6.03
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] [UV] How far can STR1 := SPACE(1000000) grow?

2004-11-22 Thread HENDERSON MICHAEL MR
Windows 2003 Server / UV 10.0.15 / 1GB RAM:-
428 STR1 SIZE = 42800
429 STR1 SIZE = 42900
430 STR1 SIZE = 43000
[: remote disconnect]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wendy Smoak
Sent: Tuesday, 23 November 2004 07:18
To: [EMAIL PROTECTED]
Subject: RE: [U2] [UV] How far can STR1 := SPACE(100) grow?

Dean Fox wrote:
> Mine is bigger. WooHoo!
> 
> 510 STR1 SIZE = 51000
> 511 STR1 SIZE = 51100
> Available Memory Exceeded
> Abort(coredump)
> 
> Sorry, it's early on a Monday.

1036 STR1 SIZE = 103600

Error when creating a shared memory segment (size=1166625024), errno=22


Do I win???

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

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: Unclassified RE: [U2] SSH and wIntegrate

2004-11-18 Thread HENDERSON MICHAEL MR
-Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Friday, 19 November 2004 16:08
> To: [EMAIL PROTECTED]
> Subject: Re: Unclassified RE: [U2] SSH and wIntegrate

[snip]

> How does one configure telnetd on a UNIX box (Solaris 9 to  
> be specific) to accept SSL connections and talk to wIntegrate.  

Ken,

As I understand it, you don't!
You configure your _U2 server_ to talk to your SSL-enabled 
IBM-supplied U2 client. Telnetd never gets involved in the 
security. This is more secure, as all the traffic is encrypted 
from U2 to wIntegrate, and would go through the telnet daemon 
encrypted, but it's of course completely different to the way 
everyone else does it.  Sigh.
Oh, yes and MUCH more complicated, too, as you need SSL Certificates
and all that kind of palaver

> Further, if this can be done, can we make sure that ONLY SSL 
> connections are accepted?
It's a Public Key Infrastructure problem, with Certificates & stuff.

> 
> Best Regards,
> 
> Ken
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] RE: [UV] Monitoring file changes

2004-11-18 Thread HENDERSON MICHAEL MR
But unfortunately none of this FILE.USAGE stuff will work for the
original poster because his file is DYNAMIC, and FILE.USAGE doesn't
support DYNAMIC files, e.g.

>FILE.USAGE A.DYNAMIC.FILE
Cannot process type 1, 19, 25 or 30 file "".
>

And since he's on UV 9.6.2, he can't use Triggers, either.
Hmmm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Pflugfelder
Sent: Thursday, 18 November 2004 04:12
To: u2-users
Subject: [U2] Monitoring file changes

[snip]

Universe 9.6.2.1
Dec OSF1 V4.0F

[snip]

I'm not sure if it will help, but I'm including an ANALYZE.FILE EMPMAST
STATS:

File name ..   EMPMAST
Pathname ...   EMPMAST
File type ..   DYNAMIC

[snip]

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] SSH and wIntegrate

2004-11-18 Thread HENDERSON MICHAEL MR
Unfortunately NOT!

Ken wants SSH, but wIntegrate and the U2 server products support SSL.

Almost every other telnet client available - even free ones like
TeraTerm - supports SSH, but wIntegrate & Dynamic Connect don't.  Also
the U2 Windows telnet servers are not SSH-capable, so you can't use an
SSH telnet client at all on a Windows / U2 solution.

I have raised this before (with IBM, too) and cannot understand why they
have chosen the SSL approach rather than the more industry-standard SSH
for telnet connections. 


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alfke, Colin
Sent: Friday, 19 November 2004 12:45
To: [EMAIL PROTECTED]
Subject: RE: [U2] SSH and wIntegrate

This was in the latest DB2 newsletter:

Announcing wIntegrate 6.0
IBM wIntegrate, version 6.0, will be generally available on December 10,
2004. This feature rich release of wIntegrate delivers device
independent deployment of MultiValue applications, advanced support of
the Secure Sockets Layer (SSL) protocol and certification for sale in
China. 
Check out the website for more details on this exciting release! 
http://www.ibm.com/isource/cgi-bin/goto?on=IMNL114J04


Following the link gave the wIntegrate overview with had:

Supports Secure Sockets Layer (SSL) communications for end-to-end
encryption and authentication.

So it appears that you'll be OK.

Colin Alfke
finally back in Calgary!


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>
>Guys,
>
>Can someone who uses a current version of wIntegrate tell me
>whether it supports connections via SSH?
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] Quick question on Longnames

2004-11-11 Thread HENDERSON MICHAEL MR
So why isn't it the default on installation?

Yes, I know it isn't your fault, Ray! 
LeRoy? Wally? Shouldn't the installer software set LONGNAMES ON unless
the user specifically asks for it to be OFF?


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ray Wurlod
Sent: Friday, 12 November 2004 09:22
To: [EMAIL PROTECTED]
Subject: Re: [U2] Quick question on Longnames

LONGNAMES ON is always to be recommended these days.  There are so few
UNIX variants now that require a file name to be limited to 14
characters.
There are no negative implications (unless you'll miss the "file created
with a truncated operating system name" messages!).  LONGNAMES ON means
that files can be created with names as long as the operating system
permits.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] [UV] Random number (RND()) help

2004-11-10 Thread HENDERSON MICHAEL MR
UV 10.0.15 ON Windows 2003 server

Largest RND returned is 32767
Hmm

Looks like the docco under HELP BASIC RND  should say 
"Use the RND function to generate any positive or negative random 16-bit
integer or 0"
 

So, how could you generate random numbers larger than 32K?
Call RND twice, multiply the first number by 32762 and add on the second
number?
Probably lousy mathematics, but it might work!


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barry Brevik
Sent: Thursday, 11 November 2004 08:03
To: U2-users (E-mail)
Subject: [U2] [UV] Random number (RND()) help

UV 9.6.1.3 on NT.
I needed to generate some random numbers between 0 and 370570, and just
to check the distribution of numbers, I ran this snippet of code:

FOR I = 1 TO 99
  THIS.NUM = RND(370570)
NEXT

What's odd is that no matter how many times I run this, the distribution
of numbers is always completely in the lower 10% of the range (approx).
In other words, there are never any numbers generated higher than ~
33,000.

Am I doing something stupidly wrong?

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

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] Server-To-Server UniVerse Clone

2004-10-26 Thread HENDERSON MICHAEL MR
Why not uvbackup to [NFS-mounted] disk volume & uvrestore

Or if the paths are the same on old & new, just a straight backup &
restore using your favourite backup utility.

Or am I missing something here, Bill?


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Wednesday, 27 October 2004 12:54
To: '[EMAIL PROTECTED]'
Subject: [U2] Server-To-Server UniVerse Clone

Our newly refurbished HP-Ux RX-2600 Itanium server arrived yesterday.  
I installed UV on this new box and now want to copy most everything from
old to new.

What is the best way to do this?   The tech manual "Administering
UniVerse"
appears to mainly focus on inter-platform transfers.  Suggestions would
be appreciated.

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

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] Universe on windows

2004-10-25 Thread HENDERSON MICHAEL MR
Susan,

I believe you said 'Windows XP' in your original post.
No we don't run any production server applications on XP: it's a client
O/S.

But we certainly do run our main production UV application (220 users)
on Windows Server 2003, we were probably one of the earlier sites to go
to that particular platform.  We changed from HP-UX to W2K3 for cost and
compatibility reasons. We have been developing on Win NT / 2K / 2K3 for
about five years now, but only swapped Production when our HP box needed
upgrading about eighteen months ago.

Regards

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
Sent: Saturday, 23 October 2004 02:33
To: [EMAIL PROTECTED]
Subject: Re: [U2] Universe on windows

Thanks so much to everyone who responded that they are using UniVerse
successfully on Windows.  I thought it was interesting that no one seems
to run production in that combination ... but that's okay, like all of
you that responded, we'll just be developing on that platform.

Thanks!
SJ
--

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] ODBC from Universe to Microsoft SQLServer Databases

2004-10-06 Thread HENDERSON MICHAEL MR
Bob,

Yes, we're doing it (went live to Production last week, actually, but
it's been in Test for 3 months)
We're running UV10.0.15 on Windows 2003 Server - you don't mention your
UV host platform.

For a Windows host, you don't need any 'extra' software, you just use
the MS SQL Server driver.

The documentation on BCI is not the best and the 'SQLBCIDEMO' example
programming awful.
Ray Wurlod pointed me (via this list) to the CONNECT program [source
code also in the BP of the UV account] which is much, much better.  It's
perhaps instructive that when IBM (well, Ardent, actually) needed to
write a useful, working, program, they used [almost] none of the code
from the 'demo' program they provide and use as examples in the manual
:-(

There are some more, well-written, examples for you that might help,
available from the U2 Knowledge Base.  They were written by Paul Chang,
who is IBM's BCI expert in Denver.  Here are the U2 Knowledge Base
article numbers:
Q00178, Q00179, Q00180, Q00182, Q00183, Q00184, Q00185, Q00186 &
Q00187

Hope this helps


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Witney
Sent: Thursday, 7 October 2004 02:53
To: [EMAIL PROTECTED]
Subject: [U2] ODBC from Universe to Microsoft SQLServer Databases

Hi:

I have been investigating the possiblility (using the BASIC SQLInterface
functions) of accessing a Micosoft SQLServer database from U2.

All the procedures I need are covered by the BASIC SQLFunctions, and the
Admin setup seems fairly straightforward, so on the face of it things
look good.

But

I know it can be done under Unidata 5.2 (because I read that PDF as
well) but I am on Universe 10 and there is nothing in the documentation
about it, only drivers for Oracle, Sybase and Informix,none of which we
use.

The downloaded Universe PDF from the IBM site is dated 2002 so it may be
out of date.
 
So the question(s) is/are has anyone actually done this, does anyone
know if the relevant driver ships with Universe 10.2 or have IBM put it
into Unidata but not Universe (surely not) ?

Assistance appreciated

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

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] UV Enhancement Request: Let UniAdmin's Performance Monitor capture to a file

2004-10-04 Thread HENDERSON MICHAEL MR
Chuck,

"Is it poor manners to post it here, too?"
IMNSHO, absolutely not.
In fact, I'd say it's pretty essential as many of us hardly ever or even
never go to the web-site, but rely on this list.  In fact 'U2Ug.org
"Enhancements Forum"', what's that?  I guess maybe I'd better have a
look. Sigh.

And, yes, your proposed enhancement does seem like a reasonable thing to
want.



HTH


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stevenson,
Charles
Sent: Tuesday, 5 October 2004 10:30
To: [EMAIL PROTECTED]
Subject: [U2] UV Enhancement Request: Let UniAdmin's Performance Monitor
capture to a file

I posted the following on the U2Ug.org "Enhancements Forum":
__
[UV] Let UniAdmin's Performance Monitor capture to a file (UniData may
already have this feature?)

Rather than just catch realtime data on a screen, I'd like to be able to
capture it to a file (preferably a UV hashed file).

- benchmark performance by capturing data while system is stable,
- capture data over extended time period
- schedule jobs to run periodically (cron on Unix)
- be able to review data off-line
- show results to others such as UV support.
- compare stats to see how a system performs under various conditions or
changes.

If it were done 'right' (i.e., how I'd do it) it would be implemented on
the server so data could be captured to a Universe hashed file; or maybe
on the client running UniAdmin, capturing as something easily
manipulated by a spreadsheet.

Chuck Stevenson
Getronics
UV 10.0.x on HPUX 11i
__
Is it poor manners to post it here, too?  I made this same request to
IBM at the conference last month during one of the sessions.
I think the U2UG is going to be an excellent forum for petitioning IBM,
especially if other people reply, seconding the motion. If no one
replies, that tells IBM something, too.
cds
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] Numeric rounding - UV 9.4 & 10.1

2004-09-20 Thread HENDERSON MICHAEL MR
I'm on 10.0.15, Information flavour

I also get Mark's unexpected result, that is

With the last two lines commented out, the program outputs this (as
expected):-
1234.78
1235 

When I un-commented the last two lines, the output was:-
1234.78

8

Note the blank line: the later line of code has apparently affected the
output of the previous line of code!

I think I remember something about this, that maybe it was fixed in
10.0.17 or something like that.  We don't use that syntax anywhere so I
didn't worry too much.
Mark, I'd guess you're on 10.1.0, I'd try for an upgrade to 10.1.4 or
later (you'll get UniObjects for .NET, too)

HTH

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pingilley, Ron
Sent: Tuesday, 21 September 2004 03:11
To: [EMAIL PROTECTED]
Subject: RE: [U2] Numeric rounding - UV 9.4 & 10.1

Mark,

I'm on UV 10.1.2.

The 1st value for Y didn't change after uncommenting the 2nd set
of statements.  It came back 1235 both times.  What did you observe, and
did you run this on UV 10.1.0?

--Ron Pingilley

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Daly, Mark
Sent: Monday, September 20, 2004 9:25 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [U2] Numeric rounding - UV 9.4 & 10.1


Quick follow up:  One of the guys discovered this:

Run the following pgm, then uncomment out the last 2 lines and run it
again.
Watch what happens to the first value for Y
 

X = 1234.78
Y = X "0"
CRT X
CRT Y
  
* Y = X"R#0"
* CRT Y


 
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] LPTR PaperSource problems on Windows Server 2003

2004-09-14 Thread HENDERSON MICHAEL MR
Bob,

We set up each print 'destination' as a separate printer in Windows, but
mapping to the same IP address of course.
For example "6THFL-P", "6THFL-L" AND "6THFL-A3" might be the same
physical printer in A4 Portrait, A4 Landscape and A3 modes (i.e. using
Tray 2) respectively.
Then, create a 'Separator Page' with PCL commands to set the printer to
the desired mode, and associate the 'Separator Page' with the logical
printer [via the Printer Properties / Advanced / Separator Page].  I
think the 'Separator Page' file must have a ".sep" extension.

HTH


Mike

E.G.
Landscape mode, auto paper tray Separator Page has in it stuff like this

\
\H1B\L&l1O 
\H1B\L&l8D
\H1B\L&k4S
\H1B\L&l1E
\H1B\L&l66P
\E

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dillane, Bob
Sent: Wednesday, 15 September 2004 05:53
To: [EMAIL PROTECTED]
Subject: [U2] LPTR PaperSource problems on Windows Server 2003

We are in the processing of switching from Unix to Windows Server 2003,
Enterprise Edition. On the Windows server we are running Unidata 6.0.12.

The following scenario happens both for HP 4600 printers and HP 4200
printers:

Using the printer drivers that originally came with Windows Server

SETPTR 1,90,60,0,0,1,AT ITS_01,"PaperSource=Tray 2"
does not get an error message, but the PaperSource command is ignored.
It turns out the trying to print to tray 1 from WordPad on the server
also fails, so I downloaded new drivers from HP

Using the new drivers:
Directing print jobs to tray 1 works from WordPad on the server, however
SETPTR 1,90,60,0,0,1,AT ITS_01,"PaperSource=Tray 1" gets the following
error
message:
Unable to find PaperSource Tray 1 on printer ITS_01

Does anyone have any ideas how I can get around this?

Thanks,
Bob


===
=  Bob DillaneInternet: [EMAIL PROTECTED]
=
=  Director,  Voice:(717)867-6060
=
=  Information Management ServicesFAX:  (717)867-6020
=
=
=
=  L E B A N O NV A L L E YC O L L E G E
=

===
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: Unclassified RE: [U2] UniSession.connect error

2004-09-13 Thread HENDERSON MICHAEL MR
Bob,

>From the UniVerse 10.1.4 Release Notes:

Issue
Number  Short Description
--  -
32480   Beginning at this release, logging is available for the 
UniRPC services. 

To enable logging for the unirpc32.dll, you must define the 
logging level by setting the UNIRPC_DEBUG_LEVEL environment
variable.
In addition, you must set the UNIRPC_DEBUG_LOGFILE environment
variable to define the log file name. 

Logging is enabled for unirpc.exe by passing arguments to the 
service, as shown in the following example:

-d9 c:\temp\unirpcd.log


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Little
Sent: Tuesday, 14 September 2004 03:40
To: [EMAIL PROTECTED]
Subject: Re: Unclassified RE: [U2] UniSession.connect error

[snip]

To All:
Is there any way to get unirpcd to log it's activity to a file?  I've
tried nohup /usr/ibm/unishared/unirpc/unirpcd > /tmp/unirpcd.out 2>&1 &
but nothing gets dumped.  Maybe I'm expecting the wrong thing?
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] UniSession.connect error

2004-09-12 Thread HENDERSON MICHAEL MR
Bob,

Hmmm... "PAM", that rings a bell faintly somewhere.
I'm sure I remember reading a message here ages ago about that issue:
something to do with "PAM" authentication being different from
"etc\passwd" authentication or something like that.
Maybe search the list archives for "PAM"?

HTH


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Little
Sent: Monday, 13 September 2004 14:06
To: [EMAIL PROTECTED]
Subject: Re: [U2] UniSession.connect error

Jef Lee wrote:

>My 2".
>
>I have found that our Linux system has two (2) password verification
mechanisms loaded.  One is effective at command line login, the other at
UniObjects connection login.  And, now here's the bother, one does not
handle passwords that exceed 8 characters, but there is no warning or
error.  It just doesn't allow the connection login.
>
>Suggestion, spend hours researching or try a shorter password.  If the
latter works for you, and then you spend hours finding out why, please
let me know.
>
>Jef Lee
>IT Vision
>Level 3 Kirin Centre, 15 Ogilvie Road, APPLECROSS, WA 6153
>Tel: (08) 9315 7000  Fax: (08) 9315 7088 P O Box 881, Canning Bridge, 
>WA 6153 A.C.N. 068 914 867
>---
>u2-users mailing list
>[EMAIL PROTECTED]
>To unsubscribe please visit http://listserver.u2ug.org/
>
>  
>
Hello Jeff,

Thank you (and all others) for your help.

I've shortened the password to 2 characters.  Still getting the "The
user name provided is incorrect" message.  I don't know if that's just a
generic "login failed" message, or it really *does* mean it couldn't
find this user to validate it.

This is a very frustrating problem as it's obvious that it works for
others - just not me.
Maybe it's a PAM issue.

BTW - Too late.  I have already spent hours researching this problem.
;-)
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] major (?) @var security hole

2004-09-12 Thread HENDERSON MICHAEL MR
Not on a Windows host, Craig
Both are zero for me on our Dev box (probably because I'm an
Administrator-equivalent)
And System(19) ends up with the 'bogus' @LOGNAME 

System(1301) has got my actual domain login.
According to a program posted here by Richard Sias, System(19) is "Unix
Login" but System(1301) is 'Unknown'.  Anyone care to share what 1301
actually is?


There doesn't seem to be any trace of the original value of @WHO after
Gerry's hack, or after an "IAM".
But since "IAM" is apparently supposed to work that way, I guess we
can't complain too much about that.


Hope this helps


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig Bennett
Sent: Monday, 13 September 2004 13:21
To: [EMAIL PROTECTED]
Subject: Re: [U2] major (?) @var security hole

If you need a value that won't change, try SYSTEM(27) or SYSTEM(28).

These return the operating system user Id and effective user Id.

You may need to parse the /etc/passwd file to match to a login name (but
your LOGIN proc could store this too, before anyone has a chance to
fiddle with @ACCOUNT).


Craig
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] How do we identify process running PORT-STATUS?

2004-09-09 Thread HENDERSON MICHAEL MR
David,

Maybe ANALYZE.SHM -s will tell you, it has an entry for Port Status
Semaphore at the bottom after the File & Group semaphores.

So no I don't know for sure, but I do know you can forcibly unlock the
PORT.STATUS semaphore with an UNLOCK PSTATLOCK SEMAPHORE.


HTH


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eves, David
Sent: Friday, 10 September 2004 13:10
To: U2-Users List
Subject: [U2] How do we identify process running PORT-STATUS?

Universe Version 10.0.8, Tru64 Unix v.5.1a

We are currently experiencing network issues that are causing user
sessions to spontaneously disconnect.  When using PORT-STATUS in our uv
account we get the following message:

PORT.STATUS is currently being run by another user, try again later.

which is fine except that we can't identify which user is running the
process.  We can't use UniAdmin as User display requires PORT-STATUS and
so returns a blank list.

Does anybody have any clues on how to identify the unix process which is
executing the PORT-STATUS command so that we can kill it and get use of
the command back?

Cheers,
David Eves
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] Fusetalk

2004-09-09 Thread HENDERSON MICHAEL MR
Yes they did.
There were even some web forums set up on u2ug.org

And when the previous supplier of this excellent list (bless you, Clif!)
proposed to stop the list so we could switch over to the web forums
(fora?), the hootin & hollerin & screams of horror were so loud that the
e-mail lists were soon re-hosted under the u2ug umbrella.
And the poxy web forum thingies fell into the disuse they so richly
deserved.

Most of us on the list have work to do, and an email list that 'pushes'
content is vastly more useful than a web forum that requires us to
'pull' content. 
Even if we have desktop web access (which I don't), it's far easier and
far less bandwidth-consumptive to use email (which I do have)

Don't go there 'macktruckman'!


:-)

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, 10 September 2004 11:18
To: [EMAIL PROTECTED]
Subject: [U2] Fusetalk

Has anyone ever considered moving the users group from e-mail to a web
based forum software like fusetalk?

http://www.fusetalk.com/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: Unclassified RE: [U2] Part file algorithms - am I correct?

2004-09-07 Thread HENDERSON MICHAEL MR
Yes, I'm sorry I have to mangle the subject line, but it's a requirement
in our mail gateway.
No external email will go out unless I attest to the suitability of the
contents by including the word "Unclassified" near the beginning. :-(

And if you want to know more about SEQ or MOD, try "HELP BASIC MOD" (or
"HELP BASIC SEQ") at the TCL prompt, or look them up in the Basic
Reference Guide.  You can download this and all the other manuals from
the IBM web-site (go to
http://www-306.ibm.com/software/data/u2/pubs/library/, the 10.1 version
of the complete set is called is about 50MB).  I always load a copy onto
our UniVerse Development server for easy reference.


HTH

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of LeRoi Keiller
Sent: Wednesday, 8 September 2004 08:53
To: [EMAIL PROTECTED]
Subject: RE: Unclassified RE: [U2] Part file algorithms - am I correct?

Thanks Mike!  I only just saw this (I have the list emails ordered by
subject).
That's great.  Thanks.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of HENDERSON
MICHAEL MR
Sent: Tuesday, 7 September 2004 12:49
To: [EMAIL PROTECTED]
Subject: Unclassified RE: [U2] Part file algorithms - am I correct?
Importance: Low


LeRoi,

Your interpretation is mostly right.

UniVerse allows syntax "@ID[1]" instead of "@ID[LEN(@ID),1]" for "the
last character of @ID".
You are using that in some but not other of the formulas.  To simplify a
bit
*  the 2-part file could be "@ID[1]; IF @1 LT 5 THEN 1 ELSE 2", and
*  the 10-part "INTERNAL @ID[1]+1"

For consistency alone, you could use the same syntax for all these types
of distribution:
"@ID[1]; IF NUM(@1) THEN MOD(@1,)+1 ELSE "
Although the use of CONVERT does allow specific numbers to be spread
amongst specific parts E.g. 4-part "@ID[1]; IF NUM(@1) THEN MOD(@1,4)+1
ELSE 2"
Note that this gives a different distribution, though!

And part files start with 1, not 0: your last example is "INTERNAL
"@ID[LEN(@ID),1]+1" - note the '+1' on the end, giving a part number
from (0+1) to (9+1) i.e. 1 to 10


Hope this helps


Mike

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] Part file algorithms - am I correct?

2004-09-06 Thread HENDERSON MICHAEL MR
LeRoi,

Your interpretation is mostly right.

UniVerse allows syntax "@ID[1]" instead of "@ID[LEN(@ID),1]" for "the
last character of @ID".
You are using that in some but not other of the formulas.  To simplify a
bit
*  the 2-part file could be "@ID[1]; IF @1 LT 5 THEN 1 ELSE 2", and
*  the 10-part "INTERNAL @ID[1]+1"

For consistency alone, you could use the same syntax for all these types
of distribution:
"@ID[1]; IF NUM(@1) THEN MOD(@1,)+1 ELSE "
Although the use of CONVERT does allow specific numbers to be spread
amongst specific parts
E.g. 4-part "@ID[1]; IF NUM(@1) THEN MOD(@1,4)+1 ELSE 2"
Note that this gives a different distribution, though!

And part files start with 1, not 0: your last example is "INTERNAL
"@ID[LEN(@ID),1]+1" - note the '+1' on the end, giving a part number
from (0+1) to (9+1) i.e. 1 to 10


Hope this helps


Mike

-Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of LeRoi Keiller
> Sent: Tuesday, 7 September 2004 13:39
> To: U2-Users (E-mail)
> Subject: [U2] Part file algorithms - am I correct?
> 
> Hi
> 
> I've been trying to make sense of part file algorithms for some
distributed file work 
> I'm doing.  In so doing, I've come up with the following
"micro-explanations" and examples.
> 
> Can anyone in the know please say whether the following is correct?
...
> 
> 
> If a file has [EMAIL PROTECTED] records consisting mainly of numbers (or more
specifically, 
> ending with a number), algorithms like the following can be used to
spread 
> incoming data across the parts:
> 
> For a...
> 
> 2-part file:  "INDEX('01234',@ID[LEN(@ID),1],1); IF @1 THEN 1 ELSE 2"
>   (Records ending 0-4 go into one file, all else (eg 5-9) go into the
other)
> 
> 4-part file:  "@ID[1]; IF NUM(@1) THEN
CONVERT("0123456789","1122333444",@1) ELSE 2"
>   (A compromise, as the 10 digits (0-9) don't go evenly into 4 groups
or parts.)
>   (The ELSE 2 just puts anything non-conforming into part 2)
> 
> 5-part file:  "@ID[1]; IF NUM(@1) THEN
CONVERT("0123456789","1122334455",@1) ELSE 1"
>   (Puts records ending 0-1 into part 1, records ending 2-3 into part
2, etc.)
>   (All else, ie non-numeric, go into part 1.)
> 
> 10-part file: "INTERNAL "@ID[LEN(@ID),1]+1"
>   (Looks to me like this simply puts records ending 0-9 into the
same-numbered part 
>   file, ie  records ending with 0 go into part 0.  CAUTION: Obviously
this means the 
>   part files must start  their numbering from 0.)
>
> 
> Thanks,
> LeRoi
> 
> LeRoi Keiller
> Technical Support
> 
> Ultradata - Vision to Reality
> +61 3 9291 1700
> www.ultradata.com.au
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Unclassified:[UV] How are the TCL "dot commands" implemented?

2004-08-31 Thread HENDERSON MICHAEL MR
And I have absolutely no intention, whatsoever, under any circumstances,
ever, at all, of putting a trigger on VOC.

C'mon guys, its the _VOC_!!
There's no way I'm brave enough to try messing with the system at such a
fundamental level.
:-)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Matthews
Sent: Tuesday, 31 August 2004 19:02
To: [EMAIL PROTECTED]
Subject: RE: [U2] Dot Commands

Bear in mind though that a trigger is a very intensive thing to add to a
file. Just try timings on writes with and without them. Also you cannot
replicate a file with triggers (major problem for use that I would LOVE
IBM to fix.)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael J Burbo
Sent: 31 August 2004 03:59
To: [EMAIL PROTECTED]
Subject: [U2] Dot Commands

Mike,
Another way to correct the "" or NULL saved item is to setup a Write
Trigger and if the ID is NULL no write or replace with the person's
logon and date/time  this will also help you find who is causing your
NULL items.
A Trigger program can be set up an most any file and very good this
to ensure history of changes are keep.  If a change is made the Trigger
program can write a copy of the original record into a  -
Time and Date stamp it (User info too).  You May also reformat some data
items too.

Michael Burbo
[EMAIL PROTECTED]
Media, PA  19063
610 358 9888
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Unclassified:[UV] How are the TCL "dot commands" implemented?

2004-08-30 Thread HENDERSON MICHAEL MR
Thanks, Glenn

Hmm ... In that case it's a bug and I'll report it to IBM as such.

The syntax entry for HELP .S says ".S name [start [end]]"
Note that it's "name" not "[name]" so that name is a mandatory input.
The command parser should therefore not accept no "name".

But I won't be holding my breath for it to be fixed!


Regards


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn Herbert
Sent: Tuesday, 31 August 2004 01:09
To: [EMAIL PROTECTED]
Subject: Re: [U2] Unclassified:[UV] How are the TCL "dot commands"
implemented?

I don't believe you can do this.   The "dot" commands are actually 
implemented WITHIN the command line parser which you don't have access
to and there isn't any way to turn it off.  You could set the history
stack to have only a single entry (uvconfig HISTSTK) but it sounds like
you want 
them to use the history stack, but not save.   As I said, it's not
possible.

At 07:15 PM 8/29/2004, you wrote:
>Hi,
>
>I feel I ought to know this, but I can't find it in the UniVerse 
>Internals course books, so can someone please enlighten me how are the 
>UniVerse TCL  "dot commands" implemented?
>
>Actually it's really only ".S" that concerns me, because I'd like to 
>put a wrapper round it.
>
>Problem: Someone enters ".S" at TCL, instead of ".X" or ".D" (finger 
>trouble), or ".S "
>Result: A PAragraph is automatically created and saved into the VOC, 
>with an ID of ""
>
>Now, having a entry in the VOC with a 'null' ID has some nasty 
>side-effects, at least here.
>
>So, I'd like to be able to intercept a ".S" on its own and 'head it off

>at the pass'
>
>Help, anyone?
>
>
>Thanks
>
>
>Mike
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Unclassified:[UV] How are the TCL "dot commands" implemented?

2004-08-29 Thread HENDERSON MICHAEL MR
Hi,

I feel I ought to know this, but I can't find it in the UniVerse
Internals course books, so can someone please enlighten me how are the
UniVerse TCL  "dot commands" implemented?

Actually it's really only ".S" that concerns me, because I'd like to put
a wrapper round it.

Problem: Someone enters ".S" at TCL, instead of ".X" or ".D" (finger
trouble), or ".S "
Result: A PAragraph is automatically created and saved into the VOC,
with an ID of ""

Now, having a entry in the VOC with a 'null' ID has some nasty
side-effects, at least here.

So, I'd like to be able to intercept a ".S" on its own and 'head it off
at the pass'

Help, anyone?


Thanks


Mike
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] EVAL formatting

2004-08-16 Thread HENDERSON MICHAEL MR
Kevin,

How about 

LIST CS.2004 H.HCG.AWARDED.ALL H.TOTAL.AWARD EVAL
"OCONV((H.HCG.AWARDED.ALL/H.TOTAL.AWARD*10), 'MD1')"

There's probably a way to do it with EVAL "..." FMT"", too


HTH


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Michaelsen
Sent: Tuesday, 17 August 2004 09:02
To: [EMAIL PROTECTED]
Subject: [U2] EVAL formatting

I had one of my IT folks look at this one and I don't want to belive
them. 
They said you cannot display a decimal when using the EVAL command. I
think there is got to be a way. That's why I put this out. The current
EVAL statement displays 1 or 0. Any ideas??

LIST CS.2004 H.HCG.AWARDED.ALL H.TOTAL.AWARD EVAL
"H.HCG.AWARDED.ALL/H.TOTAL.AWARD"


kevin

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] dynamic file blows 2 gig file system limit.

2004-08-10 Thread HENDERSON MICHAEL MR
Dear Ang Suan Yong

The original post was about a ***UniData*** Dynamic File.
A UniData Dynamic File is a completely different thing to a UniVerse
Dynamic File.
A UniData Dynamic File is closest in concept to a UniVerse Distributed
File.
UniData does not have 64-bit files at all.

Just another of those places where the two U2 products are the same but
completely different: guaranteed to confuse someone who has not been
exposed to both products. :-(


Hope this helps

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ang Suan Yong
Sent: Wednesday, 11 August 2004 14:43
To: [EMAIL PROTECTED]
Subject: RE: [U2] dynamic file blows 2 gig file system limit.

Dear All,

What if the dynamic file blows 2 gig ? 
i have encountered problem when repairing a dynamic file by
using uvfixfile and resize to 64bits . It prompt the belowing message


In Universe version 9 : 
 
 The file has been truncated. 
File Modulos is greater that physical file. Invalid next split
ptr in header.

Warning. File Load Discrepancy detected  

Scanning overflow buffers.
Warning : No Link to overflow group 264602.


In Universe version 10 :

Warning: "TEST.FILE/DATA.30" has been truncated.
WARNING: Internal file corruption detected during file open!
 File must be repaired, possible truncation.
 hsize: 2048
 bsize: 2048
 fsize: 2147483647
 Warning: Unable to set GROUP LOCKS on TEST.FILE.
 

Beginning TRACE of TEST.FILE.
TRACE of TEST.FILE completed.
 

Scanning free buffer chain.
Scan complete.
 

Scanning overflow buffers.
Warning: No link to overflow group 264602.
Scan complete.
 

1048574 group(s) processed.
1549423 group buffer(s) processed.
11041957 record(s) processed.
Number of data bytes = 2122571628.

Thanks and Regards

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: Unclassified RE: [U2] UniObjects for .NET (UO.NET)

2004-08-05 Thread HENDERSON MICHAEL MR
Sorry, Simon, but I fail to see the relevance of that MSDN article.

Under
"ms-help://MS.MSDNQTR.2004JUL.1033/dnbda/html/daag.htm#daag_managingdata
baseconnections" in the July 04 MSDN DVD, there is a section that deals
with connection pooling and says
"ADO.NET data providers provide transparent connection pooling, the
exact mechanics of which vary for each provider. This section discusses
connection pooling in relation to: 
The SQL Server .NET Data Provider 
The Oracle .NET Data Provider 
The OLE DB .NET Data Provider 
The ODBC .NET Data Provider "

I was hoping that the UO.NET Developer's Guide would contain similar
information in respect to UO.NET.


The presentation at last year's IBM DB2 Data management conference
included (at slide 21) this feature list
"UniObjects For .NET ...
*  100% Managed Code, written in C#
*  Connection pooling for UO.NET provides good scalability
*  Modeled [sic] after UniObjects For Java with vast improvement
*  Performance monitor for Connection Pooling
*  Standard Logging/Tracing for better troubleshooting"

The UO.NET Developer's Guide addresses the first, third and fifth
points, but does not seem to mention the second and fourth at all.

Hope this clarifies my point.

Mike




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Lewington
Sent: Thursday, 5 August 2004 20:12
To: [EMAIL PROTECTED]
Subject: Re: Unclassified RE: [U2] UniObjects for .NET (UO.NET)

"HENDERSON MICHAEL MR" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
..
>
> Great stuff, but reading it I'm a little disappointed that there is no

> mention of Connection Pooling.  One of the previously advertised 
> benefits of UO.NET was that it would include a connection pooling 
> mechanism.  Has this 'fallen off' or is it documented somewhere else?

http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemEnterprise
ServicesServicedComponentClassTopic.asp

Simon
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] UniObjects for .NET (UO.NET)

2004-08-04 Thread HENDERSON MICHAEL MR
Thanks, Anthony! 

Great stuff, but reading it I'm a little disappointed that there is no
mention of Connection Pooling.  One of the previously advertised
benefits of UO.NET was that it would include a connection pooling
mechanism.  Has this 'fallen off' or is it documented somewhere else?

Any ideas?


Regards

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Corrente
Sent: Wednesday, 4 August 2004 13:36
To: [EMAIL PROTECTED]
Subject: RE: [U2] UniObjects for .NET (UO.NET)

Hi all,

I'm a little confused... does the following PDF not answer the UO.NET
questions posed so far? 

http://publibfi.boulder.ibm.com/epubs/pdf/25124070.pdf

[snip]
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] UniObjects for .NET (UO.NET)

2004-08-02 Thread HENDERSON MICHAEL MR
I expect that UO.NET will be on the "Clients" CD released with the UD
6.1 Product, so if you're a UD customer you would get it in the normal
way like you get your updates of the UD database software.

I'd guess there would be a new UV Clients CD released with this stuff on
it, too.

And these would presumably get onto the IBM web site whenever they
refresh the PE versions of the products.
Maybe IBM will give those out at the conference in Las Vegas next month?

My $0.02c


Mike


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ross Ferris
Sent: Tuesday, 3 August 2004 16:10
To: [EMAIL PROTECTED]
Subject: RE: [U2] UniObjects for .NET (UO.NET)

Perhaps the clue is that this document says the general availability
date is 10th August, not 31st July ??

Ross Ferris
Stamina Software
Visage  an Evolution in Software Development

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] RE: Copying data between two Universe servers

2004-08-02 Thread HENDERSON MICHAEL MR
Glenn 

-Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn Herbert
> Sent: Tuesday, 3 August 2004 07:31
> To: [EMAIL PROTECTED]
> Subject: RE: [U2] RE: Copying data between two Universe servers

[snip]

> The way I really hoped would be implemented was to have the index 
> files exist within the file subdirectory, i.e. all files with 
> indexes would be similar in structure to Type30, but have a .index 
> subdirectory within them.  So, from then on, the indexes would be 
> "tied" to the main data file.   

But then you wouldn't have the opportunity to put your data files and
their indexes on different spindles / channels / file systems to
maximise throughput by spreading I/O.
[ I know it's been a feature of Oracle since about release 8 that you
could separate 'tablespaces' from 'indexspaces' for exactly that reason.
Wonder how they avoid the moving-file problem? ;-) ]

Maybe it's a "don't do that" situation: after all, if you use the
current release versions of uvbackup & uvrestore, the index-moving &
-setup stuff is all supposed to be looked after automagically.

Regards

Mike
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Unclassified RE: how to allow 'non-admin' groups access to Universe on NT

2004-07-28 Thread HENDERSON MICHAEL MR
Kevin,

Two things:

1) Set up the UV Login Policy appropriately via UniAdmin - Network
Services / Telnet / Parameters tab, under User Policy check the right
radio button ( for us it's "UV Account", but YMMV)

And

2) Add the users to the UV.LOGINS file - you can do this via UniAdmin
(Network Services / Telnet / Users tab), or if you have some local
security / menu type system that requires them to be loaded into a
application-specific file, then there's no reason why you couldn't
directly update the UV.LOGINS file from a basic program.

HTH


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Vezertzis
Sent: Thursday, 29 July 2004 05:30
To: [EMAIL PROTECTED]
Subject: 

Just wondering if anyone has any suggestions on how to allow 'non-admin'
groups access to Universe on NT..my users that are members of Admin
login perfectly, but a second group (webuser), has similar permissions
and has been configured to "log on locally", but is still not able to
login.
 
Thanks,
Kevin
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] UniObjects across the internet (Unclassified)

2004-07-20 Thread HENDERSON MICHAEL MR
David,

UV 10.1 supports the use of SSL to protect the data flows between client
& server, and according to a post from LeRoy Dreyfuss (in early June,
check the list archives if you need to) UniAdmin 10.1 will help to walk
you through the certificate set-up process.

Alternatively, you could require the users to connect over a VPN, which
could either be a firewall-based product or may be do-able in software
between the actual client PC and UV server - I don't know, I've never
tried that.  Good luck!

HTH

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of djordan
Sent: Wednesday, 21 July 2004 10:27
To: [EMAIL PROTECTED]
Subject: RE: [U2] [UV] UniObjects across the internet

Hi

Thanks for the information.  It is a current application, where a number
of users would require to access the database across the internet.
Although there is new development in progress, this is needed for a
short term solution.

I have written a process to swap the UniObjects layer with Wintegrate
for a uniobjects application and use the telnet interface.  This could
probably take advantage of secured telnet across the internet.  I was
looking at other ways of securing UniObjects communication over the
internet without too much change to the application

Regards

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

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] (UV) Analyze.shm -s (Unclassified)

2004-07-20 Thread HENDERSON MICHAEL MR
Martin,

Thanks for two very informative posts on this subject!

Could you please expand a little on the last paragraph?
How does it 'all fall over'?  What symptoms are exhibited?

Thanks


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin Phillips
Sent: Tuesday, 20 July 2004 21:22
To: [EMAIL PROTECTED]
Subject: Re: [U2] (UV) Analyze.shm -s

[snip]

Incidentally, I just tried my experiment of causing a merge when there
is a record lock that will need to be moved to a row of the lock table
that is full.  It all falls over but not in the way exhibited by the
original posting that started this thread.


Martin Phillips
Ladybridge Systems
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB
+44-(0)1604-709200


The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] [UV] EINVAL transaction commit failure

2004-07-06 Thread HENDERSON MICHAEL MR
Stuart,

Grasping at straws, perhaps, but maybe the transaction logging file is
filling up, or passing some platform-specific size limit?
It seems from the message that "GRTRANS" is a Dynamic (type 30) file.  
Is it splitting heavily?  
Worth re-sizing as static, or with a MINIMUM.MODULUS bigger than
the existing size? 
Close to / over 2GB?  That might generate a 'seek with a
negative pointer'?


More details on UV release level and platform might help other people
[not me, I'm only guessing as it is! ;-)]


HTH


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stuart Boydell
Sent: Wednesday, 7 July 2004 11:47
To: U2-Users
Subject: [U2] [UV] EINVAL transaction commit failure

There is a program that does transaction bracketing of an update. It
normally behaves itself (hundreds of transactions /hr) but I am getting
a fatal error on commit. I'm not sure what the "Seek operation failure"
error is.

Program "GRXMLCONV": Line 2750, Seek operation failure.  [EINVAL]
Invalid argument Program "GRXMLCONV": Line 2750, FATAL: Unable to do
commit of record "E7848"
in file "GRTRANS/DATA.30".
Program "GRXMLCONV": Line 2750, Rolling back uncommitted transactions
begun within this execution environment.

The docs have a number of posibilities but I'm not sure where to start
looking. Can anyone shed any light on what may be causing this?

Thanks,
Stuart Boydell

* admin.pdf E-6: "(EINVAL) Invalid argument. Here are some examples of
invalid
arguments: dismounting a nonmounted device, mentioning an unknown signal
in signal, reading or writing a file for which seek has generated a
negative pointer. EINVAL is also set by math functions."

---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] Monitoring a count of users logged on

2004-06-24 Thread HENDERSON MICHAEL MR
-Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Al DeWitt
> Sent: Friday, 25 June 2004 11:10
> To: ([EMAIL PROTECTED])
> Subject: [U2] Monitoring a count of users logged on
> 
> I need to be able to monitor the number of users logged into the
server.  
> I would want this to run periodically (say every 10 minutes) Monday
through 
> Friday, 08:00 - 15:00.  I would like the output to go to a text file
for 
> later analysis.  The output could be as simple as Date, Time, # of
Users 
> logged in.
>
> Is this something I can do via UniAdmin?  

Not as at 10.0, which is a pity - you can monitor all right but not
export
the results of the monitoring as far as I can see.  Maybe 10.1?


> Do I need to write a basic program and run it as a phantom?

Yes.  :-(
If your user numbers go up and down a lot, you might want to consider
checking every 5 or 10 seconds, keeping a maximum & minimum in named
common, 
and logging them every 10 or 15 minutes.


HTH

Mike
 
> Thanks.
>  
> Al DeWitt
> Stylmark, Inc. 
> 763-574-8705
> [EMAIL PROTECTED]
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] Monitoring a count of users logged on

2004-06-24 Thread HENDERSON MICHAEL MR
-Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Al DeWitt
> Sent: Friday, 25 June 2004 11:10
> To: ([EMAIL PROTECTED])
> Subject: [U2] Monitoring a count of users logged on
> 
> I need to be able to monitor the number of users logged into the
server.  I would want this to run periodically (say every 10 minutes)
Monday through Friday, 08:00 - 15:00.  I would like the output to go to
a text file for later analysis.  The output could be as simple as Date,
Time, # of Users logged in.
 
Is this something I can do via UniAdmin?  Do I need to write a basic
program and run it as a phantom?
 
Thanks.
 
Al DeWitt
Stylmark, Inc. 
763-574-8705
[EMAIL PROTECTED]
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] .Net Provider for Unidata or Universe

2004-06-16 Thread HENDERSON MICHAEL MR
Tony,

Please can you substantiate the statement "PDP now has the sanctions of
Microsoft"?

It's not that I doubt your statement, but if I were to do like you say and
"tell management that you're running Microsoft-approved .NET
communications", I'd like to be able to answer the inevitable 'prove it!'
come-back with something a little more official than 'Tony Gravagno said so'
;-)

Thanks

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tony Gravagno
Sent: Thursday, 17 June 2004 09:34
To: [EMAIL PROTECTED]
Subject: RE: [U2] .Net Provider for Unidata or Universe

[snip]

PDP now has the sanctions of Microsoft, and it can't hurt to tell management
that you're running Microsoft-approved .NET communications with your
IBM-approved database.

[snip]

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] maximum UniVerse file size

2004-06-14 Thread HENDERSON MICHAEL MR
Chuck,

I'm not sure if 64-bit files are supported properly on as early a release as
9.5, I seem to remember some real horror stories from the "good old days" of
9.5.  They are fine on 10.x releases 
Contrary to some people's opinions, 64-bit files work fine on Windows, but
again, if you're really running NT I'd be a bit worried.
Upgrade time?

The UVCONFIG 64BIT_FILES option defines the _default_ file creation
mechanism.
If it's off (default), you can still create or resize a file as 64-bit with
the 64BIT option
If it's on (which I would NOT recommend), you can still create or resize a
file as 32-bit with the 32BIT option.


HTH


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chuck Mongiovi
Sent: Tuesday, 15 June 2004 06:52
To: [EMAIL PROTECTED]
Subject: RE: [U2] maximum UniVerse file size

> If they are standard 32-bit files, then yes.
> Convert them to 64-bit to exceed the 2GB limit.

According to the UVCONFIG file:

# 64BIT_FILES
# A value of 1 results in the creation
#   of 64-bit files (ONLY valid on 64-bit capable platforms).

What are 64-bit capable platforms? ..

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chuck Mongiovi
Sent: Tuesday, 15 June 2004 02:22
To: [EMAIL PROTECTED]
Subject: [U2] maximum UniVerse file size

Does anyone know if there's a 2GB limit on UniVerse file size (WinNT/UV9.5)
-Chuck Mongiovi

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] [UV/Windows] Authentication / encryption is sues

2004-06-08 Thread HENDERSON MICHAEL MR
LeRoy,

The implementation of SSL with the UV telnet server certainly sounds
interesting to me, too.
Is it limited to wIntegrate only, or can Dynamic Connect use it too?

I don't suppose there are any other SSL-enabled terminal emulators out
there, I thought SSH seemed to be the common way of doing it.  But maybe I'm
wrong?


The original poster also mentioned the UV/Net password vulnerability.  
Does IBM have any plans to address this?


Thanks


Mike



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Leroy Dreyfuss
Sent: Tuesday, 8 June 2004 07:45
To: [EMAIL PROTECTED]
Subject: RE: [U2] [UV/Windows] Authentication / encryption issues

Bill,

[snip]

You then tell wIntegrate (version 5.1 or later) where that file is 

[snip]

Regards,

LeRoy F. Dreyfuss
Advanced Technical Services - U2 Technology Analyst IBM U2 Data Management
Solutions
Tel: 303-672-1254  Fax: 303-294-4832
Mobile: 720-341-4317
External email:  [EMAIL PROTECTED]

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniVerse on Linux Unclassified

2004-06-02 Thread HENDERSON MICHAEL MR
Sara,

Last time I looked, the U2 Product Matrix had not been updated since before
Christmas, i.e. nearly six months ago!

I had a message in March from LeRoy saying "new processes are preventing us
from timely updates to our availability matrix".
Sigh


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sara Burns
Sent: Thursday, 3 June 2004 12:32
To: U2 List ([EMAIL PROTECTED])
Subject: [U2] UniVerse on Linux

As part of our server strategy we are investigating possibly running
UniVerse on Linux.  This seems to pose a number of questions re the type of
Linux to use.
I have obtained 10.1.1 for RedHat but our Oracle team is leaning towards
SUSE and we see that this is only listed on the Availability Matrix at
version 10.0.8 Is the matrix very out of date or is there a large difference
between the different flavours of Linux.
 
Are there good reasons to select one flavour over the other.  Opinions would
be welcome on or off list.
 
Regards,
Sara Burns
 
Sara Burns (SEB)
Development Team Leader

Public Trust
Phone: +64 (04) 474-3841 (DDI) 

Mobile: 027 457 5974
< 

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] RE: [UV] 10.0.19 - Bug with FMT? Unclassified

2004-05-31 Thread HENDERSON MICHAEL MR
Adrian

To get the text marks, you'd want to code 
A = FMT("ABCDEFGHIJKLMNOPQRSTUVWXYZ","10T")
Note formatting "10T", not "10L"

It works that way on 10.0.15 and I must say that's what I expected.
I would have been quite surprised if "10L" and "L#10" were different,
actually.


Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, 31 May 2004 20:02
To: [EMAIL PROTECTED]
Subject: [U2] RE: [UV] 10.0.19 - Bug with FMT?

The following statement on 10.0 would insert text marks (@TM) into the
string every 10 characters:

A = FMT("ABCDEFGHIJKLMNOPQRSTUVWXYZ","10L")

This one would truncate and give only the first 10 characters.

A = FMT("ABCDEFGHIJKLMNOPQRSTUVWXYZ","L#10")

Under 10.0.19 the first statement is doing exactly the same as the
second (ie. truncating). Surely this is incorrect.

As a test I tried this:

A = FMTS("ABCDEFGHIJKLMNOPQRSTUVWXYZ","10L")

(Note: FMTS not FMT - for multi-valued FMT)

and it correctly inserted the text marks every 10 characters.

Does anyone know if this is a known bug, or if there is a compile time
switch that I am unaware of?

Thanks,

AdrianW
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users


Unclassified RE: [U2] Timed INPUT [UV]

2004-05-27 Thread HENDERSON MICHAEL MR
Use NAP

Measures in milliseconds, not seconds.
See HELP BASIC NAP 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn W. Paschal
Sent: Friday, 28 May 2004 07:45
To: [EMAIL PROTECTED]
Subject: RE: [U2] Timed INPUT [UV]

I found this intriguing, so I decided to see if I could write my own
"INPUTWAIT" subroutine.
Found only one problem.

I am using a combination of INPUT BUF.TEST,-1 and INKEY() to capture input
and test for timeouts.
If I put a sleep in the INPUT BUF.TEST,-1 loop, the process becomes quirky
and delayed. (SLEEP 1) If I take out the sleep, it works smooth and precise,
but eats up resources like a madman! (result of sit-n-spin loop).

Is there a way to sleep less than 1 sec?  Seems like at one time you could
specify sleep in milliseconds rather than seconds.

(writing in UniVerse 10.1.0 on Win 2000 svr)

Thanks,
Glenn W. Paschal
PasTech LLC
Computer Consulting
ph. (931) 526-9631
fx. (931) 526-9678
email. [EMAIL PROTECTED]
web. www.pastech.net
 
 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jan Shaw and Keith
Johnson
Sent: Thursday, May 27, 2004 4:09 AM
To: U2-Users
Subject: Re: [U2] Timed INPUT [UV]


I've sent it in before, but I put the whole thing up on Pickwiki.  Following
is the note I put about it.
***
Here's a subroutine to mimic the INPUT WAITING capability that exists in
Unidata. It has all the functionality including duplicating the behaviour of
the underscore and colon when specifying the maximum string length. For
example, if you want to input three characters for variable THIS, waiting
for 10 seconds, requiring a carriage return to signify input but without a
line feed, and defaulting to the string "zip"; you would code:

CALL INPUTWAIT(THIS, '3_:', '10', 'zip' )
***

Which in Unidata would have been

INPUT THIS,3_: FOR 10 ELSE THIS = 'zip'

So you can save time by getting the code from

http://www.pickwiki.com/cgi-bin/wiki.pl?InputWait

Regards, Keith Johnson

Owner/Host

www.emeraldglenlodge.co.nz
04 299 3066
---
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

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users


Unclassified RE: [U2] [UV] TIME() precision on UV 10.1

2004-05-11 Thread HENDERSON MICHAEL MR
John,

Your 9.6 system was HP-UX, right?
The change came at 10.0.4 IIRC, and brings HP-UX in line with all the other
ports.
Check the list archives, there have been two or three discussions on this in
the last twelve months or so.

I _think_ you'll have to put a "$OPTIONS TIME.MILLISECOND" into every
program unit whose behaviour you want to change (and re-compile of course).


HTH

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Hester
Sent: Wednesday, 12 May 2004 12:02
To: U2 Users Discussion List
Subject: [U2] [UV] TIME() precision on UV 10.1

I'm working on an upgrade from UV 9.6 to 10.1 and need TIME() to behave as
it used to for backward compatibility.  UV 10.1 is running on RedHat EL 3.0.
I changed TIMEACCURACY to 0 in uvconfig and executed uvregen, but TIME() is
still showing milliseconds instead of whole seconds.  What am I missing?

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

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users


Unclassified RE: [U2] Unidata on Windows 2003 Server Enterprise E dition question

2004-05-11 Thread HENDERSON MICHAEL MR
Sara,

If the one CPU was to be an Intel HyperThreading Xeon / P-4, does that make
it better / worse / no difference?  Did you try that?

Thanks

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sara Burns
Sent: Wednesday, 12 May 2004 11:02
To: 'U2 List'
Subject: [U2] Unidata on Windows 2003 Server Enterprise Edition question

During our recent experiments with Universe 10.1 on Windows 2003, with a
single processor we did a test with a phantom in a reasonably tight loop.
Not too tight as it was reading and writing to different files.  We expected
this to allow other telnet sessions to be responsive.
 
Our results showed that it was virtually impossible for a new user to login
and the response for existing telnet sessions was very poor.
 
We obtained the Windows System Resource Manager (WSRM) and adjusted the
priority of uvsh.exe which was running the phantom processes.  This then
made the system usable by all.  This link may provide the information you
seek http://www.microsoft.com/windowsserver2003/downloads/wsrm.mspx
 
 
Sara Burns
 
Sara Burns (SEB)
Development Team Leader

Public Trust
Phone: +64 (04) 474-3841 (DDI) 

Mobile: 027 457 5974
<  mailto:[EMAIL PROTECTED]>

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users