Norman, David (Health | 1 Mar 2009 23:59
Picon

RE: [U2] Inter-Process Control...

We are using Unix semaphores under Universe 10.0, with GCI C code that
was ported from Pr1me by a third party.
If you are interested in having a look at this I'll check with the
powers-that-be.

========================
David Norman
Senior Software Engineer - SA Ambulance Service

ICT Services
SA Health
Government of South Australia

Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* norman.david <at> saambulance.com.au

This e-mail may contain confidential information, which also may be
legally privileged. Only the intended recipient(s) may access, use,
distribute or copy this e-mail. If this e-mail is received in error,
please inform the sender by return e-mail and delete the original. If
there are doubts about the validity of this message, please contact the
sender by telephone. It is the recipient's responsibility to check the
e-mail and any attached files for viruses.
-------
u2-users mailing list
u2-users <at> listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
(Continue reading)

Norman, David (Health | 2 Mar 2009 05:51
Picon

[U2] UVrpcd vs UNIrcpd

We run unirpcd on our UV10 HP-UX boxes for UV-Net to communicate. We
have just resurrected an old HP box running UV 9.4, which uses uvrpcd.
The 9.4 and 10.x systems won't talk to each other, complaining that
uvrpcd or unirpcd isn't running on the other end, which is true.
Is there any way I can get UV-Net to run between the different rpc
daemons ?

Thanks,
========================
David Norman
Senior Software Engineer - SA Ambulance Service

ICT Services
SA Health
Government of South Australia

Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* norman.david <at> saambulance.com.au

This e-mail may contain confidential information, which also may be
legally privileged. Only the intended recipient(s) may access, use,
distribute or copy this e-mail. If this e-mail is received in error,
please inform the sender by return e-mail and delete the original. If
there are doubts about the validity of this message, please contact the
sender by telephone. It is the recipient's responsibility to check the
e-mail and any attached files for viruses.
-------
(Continue reading)

Hona, David | 2 Mar 2009 08:38
Picon

RE: [U2] UVrpcd vs UNIrcpd

I believe the answer is "no", you can't speak between UniVerse RPC
daemon versions, as the protocol is version specific. If I recall
correctly, I even UV-Net on 9.5.x and 9.4.x may not work....

David

-----Original Message-----
From: owner-u2-users <at> listserver.u2ug.org
[mailto:owner-u2-users <at> listserver.u2ug.org] On Behalf Of Norman, David
(Health)
Sent: Monday, 2 March 2009 3:51 PM
To: u2-users <at> listserver.u2ug.org
Subject: [U2] UVrpcd vs UNIrcpd

We run unirpcd on our UV10 HP-UX boxes for UV-Net to communicate. We
have just resurrected an old HP box running UV 9.4, which uses uvrpcd.
The 9.4 and 10.x systems won't talk to each other, complaining that
uvrpcd or unirpcd isn't running on the other end, which is true.
Is there any way I can get UV-Net to run between the different rpc
daemons ?

Thanks,
========================
David Norman

************** IMPORTANT MESSAGE *****************************       
This e-mail message is intended only for the addressee(s) and contains information which may be
confidential. 
If you are not the intended recipient please advise the sender by return email, do not use or
disclose the contents, and delete the message and any attachments from your system. Unless
(Continue reading)

Mike Roosa | 2 Mar 2009 15:35
Picon
Gravatar

Re: [U2] AUTOLOGOUT and ON.ABORT

I created the errlog file and it does appear to be logging some messages.
 Do I have to do anything in uniadmin as I see a couple of error messages
when universe first starts up.
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system uniVerse Log Daemon started
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system Unable to read LOGS.DIR entry
from D_UV_LOGS.
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system Can't start logging, logging
inactivated in uvconfig

On Fri, Feb 27, 2009 at 5:21 PM, Jacques G. <jacques_g <at> yahoo.com> wrote:

> On unix it's an empty file (size zero) we create:
> EI:
>
> touch errlog
>
> On a windows the equivalent would probably be (from dos prompt when in the
> uv account):
> copy con errlog
> ^Z
>
>  1 file(s) copied.
>
> (After typing CTRL-Z you press[RETURN])  I haven't used the errlog in
> Universe for Windows though.
>
>
>
> ----- Original Message ----
> From: Mike Roosa <mike.roosa <at> gmail.com>
(Continue reading)

George Gallen | 2 Mar 2009 17:07

RE: [U2] Strange happening... (Mystery Solved)

Well,

Apparantly the problem was a "" item ID was in the file.

Also, in looking at this example (not expecting a blank Item ID)

> > SELECT FILENAME
> > LOOP
> >    READNEXT ID ELSE EXIT
> > WHILE ID DO
> >    CODE
> >    CODE with GOSUB
> >    CODE
> >    CODE
> > REPEAT
>
>
> SELECT FILENAME
> LOOP WHILE READNEXT ID
>   CODE...
>   CODE with GOSUB
>   CODE
>   CODE
> REPEAT
>

These two example are not the same. The second example would not have ended the
loop, since the While is testing the status of the READNEXT action, whereas the
original coding (top example), the While is testing the status of ID variable.

(Continue reading)

Eric Armstrong | 2 Mar 2009 17:28

RE: [U2] Strange happening...

Allen,
Regarding your loop structure below. What happens if the ID is empty string?
Won't it bail out before all the ids are read!

Eric Armstrong
Lobel Financial
IT Dept

-----Original Message-----
From: Allen Egerton [mailto:aegerton <at> pobox.com]
Sent: Friday, February 27, 2009 8:37 AM
To: u2-users <at> listserver.u2ug.org
Subject: Re: [U2] Strange happening...

As for the loop structure, I tend to like this:
SELECT FILENAME
LOOP WHILE READNEXT ID
  CODE
  CODE
  CODE with GOSUB
  CODE
  CODE
REPEAT

It's clean, it's concise, it's easy to read...  And I wish I could
remember who taught me that you could combine the LOOP and READNEXT in
that manner...

--

-- 
Allen Egerton
(Continue reading)

Eric Armstrong | 2 Mar 2009 17:31

RE: [U2] AUTOLOGOUT and ON.ABORT

We use Windows and its kept at \\Mars\UVDB\TOOLS\ERRLOG.BACKUP

Eric Armstrong
Lobel Financial
IT Dept

-----Original Message-----
From: Mike Roosa [mailto:mike.roosa <at> gmail.com]
Sent: Friday, February 27, 2009 7:32 AM
To: u2-users <at> listserver.u2ug.org
Subject: Re: [U2] AUTOLOGOUT and ON.ABORT

I was under the impression that the errlog only existed on unix systems.
 Maybe I'm wrong on this but I can't find it anywhere on our system.

On Fri, Feb 27, 2009 at 1:17 AM, Jacques G. <jacques_g <at> yahoo.com> wrote:

> If you turn on the errlog file in /u1/uv you may get a message in there
for
> an AUTOLOGOUT.  I'm pretty sure I've seen such messages in the past.  You
> will have the user name, the PID and some text describing the error.
>
> The errlog file only keeps the last 1001 error messages so you might want
> to have a cron job back them up with a date time stamp periodically during
> the day.
>
>
>
> ----- Original Message ----
> > Our users have their AUTOLOGOUT set to 30 minutes and it looks like the
(Continue reading)

Jacques G. | 2 Mar 2009 18:08
Picon
Favicon

Re: [U2] AUTOLOGOUT and ON.ABORT

You should read your uvconfig file (and Manual) to see if you have a flag for it in the Windows version of
Universe.  On the Unix version, the only thing I need to do in order to turn on the loggin is to create the
errlog file.

Your admin menu may have an option for it somewhere.

----- Original Message ----
From: Mike Roosa <mike.roosa <at> gmail.com>
To: u2-users <at> listserver.u2ug.org
Sent: Monday, March 2, 2009 9:35:11 AM
Subject: Re: [U2] AUTOLOGOUT and ON.ABORT

I created the errlog file and it does appear to be logging some messages.
Do I have to do anything in uniadmin as I see a couple of error messages
when universe first starts up.
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system uniVerse Log Daemon started
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system Unable to read LOGS.DIR entry
from D_UV_LOGS.
Sun Mar 01 01:00:11  -4701 NT AUTHORITY\system Can't start logging, logging
inactivated in uvconfig

On Fri, Feb 27, 2009 at 5:21 PM, Jacques G. <jacques_g <at> yahoo.com> wrote:

> On unix it's an empty file (size zero) we create:
> EI:
>
> touch errlog
>
> On a windows the equivalent would probably be (from dos prompt when in the
> uv account):
(Continue reading)

George Gallen | 2 Mar 2009 19:01

RE: [U2] Strange happening...

It shouldn't, at least not to a empty ID because the
condition test is on the READNEXT, not the ID.

However, it will pass an empty ID to the coding, which
could be worse, if there aren't constraint checks on
the ID.

George

> -----Original Message-----
> From: owner-u2-users <at> listserver.u2ug.org [mailto:owner-u2-
> users <at> listserver.u2ug.org] On Behalf Of Eric Armstrong
> Sent: Monday, March 02, 2009 11:28 AM
> To: u2-users <at> listserver.u2ug.org
> Subject: RE: [U2] Strange happening...
>
> Allen,
> Regarding your loop structure below. What happens if the ID is empty
> string?
> Won't it bail out before all the ids are read!
>
> Eric Armstrong
> Lobel Financial
> IT Dept
>
>
> -----Original Message-----
> From: Allen Egerton [mailto:aegerton <at> pobox.com]
> Sent: Friday, February 27, 2009 8:37 AM
> To: u2-users <at> listserver.u2ug.org
(Continue reading)

David Beaty | 2 Mar 2009 19:42
Picon
Favicon

Re: [U2] Strange happening...

I tend to use:

SELECT FILENAME
EOF =  <at> FALSE
LOOP
 READNEXT ID ELSE EOF =  <at> TRUE
UNTIL EOF DO
 CODE
 CODE
 CODE with GOSUB
 CODE
 CODE
REPEAT

The advantage here is that it allows you to bail out of the loop of you want 
to by setting EOF

David

--------------------------------------------------
From: "George Gallen" <ggallen <at> wyanokegroup.com>
Sent: Monday, March 02, 2009 6:01 PM
To: <u2-users <at> listserver.u2ug.org>
Subject: RE: [U2] Strange happening...

> It shouldn't, at least not to a empty ID because the
> condition test is on the READNEXT, not the ID.
>
> However, it will pass an empty ID to the coding, which
> could be worse, if there aren't constraint checks on
(Continue reading)


Gmane