RE: [U2] UVLICTOOL required often, why?

2005-06-08 Thread David Jordan
I have the trouble with a Windows NT 4 box at one site with uv objects.  It
is often caused by communication droppage not cleaning out the process
properly.  I have found with an upgrade of UniVerse and running on Win 2003
I have less problem.

Regards

David Jordan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Moore
Sent: Wednesday, 8 June 2005 9:08 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] UVLICTOOL required often, why?

DISCLAIMER:
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please delete it and notify
the sender immediately.  Please note that there is no guarantee that
this email or any attachment is virus free or has not been intercepted
or amended.

Hello everyone,

One of our customer sites has required me to log on to their Universe
server a few times recently to use the following command

UVLICTOOL clean_lic -a

The problem appears to be that their licenses are getting confused quite
often and either stop them logging on before max users is reached
(normally when 18 users of their 25 are on) or it stops their UVODBC
users from logging on.

The fix is simple, I just log on, drop to Dos and type the above to
clear the licenses, but I cannot see why this is happening on a regular
basis.

There aren't any dead sessions and everyone appears to be logging out
correctly when they've finished what they are doing.

The version of Universe is 9.6.2.1 and it's running on a Windows box.

Thanks

Andy Moore
Selima Software Ltd
Tel: 0114 2815000
Fax: 0114 281
email: [EMAIL PROTECTED]
Support: http://tracker.selima.co.uk http://tracker.selima.co.uk/
Forum: http://forum.selima.co.uk http://forum.selima.co.uk/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread Jerry Banker
The print only at the top of the page sounds like the printer is not getting 
or not interpreting a carriage return at the end of the line. We had the 
same problem on our Sun system with HP printers. Are you sending the 
printout through a script before going to the device?
Jerry
- Original Message - 
From: Peter Ivanick [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Tuesday, June 07, 2005 6:26 PM
Subject: [U2] Again with Setting a Network Printer in Linux


Hola all -

So, I've tried the various options outlined here  in other related
email, but our setup is failing consistently.

What happens is this: I can setup a printer, B009A for example, in CUPS
or as an lp printer, doesn't seem to matter. Linux (RH 3.5) printing is
fine, test are all ok  lp from the bash line are good as well, output
is dandy. When printed from the TCL prompt like this:

SP-ASSIGN F24 (and the printer B009A has form 24 loaded up)
COPY CRIT PTEST (P

I get good output. But when I try to print from within local PICK
programs, which work fine on our
hopefully-soon-to-be-replaced-if-I-can-fix-this-issue Irix system,
nothing, they disappear entirely. My spooler log shows:

P Print PR24 2 528 UniVerse 24 06/07/2005 18:49:51

lpstat is clear, but no output. The only exception to this is when I
have the printer setup as a RAW printer, in which case I do get output
but it is incomplete -- a few boxes are drawn  a small amount of text
is output at the top of the page.

My programmer assures me he's doing nothing odd with the printing, and I
believe him (can post some code here if that will help, I need to find
the explicit printing code first) but damned if I can think of anything
else going on. Again, all jobs are properly logged in my spooler log
files but no output.

ANY hints/thoughts/ideas greatly appreciated.

Peter

Stu Glancy wrote:
 You need to setup DEVICE by edit or uv admin.  UV admin is best
 because you will need to reread the spooler configuration files and you
 are prompted for this.  On my Linux the TCl command is MOTIF
 SYSTEM.ADMIN or SYSTEM.ADMIN  in the uv account.
 Marc Hilbert wrote:

 I have tried reading the manual. How can I set up access to a network
 printer under UV 10 with Linux Redhat 9.0. From the Linux shell I can
 successfully print, but from UV all I get is the following message
 every minute or so...

 Unable to open device. Verify that the printer is on line...

 Thanks in advance,
 Marc
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/




-- 
Peter Ivanick
Sr. Programmer/Analyst
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]
Phone: 215.573.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread Anthony Dzikiewicz
Some more details might help.  
Are you in Universe ?  If so, what does your record for the printer look
like in the DEVICE file ?  What does your 'driver' look like ? Can cat
that in the os ?  Exactly what kind of printer is it that you are using
?

We have a printer 'FUJI' and here is what it looks like in DEVICE
ED DEVICE FUJI
The file DEVICE is read-only and cannot be updated.
19 lines long.
 
: P
0001:
0002: /dev/null
0003:
0004: P
0005:
0006: /usr/spool/uv/fuji.drv
0007: FUJI
0008: 4
0009: 1
0010: 1
0011: 11
0012:
0013: 1
0014: 1
0015: 1
0016: 1
0017: 8
0018:
0019:
Bottom at line 19.

Here is what the 'driver' (/usr/spool/uv/fuji.drv) looks like;

[EMAIL PROTECTED] alp.oe]$ cat /usr/spool/uv/fuji.drv
cat -| lp -dfuji -o nofilebreak -s


Anthony




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Ivanick
Sent: Tuesday, June 07, 2005 7:26 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Again with Setting a Network Printer in Linux


Hola all -

So, I've tried the various options outlined here  in other related 
email, but our setup is failing consistently.

What happens is this: I can setup a printer, B009A for example, in CUPS 
or as an lp printer, doesn't seem to matter. Linux (RH 3.5) printing is 
fine, test are all ok  lp from the bash line are good as well, output 
is dandy. When printed from the TCL prompt like this:

SP-ASSIGN F24 (and the printer B009A has form 24 loaded up) COPY CRIT
PTEST (P

I get good output. But when I try to print from within local PICK 
programs, which work fine on our 
hopefully-soon-to-be-replaced-if-I-can-fix-this-issue Irix system, 
nothing, they disappear entirely. My spooler log shows:

P Print PR24 2 528 UniVerse 24 06/07/2005 18:49:51

lpstat is clear, but no output. The only exception to this is when I 
have the printer setup as a RAW printer, in which case I do get output 
but it is incomplete -- a few boxes are drawn  a small amount of text 
is output at the top of the page.

My programmer assures me he's doing nothing odd with the printing, and I

believe him (can post some code here if that will help, I need to find 
the explicit printing code first) but damned if I can think of anything 
else going on. Again, all jobs are properly logged in my spooler log 
files but no output.

ANY hints/thoughts/ideas greatly appreciated.

Peter

Stu Glancy wrote:
 You need to setup DEVICE by edit or uv admin.  UV admin is best
 because you will need to reread the spooler configuration files and
you 
 are prompted for this.  On my Linux the TCl command is MOTIF 
 SYSTEM.ADMIN or SYSTEM.ADMIN  in the uv account.
 Marc Hilbert wrote:
 
 I have tried reading the manual. How can I set up access to a network
 printer under UV 10 with Linux Redhat 9.0. From the Linux shell I can

 successfully print, but from UV all I get is the following message 
 every minute or so...

 Unable to open device. Verify that the printer is on line...

 Thanks in advance,
 Marc
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 
 

-- 
Peter Ivanick
Sr. Programmer/Analyst
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]
Phone: 215.573.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Recommendations for reporting tools

2005-06-08 Thread Glen B
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Tony Gravagno
 Sent: Tuesday, June 07, 2005 6:11 PM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] Recommendations for reporting tools


 Mark Ballinger mballinger-at-ballinger.cx |U2UG| wrote:
  On Tue, Jun 07, 2005 at 07:42:51AM -0700, Dave S wrote:
  You can purchase it from this company :
 
  http://www.sandritech.com/
 
  Yes, I know.  I'm just wondering what it costs.

 The best way to find out what products cost is to contact the supplier.
 Sandritech in particular has a good group of people and I'm sure you'll get
 good info, product, and service with them.  I'm not one to support
 senseless cloaks of secrecy (I hate not seeing a price tag on items in a
 store) but there are many reasons to not publish pricing info.

 Retail and software services are two totally different styles of markets. 
However, a lack of base pricing will more than often
deter prospective customers from inquiring on products. People are lazy these 
days, especially with the reduction in staff that most
businesses are running under. The easier you make it for the buyer to shop and 
compare, the more likely you will be to get a sale.
Do the comparison legwork yourself and post a price comparison by feature. I'll 
bet you sell more product that way, even if you are
more expensive. Make sure you keep it updated, though. There's nothing worse 
than pulling up a comparison table to see it's 4 years
old and the features list is 3 versions old.

   Pricing for some of these software products can vary widely
 depending on the VAR, their value-add in terms of support, training, etc,
 location, bundling, and many other factors.  I might offer a well known
 product at cost if we agree to short or long term services or a training
 engagement.  I might waive support fees for some period of time or offer an
 add-on component for less than list cost, not to mention quantity
 discounts.

  This is always an issue and everyone who is involved with buying software 
licenses and support understands that published pricing
is only a top-level guide, not a real quote. However, published pricing is the 
only way to narrow down the huge list of software
possibilities to those that fit in the general realm of a companies budget. I 
don't bother calling a small software firm for a price
quote, if there is no published base pricing for their standard product. It 
could be a lot cheaper, but I don't have time to call 20
small software companies and get accurate price quotes to then narrow it down 
to 2 or 3 that fit our budget and feature
requirements.

   If we let 'list price' stand as any guide by which we judge
 products then I dare say we'd consider a whole lot of products unworthy of
 further investigation, and these negotiable would never even be put on the
 table - I've seen it happen.

  If you sell any kind of product or service, you must have base pricing. 
Anyone who doesn't show it should either be the only one
in their market or have an established name in the market. Selling cars with no 
window pricing is fine because you can touch what
you are comparing and you can always pull out the Kelly Blue Book to see what 
the base prices are. You can't do that with software,
unless you spend weeks getting quotes for features from every software vendor 
out there. No one in their right mind will do that,
except maybe a consumer reporting group like CNET or a magazine. Typically, 
though, consumer reports are biased towards the
advertisers that pay their salaries. Still, the deciding factor is going to be 
the overall feature/price point. Companies that know
their market and know their price points can show base pricing without pushing 
away prospective buyers with high estimates or
misleading weary shoppers with under-average pricing.

   A price that's published today may change tomorrow.  You don't want
 to prospects to be discouraged by a price they see in a forum when the
 price isn't what was posted anymore.
   Also, sad but a fact of life, many companies use list price as one
 of their key differentiators to raise or lower their own pricing to find a
 competitive sweet spot.  If someone publishes pricing in a public forum it
 may mess up the vendor's competitive positioning, and even encourage other
 vendors to just raise their own pricing - I've seen this happen too.

 That's because a lot of software vendors do not perform any kind of 
demographics to determine their price points. If you're going
to sell a product in a market with a lot of competition, then you need to know 
what your min, max, and average pricing should be
based on the competition's market share and the products they are offering. If 
I opened a hardware store next to an ACE store and
offered the same products at the same price, then I'd never sell anything. On 
the flip-side, if I set my pricing 30% lower than ACE
then I'd need to sell a LOT more product(lower 

Re: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread Peter Ivanick

Hola all -

Some more details might help.  
Are you in Universe ? 


Yes, that's where it's failing. From the TCL prompt, SP-ASSIGN F24  the 
printing output seems to work fine, but from within the programs, it's 
not so good.



If so, what does your record for the printer look
like in the DEVICE file ?


|
| Printer Name: pr24Baud Rate : 9600 
   |
| Pathname? /dev/null   Parity: NONE 
   |
| Driver  : /usr/spool/uv/pr.PR24   CR Mode   : None 
   |
| Form: 24  Tab Expansion : OFF 
   |
| Flow control: FF Delay  : No formfeed 
   |
| Enable Printing : Y   LF Delay  : None 
   |
| Enable Queuing  : Y   Word Length   : 8 
   |
| Lock file 1 : PR24 
   |
| Lock file 2 : 
   |
| Other Options   : LF to CR/LF 
   |


 What does your 'driver' look like ?

lp -dVHP1101PRT1 (works for most other printers/forms, only 24  25 are 
giving us problems)



Exactly what kind of printer is it that you are using ?


Well we've tried it on a couple, HP LJ 8150 is the 'true' destination, 
and an HP LJ 4200 we're using for testing, which again work fine for 
most other print jobs, just not (so far) for these particular forms. 
I've been able to replicate this on another test system as well.


Inside the code, the programmer is using SETPTR as oppposed to SP-ASSIGN 
as in:


ED MD SETF24
0001: PQ
0002: HSETPTR 0,80,59,0,0,1,FORM 24,NOHEAD,BRIEF
0003: P

Same code works aces on the current uv 9.6 on Irix 6.5 system against 
the same printer, bails entirely on the uv 10.1.4 / RH 3.5  systems.


U2 tech support  the programmers are looking into this, unfortunately 
he's a consultant  typically here only once a week.


Many, many thanks for your help.

--
Peter Ivanick
Sr. Programmer/Analyst
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]
Phone: 215.573.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UVLICTOOL required often, why?

2005-06-08 Thread Kryka, Richard
Part of original from Gwen Buck: Yay!  Misery Loves Company!  I have the
same problem on Win 2K, running UV 10.0.21.  

My response: We are running UniVerse 10.0.10-2 on MS2000 Server, with up
to 100 users with a VB front end using UniObjects.  The only time I see
an issue with having to use uvlictool is when we have a communications,
network, or other problem where the users get disconnected and cannot
log off normally.  I also see this during testing program changes where
the VB or UV programs abort.  The users are left hanging in UV and I
force log them off. Sometimes this leaves licenses hanging, sometimes
not - I have not detected the pattern.  In the normal course of events,
I go several months without having to use uvlictool to clean up licenses
because our users log off and disconnect in a normal manner.

Dick Kryka
Director of Applications
CCCS of Greater Denver, Inc.
Paragon Financial Services
303-632-2226
[EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Running UniRPC for UniVerse and UniData

2005-06-08 Thread Manu Fernandes

Yes
if you run the same release of unirpc... check inside unishared directrory.

Manu Fernandes Infodata S.`r.l. Tel : (352) 33 16 48 Fax : (.352) 33 75 55
- Original Message - 
From: Scott Heusner [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Wednesday, June 08, 2005 4:39 PM
Subject: [U2] Running UniRPC for UniVerse and UniData



Can UniRPC for UniVerse and UniData share the same port number on the
same box?



Scott H. Heusner

Information Services

Schoolcraft College

18600 Haggerty Rd

Livonia, MI 48152

Ph: 734.462.4400 Ext: 5103

FAX: 734.462.4500

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

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


Re: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread Peter Ivanick
Well, it's doing a bit more than that, it's drawing a few boxes as well, 
we had but fixed that stairstepping issue on other printers. No script, 
straight out through lp.


Many, many thanks for your help.

Jerry Banker wrote:
The print only at the top of the page sounds like the printer is not getting 
or not interpreting a carriage return at the end of the line. We had the 
same problem on our Sun system with HP printers. Are you sending the 
printout through a script before going to the device?

Jerry
- Original Message - 
From: Peter Ivanick [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Tuesday, June 07, 2005 6:26 PM
Subject: [U2] Again with Setting a Network Printer in Linux


Hola all -

So, I've tried the various options outlined here  in other related
email, but our setup is failing consistently.

What happens is this: I can setup a printer, B009A for example, in CUPS
or as an lp printer, doesn't seem to matter. Linux (RH 3.5) printing is
fine, test are all ok  lp from the bash line are good as well, output
is dandy. When printed from the TCL prompt like this:

SP-ASSIGN F24 (and the printer B009A has form 24 loaded up)
COPY CRIT PTEST (P

I get good output. But when I try to print from within local PICK
programs, which work fine on our
hopefully-soon-to-be-replaced-if-I-can-fix-this-issue Irix system,
nothing, they disappear entirely. My spooler log shows:

P Print PR24 2 528 UniVerse 24 06/07/2005 18:49:51

lpstat is clear, but no output. The only exception to this is when I
have the printer setup as a RAW printer, in which case I do get output
but it is incomplete -- a few boxes are drawn  a small amount of text
is output at the top of the page.

My programmer assures me he's doing nothing odd with the printing, and I
believe him (can post some code here if that will help, I need to find
the explicit printing code first) but damned if I can think of anything
else going on. Again, all jobs are properly logged in my spooler log
files but no output.

ANY hints/thoughts/ideas greatly appreciated.

Peter

Stu Glancy wrote:


You need to setup DEVICE by edit or uv admin.  UV admin is best
because you will need to reread the spooler configuration files and you
are prompted for this.  On my Linux the TCl command is MOTIF
SYSTEM.ADMIN or SYSTEM.ADMIN  in the uv account.
Marc Hilbert wrote:



I have tried reading the manual. How can I set up access to a network
printer under UV 10 with Linux Redhat 9.0. From the Linux shell I can
successfully print, but from UV all I get is the following message
every minute or so...

Unable to open device. Verify that the printer is on line...

Thanks in advance,
Marc
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/








--
Peter Ivanick
Sr. Programmer/Analyst
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]
Phone: 215.573.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread George Gallen
When we switched from Digital Unix to Redhat  (UV 8.3 - UV 10)
we had a printer problem where the top of a print job was lost.

Our fix was to change the number of open files allowed on the system
somehow, there were too many files open, and it messed up our print jobs,

it was extremely inconsistant,and would change in where it cut off the
print job.

However, our problem existed with the HOLD file, and was not printer
specific.

George

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter Ivanick
Sent: Wednesday, June 08, 2005 11:44 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Again with Setting a Network Printer in Linux


Well, it's doing a bit more than that, it's drawing a few
boxes as well,
we had but fixed that stairstepping issue on other printers.
No script,
straight out through lp.

Many, many thanks for your help.

Jerry Banker wrote:
 The print only at the top of the page sounds like the
printer is not getting
 or not interpreting a carriage return at the end of the
line. We had the
 same problem on our Sun system with HP printers. Are you sending the
 printout through a script before going to the device?
 Jerry
 - Original Message -
 From: Peter Ivanick [EMAIL PROTECTED]
 To: u2-users@listserver.u2ug.org
 Sent: Tuesday, June 07, 2005 6:26 PM
 Subject: [U2] Again with Setting a Network Printer in Linux


 Hola all -

 So, I've tried the various options outlined here  in other related
 email, but our setup is failing consistently.

 What happens is this: I can setup a printer, B009A for
example, in CUPS
 or as an lp printer, doesn't seem to matter. Linux (RH 3.5)
printing is
 fine, test are all ok  lp from the bash line are good as
well, output
 is dandy. When printed from the TCL prompt like this:

 SP-ASSIGN F24 (and the printer B009A has form 24 loaded up)
 COPY CRIT PTEST (P

 I get good output. But when I try to print from within local PICK
 programs, which work fine on our
 hopefully-soon-to-be-replaced-if-I-can-fix-this-issue Irix system,
 nothing, they disappear entirely. My spooler log shows:

 P Print PR24 2 528 UniVerse 24 06/07/2005 18:49:51

 lpstat is clear, but no output. The only exception to this is when I
 have the printer setup as a RAW printer, in which case I do
get output
 but it is incomplete -- a few boxes are drawn  a small
amount of text
 is output at the top of the page.

 My programmer assures me he's doing nothing odd with the
printing, and I
 believe him (can post some code here if that will help, I
need to find
 the explicit printing code first) but damned if I can think
of anything
 else going on. Again, all jobs are properly logged in my spooler log
 files but no output.

 ANY hints/thoughts/ideas greatly appreciated.

 Peter

 Stu Glancy wrote:

You need to setup DEVICE by edit or uv admin.  UV admin is best
because you will need to reread the spooler configuration
files and you
are prompted for this.  On my Linux the TCl command is MOTIF
SYSTEM.ADMIN or SYSTEM.ADMIN  in the uv account.
Marc Hilbert wrote:


I have tried reading the manual. How can I set up access to
a network
printer under UV 10 with Linux Redhat 9.0. From the Linux
shell I can
successfully print, but from UV all I get is the following message
every minute or so...

Unable to open device. Verify that the printer is on line...

Thanks in advance,
Marc
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/





--
Peter Ivanick
Sr. Programmer/Analyst
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]
Phone: 215.573.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Invoking UniData running a program

2005-06-08 Thread George Land
We sometimes use the syntax 'udt programname' from the Windows command
line to run a program.  This usually works fine except on one machine
(6.0.12 on Windows) where it runs the LOGIN as though we had just done
'udt'.



Does anyone know if there is an option to control this (I can't see
one)?



Regards,



George Land

Technical Director

APT Solutions Limited

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


[U2] [OT] API - Importing Data To GA R91

2005-06-08 Thread Bob Gerrish

Greetings,

If anyone has esperience with or has knowledge or any
API (or other method) of importing data into GA R91 PICK,
please contact me off line at:
[EMAIL PROTECTED]
or
[EMAIL PROTECTED]

Any information would be appreciated.

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


Re: [U2] Invoking UniData running a program

2005-06-08 Thread Manu Fernandes

You can add this sentence into the LOGIN procedure
001 PA
002 IF @TTY = 'Console' THEN GO END.OF.LOGIN
003 ...
004 END.OF.LOGIN:

Manu Fernandes 
- Original Message - 
From: George Land [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Wednesday, June 08, 2005 6:38 PM
Subject: [U2] Invoking UniData  running a program



We sometimes use the syntax 'udt programname' from the Windows command
line to run a program.  This usually works fine except on one machine
(6.0.12 on Windows) where it runs the LOGIN as though we had just done
'udt'.



Does anyone know if there is an option to control this (I can't see
one)?



Regards,



George Land

Technical Director

APT Solutions Limited

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

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


[U2] [UV] uvnetd: Unable to locate file for key 1075976752 in Network Table.

2005-06-08 Thread Stevenson, Charles
1st, we do not use UV/NET.  This happened on a stand-alone UV system
HPUX 11i, UV 10.0.16.

The error (Exhibit A) occurred SELECTing or LISTing a distributed file
(Exhibit C), or either of its 2 parts, with the selection criteria based
on an indexed field.  This is from TCL on a telnet/terminal-emulator
session.
fixtool on both partfiles and their indexes came up clean.
Now I cannot duplicate the problem, so trying variations ton the theme
is useless.  It happened several times this morning, but now SELECT 
LIST work normally.

There is an old GTAR about this error message (Exhibit B).  It mentions
sequential i/o.  Maybe it happened when UV did behind-the-scenes seqio
on the index file? 

Has anyone else encountered this, or - even better - do you know what it
means???


With gratitude in advance,

Charles Stevenson
Getronics, Inc.

--
Exhibit A, the error messages examples:
--
LIST MOVEMENT_pF WITH TRANS.DATE = 01/01/05 AND WITH TRANS.DATE =
06/01/05
uvnetd: Unable to locate file for key -1 in Network Table.

LIST MOVEMENT_pT WITH TRANS.DATE = 01/01/05 AND WITH TRANS.DATE =
06/01/05
uvnetd: Unable to locate file for key 1075976752 in Network Table.

LIST MOVEMENT EXPLAIN WITH TRANS.DATE = 01/01/05 AND WITH TRANS.DATE
= 06/01/05 
uvnetd: Unable to locate file for key 1914710357 in Network Table.

-
Exhibit B, U2 Knowledge Base - G22295:
-
DATE OPEN = 12/05/1997
DATE CLOSED = 12/17/1999
RELEASE OPEN = 9.3  9.4
RELEASE CLOSED = 9.5.1.1E 

SHORT DESCRIPTION
 Reassignment of openseq file variable results in error 'uvnetd: Unable
to locate file for key 1509825849 in Network Table.' 

FULL DESCRIPTION
 Reassignment of openseq file variable results in error 'uvnetd: Unable
to locate file for key 1509825849 in Network Table.' When a program
preforms an OPENSEQ, if the program then later attempts to assign the
variable used to another variable name, the error is presented. Execute
PGMS GTAR.22295 for example. Sample program may also produce SIGSEGV
(abnormal termination fault type 11) in cases where external unix
routines (ie., SH -c) are part of the program. The error seems more
likely to produce failure on first execution but may work on subsiquent
passes. Would suggest test include multiple executions of sample
program. 

RESOLUTION
 Resolution:
Ensure that fields in SEQFILE structure are initialized in DATUMstore().


--
Exhibit C, DF  Index info:
--
LIST.DF MOVEMENT
Part file /u4/SIMS5/MOVEMENT_pT, Part number = 1.
Part file /u4/SIMS5/MOVEMENT_pF, Part number = 2.
LIST.INDEX MOVEMENT ALL
Alternate Key Index Summary for file MOVEMENT File... MOVEMENT
Indices 1 (1 A-type, 0 C-type, 0 D-type, 0 I-type, 0 SQL, 0
S-type) Index Updates.. Part1: Enabled, No updates pending
Part2: Enabled, No updates pending

Index name  Type  BuildNulls  In DICT  S/M  Just Unique Field
num/I-type
TRANS.DATE   ANot Reqd  YesYes  MR N04
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Invoking UniData running a program

2005-06-08 Thread George Land
Unfortunately I don't always want to quit the login if running on the
console, I'd only want to do it if the original udt command was followed
by something.  

Regards,
 
George Land
Technical Director
APT Solutions Limited
www.aptsolutions.co.uk 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manu Fernandes
Sent: 08 June 2005 18:04
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Invoking UniData  running a program

You can add this sentence into the LOGIN procedure
001 PA
002 IF @TTY = 'Console' THEN GO END.OF.LOGIN
003 ...
004 END.OF.LOGIN:

Manu Fernandes 
- Original Message - 
From: George Land [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Wednesday, June 08, 2005 6:38 PM
Subject: [U2] Invoking UniData  running a program


 We sometimes use the syntax 'udt programname' from the Windows command
 line to run a program.  This usually works fine except on one machine
 (6.0.12 on Windows) where it runs the LOGIN as though we had just done
 'udt'.
 
 
 
 Does anyone know if there is an option to control this (I can't see
 one)?
 
 
 
 Regards,
 
 
 
 George Land
 
 Technical Director
 
 APT Solutions Limited
 
 www.aptsolutions.co.uk http://www.aptsolutions.co.uk
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Invoking UniData running a program

2005-06-08 Thread colin.alfke
They should all go through the LOGIN VOC item. The LOGIN on your 6.0.12
machine must be different than the others.

One way to check is the @COMMAND variable. It should contain anything
after the 'udt' in the command line.

Colin Alfke
Calgary I can't believe it finally stopped raining Canada

-Original Message-
From: George Land

We sometimes use the syntax 'udt programname' from the Windows 
command line to run a program.  This usually works fine except 
on one machine
(6.0.12 on Windows) where it runs the LOGIN as though we had 
just done 'udt'.

Does anyone know if there is an option to control this (I 
can't see one)?

Regards,

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


RE: [U2] Invoking UniData running a program

2005-06-08 Thread Paul Sohn
I'm not sure if running a program via the udt statement is considered a
phantom but you can try playing with the @USER.TYPE variable.

 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George Land
Sent: Wednesday, June 08, 2005 11:20 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Invoking UniData  running a program

Unfortunately I don't always want to quit the login if running on the
console, I'd only want to do it if the original udt command was followed
by something.  

Regards,
 
George Land
Technical Director
APT Solutions Limited
www.aptsolutions.co.uk 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manu Fernandes
Sent: 08 June 2005 18:04
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Invoking UniData  running a program

You can add this sentence into the LOGIN procedure
001 PA
002 IF @TTY = 'Console' THEN GO END.OF.LOGIN
003 ...
004 END.OF.LOGIN:

Manu Fernandes 
- Original Message - 
From: George Land [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Wednesday, June 08, 2005 6:38 PM
Subject: [U2] Invoking UniData  running a program


 We sometimes use the syntax 'udt programname' from the Windows command
 line to run a program.  This usually works fine except on one machine
 (6.0.12 on Windows) where it runs the LOGIN as though we had just done
 'udt'.
 
 
 
 Does anyone know if there is an option to control this (I can't see
 one)?
 
 
 
 Regards,
 
 
 
 George Land
 
 Technical Director
 
 APT Solutions Limited
 
 www.aptsolutions.co.uk http://www.aptsolutions.co.uk
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] customized PCL out (was Again with Setting a Network Printer in Linux)

2005-06-08 Thread Peter Ivanick
Ok, we've tracked this down further -- the forms which are having 
trouble printing are using two subroutines my programmer's made (and 
used successfully in lots of OS scenarios excepting Linux) which 1) 
define a lot of printer control codes such as:


   ESC = CHAR(27)
   LANDS = ESC:l1O
   PORTR = ESC:l0O
   COURR = ESC:(8U  ;*  LINE PRINTER
   TMSRM = ESC:(0U  ;*  HELV BOLD
   M = ESC:(10U  ;*UNK
   HALFL = ESC:=
   FFPRM = ESC:Z   ;** FORM FEED PROMPT

and 2) draw the boxes we were seeing, respectively. When I capture the 
output stuck in the lp queue it turns out to be PCL, which we can turn 
into a PDF with a converter, and which appears the same way as I was 
able to get printout, i.e. boxes but not the accompanying text.


Alternatively, if I use enscript rather than lp in the driver, I can get 
the text output with all the PCL codes inline.


I know wew're getting pretty site specific here but has anyone run into 
this previously? How do you typically handle laserjet output where you 
need some minimal graphics, is this customized set of printer codes 
still sensible  I just need to figure out how to get the printer to 
interpret them correctly  fire off the resulting output?


Any hints/tips/ideas gratefully received, and again, thanks to everyone 
who's replied here, very much a help.


--
Peter Ivanick
Sr. Programmer/Analyst
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]
Phone: 215.573.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] customized PCL out (was Again with Setting a Network Printer in Linux)

2005-06-08 Thread George Gallen
dont use a printer driver. (like the of and if fields in the old printcap
file)
or, possibly encapsulate your job inside a PJL wrapper.

esc%-12345escEpcl print job..escEesc%-12345

BTW, ESC:Z should take the printer out of control mode
not do a form feed? I have never used it, so I don't know.

Char(12) will do a FF, escE will also if there is anything
that was printed.

George

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter Ivanick
Sent: Wednesday, June 08, 2005 3:19 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] customized PCL out (was Again with Setting a Network
Printer in Linux)


Ok, we've tracked this down further -- the forms which are having
trouble printing are using two subroutines my programmer's made (and
used successfully in lots of OS scenarios excepting Linux) which 1)
define a lot of printer control codes such as:

ESC = CHAR(27)
LANDS = ESC:l1O
PORTR = ESC:l0O
COURR = ESC:(8U  ;*  LINE PRINTER
TMSRM = ESC:(0U  ;*  HELV BOLD
M = ESC:(10U  ;*UNK
HALFL = ESC:=
FFPRM = ESC:Z   ;** FORM FEED PROMPT

and 2) draw the boxes we were seeing, respectively. When I capture the
output stuck in the lp queue it turns out to be PCL, which we can turn
into a PDF with a converter, and which appears the same way as I was
able to get printout, i.e. boxes but not the accompanying text.

Alternatively, if I use enscript rather than lp in the driver,
I can get
the text output with all the PCL codes inline.

I know wew're getting pretty site specific here but has anyone
run into
this previously? How do you typically handle laserjet output where you
need some minimal graphics, is this customized set of printer codes
still sensible  I just need to figure out how to get the printer to
interpret them correctly  fire off the resulting output?

Any hints/tips/ideas gratefully received, and again, thanks to
everyone
who's replied here, very much a help.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UVLICTOOL required often, why? {Unclassified}

2005-06-08 Thread HENDERSON MIKE, MR
Andy,

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Andy Moore
 Sent: Wednesday, 8 June 2005 23:08
 To: u2-users@listserver.u2ug.org
 Subject: [U2] UVLICTOOL required often, why?
 
 Hello everyone,
 
 One of our customer sites has required me to log on to their Universe
 server a few times recently to use the following command
 
 UVLICTOOL clean_lic -a
 
 The problem appears to be that their licenses are getting 
 confused quite often and either stop them logging on before max users 
 is reached (normally when 18 users of their 25 are on) or it stops 
 their UVODBC users from logging on.

I find this only happens if the remote ODBC or UniObjects process dies
without terminating its connection on the UniVerse server properly.

 
 The fix is simple, I just log on, drop to Dos and type the above to
 clear the licenses, but I cannot see why this is happening on 
 a regular basis.

Or you could make a simple paragraph that your users could use:
CT VOC CLEAN.LIC
 CLEAN.LIC
0001 PA
0002 DOS /c '[path to UV]\bin\uvlictool clean_lic -a'

Although that _would_ cut you out of a job! ;-)

HTH


Mike

 
 There aren't any dead sessions and everyone appears to be logging out
 correctly when they've finished what they are doing.
 
 The version of Universe is 9.6.2.1 and it's running on a Windows box.
 
 Thanks
 
 Andy Moore
 Selima Software Ltd
 Tel: 0114 2815000
 Fax: 0114 281
 email: [EMAIL PROTECTED]
 Support: http://tracker.selima.co.uk http://tracker.selima.co.uk/
 Forum: http://forum.selima.co.uk http://forum.selima.co.uk/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 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
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] udstat

2005-06-08 Thread Martin Phillips
While delivering a Unidata System Administration course today I noticed an
interesting feature of udstat. I had a simple program the contained a loop
that performed one read and one write. The loop was traversed 100 times.
udstat reported this as 200 reads and 600 writes. I ran this several times
to verify my findings.

Something doesn't add up. Has anyone else seen this? How reliable are these
figures?


Martin Phillips
Ladybridge Systems
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB
+44-(0)1604-709200
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] customized PCL out (was Again with Setting a Network Printer in Linux)

2005-06-08 Thread Steven M Wagner

Peter

I just included the PCL5 commands in the text of the printout.  The only 
problem that I had was making sure that the lines of PCL were less than 140 
bytes long.  If they got over 140 bytes long, the system put a CR:LF in the 
middle of it.  Looked real good.


It was really quite easy and fun to do.

Steve



I was printing to HP LaserJet 4s.  It worked fine in a WinNT 
envionment.  At 03:19 PM 6/8/05 -0400, you wrote:
Ok, we've tracked this down further -- the forms which are having trouble 
printing are using two subroutines my programmer's made (and used 
successfully in lots of OS scenarios excepting Linux) which 1) define a 
lot of printer control codes such as:


   ESC = CHAR(27)
   LANDS = ESC:l1O
   PORTR = ESC:l0O
   COURR = ESC:(8U  ;*  LINE PRINTER
   TMSRM = ESC:(0U  ;*  HELV BOLD
   M = ESC:(10U  ;*UNK
   HALFL = ESC:=
   FFPRM = ESC:Z   ;** FORM FEED PROMPT

and 2) draw the boxes we were seeing, respectively. When I capture the 
output stuck in the lp queue it turns out to be PCL, which we can turn 
into a PDF with a converter, and which appears the same way as I was able 
to get printout, i.e. boxes but not the accompanying text.


Alternatively, if I use enscript rather than lp in the driver, I can get 
the text output with all the PCL codes inline.


I know wew're getting pretty site specific here but has anyone run into 
this previously? How do you typically handle laserjet output where you 
need some minimal graphics, is this customized set of printer codes still 
sensible  I just need to figure out how to get the printer to interpret 
them correctly  fire off the resulting output?


Any hints/tips/ideas gratefully received, and again, thanks to everyone 
who's replied here, very much a help.


--
Peter Ivanick
Sr. Programmer/Analyst
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]
Phone: 215.573.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


--
Steven M Wagner
[EMAIL PROTECTED]
Cary, North Carolina, United States of America
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] How to find modified/create date for a record in type 30 file

2005-06-08 Thread Womack, Adrian
Well, I haven't seen any replies so far...

The answer is No you can't tell. This information is not stored
anywhere. All the data in a type 30 file (or any of the static hashed
files as well) is stored inside a single OS file (ignoring overflow
etc). So the OS date time stamps are of no use. 

If you need this kind of information you'd need to add your own date 
time fields to your file.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pankaj Gupta04
Sent: Wednesday, 8 June 2005 6:26 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] How to find modified/create date for a record in type 30
file

Hi All,
Is there any way by which we can find out the date on which a particular
record was created/modified in a type 30 file?

Thanks in advance.

Regards,
Pankaj Gupta




DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UVLICTOOL required often, why?

2005-06-08 Thread Stuart . Boydell
 One of our customer sites has required me to log on to their Universe
 server a few times recently to use the following command
 
 UVLICTOOL clean_lic -a
 



Same here - with iphantoms from socket connections. Asked IBM, and didn't 
get an answer that fixed the problem. We have a script that runs as a 
'Scheduled Task' every hour to clean up the licences. 
Cheers,
Stuart



**
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have 
received this email in error please notify the Spotless IS Support Centre (61 3 
9269 7555) immediately who will advise further action.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] How to find modified/create date for a record in type 30 file

2005-06-08 Thread Stuart . Boydell
Or setup a trigger on the file to audit items. See ../uv/sample/TRIGSAMPLE

 Well, I haven't seen any replies so far...
 
 The answer is No you can't tell. This information is not stored
 anywhere. All the data in a type 30 file (or any of the static hashed
 files as well) is stored inside a single OS file (ignoring overflow
 etc). So the OS date time stamps are of no use. 
 
 If you need this kind of information you'd need to add your own date 
 time fields to your file.
 
 Adrian
 
 -Original Message-
 Hi All,
 Is there any way by which we can find out the date on which a particular
 record was created/modified in a type 30 file?



**
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have 
received this email in error please notify the Spotless IS Support Centre (61 3 
9269 7555) immediately who will advise further action.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread Paul Tykodi
Dear Peter,

Since you are working in an environment with Linux and Irix based servers,
you should be able to create a print to file queue serviced by an LPD daemon
on a *nix based machine in your network. You could then print the same
sample form from the old Irix environment and the new RH environment to this
destination instead of the actual printer.

After you have the two sample *.prn files, representing the particular form
generated in one of the two different environments, you can see what is
different between the two files.

If you are missing some formatting information at the beginning of the file
from the new environment, you can then check the part of the program
responsible for generating the missing information to see whether it might
be suffering some form of processing issue in the new environment or whether
the environment itself is most likely causing the difficulty.

As the lp concept of printing is to temporarily capture a file (frequently
to the hard drive) as it is generated by an application, and then send it to
a defined destination once the file is completely created, it is possible
for system issues (such as number of open files) to impede the proper
creation of the file to be printed.

HTH

Best Regards,

/Paul

Date: Wed, 8 Jun 2005 12:08:53 -0400
From: George Gallen [EMAIL PROTECTED]
Subject: RE: [U2] Again with Setting a Network Printer in Linux

When we switched from Digital Unix to Redhat  (UV 8.3 - UV 10)
we had a printer problem where the top of a print job was lost.

Our fix was to change the number of open files allowed on the system
somehow, there were too many files open, and it messed up our print jobs,

it was extremely inconsistant,and would change in where it cut off the
print job.

However, our problem existed with the HOLD file, and was not printer
specific.

George

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter Ivanick
Sent: Wednesday, June 08, 2005 11:44 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Again with Setting a Network Printer in Linux


Well, it's doing a bit more than that, it's drawing a few
boxes as well,
we had but fixed that stairstepping issue on other printers.
No script,
straight out through lp.

Many, many thanks for your help.

Jerry Banker wrote:
 The print only at the top of the page sounds like the
printer is not getting
 or not interpreting a carriage return at the end of the
line. We had the
 same problem on our Sun system with HP printers. Are you sending the
 printout through a script before going to the device?
 Jerry
 - Original Message -
 From: Peter Ivanick [EMAIL PROTECTED]
 To: u2-users@listserver.u2ug.org
 Sent: Tuesday, June 07, 2005 6:26 PM
 Subject: [U2] Again with Setting a Network Printer in Linux


 Hola all -

 So, I've tried the various options outlined here  in other related
 email, but our setup is failing consistently.

 What happens is this: I can setup a printer, B009A for
example, in CUPS
 or as an lp printer, doesn't seem to matter. Linux (RH 3.5)
printing is
 fine, test are all ok  lp from the bash line are good as
well, output
 is dandy. When printed from the TCL prompt like this:

 SP-ASSIGN F24 (and the printer B009A has form 24 loaded up)
 COPY CRIT PTEST (P

 I get good output. But when I try to print from within local PICK
 programs, which work fine on our
 hopefully-soon-to-be-replaced-if-I-can-fix-this-issue Irix system,
 nothing, they disappear entirely. My spooler log shows:

 P Print PR24 2 528 UniVerse 24 06/07/2005 18:49:51

 lpstat is clear, but no output. The only exception to this is when I
 have the printer setup as a RAW printer, in which case I do
get output
 but it is incomplete -- a few boxes are drawn  a small
amount of text
 is output at the top of the page.

 My programmer assures me he's doing nothing odd with the
printing, and I
 believe him (can post some code here if that will help, I
need to find
 the explicit printing code first) but damned if I can think
of anything
 else going on. Again, all jobs are properly logged in my spooler log
 files but no output.

 ANY hints/thoughts/ideas greatly appreciated.

 Peter

 Stu Glancy wrote:

You need to setup DEVICE by edit or uv admin.  UV admin is best
because you will need to reread the spooler configuration
files and you
are prompted for this.  On my Linux the TCl command is MOTIF
SYSTEM.ADMIN or SYSTEM.ADMIN  in the uv account.
Marc Hilbert wrote:


I have tried reading the manual. How can I set up access to
a network
printer under UV 10 with Linux Redhat 9.0. From the Linux
shell I can
successfully print, but from UV all I get is the following message
every minute or so...

Unable to open device. Verify that the printer is on line...

Thanks in advance,
Marc
---
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] udstat

2005-06-08 Thread Ken Wallis
Martin Phillips wrote:

 While delivering a Unidata System Administration course today
 I noticed an interesting feature of udstat. I had a simple program the
 contained a loop that performed one read and one write. The loop was
traversed
 100 times.
 udstat reported this as 200 reads and 600 writes. I ran this
 several times to verify my findings.

 Something doesn't add up. Has anyone else seen this? How
 reliable are these figures?

Were there any indexes on the file?

Cheers,

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


RE: [U2] How to find modified/create date for a record in type 30 file

2005-06-08 Thread Ken Wallis
Womack, Adrian wrote:

 Well, I haven't seen any replies so far...

 The answer is No you can't tell. This information is not stored
 anywhere. All the data in a type 30 file (or any of the static hashed
 files as well) is stored inside a single OS file (ignoring overflow
 etc). So the OS date time stamps are of no use.

 If you need this kind of information you'd need to add your own date 
 time fields to your file.

Which of course you could do with a trigger if you're on a high enough
release of UniVerse, or might be able to cobble together through an indexed
I-type updating a second file with just the key and the timestamp if you are
on too early a UniVerse release for triggers to work on normal files.

Cheers,

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


Re: [U2] UVLICTOOL required often, why?

2005-06-08 Thread John Kent
This haapens to me with uniobjects and is enough of a nuissance that i have 
a uvlictool icon on the desktop
I always thought this was a comms issue but it even occasionally happens on 
my laptop when i am off the network.


If it happens when i am editing i save the record to the clipboard, 
reconnect and paste


jak
- Original Message - 
From: David Jordan [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Wednesday, June 08, 2005 10:56 PM
Subject: RE: [U2] UVLICTOOL required often, why?



I have the trouble with a Windows NT 4 box at one site with uv objects.  It
is often caused by communication droppage not cleaning out the process
properly.  I have found with an upgrade of UniVerse and running on Win 
2003

I have less problem.

Regards

David Jordan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Moore
Sent: Wednesday, 8 June 2005 9:08 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] UVLICTOOL required often, why?

DISCLAIMER:
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please delete it and notify
the sender immediately.  Please note that there is no guarantee that
this email or any attachment is virus free or has not been intercepted
or amended.

Hello everyone,

One of our customer sites has required me to log on to their Universe
server a few times recently to use the following command

UVLICTOOL clean_lic -a

The problem appears to be that their licenses are getting confused quite
often and either stop them logging on before max users is reached
(normally when 18 users of their 25 are on) or it stops their UVODBC
users from logging on.

The fix is simple, I just log on, drop to Dos and type the above to
clear the licenses, but I cannot see why this is happening on a regular
basis.

There aren't any dead sessions and everyone appears to be logging out
correctly when they've finished what they are doing.

The version of Universe is 9.6.2.1 and it's running on a Windows box.

Thanks

Andy Moore
Selima Software Ltd
Tel: 0114 2815000
Fax: 0114 281
email: [EMAIL PROTECTED]
Support: http://tracker.selima.co.uk http://tracker.selima.co.uk/
Forum: http://forum.selima.co.uk http://forum.selima.co.uk/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/ 

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


[U2] [UV] SETREM REMOVE (bug in SETREM)

2005-06-08 Thread Womack, Adrian
When we were still on PI/Open I'd always use var = var to reset a
REMOVE pointer to the beginning of a dynamic array.

REMOVE can also be used on elements of a dimensioned array, eg. REMOVE
var FROM arr(x) SETTING...

When we moved to UniVerse and the SETREM statement became available, I
started using it in preference to var = var as it is more obvious what
the code is trying to achieve.

BUT... using SETREM on an element in a dimensioned array does NOT work
(it leaves the pointer where it was). I guess this is a bug. (we're
running 10.0.19).

No more using SETREM for me!





DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/