[U2] Unix nfiles & phantoms

2008-11-17 Thread Norman, David (SAAS)
G'day,
We recently had an issue with nfiles on our HP-UX 11i (UV10.0.16)
system, where we hadn't been increasing nfiles after adding extra
UniVerse users and were getting close to the nfiles limit. We've now
adjusted nfiles accordingly, but realised we don't know whether phantoms
should be taken into account. The old VMARK Technical Bulletin 74-107
"Maximising Performance for UniVerse Systems" states "For file
configuration, you must set NFILE (HP-UX = nfiles) to greater than the
expected number of concurrent UniVerse users times the value of NOFILES
(HP-UX = maxfiles)" but doesn't make any mention of phantoms. Should we
add the number of permanent phantoms to the number of UV licences to
work out what nfiles should be ??

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
* [EMAIL PROTECTED]

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


Re: [U2] static/dynamic file(s) opinions wanted!

2008-07-24 Thread Norman, David (SAAS)
Ray earlier suggested using RESIZE * * * CONCURRENT for a Dynamic file.
On 10.0.16 this results in the error "Concurrent Resize of type 1, 19,
25, or 30 is not allowed."
Adding the "USING" parameter suggested by Ray results in an "Invalid
Option" error.
If I want to resize a Dynamic file to reclaim unused space after
deleting records, do I have to stop access to this file for the duration
? We run a 24x7 operation and stopping access to files is generally not
possible.
Do I have any other options for cleaning up Dynamic files while they are
in use ??

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
* [EMAIL PROTECTED]

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


[U2] Digest users getting individual posts

2008-04-22 Thread Norman, David (SAAS)
Looks like the Digest system isn't working properly - I'm getting
individual posts instead of the Digest.


David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Digest - sequence of posts

2007-11-21 Thread Norman, David (SAAS)
... and as well as restoring the Digest function, any chance of the
Digest being in some logical sequence again ? It's rather hard to follow
threads when the answers come before the question ...


David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Re: Phantom creating Zombies

2007-11-06 Thread Norman, David (SAAS)
Thanks to all who responded - NOTIFY ON seems to have done the trick,
despite some people saying it didn't work for them, with the added bonus
of the spawned phantom reporting when it's finished.


David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Phantom creating Zombies

2007-11-04 Thread Norman, David (SAAS)
UV 10.0.16 (Information) HP-UX 11i
We have a permanently-running phantom, which needs to periodically start
another phantom, with both phantoms running independently. When the 2nd
phantom stops, that process becomes a zombie until the original phantom
stops (which is preferably just about never).
As these zombies mount up, we get to the situation where the id
associated with the phantom can't run processes or even login until the
zombies are cleared (by stopping the first phantom).
Our work-around is to stop and restart the first phantom weekly, but we
really don't want to have to do this.
It's no good just running the BP of the second phantom, because then the
first phantom pauses until the second phantom stops.

Is there a better way of one phantom launching another without the
zombie problem ??

Thanks,

David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] what files does a user have open

2007-08-16 Thread Norman, David \(SAAS\)
> Date: Wed, 15 Aug 2007 19:08:52 +
> From: [EMAIL PROTECTED]
> Subject: [U2] [UV] what files does a user have open
>
> Hi all,
>
> UV10.1.8
> PICK FORMAT
> HPUX 11
>
> How do I go about seeing what files a user has open?
>
> Thanks

>From your UniVerse home account:
PORT.STATUS PID  FILEMAP

David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Time conversion code

2007-06-10 Thread Norman, David \(SAAS\)
The change in functionality was documented at 10.0 as a GTAR fix. As
there are only 24 hours in a day, the logic was that MT shouldn't go
above 24 hours. I recall there was discussion on the list about this at
the time.


David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [uv] Using XML commands in Basic

2007-06-06 Thread Norman, David \(SAAS\)
UV 10.0.16 (Information) HP-UX.
I have a program that processes incoming XML quite happily using various
.ext extraction files.
I'm not sure, however, what XML commands need to be run if an XML
command has an error.
For instance, if the PrepareXML fails, do I have to do a ReleaseXML ?
And if the OpenXMLData fails, do I have to CloseXMLData and then
ReleaseXML ? And if the ReadXMLData fails then both a Close & Release
are necessary ??
The documentation seems a bit sketchy in this area.

Thanks,

David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Time conversion code

2007-06-06 Thread Norman, David \(SAAS\)
This (IMO unwanted) change in functionality occurred at 10.0. I have
written a user conversion to return the time greater than 24 hours:

01:   SUBROUTINE U2134(ANSWER,STATUS,DATA,CONVTYPE)
0002: * OCONV to show hours > 24 after UV10 changes hh:mm
0003: *
0004: * CATALOG AS $2134 e.g. CATALOG BP $2134 U2134
0005: *
0006: * DAN 7.5.04
0007:   SECONDS = ABS(DATA)
0008:   MINUTES = SECONDS / 60
0009:   MINUTES += 0.5
0010:   MINUTES = INT(MINUTES)
0011:   HOURS = MINUTES / 60
0012:   HOURS = INT(HOURS)
0013:   MINUTES = MINUTES - (HOURS * 60)
0014:   IF HOURS < 10 THEN HOURS = '0':HOURS
0015:   ANSWER = HOURS:':':('00':MINUTES)[2]
0016:   IF DATA < 0 THEN ANSWER = '-':ANSWER
0017:END

HTH

David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Horribly Overflowed Dynamic File

2007-04-18 Thread Norman, David \(SAAS\)
UV10.0.16 (Information) HP-UX.
I have a dynamic file where every group is badly overflowed. Each record
size is between 5k and 6k, so a group size of 2048 or 4096 can't contain
a whole record.
I'm not so much concerned about performance as disk space - when I purge
the file, hardly any disk space is reclaimed. Currently the unused space
is three times the data space !
Any suggestion on how I can manage this file ???

Thanks,

David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Runtime Stack Overflow [uv]

2007-04-04 Thread Norman, David (SAAS)
Thanks to Brian, Sara, Mark, Charles and Baker for your responses.
I hope Brian and Charles have hit the nail on the head. I did manage to
create an infinitely recursive subroutine call, exactly as Charles said,
by reusing code from a different program with slightly different
structure (GOTO instead of RETURN).
This phantom has now been running for almost 20 hours, and I have hopes
it will run until I tell it to stop.
Now I've just got to clean up my XML processing, so that every
PrepareXML is matched with a ReleaseXML, and every OpenXMLData has a
corresponding CloseXMLData - if I found a malformed XML input (which I
haven't so far) I was skipping the ReleaseXML or CloseXMLData.

Thanks everyone and Happy Easter !!

David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Runtime Stack Overflow [uv]

2007-04-02 Thread Norman, David \(SAAS\)
UV 10.0.16 (Information) HP-UX 11.
I am developing a new phantom that will run 24x7 until told to stop. I
have many phantoms running this way.
The new phantom won't run for more than about 12 hours no matter what
time started, when it aborts with a Runtime Stack Overflow, pointing to
a quite innocuous line. My VAR advises that this error is associated
with too many files, or nested Executes. I can't see what's wrong in my
program - it does have Executes for selects etc but I can't see any
problems.
Anyone have any ideas what I should be looking for ? How accurate is the
line number in the error message ?

Thanks all,


David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Outputting XML to a file [uv]

2007-01-07 Thread Norman, David \(SAAS\)
What's the best way of outputting XML to a file (uv 10.0.16, HP-UX) ? I
may need to output a DTD, which Cedarville's Download doesn't do, and
the uv manual says to send to &HOLD& or a COMO, but then the output file
contains extraneous lines (blanks, and count of records listed) that
need to be removed.
Is there any better solution ??

Thanks,

David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] Continuing Long Lines

2006-08-24 Thread Norman, David \(SAAS\)
I have a complex IF command where the expression being evaluated is
rather long - IF (THIS AND THAT) OR (THIS AND THAT) OR ...
Can I break the expression onto several lines for readability ? I can't
find any reference to a continuation character in the manuals, and just
breaking the expression doesn't compile. I know I can put the THEN
clause on a separate line, but it's the bit between IF and THEN that I
want to split.


David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 0758
* [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] Upgrading user count requires UV shutdown

2006-01-05 Thread Norman, David (SAAS)
We have purchased extra licences for our UV 10.0.16 system, and have
discovered on our test system that we need to stop UniVerse in order to
install them, otherwise we get an abnormal termination. Previously under 9.6
this could be done dynamically with all users logged on, and I am advised
that under 10.1 this is also possible, but not under 10.0.
Being a 24/7 installation this is a nuisance. Is this a known 'feature' of
10.0 ??


David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 0758
* [EMAIL PROTECTED]  
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Unix to SQL Server

2005-11-14 Thread Norman, David (SAAS)
I know I'm probably going over old ground again, but what's the present
state of play for UniVerse on HP-UX connecting to SQL Server on w2000/2003
to update tables ?
Do I need middleware ? If so, what is recommended ?
UV10.0.16 HP-UX 11

Thanks,

David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 0758
* [EMAIL PROTECTED]  
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] This 2 line program can crash a UV session

2005-08-28 Thread Norman, David (SAAS)
Crashes on 10.0.16 HP-UX if folding on 1 character, OK if folding on
2characters.


David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 4844
* [EMAIL PROTECTED]  
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] PCL Codes taking character positions [UV]

2005-08-01 Thread Norman, David (SAAS)
Thanks, Adrian & Louis.
I should have remembered about making the line longer to allow for control
characters - I do this for CSV files at times.
Mike, I do SETPTR mode 3 CAPTURING HOLD.ID, and later on SPOOL &HOLD&
FIELD(HOLD.ID,' " ', 2). Can't remember why the FIELD is necessary, but it
all works well.
 
Regards,

David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 4844
* [EMAIL PROTECTED]  
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] PCL Codes taking character positions [UV]

2005-07-31 Thread Norman, David (SAAS)
Morning,
I am having a problem with PCL codes taking character positions when
spooling to &HOLD&.
If I print direct to the printer (SETPTR mode 1) then PCL codes such as
Bold/unbold do not take character positions and I can print 80 characters on
a line.
If however I print to &HOLD& using mode 3, and then print the hold file
using SPOOL, each character of each PCL code takes one position, so that
each Bold/unbold sequence [Esc (s4B text Esc (s0B] takes 10 of the 80
characters for the PCL codes. A couple of these sequences on one line
reduces the available characters considerably, resulting in overflow onto
the next line.
My objective is to print immediately, and also keep a copy on &HOLD&. Is
there a better way of doing this ?

Thanks,

David Norman
Senior Software Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 4844
* [EMAIL PROTECTED]  
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Terminal Servers

2005-01-26 Thread Norman, David (SAAS)
Thanks to Wol, Anthony and Andre. I have passed your suggestions on to our
facilities management people (who were talking about Cyclades).

Regards,

David Norman
Senior Systems Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 4844
* [EMAIL PROTECTED]  
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Terminal Servers

2005-01-24 Thread Norman, David (SAAS)
Happy Australia Day !

HP-UX 11i, UV10.
We currently use HP DTCs (Datacommunications and Terminal Controllers) to
provide both connectivity for dumb terminals, and binary or ASCII I/O for
various black boxes, PCs and printers under the control of daemons. HP are
discontinuing support for these devices shortly, and our facilities
management providers are having trouble finding an equivalent device. Does
anyone have thoughts on what we could use as a replacement ?

Thanks,

David Norman
Senior Systems Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 4844
* [EMAIL PROTECTED]  
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


u2-users@listserver.u2ug.org

2004-10-26 Thread Norman, David (SAAS)
We had the same problem on HP-UX. We found that maxfiles was set too low. As
this is a static parameter requiring a reboot to take effect, and we run
24x7, we run "ulimit -S -n 120" in our .profiles to increase maxfiles soft
limit from 100 to 120, which is below the maxfiles_lim hard limit. This has
fixed the problem.


David Norman
Senior Systems Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 4844
* [EMAIL PROTECTED]  
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] UV (HP-UX) Jerkiness on terminals

2004-09-05 Thread Norman, David (SAAS)
We have recently upgraded our HP-UX systems, from old boxes that ran at
10Mb/s half duplex, to new ones that run at 100Mb/s full duplex. We have
quite a few terminals, which either run at 10Mb/s half duplex, or talk
serially to HP terminal servers which run at 10Mb/s half duplex.
Since the upgrade, we have noticed a lot of jerkiness when displaying full
screens in UniVerse, or in ED when printing a page to the screen. Typically
one third of the screen will be displayed, then a pause of almost a second,
then the remainder of the screen.
Needless to say, PCs running at 100Mb full duplex now display screens
faster, and with no jerkiness.
Apart from throttling the HPs back to 10 MB = duplex, does anyone have any
ideas how to fix this? Interestingly, I can't repeat this problem at the
Unix level - only from UniVerse (10.0.16).
The HPs are connected to switches, which in some cases are the same switch
as the terminals.

Thanks,

David Norman
Senior Systems Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 4844
* [EMAIL PROTECTED] 
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Longstanding aversion to CNAME?

2004-07-23 Thread Norman, David (SAAS)
In UV9.4 CNAME didn't update secondary indexes, which left a bit of a mess
behind. This has now been fixed, probably from 9.6.


David Norman
Senior Systems Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 4844
* [EMAIL PROTECTED]  
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Tuning UniVerse for Unix

2004-07-15 Thread Norman, David (SAAS)
Does anyone know if there is a later version of the "Maximising Performance
for UniVerse Systems" technical bulletin 74-0107 than the v9.5/6 versions on
IBM's site ? I am particularly interested in UV 10.0.16 on HP-UX 11i, if
there are any differences.

Thanks,

David Norman
Senior Systems Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 4844
* [EMAIL PROTECTED]  
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] uvfixfile & select lists

2004-07-07 Thread Norman, David (SAAS)
We are preparing to migrate from our old HP-UX system running UV 9.4 HP-UX
10.20 to our new system running UV 10.0.16 HP-UX 11i and are doing some file
consistency checks before migration.
We have noticed some bizarre behaviour when uvfixfile is running on a select
list of dynamic files.
We originally copied the 9.4 dynamic files over to the new system using tar.
Selecting some of these files and running uvfixfile against this select list
works as expected. When we create a new dynamic file under 10.0.16 and run
uvfixfile on that file by itself it works as expected. If a 10.0.16 file is
the FIRST one in the select list it also works OK. BUT if a 10.0.16 file is
other than the first file in the select list, uvfixfile aborts with "Invalid
separation of 0x0 encoded in header. Floating point exception." and stops
processing the list.
Anyone else noticed this peculiarity ?

BTW, if uvfixfile reports a problem such as 'file load discrepancy', is it
best to run uvfixfile -fix or resize * * * to fix these problems ?

Thanks,

David Norman
Senior Systems Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 4844
* [EMAIL PROTECTED]  
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


re: [U2] [UV] TIME() truncation

2004-05-27 Thread Norman, David (SAAS)
Karl,
As far as I know there isn't an OS solution - the easiest way I found was to
add a $OPTIONS TIME.MILLISECOND to each program and re-compile. Another
option is to use INT(TIME()) in each statement.


David Norman
Senior Systems Engineer
SA Ambulance Service
Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
fax +61 8 8271 4844
* [EMAIL PROTECTED]  
---
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users