Re: [U2] Clearing Input Buffer

2013-02-22 Thread John Solie
You'd probably be better off trying to find the configuration barcodes for the 
scanner that control what character it sends after the data.


John Solie * Systems Analyst, Information Systems * www.phsyes.com
Professional Hospital Supply * 42500 Winchester Road, Temecula, CA 92590
Tel. 951-296-2600 ext. 1226  Fax 951-296-2625   jso...@phsyes.com

Leading the Market through Innovative Solutions

IMPORTANT: The sender intends that this electronic message is for exclusive use 
by the person to whom it is addressed.  This message may contain information 
that is confidential or privileged and exempt from disclosure under applicable 
law.  If the reader of this message is not an intended recipient, be aware that 
any disclosure, dissemination, distribution or copying of this communication, 
or the use of its contents, is prohibited without prior written consent from 
PHS.

Please consider the environment before printing this email.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Al DeWitt
Sent: Friday, February 22, 2013 11:21 AM
To: (u2-users@listserver.u2ug.org)
Subject: [U2] FW: Clearing Input Buffer

I have an input screen (built with System Builder) where data can either be 
entered manually or via a barcode scanner.  The screen has 3 text boxes for 
input.  The barcode option fills two of the text boxes and is supposed to land 
on the third box to await input.  However, the scanner must be adding an extra 
return or something because when I scan it  the third field's Process After 
executes.

What can I do to flush the input buffer at the end of my validation routine on 
my second field...or is it better to do this on the Process Before on my third 
field.

It's more of a nuisance but it would look more professional if I could make it 
clean.

Thanks.
Albert DeWitt, CPIM
___
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] Brilliant? or not?

2012-01-13 Thread John Solie
Clever, but if it isn't commented, very difficult to maintain.  Either way it 
might cause me to go hunting for Mr. Clever with my Nerf Bat.


John Solie * Systems Analyst, Information Systems * www.phsyes.com
Professional Hospital Supply * 42500 Winchester Road, Temecula, CA 92590
Tel. 951-296-2600 ext. 1226  Fax 951-296-2625   jso...@phsyes.com

Leading the Market through Innovative Solutions

IMPORTANT: The sender intends that this electronic message is for exclusive use 
by the person to whom it is addressed.  This message may contain information 
that is confidential or privileged and exempt from disclosure under applicable 
law.  If the reader of this message is not an intended recipient, be aware that 
any disclosure, dissemination, distribution or copying of this communication, 
or the use of its contents, is prohibited without prior written consent from 
PHS.

Please consider the environment before printing this email.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Friday, January 13, 2012 9:42 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Brilliant? or not?


SMAX = (S1 > S2) * S1 + (S2 >= S1) * S2

?


___
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] SIGDANGER

2008-09-02 Thread John Solie
It is a harbinger of doom...  :-)  When swap fills up, all sorts of random
things quit.

"df" doesn't report usage on your swap drive.  Try running "topas" and see
what it shows for how much swap space is used.  If you need to increase it,
you'll have to do a bit of digging to find the command, as I don't rightly
recall it.

If you're running in an lpar, you might want to see if you can give that
partition more memory.

Hope this helps!

   -- JS

> Anyone seen this message and know what it means?
> 
> *Warning: Low Swap Space. SIGDANGER received.*
> 
> This is on an AIX 5.3 box running Unidata 6.1.13 and it just 
> started appearing this morning on a few terminals somewhat 
> randomly.  The "df"
> command doesn't report any disks in crisis and /ud/temp 
> should have plenty of space.  Any ideas?
> 
> -Kevin
> http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [ud] makeudt shot in the dark...

2007-08-27 Thread John Solie
Hi,

I'm wondering if anyone's had success in doing a makeudt with Unidata
7.1.10-64 on AIX 5.3-06 using gcc 4.0.0.

Thanks,

  -- John Solie -- Professional Hospital Supply -- 951-296-2600 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Backup, dbpause & 24/7 operation

2006-01-06 Thread John Solie
Hi Jeff,

We use the FlashCopy feature of our FAStT disk array.  My script does a
dbpause, then runs a script to activate flashcopy on our FAStT (which takes
a kind of snapshot of the disk, and the array is able to maintain this
snapshot even as the underlying data changes) then dbresume.  The script
then does some stuff behind the scenes to re-mount the filesystems in the
snapshot area and the backup proceeds from the snapshot.  At the end of the
backup, those filesystems are unmounted, and flashcopy "turned off."

Total time for Unidata to be in a dbpause: anywhere between 20 seconds and a
minute (last night's was about 27 seconds)
Total time to tape off the snapshot: close to 5 hours
Value to a 7x24x365 bidness to get a good night's backup: priceless...  :-)


  -- John Solie -- Professional Hospital Supply -- 951-296-2600  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Powell
> Sent: Friday, January 06, 2006 2:15 AM
> To: u2 users group
> Subject: [U2] Backup, dbpause & 24/7 operation
> 
> As our company grows we are getting more pressure to extend 
> our operation through the night. We have maintained a nightly 
> backup that does a dbpause to suspend unidata. This irritates 
> our night shift people since they can no longer use the system.
> 
> How do those companies who operate 24/7 get around this and 
> perform backups?
> 
> Thanks,
> 
> SB 5.3.8
> Unidata 6
> AIX 5.3
> ---
> 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] Wedge Scanners

2005-04-29 Thread John Solie
In the past, we've used Symbol Synapse adapters to connect scanners to some
Wyse 150 & 160 terminals.  Apart from night crews testing the cable strength
with box cutters, they've worked flawlessly.

  -- John Solie -- Professional Hospital Supply -- 951-296-2600  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Anthony Caufield
> Sent: Friday, April 29, 2005 8:02 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Wedge Scanners
> 
> I am curious as to what kind of wedge scanners people are using with
> their dumb terminals. We have Wyse and Televideo terminals and we have
> been asked to hook up scanners. I know I did this several 
> years ago but
> I cant remember what it was we used. So any input would be helpful. I
> don't know if it matters on this but we are running UV 10.1.3 on a
> Windows 2003 server.
> 
> Thanks
> Tony Caufield
> IS Manager
> Harbor Wholesale Grocery.
> ---
> 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] [OT] Wonky?

2005-03-10 Thread John Solie
> It was Willy WONKA ! 

Creative license...  :-)  I also got the colors wrong.  It should have been
Orange with Green hair.  :-)


  -- John Solie -- Professional Hospital Supply -- 951-296-2600  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ross Ferris
> Sent: Thursday, March 10, 2005 5:10 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] [OT] Wonky?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [OT] Wonky?

2005-03-10 Thread John Solie
It means that the terminal is about to turn green, get orange hair and wear
white gloves whilst the user is going to turn into a giant blueberry...

Cf Willy Wonky and the Chocolatey Factory


  -- John Solie -- Professional Hospital Supply -- 951-296-2600  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Gordon J Glorfield
> Sent: Thursday, March 10, 2005 12:26 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] [OT] Wonky?
> 
> Wonky?  I'm sorry but I've never heard that term.  What does it mean?
> 
> 
> Gordon J. Glorfield
> Sr. Applications Developer
> MAMSI (A UnitedHealth Company)
> 301-360-8839
> 
> [EMAIL PROTECTED] wrote on 03/10/2005 02:30:36 PM:
> 
> [snip] leaving my terminal all wonky.
> 
> [snip]
> 
> 
> This e-mail, including attachments, may include confidential and/or 
> proprietary information, and may be used only by the person 
> or entity to 
> which it is addressed. If the reader of this e-mail is not 
> the intended 
> recipient or his or her authorized agent, the reader is 
> hereby notified 
> that any dissemination, distribution or copying of this e-mail is 
> prohibited. If you have received this e-mail in error, please 
> notify the 
> sender by replying to this message and delete this e-mail immediately.
> ---
> 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] "non-numeric" error after passing (ANS MATCHES '0N' & ANS>0)

2005-03-10 Thread John Solie
I guess it depends on what you're trying to do.  The decimal point breaks
the "0N" (unless you do "0N"."0N").  :-)

However, I thought the original poster was trying to prevent a non-numeric
warning.  A NUM() would catch that, an INT() to lop off the decimal, and a
check against a DCOUNT() for sanity would also do the trick.

Best,

  -- John Solie -- Professional Hospital Supply -- 951-296-2600  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Thursday, March 10, 2005 9:56 AM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] [UV] "non-numeric" error after passing (ANS 
> MATCHES '0N' & ANS>0)
> 
> In short they aren't the same... Try this:
> 
> A = "1.1"
> PRINT NUM(A)
> PRINT A MATCHES "0N"
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of John Solie
> Sent: Thursday, March 10, 2005 12:24 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] [UV] "non-numeric" error after passing (ANS MATCHES
> '0N' & ANS>0)
> 
> I'm wondering why y'all are using a ...MATCHES "0N"...  Usually, I'll
> use
> the NUM() function.  The code snippet in one of the first messages in
> this
> thread would be:
> 
> BEGIN CASE
>CASE NUM(ANS) AND ANS > 0
>  
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] "non-numeric" error after passing (ANS MATCHES '0N' & ANS>0)

2005-03-10 Thread John Solie
I'm wondering why y'all are using a ...MATCHES "0N"...  Usually, I'll use
the NUM() function.  The code snippet in one of the first messages in this
thread would be:

BEGIN CASE
   CASE NUM(ANS) AND ANS > 0
 

Or is NUM() something that lives only in UniData?

:ED JBP TT150
Top of "TT150" in "JBP", 5 lines, 142 characters.
*--: P
001: ARAY = 'ABC'
002: NBR = STR(2,512)
003: IF NBR MATCHES '0N' THEN PRINT 'passes MATCH'
004: IF NUM(NBR) THEN PRINT 'passes NUM'
005: PRINT 'ARAY = ':ARAY
Bottom.
*--: FIBR
Filed "TT150" in file "JBP" unchanged.

Compiling Unibasic: /usr/ud/SOURCE/JBP/TT150 in mode 'u'.
compilation finished
passes MATCH
passes NUM
ARAY = 
:

Best,

  -- John Solie -- Professional Hospital Supply -- 951-296-2600  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Piers Angliss
> Sent: Thursday, March 10, 2005 4:14 AM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] [UV] "non-numeric" error after passing (ANS 
> MATCHES '0N' & ANS>0)
> 
> A very long numeric string will do this, see sample code below:
> 
> 0001: ARRAY = '12345'  ;* Just so array has a value
> 0002: VAR = STR('1',512)
> 0003: IF VAR MATCHES "0N" THEN PRINT 'Numeric'
> 0004: DUM = ARRAY
> 0005: END
> 
> >RUN BP T2
> Numeric
> Program "T2": Line 4, Nonnumeric data when numeric required.  
> Zero used.
> 
> It passes the pattern match because each digit is numeric, it 
> fails the
> numeric test because it is too big to handle.
> Note 512 is just a guess, I don't know what the actual limit 
> is - it worked
> with around 60 !
> 
> You say this is a menu processor, perhaps one of your users 
> rested a book /
> pad on a numeric key and generated the necessary huge string 
> of numbers ?
> 
> hth
> 
> Piers
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Stevenson,
> Charles
> Sent: 08 March 2005 23:26
> To: u2-users@listserver.u2ug.org
> Subject: [U2] [UV] "non-numeric" error after passing (ANS 
> MATCHES '0N' &
> ANS>0)
> 
> 4 times in recent months line these have generated the  a set of 4
> runtime errors
>"Nonnumeric data when numeric required.  Zero used."
> as recorded in uv/errlog:
>Mon Mar  7 14:04:03  78 wrc63580 Program "MENU.DRIVER": Line 74,
> Message[040025]
>Mon Mar  7 14:04:03  78 wrc63580 Program "MENU.DRIVER": Line 75,
> Message[040025]
>Mon Mar  7 14:04:03  78 wrc63580 Program "MENU.DRIVER": Line 291,
> Message[040025]
>Mon Mar  7 14:04:06  78 wrc63580 Program "MENU.DRIVER": Line 310,
> Message[040025]
> ---
> 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/