Re: [U2] Community list - was Reliability doesn't raise enough issues to keep the list busy

2011-05-06 Thread George Land
On 04/05/2011 18:10, Bob Wyatt bwyatt_...@comcast.net wrote:

 
 Please kill this, or move it to Community (which has effectively killed crap
 like this before)...

Moving things to Community kills things for me because although I am
subscribed to it nothing ever comes from it.  I thought it was just quiet
but, for me, it is doesn't work even though my email address says it is
subscribed.

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


Re: [U2] uv v ud

2011-05-06 Thread Brian Leach
Bill

Four things architecturally have helped me when using UO - the first couple
may be too late but the fourth may be useful:

1. I only use UO to call subroutines. These have a common calling interface
so there is a single dispatch point in the client where I can add logging
and a despatch routine on the server where I can also add logging. It means
some constraints but they can be got round. Also, I've learned the hard way
to cut large strings being passed back - the despatch method checks the
length of the outgoing argument and has a 'more' flag set to get the rest of
it. Cutting to 32k is safest.

2. This approach also means I can use a test rig to check the subroutines
independently of the client, which can help identify issues.

3. If I need to watch stuff in real time, I have a global logger that acts
as a socket client. I can therefore send stuff to it from both the client
and the server to get a complete end to end trace, which saves a lot of time
otherwise spent trying to line up client and server logs.

4. Remember that UO.Net calls are single threaded.. so ensure you are using
lock{} structures (VB SyncLock) around your calls. .Net may have events
interfering with each other.

Brian


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


Re: [U2] uv v ud

2011-05-06 Thread Symeon Breen
All good advice Brian, we do the same with points 1 and 2  re just calling
subroutines and doing logging if needs be to file, i also have a simple php
interface to the backend so we can test the backend standalone without
uniobjects or .net - which is very usefull. The data size is interesting and
something I shall certainly be investigating is 32k the actual limit ? Where
did you glean this information ?, also point 4 intrigues me - i don't think
this is required in an asp.net environment, where i have a webservice, with
an open connection, call, close connection? For both pooled and non pooled
... 


Rgds
Symeon.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brian Leach
Sent: 06 May 2011 09:13
To: 'U2 Users List'
Subject: Re: [U2] uv v ud

Bill

Four things architecturally have helped me when using UO - the first couple
may be too late but the fourth may be useful:

1. I only use UO to call subroutines. These have a common calling interface
so there is a single dispatch point in the client where I can add logging
and a despatch routine on the server where I can also add logging. It means
some constraints but they can be got round. Also, I've learned the hard way
to cut large strings being passed back - the despatch method checks the
length of the outgoing argument and has a 'more' flag set to get the rest of
it. Cutting to 32k is safest.

2. This approach also means I can use a test rig to check the subroutines
independently of the client, which can help identify issues.

3. If I need to watch stuff in real time, I have a global logger that acts
as a socket client. I can therefore send stuff to it from both the client
and the server to get a complete end to end trace, which saves a lot of time
otherwise spent trying to line up client and server logs.

4. Remember that UO.Net calls are single threaded.. so ensure you are using
lock{} structures (VB SyncLock) around your calls. .Net may have events
interfering with each other.

Brian


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1325 / Virus Database: 1500/3618 - Release Date: 05/05/11

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


Re: [U2] [UV] Marking New Index as Built

2011-05-06 Thread Perry Taylor
In the end I took down the application that updates the indexed field
and did a BUILD.INDEX at 1am.  It took approximately one hour to build
but unfortunately another process that accesses that file shutdown in
error as the BUILD.INDEX had the FX lock on the file.  No harm done but
again without a truly online build this will continue to be a messy
operation for 7X24 shops.  Sure wish Rocket would take this seriously
and give us a better tool.

Perry

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charles
Stevenson
Sent: Thursday, May 05, 2011 9:21 PM
To: U2 Users List
Subject: Re: [U2] [UV] Marking New Index as Built

So, Perry,  what did you finally decide to do?
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

CONFIDENTIALITY NOTICE: This e-mail message, including any 
attachments, is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information.  Any
unauthorized review, use, disclosure or distribution is 
prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health 
Information, any communications containing such material will 
be returned to the originating party with such advisement 
noted. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the 
original message.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [UV] Marking New Index as Built

2011-05-06 Thread Kurt Neumann
Hi Perry

One of the new features in UniVerse 11.1 is the concurrent build of indices.  I 
would suggest being very careful in using it as, to my knowledge, it could have 
an impact on your performance. From the new features Pdf: BUILD.INDEX filename 
{attribute [attribute...] | ALL } [CONCURRENT]

Regards
Kurt Neumann; U2 Distributor in Africa



-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Perry Taylor
Sent: 06 May 2011 02:55 PM
To: U2 Users List
Subject: Re: [U2] [UV] Marking New Index as Built

In the end I took down the application that updates the indexed field and did a 
BUILD.INDEX at 1am.  It took approximately one hour to build but unfortunately 
another process that accesses that file shutdown in error as the BUILD.INDEX 
had the FX lock on the file.  No harm done but again without a truly online 
build this will continue to be a messy operation for 7X24 shops.  Sure wish 
Rocket would take this seriously and give us a better tool.

Perry

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charles Stevenson
Sent: Thursday, May 05, 2011 9:21 PM
To: U2 Users List
Subject: Re: [U2] [UV] Marking New Index as Built

So, Perry,  what did you finally decide to do?
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health Information, 
any communications containing such material will be returned to the originating 
party with such advisement noted. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.
___
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] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread John Thompson
I thought I would resurrect an old issue I found on the mailing list...

As I am not a mailing list junky (google and web forums have spoiled me),
I'm not entirely sure how to reply directly to the old post...

Original Post 
From:

Ross Morrissey
Fri, 24 Jul 2009 14:11:56 -0700

This is a bit of a stumper (for me, anyway).

I'm having issues trying to exec uv from PHP on AIX.

Things work just fine in Windows (Apache or IIS) or Linux (Apache) so I know
my PHP syntax is fine.

On the AIX (5.2 uv 10.2.7) box:

Using PHP, I can exec 'echo 1 + 2 | bc' and get 3
I can run this at the shell as user nobody: 'cd /u2/uv/HS.SALES;
/u2/uv/bin/uv display 42'
I can get a CGI script to return 'cd /u2/uv/HS.SALES; /u2/uv/bin/uv display
42' correctly

With PHP, I can't exec ' /u2/uv/bin/uv display 42' (after a chdir).

UV throws this error (into the Apache logs):

An error has occurred during uniVerse initialization
Please contact the system administrator Error code: 4 22

The codes translate into:

4. System V semaphores are probably not configured in the kernel.

22. (EINVAL) Invalid argument. Here are some examples of invalid
arguments: dismounting a nonmounted device, mentioning an unknown
signal in signal, reading or writing a file for which seek has generated a
negative pointer. EINVAL is also set by math functions.

Has anyone else bumped into this?  IBM support suggested it might be an
issue with SIGTTOU but this seems unlikely to me - especially for a one-line
command.  PHP is a bit outside their bailiwick.

Thanks, Ross.

End of Original Post 


I am having the exact same problem.  I have tried using nohup before
called universe.

There is something about when apache calls the php script, then the
php script executing universe, that universe does not like...

Anyone ever figure out a way around this?


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


Re: [U2] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread Rex Gozar
Have you tried  instead of ; to separate the cd and uv commands?

rex

On Fri, May 6, 2011 at 11:56 AM, John Thompson jthompson...@gmail.com wrote:
 I thought I would resurrect an old issue I found on the mailing list...

 As I am not a mailing list junky (google and web forums have spoiled me),
 I'm not entirely sure how to reply directly to the old post...

 Original Post 
 From:

 Ross Morrissey
 Fri, 24 Jul 2009 14:11:56 -0700

 This is a bit of a stumper (for me, anyway).

 I'm having issues trying to exec uv from PHP on AIX.

 Things work just fine in Windows (Apache or IIS) or Linux (Apache) so I know
 my PHP syntax is fine.

 On the AIX (5.2 uv 10.2.7) box:

 Using PHP, I can exec 'echo 1 + 2 | bc' and get 3
 I can run this at the shell as user nobody: 'cd /u2/uv/HS.SALES;
 /u2/uv/bin/uv display 42'
 I can get a CGI script to return 'cd /u2/uv/HS.SALES; /u2/uv/bin/uv display
 42' correctly

 With PHP, I can't exec ' /u2/uv/bin/uv display 42' (after a chdir).

 UV throws this error (into the Apache logs):

 An error has occurred during uniVerse initialization
 Please contact the system administrator Error code: 4 22

 The codes translate into:

 4. System V semaphores are probably not configured in the kernel.

 22. (EINVAL) Invalid argument. Here are some examples of invalid
 arguments: dismounting a nonmounted device, mentioning an unknown
 signal in signal, reading or writing a file for which seek has generated a
 negative pointer. EINVAL is also set by math functions.

 Has anyone else bumped into this?  IBM support suggested it might be an
 issue with SIGTTOU but this seems unlikely to me - especially for a one-line
 command.  PHP is a bit outside their bailiwick.

 Thanks, Ross.

 End of Original Post 


 I am having the exact same problem.  I have tried using nohup before
 called universe.

 There is something about when apache calls the php script, then the
 php script executing universe, that universe does not like...

 Anyone ever figure out a way around this?


 --
 John Thompson
 ___
 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] uv v ud

2011-05-06 Thread Tony Gravagno
Brian and Symeon, since mv.NET is wrapping UO.NET, the issues you
mention don't apply:
- Bill isn't managing the UO.NET API calls, so he has no control
over them.
- Once the connection is established, only one client process has
access to any given server connection.  Therefore, no
multi-threading.
- mv.NET actually does interface through a BASIC call as
described.

Regarding large items, I'm not sure what's happening at that
level but I believe it's handled properly.

I would comment that a return value should not cause a component
like UONET.DLL to log a vague error without throwing an
exception, and that if this is a recognized issue that it should
have been addressed a long time ago. If there are function calls
that are known to be flaky outside of subroutine calls, I would
also hope that these have been documented and passed to RS for
resolution.

The next step in the diagnostic for anyone with these mystery
logs would be to put Symeon's trace flags into web.config.  That
information can then be sent to RS for comment.

T

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


Re: [U2] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread John Thompson
Yep, the same behavior still happens.

The issue is:

On AIX 5.3 (Technology Level 9)
You can do the following:

-Call Universe from a php script from a shell.
So if I do:
php -f scriptname.php
The php script, is changing the directory and firing up universe.

Everything works fine from the shell.

-If I run that same script through the browser (i.e. Apache 2.2 on AIX),
then universe will crash with:

An error has occurred during uniVerse initialization
Please contact the system administrator
Error code:  4  22

Rocket's suggestion is to run it with nohup, which did NOT work.

Its not a permissions issue.  I made them wide open (777) as a test, and I
can call the php script from the shell of the user that Apache runs as, and
they work fine- Universe fires up and does its thing.

Universe does not get to the point to where it can even call the login proc.
 It crashes before it can even start.

On Fri, May 6, 2011 at 12:17 PM, Rex Gozar rgo...@gmail.com wrote:

 Have you tried  instead of ; to separate the cd and uv commands?

 rex

 On Fri, May 6, 2011 at 11:56 AM, John Thompson jthompson...@gmail.com
 wrote:
  I thought I would resurrect an old issue I found on the mailing list...
 
  As I am not a mailing list junky (google and web forums have spoiled me),
  I'm not entirely sure how to reply directly to the old post...
 
  Original Post 
  From:
 
  Ross Morrissey
  Fri, 24 Jul 2009 14:11:56 -0700
 
  This is a bit of a stumper (for me, anyway).
 
  I'm having issues trying to exec uv from PHP on AIX.
 
  Things work just fine in Windows (Apache or IIS) or Linux (Apache) so I
 know
  my PHP syntax is fine.
 
  On the AIX (5.2 uv 10.2.7) box:
 
  Using PHP, I can exec 'echo 1 + 2 | bc' and get 3
  I can run this at the shell as user nobody: 'cd /u2/uv/HS.SALES;
  /u2/uv/bin/uv display 42'
  I can get a CGI script to return 'cd /u2/uv/HS.SALES; /u2/uv/bin/uv
 display
  42' correctly
 
  With PHP, I can't exec ' /u2/uv/bin/uv display 42' (after a chdir).
 
  UV throws this error (into the Apache logs):
 
  An error has occurred during uniVerse initialization
  Please contact the system administrator Error code: 4 22
 
  The codes translate into:
 
  4. System V semaphores are probably not configured in the kernel.
 
  22. (EINVAL) Invalid argument. Here are some examples of invalid
  arguments: dismounting a nonmounted device, mentioning an unknown
  signal in signal, reading or writing a file for which seek has generated
 a
  negative pointer. EINVAL is also set by math functions.
 
  Has anyone else bumped into this?  IBM support suggested it might be an
  issue with SIGTTOU but this seems unlikely to me - especially for a
 one-line
  command.  PHP is a bit outside their bailiwick.
 
  Thanks, Ross.
 
  End of Original Post 
 
 
  I am having the exact same problem.  I have tried using nohup before
  called universe.
 
  There is something about when apache calls the php script, then the
  php script executing universe, that universe does not like...
 
  Anyone ever figure out a way around this?
 
 
  --
  John Thompson
  ___
  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




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


Re: [U2] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread Bob Woodward
Sounds to me like it has something to do with shell environment not
being what is expected.  Something like maybe the path doesn't include a
needed directory.  I'm not a PHP programmer, though, so it's just a WAG
on my part.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: Friday, May 06, 2011 9:42 AM
To: U2 Users List
Subject: Re: [U2] Error 4 22 from PHP exec of uv on AIX

Yep, the same behavior still happens.

The issue is:

On AIX 5.3 (Technology Level 9)
You can do the following:

-Call Universe from a php script from a shell.
So if I do:
php -f scriptname.php
The php script, is changing the directory and firing up universe.

Everything works fine from the shell.

-If I run that same script through the browser (i.e. Apache 2.2 on AIX),
then universe will crash with:

An error has occurred during uniVerse initialization
Please contact the system administrator
Error code:  4  22

Rocket's suggestion is to run it with nohup, which did NOT work.

Its not a permissions issue.  I made them wide open (777) as a test, and
I
can call the php script from the shell of the user that Apache runs as,
and
they work fine- Universe fires up and does its thing.

Universe does not get to the point to where it can even call the login
proc.
 It crashes before it can even start.

On Fri, May 6, 2011 at 12:17 PM, Rex Gozar rgo...@gmail.com wrote:

 Have you tried  instead of ; to separate the cd and uv commands?

 rex

 On Fri, May 6, 2011 at 11:56 AM, John Thompson
jthompson...@gmail.com
 wrote:
  I thought I would resurrect an old issue I found on the mailing
list...
 
  As I am not a mailing list junky (google and web forums have spoiled
me),
  I'm not entirely sure how to reply directly to the old post...
 
  Original Post 
  From:
 
  Ross Morrissey
  Fri, 24 Jul 2009 14:11:56 -0700
 
  This is a bit of a stumper (for me, anyway).
 
  I'm having issues trying to exec uv from PHP on AIX.
 
  Things work just fine in Windows (Apache or IIS) or Linux (Apache)
so I
 know
  my PHP syntax is fine.
 
  On the AIX (5.2 uv 10.2.7) box:
 
  Using PHP, I can exec 'echo 1 + 2 | bc' and get 3
  I can run this at the shell as user nobody: 'cd /u2/uv/HS.SALES;
  /u2/uv/bin/uv display 42'
  I can get a CGI script to return 'cd /u2/uv/HS.SALES; /u2/uv/bin/uv
 display
  42' correctly
 
  With PHP, I can't exec ' /u2/uv/bin/uv display 42' (after a
chdir).
 
  UV throws this error (into the Apache logs):
 
  An error has occurred during uniVerse initialization
  Please contact the system administrator Error code: 4 22
 
  The codes translate into:
 
  4. System V semaphores are probably not configured in the kernel.
 
  22. (EINVAL) Invalid argument. Here are some examples of invalid
  arguments: dismounting a nonmounted device, mentioning an unknown
  signal in signal, reading or writing a file for which seek has
generated
 a
  negative pointer. EINVAL is also set by math functions.
 
  Has anyone else bumped into this?  IBM support suggested it might be
an
  issue with SIGTTOU but this seems unlikely to me - especially for a
 one-line
  command.  PHP is a bit outside their bailiwick.
 
  Thanks, Ross.
 
  End of Original Post 
 
 
  I am having the exact same problem.  I have tried using nohup before
  called universe.
 
  There is something about when apache calls the php script, then the
  php script executing universe, that universe does not like...
 
  Anyone ever figure out a way around this?
 
 
  --
  John Thompson
  ___
  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




-- 
John Thompson
___
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] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread Rex Gozar
As a workaround, you could try u2pipe:

http://www.pickwiki.com/cgi-bin/wiki.pl?U2pipe

You wouldn't need to install it as a inet service, just use it as a
pipe.  For example:

echo display 42|/usr/local/bin/u2pipe (or wherever you install it)

To configure u2pipe, you edit /etc/u2pipe.ini to enter the user,
password, and account.  Any commands you pipe to it will run in
universe and the output will go to stdout.

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


Re: [U2] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread George Gallen
this sounds like a permissions issue.

probably, the user that apache is running under doesn't have the permissions
to execute the uv program in .../uv/bin

George

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of John Thompson
 Sent: Friday, May 06, 2011 11:57 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Error 4 22 from PHP exec of uv on AIX
 
 I thought I would resurrect an old issue I found on the mailing list...
 
 As I am not a mailing list junky (google and web forums have spoiled
 me),
 I'm not entirely sure how to reply directly to the old post...
 
 Original Post 
 From:
 
 Ross Morrissey
 Fri, 24 Jul 2009 14:11:56 -0700
 
 This is a bit of a stumper (for me, anyway).
 
 I'm having issues trying to exec uv from PHP on AIX.
 
 Things work just fine in Windows (Apache or IIS) or Linux (Apache) so I
 know
 my PHP syntax is fine.
 
 On the AIX (5.2 uv 10.2.7) box:
 
 Using PHP, I can exec 'echo 1 + 2 | bc' and get 3
 I can run this at the shell as user nobody: 'cd /u2/uv/HS.SALES;
 /u2/uv/bin/uv display 42'
 I can get a CGI script to return 'cd /u2/uv/HS.SALES; /u2/uv/bin/uv
 display
 42' correctly
 
 With PHP, I can't exec ' /u2/uv/bin/uv display 42' (after a chdir).
 
 UV throws this error (into the Apache logs):
 
 An error has occurred during uniVerse initialization
 Please contact the system administrator Error code: 4 22
 
 The codes translate into:
 
 4. System V semaphores are probably not configured in the kernel.
 
 22. (EINVAL) Invalid argument. Here are some examples of invalid
 arguments: dismounting a nonmounted device, mentioning an unknown
 signal in signal, reading or writing a file for which seek has
 generated a
 negative pointer. EINVAL is also set by math functions.
 
 Has anyone else bumped into this?  IBM support suggested it might be an
 issue with SIGTTOU but this seems unlikely to me - especially for a
 one-line
 command.  PHP is a bit outside their bailiwick.
 
 Thanks, Ross.
 
 End of Original Post 
 
 
 I am having the exact same problem.  I have tried using nohup before
 called universe.
 
 There is something about when apache calls the php script, then the
 php script executing universe, that universe does not like...
 
 Anyone ever figure out a way around this?
 
 
 --
 John Thompson
 ___
 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] Dynamic Connect - Half White Screen

2011-05-06 Thread Bill Brutzman
I have two users here who do something unknown in DC that turns the right half 
of the DC window background from black to white.

When it changes to white, they are then limited as to what they can see and do 
in DC.

Help would be appreciated.

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


[U2] Anyone submitted postage statements using mail.xml?

2011-05-06 Thread George Gallen
I'm going to be embarking on attempting to send e-docs (postage statements) to 
the USPS
using MAIL.XML. Any pointers?


George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator
ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com



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


Re: [U2] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread John Thompson
Thanks for all of your replies.
Thanks to Bob Woodward for the shell environment idea.
Thanks to Kevin King for his help.

Apache sets extra environment variables when compared to the shell of a
regular user.

One of these environment variables is called:
LDR_CNTRL
Apparently it has something to do with the way AIX handles the memory space.
See:

http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=/com.ibm.java.doc.user.aix32.60/user/aix_ldr_cntrl_page_sizes.html

Apache seems to set the following when it starts a session:

LDR_CNTRL=MAXDATA=0x8000

If you set this to null in a php script, then Universe will run just fine.

Anyone have any ideas on the proper use of LDR_CNTRL?






On Fri, May 6, 2011 at 1:06 PM, George Gallen ggal...@wyanokegroup.comwrote:

 this sounds like a permissions issue.

 probably, the user that apache is running under doesn't have the
 permissions
 to execute the uv program in .../uv/bin

 George

  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
  boun...@listserver.u2ug.org] On Behalf Of John Thompson
  Sent: Friday, May 06, 2011 11:57 AM
  To: u2-users@listserver.u2ug.org
  Subject: [U2] Error 4 22 from PHP exec of uv on AIX
 
  I thought I would resurrect an old issue I found on the mailing list...
 
  As I am not a mailing list junky (google and web forums have spoiled
  me),
  I'm not entirely sure how to reply directly to the old post...
 
  Original Post 
  From:
 
  Ross Morrissey
  Fri, 24 Jul 2009 14:11:56 -0700
 
  This is a bit of a stumper (for me, anyway).
 
  I'm having issues trying to exec uv from PHP on AIX.
 
  Things work just fine in Windows (Apache or IIS) or Linux (Apache) so I
  know
  my PHP syntax is fine.
 
  On the AIX (5.2 uv 10.2.7) box:
 
  Using PHP, I can exec 'echo 1 + 2 | bc' and get 3
  I can run this at the shell as user nobody: 'cd /u2/uv/HS.SALES;
  /u2/uv/bin/uv display 42'
  I can get a CGI script to return 'cd /u2/uv/HS.SALES; /u2/uv/bin/uv
  display
  42' correctly
 
  With PHP, I can't exec ' /u2/uv/bin/uv display 42' (after a chdir).
 
  UV throws this error (into the Apache logs):
 
  An error has occurred during uniVerse initialization
  Please contact the system administrator Error code: 4 22
 
  The codes translate into:
 
  4. System V semaphores are probably not configured in the kernel.
 
  22. (EINVAL) Invalid argument. Here are some examples of invalid
  arguments: dismounting a nonmounted device, mentioning an unknown
  signal in signal, reading or writing a file for which seek has
  generated a
  negative pointer. EINVAL is also set by math functions.
 
  Has anyone else bumped into this?  IBM support suggested it might be an
  issue with SIGTTOU but this seems unlikely to me - especially for a
  one-line
  command.  PHP is a bit outside their bailiwick.
 
  Thanks, Ross.
 
  End of Original Post 
 
 
  I am having the exact same problem.  I have tried using nohup before
  called universe.
 
  There is something about when apache calls the php script, then the
  php script executing universe, that universe does not like...
 
  Anyone ever figure out a way around this?
 
 
  --
  John Thompson
  ___
  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




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


Re: [U2] Anyone submitted postage statements using mail.xml?

2011-05-06 Thread Glen Batchelor

  We don't use Mail.XML but I've done integration with USPS as well as most
of the major parcel carriers. 

  Are you doing pull-only, push-only, or both? If you're submitting docs
then that's pull. If USPS sends you a notification then that's push. If
you're only pulling, then you don't need to worry about setting up processes
to handle incoming XML, as far as I know. I've not seen any information
suggesting that call-backs or post-backs are used in pull-only situations.
You should definitely read the entire Mail.XML guide if you're writing an
interface from scratch. There may be a library for PHP, but I've not
checked. I could not find a Perl module that simplifies using the XML
service.

Regards,


Glen Batchelor
IT Director/CIO/CTO
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 George Gallen
 Sent: Friday, May 06, 2011 2:10 PM
 To: U2 Users List
 Subject: [U2] Anyone submitted postage statements using mail.xml?
 
 I'm going to be embarking on attempting to send e-docs (postage
 statements) to the USPS
 using MAIL.XML. Any pointers?
 
 
 George Gallen
 Senior Programmer/Analyst
 Accounting/Data Division, EDI Administrator
 ggal...@wyanokegroup.com
 ph:856.848.9005 Ext 220
 The Wyanoke Group
 http://www.wyanokegroup.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] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread Glen Batchelor

http://publib.boulder.ibm.com/infocenter/tivihelp/v2r1/index.jsp?topic=/com.
ibm.itame3.doc_5.1/am51_perftune113.htm

 It is a good idea to unset the LDR_CNTRL environment variable, so that it
does not unintentionally affect other processes. 

Regards,


Glen Batchelor
IT Director/CIO/CTO
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 John Thompson
 Sent: Friday, May 06, 2011 2:46 PM
 To: U2 Users List
 Subject: Re: [U2] Error 4 22 from PHP exec of uv on AIX
 
 Thanks for all of your replies.
 Thanks to Bob Woodward for the shell environment idea.
 Thanks to Kevin King for his help.
 
 Apache sets extra environment variables when compared to the shell of a
 regular user.
 
 One of these environment variables is called:
 LDR_CNTRL
 Apparently it has something to do with the way AIX handles the memory
 space.
 See:
 
 http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=/com
 .ibm.java.doc.user.aix32.60/user/aix_ldr_cntrl_page_sizes.html
 
 Apache seems to set the following when it starts a session:
 
 LDR_CNTRL=MAXDATA=0x8000
 
 If you set this to null in a php script, then Universe will run just
 fine.
 
 Anyone have any ideas on the proper use of LDR_CNTRL?
 
 
 
 
 
 
 On Fri, May 6, 2011 at 1:06 PM, George Gallen
 ggal...@wyanokegroup.comwrote:
 
  this sounds like a permissions issue.
 
  probably, the user that apache is running under doesn't have the
  permissions
  to execute the uv program in .../uv/bin
 
  George
 
   -Original Message-
   From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
   boun...@listserver.u2ug.org] On Behalf Of John Thompson
   Sent: Friday, May 06, 2011 11:57 AM
   To: u2-users@listserver.u2ug.org
   Subject: [U2] Error 4 22 from PHP exec of uv on AIX
  
   I thought I would resurrect an old issue I found on the mailing
 list...
  
   As I am not a mailing list junky (google and web forums have spoiled
   me),
   I'm not entirely sure how to reply directly to the old post...
  
   Original Post 
   From:
  
   Ross Morrissey
   Fri, 24 Jul 2009 14:11:56 -0700
  
   This is a bit of a stumper (for me, anyway).
  
   I'm having issues trying to exec uv from PHP on AIX.
  
   Things work just fine in Windows (Apache or IIS) or Linux (Apache) so
 I
   know
   my PHP syntax is fine.
  
   On the AIX (5.2 uv 10.2.7) box:
  
   Using PHP, I can exec 'echo 1 + 2 | bc' and get 3
   I can run this at the shell as user nobody: 'cd /u2/uv/HS.SALES;
   /u2/uv/bin/uv display 42'
   I can get a CGI script to return 'cd /u2/uv/HS.SALES; /u2/uv/bin/uv
   display
   42' correctly
  
   With PHP, I can't exec ' /u2/uv/bin/uv display 42' (after a chdir).
  
   UV throws this error (into the Apache logs):
  
   An error has occurred during uniVerse initialization
   Please contact the system administrator Error code: 4 22
  
   The codes translate into:
  
   4. System V semaphores are probably not configured in the kernel.
  
   22. (EINVAL) Invalid argument. Here are some examples of invalid
   arguments: dismounting a nonmounted device, mentioning an unknown
   signal in signal, reading or writing a file for which seek has
   generated a
   negative pointer. EINVAL is also set by math functions.
  
   Has anyone else bumped into this?  IBM support suggested it might be
 an
   issue with SIGTTOU but this seems unlikely to me - especially for a
   one-line
   command.  PHP is a bit outside their bailiwick.
  
   Thanks, Ross.
  
   End of Original Post 
  
  
   I am having the exact same problem.  I have tried using nohup before
   called universe.
  
   There is something about when apache calls the php script, then the
   php script executing universe, that universe does not like...
  
   Anyone ever figure out a way around this?
  
  
   --
   John Thompson
   ___
   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
 
 
 
 
 --
 John Thompson
 ___
 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] LED editor for Universe

2011-05-06 Thread Doug Averch
Hi Keith:

When I read your notes about another editor that is about 6,000 Basic lines
long, I'm wonder if some us U2 programmers are Luddite's. See
http://en.wikipedia.org/wiki/Luddite for more information.

Really, do we want to marginalize our talents by showing we can use a Basic
editor that can do colors?  I wrote one of these editors for Prime
Information in 1980's based on what I saw using Revelation G.  The source
code for that editor is long since dead, thank goodness.

My suggestion would be use BDT from Rocket Software, or mvDeveloper from
Brian Leach Consulting, or XLr8Editor from U2Logic.   The first two are FREE
and the second one is $49.00 per year.

Again, at least these editors mentioned before don't require a telnet
session, use UniObjects to access data from U2, and they don't look like
they were developed in the 80's. Oh by the way, they all do colors.


Regards,
Doug
www.u2logic.com/tools.html
Birthplace for Eclipse based tools for U2
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread John Thompson
Thanks for the link :)  That helps.

On Fri, May 6, 2011 at 3:16 PM, Glen Batchelor webmas...@all-spec.comwrote:


 http://publib.boulder.ibm.com/infocenter/tivihelp/v2r1/index.jsp?topic=/com
 .
 ibm.itame3.doc_5.1/am51_perftune113.htm

  It is a good idea to unset the LDR_CNTRL environment variable, so that it
 does not unintentionally affect other processes. 

 Regards,

 
 Glen Batchelor
 IT Director/CIO/CTO
 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 John Thompson
  Sent: Friday, May 06, 2011 2:46 PM
  To: U2 Users List
  Subject: Re: [U2] Error 4 22 from PHP exec of uv on AIX
 
  Thanks for all of your replies.
  Thanks to Bob Woodward for the shell environment idea.
  Thanks to Kevin King for his help.
 
  Apache sets extra environment variables when compared to the shell of a
  regular user.
 
  One of these environment variables is called:
  LDR_CNTRL
  Apparently it has something to do with the way AIX handles the memory
  space.
  See:
 
 
 http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=/com
  .ibm.java.doc.user.aix32.60/user/aix_ldr_cntrl_page_sizes.html
 
  Apache seems to set the following when it starts a session:
 
  LDR_CNTRL=MAXDATA=0x8000
 
  If you set this to null in a php script, then Universe will run just
  fine.
 
  Anyone have any ideas on the proper use of LDR_CNTRL?
 
 
 
 
 
 
  On Fri, May 6, 2011 at 1:06 PM, George Gallen
  ggal...@wyanokegroup.comwrote:
 
   this sounds like a permissions issue.
  
   probably, the user that apache is running under doesn't have the
   permissions
   to execute the uv program in .../uv/bin
  
   George
  
-Original Message-
From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: Friday, May 06, 2011 11:57 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Error 4 22 from PHP exec of uv on AIX
   
I thought I would resurrect an old issue I found on the mailing
  list...
   
As I am not a mailing list junky (google and web forums have spoiled
me),
I'm not entirely sure how to reply directly to the old post...
   
Original Post 
From:
   
Ross Morrissey
Fri, 24 Jul 2009 14:11:56 -0700
   
This is a bit of a stumper (for me, anyway).
   
I'm having issues trying to exec uv from PHP on AIX.
   
Things work just fine in Windows (Apache or IIS) or Linux (Apache) so
  I
know
my PHP syntax is fine.
   
On the AIX (5.2 uv 10.2.7) box:
   
Using PHP, I can exec 'echo 1 + 2 | bc' and get 3
I can run this at the shell as user nobody: 'cd /u2/uv/HS.SALES;
/u2/uv/bin/uv display 42'
I can get a CGI script to return 'cd /u2/uv/HS.SALES; /u2/uv/bin/uv
display
42' correctly
   
With PHP, I can't exec ' /u2/uv/bin/uv display 42' (after a chdir).
   
UV throws this error (into the Apache logs):
   
An error has occurred during uniVerse initialization
Please contact the system administrator Error code: 4 22
   
The codes translate into:
   
4. System V semaphores are probably not configured in the kernel.
   
22. (EINVAL) Invalid argument. Here are some examples of invalid
arguments: dismounting a nonmounted device, mentioning an unknown
signal in signal, reading or writing a file for which seek has
generated a
negative pointer. EINVAL is also set by math functions.
   
Has anyone else bumped into this?  IBM support suggested it might be
  an
issue with SIGTTOU but this seems unlikely to me - especially for a
one-line
command.  PHP is a bit outside their bailiwick.
   
Thanks, Ross.
   
End of Original Post 
   
   
I am having the exact same problem.  I have tried using nohup before
called universe.
   
There is something about when apache calls the php script, then the
php script executing universe, that universe does not like...
   
Anyone ever figure out a way around this?
   
   
--
John Thompson
___
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
  
 
 
 
  --
  John Thompson
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users

 ___
 U2-Users mailing list
 

Re: [U2] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread Symeon Breen
This is shell variables, 

You will need $UVHOME and $UVBIN setting otherwise uv does not work.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: 06 May 2011 16:57
To: u2-users@listserver.u2ug.org
Subject: [U2] Error 4 22 from PHP exec of uv on AIX

I thought I would resurrect an old issue I found on the mailing list...

As I am not a mailing list junky (google and web forums have spoiled me),
I'm not entirely sure how to reply directly to the old post...

Original Post 
From:

Ross Morrissey
Fri, 24 Jul 2009 14:11:56 -0700

This is a bit of a stumper (for me, anyway).

I'm having issues trying to exec uv from PHP on AIX.

Things work just fine in Windows (Apache or IIS) or Linux (Apache) so I know
my PHP syntax is fine.

On the AIX (5.2 uv 10.2.7) box:

Using PHP, I can exec 'echo 1 + 2 | bc' and get 3
I can run this at the shell as user nobody: 'cd /u2/uv/HS.SALES;
/u2/uv/bin/uv display 42'
I can get a CGI script to return 'cd /u2/uv/HS.SALES; /u2/uv/bin/uv display
42' correctly

With PHP, I can't exec ' /u2/uv/bin/uv display 42' (after a chdir).

UV throws this error (into the Apache logs):

An error has occurred during uniVerse initialization
Please contact the system administrator Error code: 4 22

The codes translate into:

4. System V semaphores are probably not configured in the kernel.

22. (EINVAL) Invalid argument. Here are some examples of invalid
arguments: dismounting a nonmounted device, mentioning an unknown
signal in signal, reading or writing a file for which seek has generated a
negative pointer. EINVAL is also set by math functions.

Has anyone else bumped into this?  IBM support suggested it might be an
issue with SIGTTOU but this seems unlikely to me - especially for a one-line
command.  PHP is a bit outside their bailiwick.

Thanks, Ross.

End of Original Post 


I am having the exact same problem.  I have tried using nohup before
called universe.

There is something about when apache calls the php script, then the
php script executing universe, that universe does not like...

Anyone ever figure out a way around this?


-- 
John Thompson
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1325 / Virus Database: 1500/3618 - Release Date: 05/05/11

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


Re: [U2] Anyone submitted postage statements using mail.xml?

2011-05-06 Thread Tony Gravagno
I created an interface with USPS a few years ago in a product
which was shelved due to overwhelming lack of field interest -
perhaps I just marketed this one poorly.
(nospam.pleaseNebula-RnD.com/products/ship.htm) 
The XML exchanges worked quite well and as I recall there were
very few issues.  The documentation examples were complete and
helped to ensure that I understood the proper request and
expected return values.  If nothing has changed, I believe anyone
competent with such exchanges should not have a problem with this
specific application.

HTH
T

 From: George Gallen
 I'm going to be embarking on attempting to send e-docs 
 (postage statements) to the USPS using MAIL.XML. Any 
 pointers?

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


Re: [U2] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread fft2001
LDR_CNTRL has to do with the settings for your temporary work space (as we used 
to call it)
How much space to allocate for your process' heap and so on.
Can you give a full PHP script showing how you got around this?
I mean the entire script, just post it into the board here.


 

 


 

 

-Original Message-
From: John Thompson jthompson...@gmail.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Fri, May 6, 2011 11:46 am
Subject: Re: [U2] Error 4 22 from PHP exec of uv on AIX


Thanks for all of your replies.
Thanks to Bob Woodward for the shell environment idea.
Thanks to Kevin King for his help.

Apache sets extra environment variables when compared to the shell of a
regular user.

One of these environment variables is called:
LDR_CNTRL
Apparently it has something to do with the way AIX handles the memory space.
See:

http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=/com.ibm.java.doc.user.aix32.60/user/aix_ldr_cntrl_page_sizes.html

Apache seems to set the following when it starts a session:

LDR_CNTRL=MAXDATA=0x8000

If you set this to null in a php script, then Universe will run just fine.

Anyone have any ideas on the proper use of LDR_CNTRL?





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


Re: [U2] LED editor for Universe

2011-05-06 Thread fft2001
If they don't consume a seat, doesn't that also mean that they don't lock the 
program while editing it?
If so, how do they work well in a multi-programmer environment?


 


Again, at least these editors mentioned before don't require a telnet
session, use UniObjects to access data from U2, and they don't look like
they were developed in the 80's. Oh by the way, they all do colors.

 

 


 

 

-Original Message-
From: Doug Averch dave...@gmail.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Fri, May 6, 2011 12:23 pm
Subject: Re: [U2] LED editor for Universe


Hi Keith:

When I read your notes about another editor that is about 6,000 Basic lines
long, I'm wonder if some us U2 programmers are Luddite's. See
http://en.wikipedia.org/wiki/Luddite for more information.

Really, do we want to marginalize our talents by showing we can use a Basic
editor that can do colors?  I wrote one of these editors for Prime
Information in 1980's based on what I saw using Revelation G.  The source
code for that editor is long since dead, thank goodness.

My suggestion would be use BDT from Rocket Software, or mvDeveloper from
Brian Leach Consulting, or XLr8Editor from U2Logic.   The first two are FREE
and the second one is $49.00 per year.

Again, at least these editors mentioned before don't require a telnet
session, use UniObjects to access data from U2, and they don't look like
they were developed in the 80's. Oh by the way, they all do colors.


Regards,
Doug
www.u2logic.com/tools.html
Birthplace for Eclipse based tools for U2
___
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] LED editor for Universe

2011-05-06 Thread Doug Averch
UniObjects (UO) does consume a seat.  At least with XLr8Editor you can chose
to lock or not lock the item you editing not sure about the others editors.
 In a multi-programmer environment nothing much changes from the
locking perspective.

However, if you are using a LED you cannot do anything else.  The program
you are editing takes up your entire screen you cannot do anything else in
that session.  You can add functionality to LED like AE allows you to
execute other commands with a colon prompt, but that is not even close to
normal functionality in today's world.

You can open up other programs in many tabs, copy and paste using your
mouse, hit F3 to bring up INCLUDES/INSERTS or even subroutines if the
cataloged in the VOC file.  That is the big difference with the Eclipse
based editors like BDT and XLr8Editor and maybe the same with mvDeveloper as
well.

Regards,
Doug
www.u2logic.com/download.html
XLr8Editor free trials available
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] LED editor for Universe

2011-05-06 Thread Steve Romanow
Some ppl just do not like eclipse in any shape or form.

On 5/6/11, fft2...@aol.com fft2...@aol.com wrote:
 If they don't consume a seat, doesn't that also mean that they don't lock
 the program while editing it?
 If so, how do they work well in a multi-programmer environment?





 Again, at least these editors mentioned before don't require a telnet
 session, use UniObjects to access data from U2, and they don't look like
 they were developed in the 80's. Oh by the way, they all do colors.










 -Original Message-
 From: Doug Averch dave...@gmail.com
 To: U2 Users List u2-users@listserver.u2ug.org
 Sent: Fri, May 6, 2011 12:23 pm
 Subject: Re: [U2] LED editor for Universe


 Hi Keith:

 When I read your notes about another editor that is about 6,000 Basic lines
 long, I'm wonder if some us U2 programmers are Luddite's. See
 http://en.wikipedia.org/wiki/Luddite for more information.

 Really, do we want to marginalize our talents by showing we can use a Basic
 editor that can do colors?  I wrote one of these editors for Prime
 Information in 1980's based on what I saw using Revelation G.  The source
 code for that editor is long since dead, thank goodness.

 My suggestion would be use BDT from Rocket Software, or mvDeveloper from
 Brian Leach Consulting, or XLr8Editor from U2Logic.   The first two are FREE
 and the second one is $49.00 per year.

 Again, at least these editors mentioned before don't require a telnet
 session, use UniObjects to access data from U2, and they don't look like
 they were developed in the 80's. Oh by the way, they all do colors.


 Regards,
 Doug
 www.u2logic.com/tools.html
 Birthplace for Eclipse based tools for U2
 ___
 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] Error 4 22 from PHP exec of uv on AIX

2011-05-06 Thread Kevin King
When John and I were working on this we noticed that the LDR_CNTRL
environment variable wasn't set at all on a normal telnet login.  When we
DID set it manually on the telnet session, Universe wouldn't start with the
4 22 message.  So the simplest version the script was basically like this
(and forgive me as I'm reciting from memory):

?php
$current = getenv('LDR_CNTRL');
putenv('LDR_CNTRL=');
exec('/u1/uv/bin/uv');
putenv('LDR_CNTRL=' . $current);
?

John has been working on this more after we got this far so I'll defer to
him for more details. Note that all this script was proving was the ability
to start UV successfully from a PHP script invoked through Apache.  There is
more going on with moving data in and out of UV using JSON, which allows
massive amounts of structured data to be moved into and out of the
environment.

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