Re: [U2] Examples of working ENCRYPT function?

2010-03-01 Thread Larry Hiscock
Ah ... I have it working on SCO 5.0.7.  Do you have openssl installed on the
AIX box?


Larry Hiscock
Western Computer Services
http://www.wcs-corp.com


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: Monday, March 01, 2010 4:30 PM
To: U2 Users List
Subject: Re: [U2] Examples of working ENCRYPT function?

Thanks Larry.  That's identical to what I'm trying, and it's not working on
AIX.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Examples of working ENCRYPT function?

2010-03-01 Thread Kevin King
Thanks Larry.  That's identical to what I'm trying, and it's not working on
AIX.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UniVerse on Windows 2003 Server - Environment

2010-03-01 Thread Bill Haskett






Mike:

You might look for things like SQL Server, Anti-Virus, and other 
software that does things every day.  I've run into installations 
where SQL Server was installed as some kind of administration tool.  
Something fired off every hour in SQL Server which brought to (almost) 
a complete halt telnet responsiveness for several minutes.   Once this 
was identified, I had to identify this since the administrator 
couldn't, and put off then responsiveness was very acceptable.


Windows is very tricky when the dbms is loaded onto a multi-use server 
(I'm sure the same is true in Linux/Unix).


HTH,

Bill


Mike Roosa said the following on 3/1/2010 10:50 AM:

We are running UniVerse on Windows 2003 Server in a virtualized environment.
 99% of the time the system runs great and we have no issues, however, about
once a day or every other day during the busiest time, we have a period of
2-3 minutes where the server slows down and basically quits responding.
 Without us taking any action the system begins responding normally again
and we usually make it through that day without issue.

We typically have around 85 users on the system at one time sometimes that
gets up closer to 95 or 100 but not often.  I have noticed certain processes
that definitely cause the issue like running winmsd from the command line or
renaming a directory on the server.  Since I know these processes cause the
issue I don't do that during the day.  Obviously there are other processes
that also can cause issues for us.

We have worked with our vendor and Rocket and the latest we've gotten from
them is that our server is under-resourced.  While that very well could be
true, we want to do a little more research first and reach out to other
Windows/UniVerse users to see what hardware they are running and if anyone
is in a virtualized environment.

Any help we can get would be appreciated.

Thanks
Mike Roosa
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
  

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Examples of working ENCRYPT function?

2010-03-01 Thread Larry Hiscock
I have it working under UniData 6.1, using the following syntax:

CRYPTSTAT = ENCRYPT(ALG,2,TEXT,1,CRYPTPASS,1,2,'','',CTEXT,1)

The arguments are:

ALG = encryption algorithm (rc4, des3, etc)
2 = action: encrypt, then base64 encode
TEXT = original cleartext string
1 = dataLog: data to encrypt is in TEXT string
CRYPTPASS = encryption passphrase (make it long and random)
1 = keyLoc: key data is in CRYPTPASS string
2 = keyAction: derive key from passphrase
'' = salt (left blank)
'' = initialization vector (IV - left blank)
CTEXT = resulting encrypted & base64 encoded string
1 = resultLoc: store encrypted/encoded data in CTEXT string


For decrypting, I use the same syntax, but replace the action argument with
4 (base64 decode, then decrypt), and swap the CTEXT and TEXT variables.

Hope this helps

Larry Hiscock
Western Computer Services


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: Monday, March 01, 2010 2:47 PM
To: U2 Users List
Subject: [U2] Examples of working ENCRYPT function?

Unidata 6.1.17; Trying to get the ENCRYPT function working, no love.  I have
all of the parameters set to what I believe is correct (but of course the
documentation is notably ambiguous on a number of details).  At this point
I'm just trying to get a simple rc4 working, but the result is coming back
as 1 (invalid cipher).

Any clues, insights, assistance would be most appreciated.

-Kevin
http://www.PrecisOnline.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Examples of working ENCRYPT function?

2010-03-01 Thread Kevin King
Unidata 6.1.17; Trying to get the ENCRYPT function working, no love.  I have
all of the parameters set to what I believe is correct (but of course the
documentation is notably ambiguous on a number of details).  At this point
I'm just trying to get a simple rc4 working, but the result is coming back
as 1 (invalid cipher).

Any clues, insights, assistance would be most appreciated.

-Kevin
http://www.PrecisOnline.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UniVerse on Windows 2003 Server - Environment {unclassified}

2010-03-01 Thread MACK ANDREW, MR
Hi Mike,

We run our Dev and Test UniVerse 10.2.10 servers in a virtualized
environment. The ESX servers are connected to a EMC SAN via fibre
channel.

We have noticed a bit of slow down in the virtual servers at odd times
as well. Our user load on these servers is small (10 - 15 users) but
they can be running large processes during tests. The ESX servers that
host the UniVerse VM also host a lot of other VMs (such as BizTalk
servers, SQL servers, file and print servers and Web / share point
servers). Any above-the-norm activity on any of these can cause a slow
down on the other VM as resource contention kicks in.

Do your virtual host servers use SAN storage? Also, what other VM are
hosted on the hardware and what are their activity patterns like? I have
found that if one VM is doing a lot of disk I/O, it can take the ESX
server a minute or so to balance the load to give the other VM a chance.


Andrew Mack


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Mike Roosa
Sent: Tuesday, 2 March 2010 7:50 a.m.
To: u2-users@listserver.u2ug.org
Subject: [U2] UniVerse on Windows 2003 Server - Environment

We are running UniVerse on Windows 2003 Server in a virtualized
environment.
 99% of the time the system runs great and we have no issues, however,
about once a day or every other day during the busiest time, we have a
period of
2-3 minutes where the server slows down and basically quits responding.
 Without us taking any action the system begins responding normally
again and we usually make it through that day without issue.

We typically have around 85 users on the system at one time sometimes
that gets up closer to 95 or 100 but not often.  I have noticed certain
processes that definitely cause the issue like running winmsd from the
command line or renaming a directory on the server.  Since I know these
processes cause the issue I don't do that during the day.  Obviously
there are other processes that also can cause issues for us.

We have worked with our vendor and Rocket and the latest we've gotten
from them is that our server is under-resourced.  While that very well
could be true, we want to do a little more research first and reach out
to other Windows/UniVerse users to see what hardware they are running
and if anyone is in a virtualized environment.

Any help we can get would be appreciated.

Thanks
Mike Roosa
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] How do associations, @NS and @NV work in UniData Dictionaries?

2010-03-01 Thread Colin Alfke
You also need the association to use by-exp.

Hth
Colin Alfke

-Original Message-
From: Dan McGrath

To answer part of my own question:

Only 'WHEN' is affected by the association, not with. If you turn on
UDT.OPTIONS 94 and do



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Barcode Software for UniVerse?

2010-03-01 Thread Holt, Jake
A bit late, but why didn't you just use commander (part of the bartender
package)?  Commander is designed to handle exported text files -- it
monitors a path and you can setup as many handlers as you want.  All you
have to do is map the field # in bartender to the corresponding field in
the data file.  I use a dummy file to setup the labels (just a file with
a ton of commas).

You then just create a file formatted like this:

The first two lines tell bartender which label (/f), what data file
(/d), what to do (/p print, /x save without prompt) and what printer to
use (/PRN). The third line is the start of the data lines, some of our
data files have 50 or 60 lines in them.  This is just one that's
truncated and unless you have a really wide monitor will probably be
wrapped.

%BTW% /f="\\servername\path\labelname.BTW"
/d="\\server\path\SOMEUNIQUEDATAFILENAME.dat" /p /PRN="PRINTER" /x
%END%
"PALLET-LABEL","OMCPallet","","0010050362269058476","MIXED SKU'S","BNDR
1"
BLK","","","","1","00100503622690584760","","","","","","","9701106","",
"","","14330","24","","03-01-2010","","","","","BALLARDK","0","","","","
","","","","","MIXED
SKU'S","","","","","","","","","","","","156584153","460","","","0","070
72","","269058","","239162","OMX",...and some more data

It can be set to run as a service.  In bartender I just tell it that the
data records start at line 3..., the rest of the setup is dependent on
your expertise with bartender.  It's awfully simple though once you go
through it a time or two.

-Jake

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Ken Hall
Sent: Wednesday, February 24, 2010 9:04 PM
To: U2 Users List
Subject: Re: [U2] Barcode Software for UniVerse?

I have used software such as Bar Tender from
http://www.seagullscientific.com/
to create labels and printed them to a file. I edited the file with a 
good text editor to extract the codes needed to print to the 
particular printer in question. Then using MV Basic code I replaced 
the data strings in the bar code commands with variables and had 
a  program to print formated bar code labels.

A fairly simple solution to a very complex problem.

Note: this requires buying a copy of Bar Tender or another bar code 
label print program, but it is the fastest way to get the codes 
needed to print formated labels on the various label printer where 
each manufacturer has their own label formating language.

Ken

At 09:22 AM 2/24/2010, you wrote:
>Can anyone recommend software to print UCC128 labels from UniVerse?  We
are
>using Sato and Zebra printers.  I am looking for software that allows
us to
>easily design and print lables.
>
>Thanks in advance,
>
>Bryan Evans
>___
>U2-Users mailing list
>U2-Users@listserver.u2ug.org
>http://listserver.u2ug.org/mailman/listinfo/u2-users


Ken Hall
www.old-scholls.com
mailto:k...@old-scholls.com
phone: 503-702-7841

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Barcode Software for UniVerse?

2010-03-01 Thread Robert Porter
I whole-heartedly agree. We use both Zebras and Print Wizard ... actually on 
Tony G's recommendation. And while PW does a great job with paper printout of 
barcodes plus its versatility, it would not serve our purposes for barcoded 
labels.   Two very different requirements!  And while I supposed I could route 
all the Zebras through print wizard, as they do have a Windows driver, but it 
would be silly to do so. Plus I don't think it could keep up - 7 (about to be 
8) hospitals and roughly 30 clinics with labs, all printing labels all day long 
with each job being at least 3 labels.  Not to mention the increased network 
traffic sending a Windows job to the printer over a couple k of ZPL. 
 
Rob
 
Robert F. Porter, MCSE, CCNA, ZCE
Lead Sr. Programmer / Analyst
Laboratory Information Services
Ochsner Health System
 
 
 
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.


>>> "Brian Leach"  2/26/2010 10:11 AM >>>
Tony

You're missing the point - Zebras a fast thermal (damn expensive) printers
dedicated to barcode labelling. You won't get the same speed out of a
regular printer...

:)

Brian 

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno
Sent: 26 February 2010 3:32 PM
To: u2-users@listserver.u2ug.org 
Subject: Re: [U2] Barcode Software for UniVerse?

This is very nice n all but I'm Soo glad I use
PrintWizard.
PRINT ''

Code example in context here:
nospamNebula-RnD.com/products/PW/demo2.htm
More insight here:
remove.pleaseNebula-RnD.com/blog/tech/2008/03/pwtips01.html

[lots of excellent, functional, excessive code snipped]

(Nebula R&D does not sell PrintWizard or get any related
commissions.)

T

___
U2-Users mailing list
U2-Users@listserver.u2ug.org 
http://listserver.u2ug.org/mailman/listinfo/u2-users 
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.733 / Virus Database: 271.1.1/2710 - Release Date: 02/25/10
19:57:00

___
U2-Users mailing list
U2-Users@listserver.u2ug.org 
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] UniVerse on Windows 2003 Server - Environment

2010-03-01 Thread Mike Roosa
We are running UniVerse on Windows 2003 Server in a virtualized environment.
 99% of the time the system runs great and we have no issues, however, about
once a day or every other day during the busiest time, we have a period of
2-3 minutes where the server slows down and basically quits responding.
 Without us taking any action the system begins responding normally again
and we usually make it through that day without issue.

We typically have around 85 users on the system at one time sometimes that
gets up closer to 95 or 100 but not often.  I have noticed certain processes
that definitely cause the issue like running winmsd from the command line or
renaming a directory on the server.  Since I know these processes cause the
issue I don't do that during the day.  Obviously there are other processes
that also can cause issues for us.

We have worked with our vendor and Rocket and the latest we've gotten from
them is that our server is under-resourced.  While that very well could be
true, we want to do a little more research first and reach out to other
Windows/UniVerse users to see what hardware they are running and if anyone
is in a virtualized environment.

Any help we can get would be appreciated.

Thanks
Mike Roosa
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Embedded program for Windows

2010-03-01 Thread David A. Green
I have done this for a client that needed to do Configure-to-Order without
being connected.  I create the web pages via the U2 database and add via
java script all the intelligence that it needs to create the order including
a preview screen and a export to Excel button.

If you know UniBasic/HTML/CSS/Scripting then it can be done.

David A. Green
(480) 813-1725
DAG Consulting


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users