Re: [U2] SSH Viewpoint Emulation

2009-09-03 Thread Symeon Breen
I used to use putty to tunnel and then use my term emulator on top - then i
realised that actually putty is an excellent client in its own right and i
just use that now.  I use Putty connection manager which gives a tabbed set
of emulation windows and replaces the ugly putty interface.



-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: 03 September 2009 04:19
To: U2 Users List
Subject: Re: [U2] SSH  Viewpoint Emulation

Ah yes, the infamous putty tunnel, that miracle of a feature that makes
putty one of those can't live without tools.  Now if only we could
minimize putty to the tray instead of the task bar, that would be even
cooler.
___
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] Performance query

2009-09-03 Thread Brian Leach
Arie/Jeffrey

I've been told that IBM have done some work to improve the use of multiple
indexes for queries, though I'm not sure when that has come in. It might be
worth trying this on 10.3 (e.g. PE) to see whether it improves performance.

Incidentally, you can omit WITH if you nest the query:

LIST MYFILE WITH (FIELD1 = RED AND FIELD2 = BLUE)

Otherwise you should specify WITH since UniVerse needs to differentiate
between WITH and WHEN.

Brian 

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org 
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of 
 Arie van Dam
 Sent: 02 September 2009 09:15
 To: U2 Users List
 Subject: Re: [U2] Performance query
 
 Jeffrey,
 
 In our findings, using UV 10.1.16 and below in Pick flavor 
 the connecting word WITH is mandatory.
 Only the first field found to be in an index will be used to 
 read the index If we want both to be used we use a 
 correlative, although that needs special care since indices 
 are only updated when real fields are changed.
 
 My 2 (euro)cents
 
 Arie van Dam
 
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jef Lee
 Sent: woensdag 2 september 2009 9:42
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Performance query
 
 Can anyone shed light on which is better:
 
 SSELECT MYFILE WITH FIELD1 = RED AND FIELD2 = BLUE
 or
 SSELECT MYFILE WITH FIELD1 = RED AND WITH FIELD2 = BLUE
 
 Does it make a difference if one or both are indexed.
 
 Thanks...
 
 Jeffrey Lee
 
 Senior Analyst/Programmer
 
 IT Vision Australia Pty Ltd (ABN: 34 309 336 904) PO Box 881, 
 Canning Bridge WA 6153 Level 3, Kirin Centre, 15 Ogilvie 
 Road, Applecross, WA,
 6153
 P:  (08) 9315 7000F: (08) 9315 7088
 W: http://www.itvision.com.au
 ___
 
 NOTICE : This e-mail and any attachments are intended for the
 addressee(s) only and may contain confidential or privileged material.
 Any unauthorised review, use, alteration, disclosure or 
 distribution of this e-mail (including any attachments) by an 
 unintended recipient is prohibited. If you are not the 
 intended recipient please contact the sender as soon as 
 possible by return e-mail and then delete both messages.
 ___
 ___
 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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] SSH Viewpoint Emulation

2009-09-03 Thread Kevin King
Hey, that connection manager thing is cool.  Didn't know that was
available.  Thanks for sharing!
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] callHTTP - disconnect?

2009-09-03 Thread Kevin King
The Connection: close header had zero impact.  Checking other Apache
configuration options now.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] callHTTP - disconnect?

2009-09-03 Thread Glen Batchelor

 You can always run apache in debug mode (-X) as a single process and run it
under strace to see what's going on.


Glen Batchelor
IT Director
All-Spec Industries
 phone: (910) 332-0424
   fax: (910) 763-5664
E-mail: webmas...@all-spec.com
   Web: http://www.all-spec.com
  Blog: http://blog.all-spec.com


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Kevin King
 Sent: Thursday, September 03, 2009 11:17 AM
 To: U2 Users List
 Subject: Re: [U2] callHTTP - disconnect?
 
 The Connection: close header had zero impact.  Checking other Apache
 configuration options now.
 ___
 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] callHTTP - disconnect?

2009-09-03 Thread Symeon Breen
Actually TIME_WAIT is normal - when you close a connection, it goes to
timewait for a set amount of time and then is closed, this stops any delayed
packets being accepted by a later connection. There are kernel/tcp params to
determine how long it should be in timewait. If you have too many at
timewait this is called TIME_WAIT loading and can have implications on
server performance as each of these has a memory stack.




-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King
Sent: 02 September 2009 19:07
To: U2 Users List
Subject: [U2] callHTTP - disconnect?

I have a Unidata (6.1/AIX) program using the callHTTP API to move data out
to an Apache server on a transaction by transaction basis.  When the
transactions get dropped into the queue slowly all is well.  When the
transactions get flooded in, Apache gets overwhelmed.  It appears like
Unidata isn't sending a disconnect after the submitRequest because the
TIME_WAIT in netstat is showing excessively long disconnect times for these
connections.  I don't see anything in the API documentation that mentions
disconnecting from the Unidata side; is there a header or option that I can
set to make sure Unidata sends a disconnect after the request?

-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


Re: [U2] UnAble to Clear Common

2009-09-03 Thread Brutzman, Bill
 
Inside a UniBasic program...

The command...   

execute LOGTO SANDBOX

...comes back with an error message indicating...

  Programs are loaded; unable to clear common.

The logto command appears to work ok.  I am writing to ask about the
meaning of the error message.  Insights would be appreciated.  We are
using UniVerse and HP-Ux.

--Bill


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


Re: [U2] callHTTP - disconnect?

2009-09-03 Thread Kevin King
On Thu, Sep 3, 2009 at 10:10 AM, Symeon Breen syme...@gmail.com wrote:

 Actually TIME_WAIT is normal - when you close a connection, it goes to
 timewait for a set amount of time and then is closed, this stops any
 delayed
 packets being accepted by a later connection. There are kernel/tcp params
 to
 determine how long it should be in timewait. If you have too many at
 timewait this is called TIME_WAIT loading and can have implications on
 server performance as each of these has a memory stack.


Yeah, I know it's normal, but when we get a couple hundred of these out here
we usually get a comparable number of httpd children and the server just
stops accepting new connections.  We have only one Unidata instance sending
these things so there shouldn't be any reason why the Apache server would
stop allowing connections if each one gets disconnected in a timely manner.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Looking for an OCONV/ICONV

2009-09-03 Thread Jacques G.
Is there an OCONV/ICONV I could use to filter out characters invalid for an 
hexadecimal notation ?  Ei anything other than 01234567890ABCDEF  ?  I had a 
cheat sheet for special ICONV/OCONV statements but I've seemed to have 
misplaced it.


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


Re: [U2] Looking for an OCONV/ICONV

2009-09-03 Thread Henry Unger
I don't recall anything built-in, but...

Here is an I-type expression that will strip everything except hexadecimal 
notation characters from @RECORD:

@RECORD; CONVERT('0123456789ABCDEF', '', @1); CONVERT(@2, '', @1)

Change @RECORD to some other field as desired.

If you really want to create an ICONV/OCONV function, you can do that too if 
you are using UniVerse.

Something like this:

FUNCTION U( STATUS, VALUE, TYPE )

IF TYPE THEN
* ICONV()
   TEMP = CONVERT('0123456789ABCDEF', '', VALUE)
   RESULT = CONVERT(TEMP, '', VALUE)
END ELSE
* OCONV()
   RESULT = VALUE
END

STATUS = 0

RETURN (RESULT)

END

Catalog as $ and use as the conversion in the dictionary as U.

Best regards,

Henry Unger
Hitech Systems, Inc.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jacques G.
Sent: Thursday, September 03, 2009 11:43 AM
To: U2 Users List
Subject: [U2] Looking for an OCONV/ICONV

Is there an OCONV/ICONV I could use to filter out characters invalid for an 
hexadecimal notation ?  Ei anything other than 01234567890ABCDEF  ?  I had a 
cheat sheet for special ICONV/OCONV statements but I've seemed to have 
misplaced it.
  
___
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] UD equivalent of UV FILE.USAGE?

2009-09-03 Thread Dan Fitzgerald
Anyone know if there is a Unidata equivalent to the UniVerse FILE.USAGE
set of commands?

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


Re: [U2] UD equivalent of UV FILE.USAGE?

2009-09-03 Thread Adrian Merrall
On Thu, Sep 3, 2009 at 3:59 PM, Dan Fitzgerald dangf...@hotmail.com wrote:
Anyone know if there is a Unidata equivalent to the UniVerse FILE.USAGE
set of commands?

Dan,

If you could roughly describe what they do on UV, we UD only types might be
able to help.

Cheers,

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