RE: [U2] TCL literal select

2008-08-13 Thread Cordes, Tom (contractor)
Allen,

Changing the first letter of the verb forces processing of the query in
'U'nidata mode so you have to use 'LIKE' instead of '='.

If that doesn't work, try a virtual dictionary item that calls a subroutine
that outputs IN for every occurance of ''.

Tom
-Original Message-
From: Bill Haskett [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 13, 2008 12:48 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] TCL literal select

Allen:

I use UD in PICK mode and the query processor has the same problem as the OP
noted.
UD doesn't like single quotes in PICK mode.  In fact, numerous things don't
work in AQL when in PICK mode.

I wasn't able to get any of the suggestions to work in UD.

Bill

-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-u2- 
[EMAIL PROTECTED] On Behalf Of Allen Egerton
Sent: Tuesday, August 12, 2008 6:56 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] TCL literal select

Bruce Ordway wrote:
 Hi,

 I work with a Unidata/Dataflo system on HPUX.
 I am having trouble selecting records in my PARTS file.

 I want to select all parts that have a  in the description field (F1).
 People have been using  instead of INCH.
 This causes problems for me during processing some reports and exports.


To include double-quote within field to be searched, use single quote 
as delimiter.

SELECT PARTS WITH F1 = '['
-or-
SELECT PARTS WITH F1 LIKE '..'


--
Allen Egerton
aegerton at pobox dot com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] CALL @progname

2008-05-27 Thread Cordes, Tom (contractor)
Dave,

If the _MAP_ file is current, all globally catalogued programs have an
entry.  'MAKE.MAP.FILE' updates the file.

Tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Wolverton
Sent: Thursday, March 15, 2007 11:20 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UD] CALL @progname

I am writing some code that will execute a variable passed in progname
using CALL @progname.

Question - what is the 'best' way to know that progname exists before I
attempt the CALL.

I thought about reading the VOC, but if it's globally cataloged, that won't
work.

I could read the VOC and then the CTLGTB -- but that was two reads just to
'know' the routine wasn't going to blow up.  Is there a more efficient or
systemic way to do this?

**Typically** progname will reference a real program, so this testing is
'overhead' for 99.9% of the time - but if someone were to pass in a bad
'progname', I want to be more graceful (and secure!) just falling over.
Since some of the calls will come from 'web connected' clients, and some of
the clients may not know for sure that the host cannot handle the request -
if the client has a different function list than the host at that point and
time... I'm just trying to plan for 'worst case'.

How do others handle CALL @
---
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] Good ssh service for Windows

2008-05-02 Thread Cordes, Tom (contractor)
Dan,

On our government contract, we use accuterm which has ssh and a great
Wyse-50 emulation. 

TomC

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Goble
Sent: Friday, May 02, 2008 11:01 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Good ssh service for Windows

Thanks Bill,

What we are trying to do is connect from a desktop to a windows server
that is running UniVerse.   When the user puts in their name and
password it would automatically put them into the correct directory (
UniVerse Account ) and execute uv.exe so that they never hit dos.   I
have tested WinSSHD and it does 99% of what I need ( so far the best of all
ssh for windows), but it has a problem with the wyse50+ emulation
that our software package requires.   The terminal emulation puts some
crazy control characters instead of those that I expect when I use telnet.

Your feedback is much appreciated,

Dan Goble
Systems Administrator
RATEX Business Solutions, Inc.
(800) 417-2839 ext. 4116


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett
Sent: Friday, May 02, 2008 10:14 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Good ssh service for Windows

Dan:

What are you trying to do?  We wanted to set up secure connectivity without
using VPN to allow AccuTerm or wIntegrate to access our UD server.

We have WinSSHD on one of our Windows servers to handle all sftp for our
network.  We can then use Tunnelier to make a client connection to this
machine via SSH.  We can then forward communication to an internal UD
server, via the telnet port.  Then we use AccuTerm to connect to our
localhost and it makes the connection to our UD server through this SSH
connection.

We do this by creating a shortcut with a target of:

D:\Bitvise\Tunnelier\Tunnelier.exe
-profile=D:\Bitvise\Tunnelier\Session\Asi_Ssh.tlp -exitOnLogout
-loginOnStartup

In the Tunnelier profile we configure a C2S forwarding and execute the
AccuTerm executable once the SSH connection is established.

This allows me to double-click the shortcut icon and end up with an
AccuTerm session opened up to localhost using the defined port#; thus
telneting through the SSH connection, over the internet, to our UD server.
We can set this up using AccuTerm Internet Explorer edition too.  When we
log off UniData the SSH connection automatically closes and Tunnelier
automatically closes.

If this is what you're looking for then I can describe in more detail what
we did to make this work.

Hope this helps.

Bill

-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-u2- 
[EMAIL PROTECTED] On Behalf Of Dan Goble
Sent: Friday, May 02, 2008 5:52 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Good ssh service for Windows

Does anybody know of SSH service for Windows that works well with
UniVerse.Most of the ones I have tested either have bad terminal
information translation, or do not have the ability to read the users'
profile for destination directory.



Thanks,



Dan Goble

Systems Administrator

RATEX Business Solutions, Inc.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-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] I need a favor

2007-07-27 Thread Cordes, Tom (contractor)
I like it.  Works well.

Tom 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charles Barouch
Sent: Thursday, July 26, 2007 11:02 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] I need a favor

All,
   I just put up a new (free) tool on my site. It takes very little time to
use and I'd appreciate it if some of you would beat on it and let me know
what you think.

   
http://www.keyally.com/fasterskel/Main.php5

--
Charles
Barouch
[EMAIL PROTECTED] - Consulting
(718) 762-3884x1
---
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] [UD] XML/DB Tool v1.2

2007-07-10 Thread Cordes, Tom (contractor)
Sure could use some help with this tool.  I'm trying to create a map between
an existing file and an XML schema without success - can't even get the
existing file name to appear in the right-hand side (TABLES).

Thanks.

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


RE: [U2] Trigger help

2007-06-27 Thread Cordes, Tom (contractor)
Norman,

Unidata:

The person running the CREATE.TRIGGER verb needs to be the owner of the file
you are adding a trigger to and the trigger program needs to be globally
cataloged.

HELP CREATE.TRIGGER should get you started.

Tom 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Davis
Sent: Wednesday, June 27, 2007 1:34 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Trigger help

In unidata:

1. Before image you could just read the record from the file.
2. After image is what's in the record parameter passed into the trigger
subroutine.
3. You need different subroutines for the BEFORE UPDATE trigger and the
BEFORE DELETE trigger, as they take different numbers of parameters.  

I've never used an SB+ subroutine inside of a trigger.  Not sure if that
would work.  The problem with doing that is, what happens if a non-SB+
application is performing the file updates? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Norman Morgan
Sent: Wednesday, June 27, 2007 12:09 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Trigger help

It's time to wave the white flag and display my ignorance.  After all these
years of writing MV code, I am attempting to use a trigger routine for the
first time.  I need to find out what is causing the mysterious
disappearance of the contents of certain fields in our PRODUCT master file.
It looks like an update trigger would be the best way, but how do
I:

A) compare the before and after images of the record to catch changes in
those fields
B) determine what program is doing the felonious update and what user is
running it.

I can do all of these easily in an SB+ subroutine, but it looks like I need
to do it in barefoot UniBasic.

Can someone give me some pointers?

===
Norman Morgan  [EMAIL PROTECTED]  http://www.brake.com
===
A Basic programmer's girlfriend wears a G$
===
---
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] _PH_ ID

2007-06-21 Thread Cordes, Tom (contractor)
The phantom's unix process id is a part of the _PH_ id.

Tom 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Thursday, June 21, 2007 9:18 AM
To: U2 List
Subject: [U2] _PH_ ID

Is there a way for a phantom to know the _PH_ item that it's output is being
redirected to?
 
-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com http://www.precisonline.com/ 
 
** Check out our FREE support forum at
http://www.precisonline.com/forum/
http://www.PrecisOnline.com/forum/.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV: Running UniVerse on a Unix Cluster [not-secure]

2007-05-18 Thread Cordes, Tom (contractor)
I can relay our experience on how Unidata reacted to a sun cluster upgrade:
lots of corruption.

http://sunsolve.sun.com/search/document.do?assetkey=1-26-102778-1

Tom Cordes, GFM project

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hennessey, Mark F.
Sent: Friday, May 18, 2007 11:11 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] UV: Running UniVerse on a Unix Cluster [not-secure]

Is anyone using Universe on a Unix (especially Solaris) cluster? 

How does UniVerse behave in such an environment? Did you have to double up
on UV licenses?

I'm especially interested in anyone who might be clustering in a
campus/metropolitan type setup where the nodes are separated by several
kilometers.



Mark Hennessey
State of Connecticut
Department of Social Services
Information Technology Services
Child Support Systems
Voice: 860-424-5261
Fax: 860-424-4956
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV][UO.NET] Passing command line parameters through a P ROC

2007-05-02 Thread Cordes, Tom (contractor)
Stuart,

Assuming that UO.NET supports subroutine calls, consider writing a
subroutine that uses passed parameters to build and run the PROC.

Tom Cordes

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boydell, Stuart
Sent: Wednesday, May 02, 2007 5:32 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV][UO.NET] Passing command line parameters through a PROC

Has anyone had any success passing TCL parameters calling a PROC from the
UO.NET UniCommand?
We have a PROC which calls a Paragraph which calls a program and passes the
sentence stack down the line (yeah - there's a rewrite coming up).
Works from the TCL but not when invoked from a UniCommand.Execute.
Does anyone have a workaround?

RUNPARAGRAPH SYS.PL MYPARAGRAPH PARAM1 PARAM2 ...

CT VOC RUNPARAGRAH
PQN
(%2 %3)

CT SYS.PL MYPARAGRAPH
PA
RUN BS MYPROG S4 S5 ...

...

Cheers,
Stuart Boydell



**
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 communication in error, please reply to this e-mail to notify the
sender of its incorrect delivery and then delete it and your reply.  It is
your responsibility to check this email and any attachments for viruses and
defects before opening or sending them on. Spotless collects information
about you to provide and market our services. For information about use,
disclosure and access, see our privacy policy at http://www.spotless.com.au
Please consider our environment before printing this email.
**
---
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] [UD] SUN clustering upgrade may be causing file corruption

2006-12-19 Thread Cordes, Tom (contractor)
I would appreciate all help  comments.

We are running unidata 5.2.32 on:

SunOS sierra 5.9 Generic_118558-33 sun4u sparc SUNW,Sun-Fire

This box is clustered with another box using SUN clustering software.

The clustering software was upgraded from 3.0 to 3.1.

Has anyone experienced any problems?

Thanks for your input.

Tom Cordes, GFM project (USArmy)
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Slow uniobjects connections

2006-11-13 Thread Cordes, Tom (contractor)
Marc,

Is the 'slow' speed compared to a uniobjects connection made some other way?

Tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Hilbert
Sent: Thursday, November 09, 2006 6:12 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Slow uniobjects connections

Good evening,
We are experiencing very slow uniobjects (one second to connect) connections
from a DLL which is called from an ASP server aplication. (W2K, UV 10.1).
Does anyone have any experience to share regarding this?
Thanks in advance,
Marc
---
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] RE: [UD] Program Cache Expiration - RESTATED

2006-08-08 Thread Cordes, Tom (contractor)
Kevin,

If what you are asking is 'when is the latest version of a program is
executed in UD?', my answer is immediately.

The caveat is an older version seems to execute until the process that has
been executing it expires or goes to ECL.

If a program is executed in our menu system, the only way to reliably
execute the latest version is exit  re-enter the menu.  If a program is
executed by a phantom, the only way to reliably execute the latest version
is to stop  re-start the phantom.

If a program has been executed by a uniobjects slave process, only slave
processes started after the latest version is catalogued are executing it.

If I knew how to apply the 'NEWPCODE' command, maybe the stop/starts would
not be necessary.

TomC


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Monday, August 07, 2006 7:04 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] RE: [UD] Program Cache Expiration - RESTATED

Does anyone know offhand how long a catalogued program will stay in cache
before it's expired and a new version loaded with Unidata?
 
-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
 
** Check out scheduled Connect! training courses at
http://www.PrecisOnline.com/train.html.
---
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] Select Lists in Proverb

2006-07-20 Thread Cordes, Tom (contractor)
Carl,

If its Unidata, 'REQUIRE.SELECT' in the 2nd select statement will work if
you're using 'Unidata' flavor.  For 'pick' flavor a lower case for the 1st
letter of verb (HsSELECT) is also required.

Using SELECT instead of SSELECT may speed things up a bit in the first
selection statement.

Hope this helps.

Tom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carl Sadlier
Sent: Thursday, July 20, 2006 11:41 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Select Lists in Proverb

I need to be able to see if a select returns any ids before doing another
select list in a proc. Here is the code I am using:

O SELECTING OPEN ORDERS TO PROCESS

HSSELECT ORDERS.ON.HOLD WITH HOLD.TYPE = MRAHL AND CURRENT.HOLD # OK

IF A3=ALL G 75

H AND WITH HOLD.DATE GE

A3

H AND WITH HOLD.DATE LE

A4

75

H SAVING OWID

P

C

HSSELECT OW WITH CO =

A2

C

The problem is if the ORDERS.ON.HOLD file doesn't return any ids the OW file
returns all of its ids. If there are no records in the ORDERS.ON.HOLD file
then I just want to stop processing the proc.

Thanks,

Carl
---
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] Unidata 5.2.32 Solaris 10

2006-06-09 Thread Cordes, Tom (contractor)
Hello all,

Can't seem to find answers to following questions on the IBM website:

1) When will support for Unidata 5.2.32 be terminated (only 5.0 is
mentioned)?

2) Is Unidata 5.2.32 supported on Solaris 10?

Any insight would be appreciated.

Thanks.

TomC
CFM Project (DOD)
Alexandria, VA
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Unidata 5.2.32 Solaris 10

2006-06-09 Thread Cordes, Tom (contractor)
Robert, thanks. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert DunnMiller
Sent: Friday, June 09, 2006 9:09 AM
To: u2-users@listserver.u2ug.org
Cc: [EMAIL PROTECTED]
Subject: RE: [U2] Unidata 5.2.32  Solaris 10

Not sure as to the first question. UniData 5.2.32 is only support on Sun OS
7,8 and 9.

You can look at the product availability matrix on the IBM web site:

https://www-927.ibm.com/software/data/u2/support/u2techconnect/matrix.asp

HTH

---
 
Regards,
 
Robert
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-u2- 
 [EMAIL PROTECTED] On Behalf Of Cordes, Tom (contractor)
 Sent: Friday, June 09, 2006 06:17
 To: 'u2-users@listserver.u2ug.org'
 Subject: [U2] Unidata 5.2.32  Solaris 10
 
 Hello all,
 
 Can't seem to find answers to following questions on the IBM website:
 
 1) When will support for Unidata 5.2.32 be terminated (only 5.0 is 
 mentioned)?
 
 2) Is Unidata 5.2.32 supported on Solaris 10?
 
 Any insight would be appreciated.
---
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] Unidata 5.2.32 Solaris 10

2006-06-09 Thread Cordes, Tom (contractor)
Wally,

As usual, great information.  Thank you very much.

Just talked with the boss; he says we will be upgrading.

TomC

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wally Terhune
Sent: Friday, June 09, 2006 8:39 AM
To: u2-users@listserver.u2ug.org
Subject: Fw: [U2] Unidata 5.2.32  Solaris 10

UniData 7.1 (released last June) is the first version to be tested and
supported on Solaris 10.
We have no plans to certify any older UniData release on Solaris 10.
Any support termination announcement will come with significant lead time.
As you can see, the first step has been taken (withdrawing 6.0 and older
from marketing as of 12/31/05).

I would strongly encourage you to get your UniData upgrade plans rolling. I
believe you are running RFS, Tom. There have been significant fixes to the
RFS  since 5.2.32 that would contribute to the stability of your
environment.  My two cents...

Wally Terhune
U2 Support Architect
IBM Information Management
4700 South Syracuse Street, Denver, CO   80237
Tel:  303.773.7969
Fax: 303.773.5915
[EMAIL PROTECTED]


- Forwarded by Wally Terhune/Denver/IBM on 06/09/2006 06:33 AM -

 Cordes, Tom
 (contractor)
 [EMAIL PROTECTED]  To
 y.mil'u2-users@listserver.u2ug.org'
 Sent by:  u2-users@listserver.u2ug.org
 [EMAIL PROTECTED]  cc
 stserver.u2ug.org
   Subject
   [U2] Unidata 5.2.32  Solaris 10
 06/09/2006 05:16
 AM


 Please respond to
 [EMAIL PROTECTED]
er.u2ug.org






Hello all,

Can't seem to find answers to following questions on the IBM website:

1) When will support for Unidata 5.2.32 be terminated (only 5.0 is
mentioned)?

2) Is Unidata 5.2.32 supported on Solaris 10?

Any insight would be appreciated.

Thanks.

TomC
CFM Project (DOD)
Alexandria, VA
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

[demime 1.01d removed an attachment of type image/gif which had a name of
pic18717.gif]

[demime 1.01d removed an attachment of type image/gif which had a name of
ecblank.gif]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV Pre-printed forms

2005-07-19 Thread Cordes, Tom (contractor)
TEST

-Original Message-
From: Marilyn Hilb [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 04, 2005 12:13 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UV Pre-printed forms

I would like to add that we don't need a new memory cartridge using this
method every time we change forms. They send the revised form  to us via
email and a simple run of QuickLaser puts the revised form onto the printer.
The down side is if you have multiple printers it is an additional expense
to have each printer have the memory chip/cartridge to hold the forms.  In
addition, you cannot instantly change your forms, you have to wait for
RXLaser to change it, although their turnaround time is just a few days and
since all is done via email it isn't too difficult to manage form changes. 


Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

 -Original Message-
From:   Marilyn Hilb  
Sent:   Tuesday, January 04, 2005 9:43 AM
To: u2-users@listserver.u2ug.org
Subject:RE: [U2] UV Pre-printed forms

We use QuickLaser (www.rxlaser.com), this is a company/software that takes
our designed form and puts it into the format that then can be put onto the
printer's memory and we put the commands into the report to retrieve the
form from memory. This works for a small operation where we only have one
printer with the memory to hold the forms. This is from a NT system using
SB+ report writer. 

Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

 -Original Message-
From:   Mark Johnson [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, January 04, 2005 7:23 AM
To: u2-users@listserver.u2ug.org
Subject:[U2] UV Pre-printed forms

One of my clients would like to replace their pre-printed forms with those
generated by the system. Basically the form has been re-created in MS
Publisher and saved as a PRN file.

I understand that there is some magic to send the form, keep the job open
and
then send the data for the form. This will most likely be HP PCL per my
insistence but there maybe some Canon network printers brought into the mix.

UV AIX RS-6000.

Thanks in advance
Mark Johnson
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
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] +AFs-UD+AF0- Halting a Unidata process

2005-04-29 Thread Cordes, Tom (contractor)
Hi,

We are running UD 5.2.32 on Sun 5.9.  Sometimes a '+ACE-kill +AFs-pid+AF0-' 
doesn't halt
a Unidata process.

In your experience, would '+ACE-kill -15 +AFs-pid+AF0-' cause any Unidata 
problems like
file corruption, etc?

Thanks.

Tom Cordes, CFM project
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] +AFs-UD+AF0- Halting a Unidata process

2005-04-29 Thread Cordes, Tom (contractor)
Thanks for the information, Anthony.
 -Original Message-
From:   Anthony Corrente [mailto:[EMAIL PROTECTED] 
Sent:   April 29, 2005 7:38 AM
To: u2-users@listserver.u2ug.org
Subject:Re: [U2] +AFs-UD+AF0- Halting a Unidata process

Hi Tom,

Using kill -TERM [udtpid] (as you suggest), should not corrupt files.

Infact kill -TERM is what the stopudt script (NOT stopud!!!) does.
:!cat $UDTBIN/stopudt
#! /bin/sh

#
# This script is to be used on Unix platforms.
#

# stopudt: Stops one or more udt or mach processes cleanly,
# by process id.

kill -TERM $*

exit 0


A kill -KILL (kill -9) has and will lead to file corruption if the process
being killed is in the process of updating files etc...

Also, check out the deleteuser command.  To be used with caution
:HELP DELETEUSER
deleteuser

Syntax

deleteuser pid

Description

The system-level deleteuser command deletes a process, removing its
identification number (pid) from the active UniData user list, and
freeing up a UniData license. This command sends a signal to the
process requesting that the process terminate in an orderly manner,
then waits for five seconds to see if the process was terminated.
If the process is still active, deleteuser forces immediate termination
of the process.
deleteuser can be helpful to clean up orphaned processes after a
system crash or when an active process aborts.
Use this command at the system prompt, or use the ECL ! (bang) command
to execute this command from the ECL prompt.
Warning: Killing a process that may be accessing a file may cause
file corruption. Forcing a process to terminate interrupts writes
in progress.

Note: To execute the deleteuser command, you must log in as root
on UniData for UNIX or as Administrator on UniData for Windows Platforms.

-

Regards,
Anthony Corrente.


--- Cordes, Tom  (contractor) [EMAIL PROTECTED] wrote:
 Hi,
 
 We are running UD 5.2.32 on Sun 5.9.  Sometimes a '!kill [pid]' doesn't
halt
 a Unidata process.
 
 In your experience, would '!kill -15 [pid]' cause any Unidata problems
like
 file corruption, etc?
 
 Thanks.
 
 Tom Cordes, CFM project
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2][UV] - Keeping subroutines in memory

2005-02-09 Thread Cordes, Tom (contractor)
Nick,

Have the phantom start another instance of itself  then die?

Tom Cordes, GFM project.

 -Original Message-
From:   Nick Cipollina [mailto:[EMAIL PROTECTED] 
Sent:   February 09, 2005 9:06 AM
To: u2-users@listserver.u2ug.org
Subject:[U2][UV] - Keeping subroutines in memory

We have a phantom process running on several of our UniVerse servers
that we use to do updates to various accounts.  This process calls a
subroutine that actually performs the updates.  Before it calls this
subroutine, it calls another subroutine to see if there are any updates
for the update subroutine and applies the changes.  The problem that we
are having is that the phantom seems to be keeping the subroutine in
memory, so that if we have a change to it, the phantom process is not
picking up the change.  Is there any way that we can force the phantom
process to remove the subroutine from memory when an update arrives and
pick up the new version of the subroutine?  Thanks.



Nick Cipollina



Pick Programmer

ACS - Heritage Information Systems, Inc.

2810 North Parham Road, Suite 210

Richmond, VA 23294

(804)644-8707 x 314
---
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] UniObjects for Java Unnamed Common Corruption

2004-12-09 Thread Cordes, Tom (contractor)
Hi Sean,

We're using UD 5.2.32.  Our work-a-round is to have the subroutine called by
Uniobjects pass data to/from an executed program using named commons.  Using
unnamed commons in the subroutine called by Uniobjects has never worked for
us.

Tom Cordes

 -Original Message-
From:   Sean W Ferguson [mailto:[EMAIL PROTECTED] 
Sent:   December 08, 2004 7:16 PM
To: [EMAIL PROTECTED]
Subject:Re: [U2] UniObjects for Java Unnamed Common Corruption

/*
 * Created on Dec 6, 2004
 */
package com.docmagic.rd;

import asjava.uniobjects.*;

/**
 * @author jay
 */
public class TestCommons
{
  UniSession session = null;
  static String host, username, password, accountPath;
 
  public static void main(String[] args)
  {
if(args.length  4)
{
  System.out.println(Usage: host username password accountPath 
iterations);
  return;
}
  
try
{
  host = args[0];
  username = args[1];
  password = args[2];
  accountPath = args[3];
 
  int iterations = 100;
  if(args.length == 5)
  {
iterations = Integer.parseInt(args[4]);
  }
  TestCommons test = new TestCommons();
  for (int index = 0; index  iterations; index++)
  {
System.out.println(Iteration :  + index);
test.run();
  }
  System.out.println(Complete);
}
catch (Throwable t)
{
  t.printStackTrace();
}

  }

  public TestCommons() throws UniSessionException
  {
this.session = getSession();
  }

  public UniSession getSession() throws UniSessionException
  {
UniSession session = new UniSession();
   
session.setHostName(host);
session.setUserName(username);
session.setPassword(password);
session.setAccountPath(accountPath);

session.connect();

return session;
  }

  public void run() throws Throwable
  {
runCMD();
runSub();
  }

  private void runSub() throws UniSessionException, UniSubroutineException
  {
System.out.println(Calling Subroutine);
UniSubroutine sub = session.subroutine(TEST.COMMON.SUB, 0);
sub.call();
System.out.println(Finished Subroutine);
  }

  private void runCMD() throws UniSessionException, UniCommandException
  {
System.out.println(Calling Command);
UniCommand command = session.command(TEST.COMMON.CMD);
command.setBlockSize(1024);

command.exec();
int responsecode = command.status();// command.getSystemReturnCode();

StringBuffer block = new StringBuffer();
if (responsecode == UniObjectsTokens.UVS_MORE || responsecode == 
UniObjectsTokens.UVS_REPLY)
{

  String response = null;
  String prev_response = null;
  while (responsecode != UniObjectsTokens.UVS_COMPLETE)
  {
response = command.response();
if (prev_response == null || !response.equals(prev_response))
{
  prev_response = response;
  block.append(response);
  command.nextBlock();
  responsecode = command.status();
}
else
{
  break;
}
  }
}
block.append(command.response());
System.out.println(block.toString());
System.out.println(Finished Command);
  }
}


Sean W Ferguson wrote:

I have recently encountered a very strange UniObjects bug.  I have an 
application that includes a file containing unnamed commons.  The 
application calls a subroutine that also includes that same unnamed 
common.  I also have a command that includes the unnamed comman and 
calls the same subroutine that includes the unnamed common.  When I run 
the command and subroutine sequentially in a loop via UniObjects, the 
UniSession dies.  If I only run the subroutine or the command in a loop, 
it works like a champ.  Adding more unnamed commons to the include file 
only causes the problem to happen less often.

Please look at my sample application to see if you have any insight into 
why this fails consistently.

Attached are the sample applications.

Thanks,

Sean Ferguson

[demime 1.01d removed an attachment of type application/octet-stream which
had a name of asjava.jar]

[demime 1.01d removed an attachment of type application/octet-stream which
had a name of asjava_p.jar]
COMMON POS
INCLUDE RMS.BP INPUT.COMMON.POS

CALL TEST.SHARED.SUB
SUBROUTINE TEST.COMMON.SUB
  INCLUDE RMS.BP INPUT.COMMON.POS
  CALL TEST.SHARED.SUB
RETURN
SUBROUTINE TEST.SHARED.SUB
  INCLUDE RMS.BP INPUT.COMMON.POS
  POS = 1
RETURN

[demime 1.01d removed an attachment of type application/octet-stream which
had a name of TestCommons.jar]
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/