RE: [U2] cron/printer memory segment removed message

2008-01-07 Thread Doug Chanco
Oh we got lots of em   once I get all the cron jobs using the
c program uvcron this error should quit happening, thanks to all for
responding!

Dougc


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Hester
Sent: Monday, January 07, 2008 3:04 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] cron/printer memory segment removed message

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Doug Chanco
 
 Hey all,
 
  It is possible to NOT have universe (I assume its universe)
 generate the
  
 
 PRINTER memory segment removed
  
 
 message?  Root (and yes I know its bad but its how they have 
 always done
 things here, which I am slowly trying to change) gets a lot of these
 message from cron

That's typically the message you get from UV when the prior UV process
for that user terminated abnormally.  It's useful info in that regard
since it's telling you something's wrong.  Any chance you still have
some UV cron jobs running in the foreground?

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

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] IP address in LISTUSERS command

2008-01-11 Thread Doug Chanco
Whats the OS you are running on?  If some type of unix what do you get
when you do who (as far as IP addresses go)

Dougc


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett
Sent: Thursday, January 10, 2008 7:12 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UD] IP address in LISTUSERS command

We're allowing external users to access our UD server.  When I run a
LISTUSERS
command I get
 
46 Demo (0)- LU
 
UDTNO USRNBR  UID USRNAME   USRTYPE  TTYIP-ADDRESSTIME DATE
  1   3448 197626 support1  phantom pts/1   Console   23:16:33 Dec
15 2007
  2   1808 197712 username1 udt pts/2   xx.xx.xx.xx   08:03:41 Jan
10 2008
  3   3116 197802 username2 udt pts/3   xx.xx.xx.xx   13:30:28 Jan
10 2008
  4496 197678 username3 udt pts/4   xx.xx.xx.xx   07:07:09 Jan
10 2008
  5   1136 197739 username4 udt pts/5   xx.xx.xx.xx   13:23:25 Jan
10 2008
  6236 197779 username5 udt pts/6   xx.xx.xx.xx   12:37:04 Jan
10 2008
  7   1840 197631 support2  udt pts/7   192.168.1.52  14:00:56 Jan
10 2008
  8   2232 197629 support3  udt pts/8   xx.xx.xx.xx   13:57:05 Jan
10 2008
 17   2492 197625 uobjects  udt pts/17  udcs  14:01:36 Jan
10 2008
 46   2852 197626 admin1udt pts/46  192.168.1.101 13:16:01 Jan
10 2008
 47384 197775 username6 udt pts/47  xx.xx.xx.xx   13:19:42 Jan
10 2008

where xx.xx.xx.xx are different IP addresses.
 
 
Why are some of the reported IP addresses internal Class C network
addresses?   The
support2 (port 7) and support3 (port 8) users are connecting from the an
internal
network within the same office behind a cable modem.  I'm connecting as
admin1
(port 46) from my local office through a network behind my cable modem.
192.168.1.101 is my internal network IP address.  I'm confused.  Can
anyone explain?
 
Thanks,
 
Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] universe errors

2008-01-15 Thread Doug Chanco
Hey all,

I fixed all our root running cron jobs by replacing uv with uvcron (
a c program) which got rid of all the



A fatal error has occurred in UniVerse.

Unable to re-open operating system file 

Error code   2





Errors but I am still getting (very seldom though) the below error



PRINTER memory segment removed



What could still be causing this printer memory segment error if my root
cron jobs are not terminiating?



Also we stop and restart universe each night and when we do I get the
following error



An error has occurred during uniVerse initialization

Please contact the system administrator

Error code:  2   2



Any thoughts/ideas/suggestions welcome



Thanks



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


RE: [U2] universe errors

2008-01-17 Thread Doug Chanco
Jerry is right on 10.1 on aix I get

# uv -admin -info
uv [ -admin option]
-c{learshm} clear BASIC catalog bit.
-start  start uniVerse.
-stop   shutdown uniVerse.
-L{ock} Suspend file I/O.
-R{eport}   Current suspension status.
-U{nlock}   Unsuspend file I/O.


Dougc


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jerry Banker
Sent: Thursday, January 17, 2008 9:04 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] universe errors

Those options are not available on the 10.1 and 10.2 we are running,
what are they suppose to do?

Jerry Banker
Senior Programmer Analyst
IBM Certified Solutions Expert
Affiliated Acceptance Corp
Sunrise Beach, MO
1-800-233-8483
www.affiliated.org

 -Original Message-
 From: Ray Wurlod [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 16, 2008 8:25 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] universe errors
 
 What do you get back from uv -admin -info and uv -admin -lic_report
 (1) when UniVerse is stopped?
 (2) when UniVerse is running?
 
  - Original Message -
  From: Doug Chanco [EMAIL PROTECTED]
  To: u2-users@listserver.u2ug.org
  Subject: [U2] universe errors
  Date: Tue, 15 Jan 2008 16:07:45 -0500
 ---
 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/

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] IBM increasing work force for U2

2008-01-27 Thread doug chanco

Maybe he was really really good and they have a HUGE pair of shoes to fill?

dougc


David Wolverton wrote:

Are all those ads really just to fill the one position left open when Adam
VanBeek moved to another IBM position?

  

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Jerry Banker

Sent: Friday, January 25, 2008 8:09 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] IBM increasing work force for U2

Has anyone noticed that IMB is increasing their number 
technical marketing IT specialists for U2? A good, very good, sign.




http://hotjobs.yahoo.com/job-search?locations=industry=kw=Un
iverse+Uni
data


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

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


[U2] question(s)

2008-02-06 Thread Doug Chanco
Hey all,

I am back to re tooling my mind from jBASE to Universe (although
one question is not vendor specific)



1.  In universe how can I tell what type of pick file I am looking
at (type 2,3,4,5,6, etc )
2.  I am getting a few (very few) PRINTER MEMORY SEGMENT REMOVED
errors in root's emails but the few I am getting (roughly 3 a day) I
cannot seem to figure out what's causing them.  All our root cron jobs
are either using uvcron or PHANTOM to start the universe program.
3.  does anyone have a suggestion on RANDOMLY (or as random as
possible) a way to SELECT a file?  I am trying to get @ 500 RANDOM
records from a file with 850,000 items.  I have some ideas such as
selecting the entire file and then every x records do some math
operation and if even use this record but since I am a pup compared to
some of you I have been doing pick forever vets out there I thought I
would throw this out and see what comes back.



The keys look like



51037517

51037516

15312939

51037518

15312936

51037519

51037512

51037513

51037515

14137791

51037514

51037510



Thanks everyone!



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


RE: [U2] question(s)

2008-02-06 Thread Doug Chanco
Thanks a million everyone!

Great answers/suggestions/thoughts!

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


RE: [U2] Web Developer Needed Full Time ***REVISED***

2008-02-08 Thread Doug Chanco
I see this a goofy Friday (which is good, I needed the laughs)

Thanks all!

dougc

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louie Bergsagel
Sent: Thursday, February 07, 2008 8:52 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Web Developer Needed Full Time ***REVISED***

New Mexico?  Try Texas, Nebraska and Kansas are the top 3.  New Mexico
is #
21.

I was surprised to see Montana at only #13.

Minnesota has more cattle than Montana.  I'm surprised they don't all
fall
in the 14,000 lakes.

http://www.cattlerange.com/cattle-graphs/all-cattle-numbers.html


On Feb 7, 2008 4:32 PM, Allen E. Elwood [EMAIL PROTECTED] wrote:

 I saw penn, and figured it must be a cow penn, and ergo...new
 mexicoBrilliant

 ;)

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Larry Hiscock
 Sent: Thursday, February 07, 2008 15:26
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] Web Developer Needed Full Time ***REVISED***


 Hmmm ... University of PENNSYLVANIA ... Must be in ... NEW MEXICO?
;-)


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Glen
Batchelor
 Sent: Thursday, February 07, 2008 2:17 PM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] Web Developer Needed Full Time ***REVISED***

 Can you at least put the state in which the position is in?
 Country/state/city would be ideal.

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

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-u2-
  [EMAIL PROTECTED] On Behalf Of Mathew Varghese
  Sent: Thursday, February 07, 2008 4:44 PM
  To: u2-users@listserver.u2ug.org
  Subject: [U2] Web Developer Needed Full Time ***REVISED***
 
   Please disregard initial posting for job# 080123810 description
  and requirements *
 
  Title
  PROGRAMMER ANALYST SR
 
  School Name
  University of Pennsylvania School of Veterinary Medicine (58)
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/




-- 
-- Louie

 The only function of economic forecasting is to make astrology
look
respectable.

 -- John
Kenneth Galbraith


http://louieinseattle.blogspot.com/ (updated 1/27)
http://www.cafepress.com/louieinseattle
http://www.louisbergsagel.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Send regular Windows file with AccuTerm

2008-02-12 Thread doug chanco

sure use FT

see below for an example (the PICK file I sent it to is a type 19 unix 
directory type file)


FT

AccuTerm File Transfer Utility


(S)end, (R)eceive, (C)onfigure, (O)ptions, (H)elp or (E)xit ? R

File transfer protocol: (A)SCII or (K)ERMIT ? K

Enter source (DOS) directory (d:\directory): c:\windows\system32

Enter source (DOS) file name (file.ext): putty.exe

Enter target (PICK) file name: DOUG.BP

Enter target (PICK) item list: putty.exe


Transfer status: Successful transfer.
Transferred 1 items, 207782 bytes.


dougc



Gabe Green wrote:

Hi all,

Is there a way with AccuTerm's standard file transfer utilities to 
transfer a binary Windows file (say, an .exe or a .mp3 or whatnot) to 
the host?


I know you can transfer Universe files and Items, but it would be nice 
to be able to transfer regular Windows files as well.


Thanks,
Gabe
---
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] SLEEP 60 slept only 53 seconds, or else TIMEDATE() is wrong

2008-02-14 Thread Doug Chanco
Hey all,
Where on IBM's massive web site can I find what was fixed on what
version of universe?

This thread got me wondering if some weird issues I have seen have
already been fixed on a new versions of universe (we are running on AIX
if that matters)

As well as what new features have been added to new versions of universe

Thanks!

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


Re: [U2] is there anybody out there ?

2008-02-20 Thread doug chanco

I think its up

dougc


gerry-u2ug wrote:

Is the list down or have I once again been unsubscribed ?
---
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] test for a unix file?

2008-03-03 Thread doug chanco
I have not had time to test this with lots of files BUT you can try it 
(I think it will be much faster than what your doing in your code BUT I 
may be wrong)

anyway what I did was create a simple shell script that you call with a 
FULLY pathed file name (unless you are in the directory that you want to 
check) and it will return a 1 if it exists or a 0 if it does not

Below is the shell script

*#!/usr/bin/ksh

if (test -e $1)
then
   echo '1'
else
   echo '0'
fi*

*exit
end shell script

and below is a sample run

$ ./testit ./testit1  == this file does NOT exist
0
$ ./testit ./testit  == this file DOES exist
1

now all you have to in your basic code is

CMD = 'sh -c testit ':FILE.TO.TEST:''
EXECUTE CMD CAPTURING RESULTS

one thing you may have to do is remove any unix line feeds before you 
compare the results, if  RESULTS = 1 does not match and you know the 
file exists

IF RESULTS = 1 THEN
  PRINT 'file exists '
END ELSE
  PRINT ' file does not exist s'
END

well you get the idea, I think it will be much faster

hope that helps

dougc

*
ps

you may have to modify the first line of the shell script if your ksh is 
in a different location (which ksh will tell you where its located)


Scott Ballinger wrote:
 I have a standard subroutine that I use in UV BASIC when I need to check for
 the existence (or non-existance) of a unix file:

  FILE.TEST.SUB
 0001 SUB(FILENAME,ANS)
 0002 * return ans = 1 if filename exists
 0003 * redirect to bit bucket to suppress 'not on file' msg
 0004 * filename includes full path to file
 0005 EXECUTE SH -c 'ls -d :FILENAME: 2 /dev/null' CAPTURING XXX
 0006
 0007 FN = FILENAME
 0008 CONVERT \ TO  IN FN  ;*  in case we escaped any special characters
 0009
 0010 IF XXX1 EQ FN THEN ANS = 1 ELSE ANS = 0
 0011
 0012 RETURN
 0013

 It works fine, but seems pretty slow, particularly if I am churning though
 thousands of tests (like from a big select list).
 Can anyone suggest a faster/more efficient way to test if a unix level file
 exists from inside UV BASIC ?

 Thanks,
 /Scott Ballinger
 Pareto Corporation
 Edmonds WA USA
 206 713 6006
 ---
 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] test for a unix file?

2008-03-04 Thread doug chanco
From the below statement I think Scot is using universe and I don't 
think DIR is available in UV


I have a standard subroutine that I use in *UV* BASIC

dougc

Bill Haskett wrote:

Scott:

DIR() is a UniData BASIC command to get the size and date/time modified info 
from an
O/S level file or directory .

Bill

  

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Scott 
Ballinger

Sent: Tuesday, March 04, 2008 8:28 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] test for a unix file?

Thanks all; test -e (for files) or test -d (for directories) seems to be
what I was looking for.
What is DIR() ?
I don't find it in HELP BASIC DIR and it won't compile (no matter how I use
it I get array DIR never dimensioned).

/Scott

On Tue, Mar 4, 2008 at 6:33 AM, David A. Green 
[EMAIL PROTECTED]

wrote:



I use DIR() Function.

Thanks,
David A. Green
www.dagconsulting.com
(480) 813-1725
  

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

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


[U2] UV 10.2.8 for linux?

2008-03-21 Thread Doug Chanco
So far all I can find is 10.2.8 for windows, is a linux version coming
out or can I just not find it on the web site?



Thanks,

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


[U2] error question

2008-04-03 Thread Doug Chanco
Hey all,

 I am pretty sure this is a out of memory/stack space type error but
I was hoping someone could tell me where I can find the fault types and
if there is a way to use the address that the error returned to get
where the code was when it blew up?



below is the error



Abnormal termination of UniVerse. Fault type is 11. Layer type is BASIC
run machine. Fault occurred in BASIC program FREE.LOC at address 4c4



Thanks all



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


[U2] TCL Command stacker

2008-04-15 Thread Doug Miller
Is anyone aware of any software that controls the command stack at 
TCL?  I am sure there are versions people have written before and I 
have not encountered any myself yet in my searches.


We have a site who is interested in migrating from one database that 
allows use of arrow functions to edit the command stack to a more 
traditional environment that use the typical . commands.  IE .L .C .X etc.


They would prefer to continue to use just the arrow keys.  Much like 
Linux allows you to control the OS command stack.


Thank you,

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


RE: [U2] TCL Command stacker

2008-04-16 Thread Doug Miller

Yes, thanks all.  This looks promising.  -Doug
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] TCL Command stacker

2008-04-17 Thread Doug Miller
I know  That is why I said it looked promising. :-)  IE was able 
to get it to work but it was definitely not ready to be recommended 
until I understood the nuances.


Thanks for the heads up,

Doug

At 04:18 PM 4/16/2008, you wrote:
Before you propose to a customer, make sure their terminal emulator 
and COMMAND.EDITOR play well together.


I guess there are some tricks to smooth out things between AT2k and 
COMMAND.EDITOR.  I put COMMAND.EDITOR ON ALL in my login PA and 
that was the end of my cursor keys and num pad.


fwiw

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


Re: [U2] version control

2008-04-18 Thread doug chanco

Hello,
   can I get a copy I am definitely interested as we too are moving to 
subversion


thanks

dougc

Edward Brown wrote:

Hello,

Have followed this thread with some interest as we've recently moved to
Subversion. This hosts VB6 and unidata source code / dicts / various
control data for a fairly large set of products.

Subversion has met our expectations; we'd dabbled with sourcesafe before
but never really had a revision backup strategy.

In general, we've found it best to (sorry for stating the obvious with
some of these!):
 - Have as much data in directory files as possible, adding a 'normal'
unidata file to subversion does not allow for proper control over each
item within that file
 - Settle on the repository layout at the start - in our case, taking
(mostly enforced) advice from subversion users elsewhere in the company
and adapting to our local needs. We have separate repositories for each
product group with top level 'branches', 'tags'  'trunk' nodes. Bug
fixes go into the 'branches' area, each bug being a copy of the trunk.
Tags contains snapshots of the trunk at release points.

- Branches
  - Bug1
- (structure)
  - Bug2
- (structure)
- Trunk
  - (structure)

Within (structure) we hold essentially a small unidata account, we
develop in another account with pointers back to the subversioned area.
This allows a mixture of content kept under source control plus data 
local settings that we'd not want cluttering up subversion.

Lastly, when switching branches it can take a long time to recompile /
recatalog the unibasic code; I've written a utility that detects changes
by comparing object  source date and just compiles what's needed. For
us, it reduces a 5 - 10 minute task down to just a few seconds, and is
quick enough to use regularly during development if several programs are
being edited. I can make the source available if anyone's interested?

Edward


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
Sent: 18 April 2008 13:26
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] version control [AD]

Hello Group.
Of course I'll barge in - just in case there's anyone who doesn't know!
-
that there is a solution for change control right within U2.  PRC of
course.
Changes are tracked automatically without any extra steps.  All the
traditional support, backup copies, merge tools, history/research full
audit.  Source program files but also dictionaries, control data - even
actual data to support emergency data edits.   PRC is also a complete
framework for implementing IT controls that are visible and flexible.
Immediate SOX/other regulatory compliance in a snap.

Just in case you didn't know!  More information at sjplus.com - or drop
me
an email.


Regards,
Susan Joslyn
SJ+ Systems Associates, Inc.
PRC(r) Real software configuration management for U2!




  

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of David Beahm

Sent: 16 April 2008 21:22
To: u2-users@listserver.u2ug.org
Subject: [U2] version control

We are looking to add our UniData/SBClient environment to 
Subversion, and wanted to get advice from anyone who has done s
something similar (CVS, etc.)  Searching through past posts, 
I found Brian Leach's note about generating DICT items from 
scripts, which I quite like; I suspect there are more ideas 
like that around.


First, however, we need to come up with a suitable repository 
structure.  We have a number of live, proto, and development 
accounts on one box (HP-UX).  We have some universally shared 
directory files, but most files are unique to each account.


To begin with, we are wondering whether it would be best to 
have individual repositories for each account, or whether 
there should be one repository with relative paths for each 
account, or whether each account should be a different branch, etc.


Suggestions welcome, however we are want to standardize on 
one solution

-- Subversion.

Thanks,
David Beahm
---

 


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.1/1384 - Release Date:

4/17/2008
3:47 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
Please remember to recycle wherever possible. 
Reduce, reuse, recycle, think do you need to print this e-mail?

---
This e-mail and any attachment(s), is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the addressee, dissemination, copying or use of this e-mail or any of its content is prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail, any attachment(s) and any copies. All liability for viruses 

[U2] Scientific Notation

2008-04-18 Thread Doug Farmer
Good Day All!

Does anyone know of a UniData function or ICONV option to convert
scientific notation to a decimal number.

We are receiving some numbers in an XML packet from a 3rd party where
sometimes Scientific Notation is used, instead of a decimal value.

For example, instead of 5 cents coming in from the XML as .05, the XML
contains 4.89E-02.  This is due to a percentage
calculation in a SQL data base.  There is no way I can change the XML
Generation software, so I must deal with it on the UniData side.

Thanks

Doug


This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses. Any views and/or opinions expressed in this e-mail are of the author 
only and do not represent the views of Epicor Software Corporation or any other 
company within its group.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Scientific Notation

2008-04-18 Thread Doug Farmer
Ah, you had my hopes up.

But

X = '4.89E-02'
PRINT OCONV(OCONV(X,'MCN'),'MR2')

Gives me

489.02 

It should come back as .05 (after rounding)
 
Doug



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mecki
Foerthmann
Sent: Friday, April 18, 2008 3:54 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Scientific Notation

OCONV(OCONV(var,'MCN'),'MR2') should do the trick.




Doug Farmer wrote:
 Good Day All!

 Does anyone know of a UniData function or ICONV option to convert 
 scientific notation to a decimal number.

 We are receiving some numbers in an XML packet from a 3rd party where 
 sometimes Scientific Notation is used, instead of a decimal value.

 For example, instead of 5 cents coming in from the XML as .05, the 
 XML contains 4.89E-02.  This is due to a percentage 
 calculation in a SQL data base.  There is no way I can change the XML 
 Generation software, so I must deal with it on the UniData side.

 Thanks

 Doug
 

 This e-mail is for the use of the intended recipient(s) only. If you
have received this e-mail in error, please notify the sender immediately
and then delete it. If you are not the intended recipient, you must not
use, disclose or distribute this e-mail without the author's prior
permission. We have taken precautions to minimize the risk of
transmitting software viruses, but we advise you to carry out your own
virus checks on any attachment to this message. We cannot accept
liability for any loss or damage caused by software viruses. Any views
and/or opinions expressed in this e-mail are of the author only and do
not represent the views of Epicor Software Corporation or any other
company within its group.
 ---
 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/


This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses. Any views and/or opinions expressed in this e-mail are of the author 
only and do not represent the views of Epicor Software Corporation or any other 
company within its group.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Unidata @LOGNAME

2008-04-24 Thread Doug Miller

At 08:12 AM 4/17/2008, you wrote:

Under Unidata 7.1.x on Solaris (9/10) we're seeing @LOGNAME truncated to 8
characters.  Others on different OSes are not seeing this behavior.  Does
anyone know if this is a Unidata setting or how Unidata is interacting with a
system call (eg: and therefor cannot be changed)?


Sorry I am a little late in replying.  Here is a bit of information I 
was able to gather from a IBM engineer some time ago when we 
encountered problems with the value returned as well.


@LOGNAME is implemented as a global variable for the udt process. It returns
the same value in both ECL and UniBasic. And it is implemented the same on
all Unix platforms.

@LOGNAME is set by calling cuserid(LOGNAME). However, we have implemented
our own cuserid()function since 08/08/94.


static int U_myuidflag = 0;
static char U_myuidbuf[256] = {0};

char *cuserid(buffer)
d_char buffer[];
{
int uid;
char *p;
struct passwd *pw;

if (U_myuidflag == 0) {
if ((p = getlogin()) == (char *) 0 || p[0] == '\0') {
uid = getuid();
pw = getpwuid(uid);
if (pw != (struct passwd *) 0)
p = pw-pw_name;
else
p = (char *) 0;
}
if (p != (char *) 0)
strcpy(U_myuidbuf, p);
else
U_myuidbuf[0] = '\0';
U_myuidflag = 1;
}

if (buffer != (char *) 0) {
strcpy(buffer, U_myuidbuf);
return (buffer);
}
else {
return (U_myuidbuf);
}
}

Here is output from man page aboput getlogin:

DESCRIPTION
 The getlogin() function returns a pointer to the login  name
 as  found  in  /var/adm/utmp.  It may be used in conjunction
 with getpwnam(3C) to locate the correct password file  entry
 when the same user ID is shared by several login names.

 If getlogin()  is  called  within  a  process  that  is  not
 attached  to  a  terminal,  it  returns  a null pointer. The
 correct procedure for determining the login name is to  call
 cuserid(3S),  or  to call getlogin() and if it fails to call
 getpwuid(3C)


BTW, the implmentation on NT is different and it is much more complex to
describe here.


HTH,



Doug Miller  
---

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


[U2] passing file pointers?

2008-05-02 Thread Doug Chanco
Hey all,

   In universe 10.1 how can I verify that a file pointer passed via a
subroutine param is valid?  I have  a subroutine that is called with
several file pointers but it is possible to be called without opening a
file and the subroutine would check if the file pointer is empty and if
so open the file.



The problem is that my check



IF F.PTR = '' THEN



Is erroring out with a invalid data type error message when the file
pointer is passed in (instead of being null).  I know that I can make
all the calling programs open the needed files BEFORE calling the
subroutine BUT if its possible to somehow have the subroutine check and
open it if its (empty the file pointer), I would prefer to do that.



Thoughts/suggestions welcome



Thanks!



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


RE: [U2] passing file pointers?

2008-05-04 Thread Doug Chanco
All GREAT points but when you are dealing with old code that they want to
just maintain and NOT enhance this is the kind of situations you have to
deal with.  I COMPLETELY agree with you but sadly my company is moving to a
vb.net front end and maintaing the green screen side of the system has a
incredibly low priority.

anyway thanks to everyone for their responses and ideas they are all
appriciated!

thanks everyone

dougc
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ross Ferris
Sent: Sunday, May 04, 2008 8:33 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] passing file pointers?

Wouldn't even BETTER practice be to just ensure that the file is open in
the calling program?

If this is a well used routine that is called for a couple of million
records, then even the overhead of this simple check can quickly mount.

Whilst I agree that it is good that code should try  catch errors, I
think that this is a classic example of where the real fix is to fix
the problem that is in the calling routine  removes a whole error
trap routine (what DO you do if the file isn't open  this is in the
middle of a batch update?) that shouldn't exist in the first place.

YMMV

Ross Ferris
Stamina Software
Visage  Better by Design!


-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-u2-
[EMAIL PROTECTED] On Behalf Of David Jordan
Sent: Sunday, 4 May 2008 10:11 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] passing file pointers?

Use the Fileinfo routine.

If fileinfo(fv,1) =   (if 0 not open, if 1 open)

This checks that is a valid file that is open.

This is good practice to test the file is open before opening, as
reopening
the file clears all previous record locks held on that file by that
user
and
can cause fatal errors when using transaction boundaries

Regards

David Jordan
---
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/
 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3072 (20080503) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3072 (20080503) __

The message was checked by ESET NOD32 Antivirus.

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


Re: [U2] Record Locking Problems

2008-05-07 Thread doug chanco

why not do a READU using the LOCKED clause?  Something like

READU ORDER.ITEM FROM F.ORDER LOCKED
   PRINT 'record is locked ..'
   INPUT JUNK
END ELSE
   * I got the record AND locked it, so do my thing .
END

you could even loop around a couple of times to see if the lock releases 
and after x times inform the user that the record is locked ...


dougc


Brutzman, Bill wrote:

I am trying to make sure that if one Customer.Service rep is updating a
Sales Order, then the other Cust.Svc rep is 
blocked from accessing the same record.


The following code will indicates that the record is locked but when the 2nd
user goes in (in an independent session), the second user gets in no
problem.

Since it does not seem to do what I think that it should, [1] I am wondering
if I am missing something.  [2] I am inclined to create a file to handle
this (brute force) with multivalues for user, port, time, date, program,
file, record.

Comments would be appreciated.

--Bill



  SUBROUTINE SUB.LOCK.SOH.R0 ( Record.ID, Error.Code )

  prompt ''

  open 'SOH' to F.This.File  else  gosub  Error.Opening.File

  gosub Lock.And.Hold

  goThe.End

*---
--
*---
--
Lock.And.Hold:

  Lock.Test = recordlocked (F.This.File, Record.ID) 

 crt '**11 Lock.Test ' : Lock.Test : '  [] ' 
 input Ans


  begin case
case Lock.Test =  0  ;  recordlocku F.This.File, Record.ID   
case 1   ;  gosub Error.Record.Locked 
  end   case


 Lock.Test = recordlocked (F.This.File, Record.ID) 

 crt '**12 Lock.Test ' : Lock.Test : '  [] ' 
 input Ans


return

*---
---
Error.Record.Locked: 

  Lock.Test = recordlocked (F.This.File, Record.ID) 
 
  crt '**13 Lock.Test ' : Lock.Test : '  [] ' 
  input Ans


  Error.Code = 'E'


  crt @(-1)
  crt @(-5)

  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt '' : @(-6)
  crt
  crt ' ___  '
  crt ' \  \ ' 
  crt '  \   Error, Record Locked   \'

  crt '   \__\Try Later  '
  crt '  '
  crt '  '

  crt '  [X]  ' 
  crt '   '   :


  input Ans, 1
Ans  = upcase(Ans)

  begin case
case Ans = 'X'  ;  null
	case 1  ;  go Error.Record.Locked 
  end   case


return 


*---
---
Error.Opening.File:

  crt @(-1)
  crt @(-5)

  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt '  Big Problem...' : @(-6)
  crt
  crt ' _  '
  crt ' \\  SOH'
  crt '  \   Error Opening File   \'
  crt '   \\Contact HK.IT  '
  crt '   [X]  ' 
  crt ''   :


  input Ans, 1
Ans  = upcase(Ans)

  begin case
case Ans = 'X'  ;  null
	case 1  ;  go Error.Opening.File   
  end   case
  
return to The.End


*---
---
The.End:

  RETURN
  END
---
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] Record Locking Problems

2008-05-07 Thread doug chanco

From the universe documentation

Description
Use RECORDLOCK statements to acquire a record lock on a record without 
reading the record.


Description
Use the RECORDLOCKED function to return the status of a record lock.

I too may be missing something but why get a lock on a record without 
reading the record and why check if a record is locked before trying to 
read/lock it when READU does all that for you?


it seems to me that the code could be simplified by using a READU which 
tests if the record is locked and locks it for you if its not.


I am certainly NOT trying to change anyone's coding style, I am just 
curious ..


dougc



Bessel, Karen wrote:

I think he's using the recordlocked and recordlocku syntax to illustrate
his problem. From the documentation that I've read on those two commands
(which I'd never seen before today), this should work. 






Karen Bessel
Software Developer

Tyler Technologies, Inc.
6500 International Parkway, Suite 2000
Plano, TX 75093
Phone: 972.713.3770 ext:6227
Fax: 972.713.3777 
Email: [EMAIL PROTECTED]

Web: http://www.tylertech.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, May 07, 2008 10:34 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Record Locking Problems

I feel I am missing something.  Why is a READU LOCKED not used?

Bruce M Neylon
Health Care Management Group 




Brutzman, Bill [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]

05/07/2008 11:00 AM
Please respond to
u2-users@listserver.u2ug.org


To
'u2-users@listserver.u2ug.org' u2-users@listserver.u2ug.org
cc

Subject
[U2] Record Locking Problems






I am trying to make sure that if one Customer.Service rep is updating a
Sales Order, then the other Cust.Svc rep is 
blocked from accessing the same record.


The following code will indicates that the record is locked but when the

2nd
user goes in (in an independent session), the second user gets in no
problem.

Since it does not seem to do what I think that it should, [1] I am 
wondering

if I am missing something.  [2] I am inclined to create a file to handle
this (brute force) with multivalues for user, port, time, date, program,
file, record.

Comments would be appreciated.

--Bill



  SUBROUTINE SUB.LOCK.SOH.R0 ( Record.ID, Error.Code )

  prompt ''

  open 'SOH' to F.This.File  else  gosub  Error.Opening.File

  gosub Lock.And.Hold

  goThe.End

*---

--
*---

--
Lock.And.Hold:

  Lock.Test = recordlocked (F.This.File, Record.ID) 

 crt '**11 Lock.Test ' : Lock.Test : '  [] ' 
 input Ans


  begin case
case Lock.Test =  0  ;  recordlocku F.This.File, Record.ID 
case 1   ;  gosub Error.Record.Locked 
  end   case


 Lock.Test = recordlocked (F.This.File, Record.ID) 

 crt '**12 Lock.Test ' : Lock.Test : '  [] ' 
 input Ans


return

*---

---
Error.Record.Locked: 

  Lock.Test = recordlocked (F.This.File, Record.ID) 
 
  crt '**13 Lock.Test ' : Lock.Test : '  [] ' 
  input Ans


  Error.Code = 'E' 


  crt @(-1)
  crt @(-5)

  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt '' : @(-6)
  crt
  crt ' ___  '
  crt ' \  \ ' 
  crt '  \   Error, Record Locked   \'

  crt '   \__\Try Later  '
  crt '  '
  crt '  '

  crt '  [X]  ' 
  crt '   '   :


  input Ans, 1
Ans  = upcase(Ans)

  begin case
case Ans = 'X'  ;  null
 case 1  ;  go Error.Record.Locked 
  end   case


return 


*---

---
Error.Opening.File:

  crt @(-1)
  crt @(-5)

  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt
  crt '  Big Problem...' : @(-6)
  crt
  crt ' _  '
  crt ' \\  SOH'
  crt '  \   Error Opening File   \'
  crt '   \\Contact HK.IT  '
  crt '   [X]  ' 
  crt ''   :


  input Ans, 1
Ans  = upcase(Ans)

  begin case
case Ans = 'X'  ;  null
 case 1  ;  go Error.Opening.File 
  end   case
 
return to The.End


*---

---
The.End:


RE: [U2] Record Locking Problem

2008-05-08 Thread Doug Chanco
Your welcome BUT what does IBM need to fix?  To me at least when a
program sets a lock and then closes the file the lock should go away
.  if that's what needs to be fixed  I for one hope they don't
as I work on a  lot of old crappy code that would seriously break were
locks to be held open when a file is closed 

If this is not what you meant please forgive me

dougc 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Thursday, May 08, 2008 3:14 PM
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] Record Locking Problem

Thanks to all those who responded, especially Rich Taylor.

Perhaps IBM will fix this someday.

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

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] blink questions

2008-05-12 Thread doug chanco
Thanks for the info BUT what kind of error will one see (i.e. does the 
system crash or display a blink specific error message?)


and how would one fix a blink error?

thanks!

dougc

Robert Houben wrote:

Blink is short for Backward link.  Two blocks of random memory that represent a 
logically contiguous object that is = two blocks large will have header data that point 
to each other.  The first will have a forward link to the second and a zero in the backward 
link to indicate it's the first in the chain.  The second will have a forward link of zero 
(no more blocks) and a backward link to the first.  If the second block does not point back 
(is zero or references a different block), this implies that something has gone really, 
really wrong with the memory management of the system.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of doug chanco
Sent: Monday, May 12, 2008 12:00 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Blink Error - Dictionary Related

For those of us new to universe (or have never heard of it) what exactly
is a blink error

thanks

dougc

Martel, Henry wrote:
  

I have a situation were I have a Prod box and a Dev Box both with Universe 
installed.

On the Prod box we have a samba share that is pointing to the Dev box and we 
have voc entries pointing to Dev files.

But when I execute a command such as:  Copy from file to Test.file

The records will copy over to the Dev box, but it always results in a Blink 
error.

Has anyone experienced this or know how to fix it?

Henry M.
Database Administrator

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bessel, Karen
Sent: Friday, May 09, 2008 3:57 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Blink Error - Dictionary Related

A client is experiencing a blink error when using a certain I-descriptor in a 
SORT, but not in a LIST or SELECT.



I can't copy the code into the post because of copyright purposes, but this is 
the dictionary item:



0001: I

0002: IF CASE.PERSON.ID #  THEN
SUBR(CJ.READ.PERSON,CASE.PERSON.ID,1,) E

 LSE 

0003: S;*;*** No Defendant ***

0004: Defendant

0005: 30L

0006: S



The dictionary item referenced by the I-descriptor:



0001: A

0002: 1

0003: CASE.PERSON.ID

0004:

0005: M

0006:

0007:

0008:

0009: R

0010: 8

0011:

0012: COMMON



Attribute 1 should be single-valued but there are 27 records in this file that 
have multiple values in this field.  On our in-house system, we also have a 
handful of records that have multiple values in this field, and I can't 
recreate the problem here.



  


There are commons involved in the subroutine referenced by the I-descriptor.



This issue just came to me and the people who worked on it before did all of 
the data related things I would have done: searched for control characters, fix 
tool, deleted the file then recreated it, etc.



I don't know if I've provided enough information to explain the problembut 
has anyone seen this? If you've experienced an application-related blink error, 
I'd be interested in hearing from you.

















Karen Bessel
Software Developer

Tyler Technologies, Inc.
6500 International Parkway, Suite 2000
Plano, TX 75093
Phone: 972.713.3770 ext:6227
Fax: 972.713.3777
Email: [EMAIL PROTECTED]
Web: http://www.tylertech.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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

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


[U2] locking code question

2008-05-15 Thread doug chanco

hey all,
   we are beginning to use subversion for version control and I was 
wondering if there was good way to lock code besides the usual READU 
in a program or AE/EDing the record.


I would like to be able to lock the program when a user checks it out 
and while tyhe above methods would certainty work they seem a little 
hokey to me.


I was wondering about a way to manually set a lock on the locking table 
but if this is not possible/easy then I guess I will  just do one of the 
above, speaking of that is there any preference on any of the above 
methods for locking code?


thanks for any thoughts/suggestions

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


Re: [U2] locking code question

2008-05-15 Thread doug chanco

Brutzman, Bill wrote:

Doug:

Q1. What editor is in use... If it is a Samba or FTP editor like EditPlus, I
would expect locking to happen at the OS level.

  
we have developers that use ultra edit (a windows editor) vi (on both 
unix/windows) and some that like AE/ED as well as a couple using IBM's 
unidebugger

Q2. Is U2 the database for SubVersion?

  

I am not sure what you mean, we are storing u2 basic code in subversion

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of doug chanco
Sent: Thursday, May 15, 2008 1:04 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] locking code question


hey all,
we are beginning to use subversion for version control and I was 
wondering if there was good way to lock code besides the usual READU 
in a program or AE/EDing the record.


I would like to be able to lock the program when a user checks it out 
and while tyhe above methods would certainty work they seem a little 
hokey to me.


I was wondering about a way to manually set a lock on the locking table 
but if this is not possible/easy then I guess I will  just do one of the 
above, speaking of that is there any preference on any of the above 
methods for locking code?


thanks for any thoughts/suggestions

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

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


Re: [U2] locking code question

2008-05-15 Thread doug chanco
Sorry all maybe I was not clear, I am using subversion BUT would like to 
lock the code at the pick level at the same time that its checked out of 
subversion.


dougc

Israel, John R. wrote:

Maybe check sourceForge or some other Open Source site.  Or Google CVS
(Concurrent Versions System).

John Israel
Sr. Programmer/Analyst
Dayton Superior Corporation
721 Richard St.
Dayton, OH  45342
937-866-0711 x44380

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Thursday, May 15, 2008 3:32 PM
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] locking code question

The pricing link at Microsoft.com points to buying a copy of Visual
Studio
2008.  It looks like it is built-in.

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Israel, John R.
Sent: Thursday, May 15, 2008 2:47 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] locking code question


Yes and no.  Since basic program files are just Unix Dirs and the source
code is just text, you could map these files via Samba so that Windows
could see it cleanly and use it that way.  It might take a little
playing, but we did something like that and it worked to some extent.
Might not be the best way, but I thought I would throw it out.

There are similar Open Source products for Unix, though I have not had
experience with them.


John Israel
Sr. Programmer/Analyst
Dayton Superior Corporation
721 Richard St.
Dayton, OH  45342
937-866-0711 x44380

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Thursday, May 15, 2008 2:30 PM
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] locking code question

It appears that SourceSafe is a Microsoft product.  Thus, I expect that 
it would not be the best fit in a Unix shop.


--B

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Israel, John R.
Sent: Thursday, May 15, 2008 2:01 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] locking code question


I worked at a site that actually used SourceSafe to check in/out
programs.  This worked fairly well in a lot of ways, but it is a shift
in how source code is stored and accessed.  The nicest thing is the
historic versioning and comparing features.

John Israel
Sr. Programmer/Analyst
Dayton Superior Corporation
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

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


Re: [U2] locking code question

2008-05-15 Thread doug chanco
we COULD use source safe as Israel pointed if source code is kept in 
unix directories they can be samba mounted on a PC and then checked into 
and out of source safe.


The main issue I am trying to get resolved is to lock the record at the 
pick level , in case someone does nto check out a code and then tries to 
edit it when another developer already has it checked out, since most of 
our developers use a pick aware editor as long as the record was 
locked at the pick level, they would get a warning message, teh question 
is whats the best way to lock program x at the pick level?


1. I could AE/ED and lock it that way (programtically of course) but 
then how do I exit gracefully?
2. I could READU the item in a program and keep that program running 
forever (at least until the developer checks it back in then the program 
could terminate)
3. If I could somehow manage to modify the lock table to say that this 
item is locked and once checked in modify the lock table to release the 
lock (this is my preferred solution but I am not sure if its doable or 
if I have the skill to modify the locking table without corrupting it)

4. other iseas/suggestions?

thanks all

dougc


Israel, John R. wrote:

Yes and no.  Since basic program files are just Unix Dirs and the source
code is just text, you could map these files via Samba so that Windows
could see it cleanly and use it that way.  It might take a little
playing, but we did something like that and it worked to some extent.
Might not be the best way, but I thought I would throw it out.

There are similar Open Source products for Unix, though I have not had
experience with them.


John Israel
Sr. Programmer/Analyst
Dayton Superior Corporation
721 Richard St.
Dayton, OH  45342
937-866-0711 x44380

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Thursday, May 15, 2008 2:30 PM
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] locking code question

It appears that SourceSafe is a Microsoft product.  Thus, I expect that 
it would not be the best fit in a Unix shop.


--B

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Israel, John R.
Sent: Thursday, May 15, 2008 2:01 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] locking code question


I worked at a site that actually used SourceSafe to check in/out
programs.  This worked fairly well in a lot of ways, but it is a shift
in how source code is stored and accessed.  The nicest thing is the
historic versioning and comparing features.

John Israel
Sr. Programmer/Analyst
Dayton Superior Corporation
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

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


RE: [U2] execute code/proc question HELP!!!!!!!!

2008-05-22 Thread Doug Chanco
Yeah we discussed the separate account idea 9we did that at my last job)
but here its more difficult and for ,whatever reason people are against
it sigh

Your other idea is not bad, but then we would have to change it in any
calling programs BUT I suppose that may be the best I can get out of
universe.

Hopefully there is some super genius lurking around that might have some
additional thoughts (I hope)

Thanks for the response

Dougc

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kritan
Sent: Thursday, May 22, 2008 10:14 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] execute code/proc question HELP

The best would be to have a development account to separate the code. 
Without that option, the easiest would be to rename the program in
DOUG.BP 
to something a bit different (I.e. DOUG.DEV).  compile and catalog the 
original DOUG in EURO.BP and DOUG.DEV in DOUG.BP.  Users could run the 
original DOUG.  When you are done fixing DOUG.DEV, copy it over DOUG in 
DOUG.BP and recompile.

Steve

--
From: doug chanco [EMAIL PROTECTED]
Sent: Thursday, May 22, 2008 6:20 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] execute code/proc question HELP

 is there any way in Universe 10.x (running on AIX) to path how
universe 
 finds code to execute?  For example I have a program called

 DOUG in EURO.BP and copy it to DOUG.BP and compile/catalog it there,
so 
 that now the VOC entry points to DOUG.BP but I would like other users
to 
 be able to run the original version while I fix my version.

 For those familiar with jBASE this is easily solved by modifying each 
 users path to that they search for the object code in a specific
order.
 for example

 PATH=$PATH:/usr2/zircon/DOUG.O:/usr2/zirocn/EURO.BP.O

 this way it looks in DOUG.BP.O and if the object code is found
executes it 
 otherwise look in EURO.BP.O and if found there execute it.  Now all I
have 
 to do is modify other users PATH to NOT search DOUG.BP.O or move
EURO.BP.O 
 in front of DOUG.BP.O and it will find EURO.BP.O first (and stop
looking)

 I am hoping that there is something equivalent in universe or some way

 that I can duplicate this (I am even willing to look at doing it with

 basic code  if possible)

 ANY and ALL suggestions are welcomed!

 thanks

 dougc
 ---
 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/

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] speaking of MUG's

2008-05-22 Thread doug chanco
any close to NC?  I am very close to Raleigh and would be interested in 
joining one and/or starting one if anyone in the NC area is interested.


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


Re: [U2] execute code/proc question HELP!!!!!!!!

2008-05-22 Thread doug chanco

hmmm this is a very interesting idea ..

thank you very much, its not as elegant as the path command but I think 
it will do what I need


but if I understand it correctly there 2 things that have to be done

1. logic added to each program for this tester subroutine
2. the program would have to have a different name from the original program

while step one would be a lot of work, I can see it working  pretty well 
once the logic is in most of the programs


thanks!

dougc

Israel, John R. wrote:

Write a simple tester subroutine that passes the name of the
original/standard program.

This subroutine reads a control record that uses your
user_id:*CODETESTING as the key (thus unique to each user).  If not
found (which would be the case for most users), return the original
program name.  If found, do a LOCATE in F1 for the original program
name.  If not found, return the original program name.  If the original
program name IS found in F1, return the optional program name from the
associated position in F2 (if F2 is missing, return the original pgm
just in case).

F1 = multi-valued list of original pgms
F2 = multi-valued list of test pgms

Use the @ logic for doing a dynamic call to the returned pgm name.

Granted, this is a bit of work up front, but once you have this tester
subroutine written and the coded added to your program(s), you could
leave this test in place anywhere you want.  Add this logic as you need
it.  You just disable it by removing the program names from F1/F2.  If
this control record ever becomes empty, you could even delete it.

Optionally, you could do this test at login time and save the info in
some common named variable(s).  You just need to log out/in to reset
this stuff.

I have used something like this in the past and it worked VERY well.  By
using these control records, you can even give selected other users
access to this program for testing before rolling it out to the rest of
the world.  Just remember to delete the stuff from the control record(s)
once you switch it over.




John Israel
Sr. Programmer/Analyst
Dayton Superior Corporation
721 Richard St.
Dayton, OH  45342
937-866-0711 x44380

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


RE: [U2] Very slow (30min plus) to exit universe..

2008-05-27 Thread Doug Miller

At 08:58 AM 5/27/2008, you wrote:

What is the value of uvsync in uvconfig?
What's your Operating System?


My money is on this one as well.  A value of 1 for UVSYNC on the AIX 
platform is a known issue to cause 'hangs' on logout that last way to 
long.  You must set UVSYNC to 0 to correct the behavior.


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


[U2] UV 10.2/ AIX question

2008-05-29 Thread doug chanco
I see from the product matrix on IBM's web site that we should be able 
to run 10.2.x on AIX 5.2 (yes I know its kinda old)


is anyone aware of any specific UV (or AIX) reasons that we would want 
to upgrade to 5.3 before installing UV 10.2.x?


We NEED to upgrade I am just wondering if we HAVE to upgrade or if there 
is a compelling reason to upgrade the OS related to UV 10.2


the system is  a 570 (yep its old too)

thanks all,

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


[U2] group locks and user nbr's

2008-06-19 Thread doug chanco

Hey all,
   Can someone please help me understand the differences between group 
locks and record locks?  Also are high user numbers (Userno below) 
indicative of a phantom process?



*Active Record Locks:
Device Inode  Netnode Userno  Lmode   Pid Login Id Item-ID.
  3080194   38458010137   6 RU 32694 crumjo   61570..5

Active Group Locks:Record Group 
Group Group
Device Inode  Netnode Userno  Lmode G-Address.  Locks ...RD 
...SH ...EX
  30801943289350 53   1 RD935D800  0 1 
0 0


  3080194389951   27  63180   2 RD E17000  0 1 
0 0


*
one last question is there an easier way than finding out the file 
associated with the inode and then doing a fuser on that file to find 
out what is accessing the file?  For example I would like to know 
who/what is holding this group lock


* 3080194389951   27  63180   2 RD E17000  0 1 
0 0


*yet all I have is an inode and a userno of 63180 DOING a LISTU does NOT 
show anything with that userno


any and all assistance appreciated!

thanks,
dougc



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


Re: [U2] group locks and user nbr's

2008-06-19 Thread doug chanco
Thanks for the response!  I was more interested in matching a user to a 
lock than the file (I have a program that I can call that will return 
the file name if you pass it a inode), what I was hoping for was a 
better way of figuring out the user, instead of doing the following:


1.  convert the inode into a file name
2. do a fuser -u filename
3. parse the results of 2 to get the user name

while thats certainly do able I was hoping for a more elegant pick solution.

sorry for not including this earlier but we are on aix 5.2 and universe 10.1

But I am still a little confused on what would set a group lock (I 
understand the record locks) and why a group lock would need to be set 
and does it lock the entire file?


If we have a pick file called CONTROL and there is a group lock on the 
CONTROL file what I am curious about would be:


1. why would a group lock be set?
2. does it lock the ENTIRE file?
3. figuring out who set/has the group lock
4. how would it be set (I did not see any reference in the basic manual 
about setting group locks)

5. best way to release the lock

thanks again

dougc



Brian Leach wrote:

Doug

To take the first part of your question:

The lock table is used for application locks like READU and READL locks, and
also for synchronisation locks.

The RD and WR locks are synchronisation locks that control access to a group
in a file during a read or write operation. these should be transitory only
lasting milliseconds unless your system is stuffed or badly maintained.

The IN locks are information locks: these are not real locks but point to
the existence of a record lock somewhere in that group, to make for quicker
checking.

The record locks are those from Basic.
  


As for matching up with inodes that has been discussed here various times
before. If you are on UNIX you can use the ls -lsi command to list the
inodes associated with files if you have a rough idea where it is. You can
use find to locate the file with that inode. Under Windows inodes don't
exist, they are just emulated by UniVerse, so no help there.

Doing an ACCOUNT.FILE.STATS and a LIST.FILE.STATS will show you, but that
does take time: something to run overnight.

That user number could be a background process or a process that has died
part way through a read leaving a lock behind.

Brian

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


RE: [U2] group locks and user nbr's

2008-06-19 Thread Doug Chanco
Thanks!

Dougc

Ps

One other question (not related to locking).  I always think it's polite
to say thanks after getting good info from users on this list but I also
hate to increase email volume with a reply of thanks.

So is it better to not reply when you have the info you need (but assume
the person who replied knows that your grateful) or better to let the
person know you appreciate their taking the time to respond?  I want to
be grateful but at the same time not flood the list with thanks for the
info emails ...


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin Phillips
Sent: Thursday, June 19, 2008 10:42 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] group locks and user nbr's

Hi Doug,

Record locks protect your data records. Group locks protect the internal

pointers within the file.

A user program cannot directly get or release group locks but they come
and 
go automatically under the covers.

Group locks are of three types:

WR (write): very much like a READU, this allows a user exclusive access
to 
the group to perform an update. It is held for a brief moment while UV 
passes data to Unix to write.

RD (read): similar to a READL, any number of users can hold the same RD
lock 
at one time but no other user can own the WR lock while this is active.
RD 
locks are held while reading a group from the file.

IN (informational): Not really a lock at all. This is simply a counter
of 
how many record locks there are in the group and is used to improve 
performance.

Note that there is an oddity in UV that I have never understood
properly. 
The query processor holds an RD lock when it is on the Press any key to

continue prompt. If someone tries to write the the locked group, their 
process will hang until the user moves on to the next page. To partially

ease this situation, the query processor will release the RD lock after
five 
minutes (configurable with PAKTIME) and get it again when continuing
from a 
long wait. Quite why it holds a lock that it can get back anyway is a 
mystery to me.


Yes, high user numbers are phantom processes.

 one last question is there an easier way than finding out the file 
 associated with the inode and then doing a fuser on that file to find
out 
 what is accessing the file?

If you routinely use ACCOUNT.FILE.STATS to analyse your system, this
records 
inode numbers in its data file and is quite a useful reference. I have 
sometimes used a simple program that scans the VOC and builds a database
of 
file inode values.


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] unsubscribe u2-users

2008-06-25 Thread Doug Miller

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


[U2] How to tell if running a subroutine though RedBack

2008-06-25 Thread Doug Farmer
I have a need to call a standard subroutine from a RedBack application
call.  The subroutine is meant to be used in an interactive mode and can
prompt the user if there is an error in the data.  If the data is coming
from RedBack, I want to suppress the prompting and write the error to a
log file.

Is there any environment variable I can look at to tell if I am
executing under the RedBack API call?

Thanks

Doug


This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses. Any views and/or opinions expressed in this e-mail are of the author 
only and do not represent the views of Epicor Software Corporation or any other 
company within its group.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] How to tell if running a subroutine though RedBack

2008-06-25 Thread Doug Farmer
Thanks for the advice, but that is a UniVerse command and this is
UniData - Sorry I did not say that in the first place.

Doug



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Womack, Adrian
Sent: Wednesday, June 25, 2008 7:25 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] How to tell if running a subroutine though RedBack

Check the content of the @AUTHORIZATION system variable.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Farmer
Sent: Thursday, 26 June 2008 2:57 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] How to tell if running a subroutine though RedBack

I have a need to call a standard subroutine from a RedBack application
call.  The subroutine is meant to be used in an interactive mode and can
prompt the user if there is an error in the data.  If the data is coming
from RedBack, I want to suppress the prompting and write the error to a
log file.

Is there any environment variable I can look at to tell if I am
executing under the RedBack API call?

Thanks

Doug



DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the
intended recipient, please advise us by return e-mail immediately, and
delete the e-mail and any attachments without using or disclosing the
contents in any way. The views expressed in this e-mail are those of the
author, and do not represent those of this company unless this is
clearly indicated. You should scan this e-mail and any attachments for
viruses. This company accepts no liability for any direct or indirect
damage or loss resulting from the use of any attachments to this e-mail.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses. Any views and/or opinions expressed in this e-mail are of the author 
only and do not represent the views of Epicor Software Corporation or any other 
company within its group.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] How to tell if running a subroutine though RedBack

2008-06-27 Thread Doug Farmer
We found that just checking for a phantom seems to be what we need.  We
did not need to check for RedBack specifically.

Thanks for the help

Doug



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Edward Brown
Sent: Friday, June 27, 2008 12:26 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] How to tell if running a subroutine though RedBack

On Unidata this should work:


Use SYSTEM(49) to retrieve a text description of the call stack. Redback
must use an entry point subroutine to call through to your code, if this
is in the top line of the output then it's running under Redback.

Hth,

Edward


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Colin Alfke
Sent: 27 June 2008 17:44
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] How to tell if running a subroutine though RedBack

Actually - all it means is that the port is running in phantom mode.

Not sure if Redback has to be a phantom but certainly other things could
be.

YMMV
Colin Alfke
Calgary, Canada

-Original Message-
From: George Hammerle

I cannot find any documentation but in Unidata, @USER.TYPE = 2 indicates
that it is Redback.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


---
Please remember to recycle wherever possible. 
Reduce, reuse, recycle, think do you need to print this e-mail?

---
This e-mail and any attachment(s), is confidential and may be legally
privileged. It is intended solely for the addressee. If you are not the
addressee, dissemination, copying or use of this e-mail or any of its
content is prohibited and may be unlawful. If you are not the intended
recipient please inform the sender immediately and destroy the e-mail,
any attachment(s) and any copies. All liability for viruses is excluded
to the fullest extent permitted by law. It is your responsibility to
scan or otherwise check this email and any attachment(s). Unless
otherwise stated (i) views expressed in this message are those of the
individual sender (ii) no contract may be construed by this e-mail.
Emails may be monitored and you are taken to consent to this monitoring.


Civica Services Limited, Company No. 02374268; Civica UK Limited,
Company No. 01628868
Both companies are registered in England and Wales and each has its
registered office at 2 Burston Road, Putney, London, SW15 6AR.

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


This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses. Any views and/or opinions expressed in this e-mail are of the author 
only and do not represent the views of Epicor Software Corporation or any other 
company within its group.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] locking question

2008-07-01 Thread doug chanco

hey all,
 has anybody run across/seen an issue where a process sets a lock 
via READU and then when it tries to write back the record cannot because 
the record is locked but somehow lost the fact that the process trying 
to write the record is the process that created the lock?


I am not sure if this is even possible but we at are at a loss as to 
whats causing this lockup (which does not occur regularly but enough 
that its causing us concerns with our busy season coming around)


We had a lock up last night that LIST.READU EVERY showed that that a 
process was holding a lock and that the same process was failing on a 
write (in a program) and 'stuck' (yes we have old old old old old code 
that does not believe in a failure clause or the handling of a write 
failure).  Once I cleared the lock the process continued on its merry 
way ...


Now the obvious things I checked

1. that there were no other users logged in as that particular user (yes 
they sometimes login multiple times with the same user but we are 
forcing them to change that)

2. the PID's were indeed the same



system info:
aix 5.2.6

RELLEVEL
001 X
002 10.1.7
003 PICK
004 PICK.FORMAT
005 10.1.7


any thoughts/suggestions/ideas/etc .. are welcomed!

thanks everyone

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


Re: [U2] locking question

2008-07-01 Thread doug chanco

Thats for the responses Wol and Martin!

Wol - the lock and the write are in the same program so there is no 
execute involved.


Martin -  I need to look up  the archives that previously talked about 
the query processor  holding a group lock but that is exactly the lock 
we are seeing (a group lock).  This is a very promising lead and if its 
the problem I MAY have to go to where you are and buy you a steak dinner!


thanks guys!

dougc


Martin Phillips wrote:

Hi Doug,

has anybody run across/seen an issue where a process sets a lock via 
READU and then when it tries to write back the record cannot

because the record is locked but somehow lost the fact that the
process trying to write the record is the process that created the lock?


My money (but not too much!) is on this being a group lock problem.

As discussed recently on this list, the query processor holds a read 
group lock on the group it is processing when on the press return to 
continue prompt. Quite why, I have never worked out.


If a program tries to write to this group, it will hang until the user 
running the query moves on to the next page or until the group lock 
times out.



Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200 ---
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] locking question

2008-07-02 Thread doug chanco
we have  a 473 user license of universe and GSEMNUM was 87 so I think 
we are woefully undersized as far as that parameter goes.


Hopefully this will fix our issue and I'll owe you guys (and gals) a 
HUGE thank you!


one question though what exactly is this parameter used for?  I am 
trying to look it up for future reference but if anyone would care to 
share the for dummies . explanation I would be most appreciative


once again thanaks to EVERYONE who responded.

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


RE: [U2] static/dynamic file(s) opinions wanted!

2008-07-22 Thread Doug Chanco
Thanks for the info, so you do any maintenance on the files or does universe
do a good job maintaining the files?  The reason I ask is that we resized
all our files back in DEC (using fitzgerald and long's fast tool) and our
nightly process went from finishing @6am to @3am and we are now back to 6am
finish times, since I get a daily report of processing time I was able to
watch it creeping

Now I know that there are a lot more items to process but my gut feeling is
that the files are in need of resizing but since they are dynamic maybe I am
wrong 

dougc

 
 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3288 (20080722) __

The message was checked by ESET NOD32 Antivirus.

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


RE: [U2] static/dynamic file(s) opinions wanted!

2008-07-23 Thread Doug Chanco
 then dynamic  files  are easier to admin and
hence
probably faster in the long term. Symeon.
-Original Message-  From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED] On Behalf Of doug chanco 
Sent:
22 July 2008 16:36  To: u2-users@listserver.u2ug.org  Subject: [U2]
static/dynamic file(s) opinions wanted!   hey all,  I have heard
bad
things about using dynamic files versus  hashed/static ones. Can
anyone
share any thoughts on which is better  (in particular on a system
where the
files grow at a fairly steady rate).   I always understood that
dynamic
files were best on files that did not  change that much that fast 
as the
constant need to resize would  outweigh the manual effort of resizing
the
files manually (or with a  program).   I am looking for insight
(or
where to find some insight) on universe and  best file practices
(right now
I am reading the system description  manual and its helping but lacks
insights that I am sure some of the old  pickies on here have)  
so any
thoughts/suggestions/ideas/comments are welcomed!   thanks  
dougc 
 ps   universe 10.1 and aix 5.2  ---  u2-users mailing
list 
u2-users@listserver.u2ug.org  To unsubscribe please visit
http://listserver.u2ug.org/  No virus found in this incoming message.

Checked by AVG - http://www.avg.com  Version: 8.0.138 / Virus
Database:
270.5.3/1565 - Release Date: 7/21/2008  6:36 PM  ---  u2-users
mailing list  u2-users@listserver.u2ug.org  To unsubscribe please
visit
http://listserver.u2ug.org/ --  -Kevin
http://www.PrecisOnline.com --- u2-users mailing list
u2-users@listserver.u2ug.org To unsubscribe please visit
http://listserver.u2ug.org/   __ Information from ESET NOD32
Antivirus, version of virus signature database 3289 (20080722)
__ 
The message was checked by ESET NOD32 Antivirus.  http://www.eset.com
  
__ Information from ESET NOD32 Antivirus, version of virus
signature
database 3289 (20080722) __  The message was checked by ESET
NOD32
Antivirus.  http://www.eset.com --- u2-users mailing list
u2-users@listserver.u2ug.org To unsubscribe please visit
http://listserver.u2ug.org/
_
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGL
M_WL_
Refresh_messenger_video_072008
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] static/dynamic file(s) opinions wanted!

2008-07-23 Thread Doug Chanco
Dan thanks a million this is incredibly helpful!

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


[U2] gfe check from unix?

2008-07-31 Thread doug chanco
in universe 10.1/10.2 (on aix) is it possible to check for GFE's or 
BLINK errros without going into universe?


any ideas/thoughts/suggestions welcomed!

thanks

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


[U2] uniobjects help needed!

2008-08-02 Thread doug chanco

Hey,

We are having a problem with uniobjects that started a couple of days 
ago. We have a VB app that uses uniobjects to access an aix system 
running universe 10.1 and a few days ago we started getting errors where 
uniobjects would just die, its starting to look like it might be a 
network issue but so far nothing we can discover.


Our Cisco guy is not seeing any errors in the cisco switches, I am not 
seeing any errors on the aix system (5.2.6).


While is may or may not be a universe/uniobjects issue, so far we have 
been stumped as to what the problem is. We even called an IBM uniobjects 
engineer for several hours and he could not find a problem as neither 
could our VAR or IBM tech support for aix.


So I thought I would throw this out to youll who vast knowledge may 
hold the key to the answers we seek! The fact that in the past 3 days I 
have works close to 60 hours is a testimony to the amount of effort we 
have been putting in to try and solve this problem.


Basically what we are seeing that is

Run-TIme error '-2147417848 (80010108)':
Method 'Read' of object 'IUniFileEx' Failed

So any suggestions/thoughts/ideas/crystal balls/magic spells/voodoo 
chants are welcomed!


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


[U2] fixtool

2008-08-03 Thread Doug Chanco
Hey all,

 is fixtool the best way to repair a universe file?  I read somewhere
that all it does is fix the broken link (fixing the file but losing the
data that the broken link pointed to).  The reason I ask is that we had data
corruption a few days ago and are now running into lots of uniobject errors.

 

When we upgrade to the latest version of uniobjects things improved a lot
(which is a question in of itself as to why)  but I am wondering if we are
now experiencing logical errors in that our code is chunking because it
cannot find certain customer info that lives in another files (this is one
example of what we are seeing)

 

if running fixtool -fix is not the best way to fix a universe file can
someone shed any light on a better way?

 

thanks again!

 

dougc

 

ps

 

if it matters we are running universe 10.1 on aix  5.2
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Joining the List

2008-08-05 Thread Doug Miller

At 01:32 AM 8/5/2008, you wrote:
one of my guys applied to join the list a few weeks ago and still 
hasn't got a confirmation/invitation email.

Any way to find out whats up?


I would tell him to rejoin and pay attention to any messages.  I just 
rejoined yesterday after unsubscribing for a long vacation and had no 
problems following supplied instructions.




Doug Miller   [EMAIL PROTECTED]
Manager of Technical Services
Strategy 7Dallas TX 
---

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


RE: [U2] uniobjects help needed!

2008-08-05 Thread Doug Chanco
Hello all,
 I was joking about the voodoo chants when I first posted but several
days later and little progress made I am now seriously willing to consider
any chants anyone knows.

on a more serious note does anyone know if it's possible to talk directly
to a uvrpc daemon? (uniobjects)   I know you can with smtp and other socket
programs if you know the language/syntax, so I think it should be possible
with uvrpc (uniobjects).  Any suggestions/ideas on how (if possible) to do
this would be appreciated!

What we are seeing are users (who are ALL using the EXACT same VB 6 program)
having problems with writes and receiving back corrupted data (to a universe
database using uniobjects).  We have turned on logging in uniobjects but I
am having some trouble reading the log files (its hard to tell if the
corruption is coming to uniobjects or from universe).  We have tested the
universe programs that the VB app. calls and they work exactly as they
should.  We have tested the VB 6 apps and they too appear to be working as
expected (but obviously something is wrong)/  We have
tested/checked/rebooted the entire network (to include the aix machine).
What is throwing me is that if the basic program does not find a match to
whatever was passed to it, it returns null but sometimes we get back garbage
to the VB app, which to me means that the basic program got a valid value
and returned a valid response that somewhere in the chain got corrupted.

We have even done an iptrace on the aix box to see what it gets/sends as
well as on the windows PC(s) but sadly I am not able to fully comprehend
what I am seeing.

If anyone is willing (and this is asking a lot, so please forgive me) to
look at an iptrace I would be incredibly grateful!  I have two trace files,

1. one from a windows PC that was not able to edit an order
2. one that logged all the traffic coming/going to the aix machine on the
uvrpc port 

any suggestions/chants/thoughts would be extremely welcome!

I hope all this makes sense, if not this is what working 96+ hours in the
last 7 days does to you

thanks again

dougc

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony W. Youngman
Sent: Sunday, August 03, 2008 12:29 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] uniobjects help needed!

In message [EMAIL PROTECTED], doug chanco 
[EMAIL PROTECTED] writes
Hey,

We are having a problem with uniobjects that started a couple of days 
ago. We have a VB app that uses uniobjects to access an aix system 
running universe 10.1 and a few days ago we started getting errors 
where uniobjects would just die, its starting to look like it might 
be a network issue but so far nothing we can discover.

Our Cisco guy is not seeing any errors in the cisco switches, I am 
not seeing any errors on the aix system (5.2.6).

While is may or may not be a universe/uniobjects issue, so far we have 
been stumped as to what the problem is. We even called an IBM 
uniobjects engineer for several hours and he could not find a problem 
as neither could our VAR or IBM tech support for aix.

So I thought I would throw this out to youll who vast knowledge may 
hold the key to the answers we seek! The fact that in the past 3 days I 
have works close to 60 hours is a testimony to the amount of effort we 
have been putting in to try and solve this problem.

Basically what we are seeing that is

Run-TIme error '-2147417848 (80010108)':
Method 'Read' of object 'IUniFileEx' Failed

So any suggestions/thoughts/ideas/crystal balls/magic spells/voodoo 
chants are welcomed!

This, I think, will fall into the Voodoo Chant school of hopeful wishing 
... but the message number looks vaguely familiar to me. Do you know 
which line of your code is returning your error? What happens if the 
code just retries the read?

The problem I'm thinking of that we had was our program talking to Word. 
Word would go to sleep and you'd get an error looking a bit like that. 
Retry, Word would have woken up, and it was fine 2nd time. Try trapping 
the error and retrying, and see what happens...

Cheers,
Wol
-- 
Anthony W. Youngman [EMAIL PROTECTED]
'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man
lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source
Pick
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3326 (20080804) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3326 (20080804) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
---
u2-users mailing list
u2-users

Re: [U2] uniobjects help needed!

2008-08-06 Thread doug chanco

responses below


It sounds like nothing has changed. From what you're posted so far. Is
that correct?
  
pretty much, we added etherchannel to the aix system but its been 
running fine for several months, since the issue started we have changed 
our app to add better logging but no major changes to the code

I guess you've confirmed this is not file corrupt issue with the UV
files being accessed?
  

yes we have scanned all our files and have not found an issue

It appears your VB application is read/writing directly to UV files
directly and this is where you're having issues? Is it corrupting your
UV file in the process?
  
at one point we were seeing corrupt data but that turns out to be 
related to the 10.2 uniobjects dll we installed

You vaguely mention you have rebooted your AIX server. Is that correct?
  

yes twice

Do you use dynamic files?

  

yes, lots of em

What version of AIX, UV and UniDK are using?

  

aix = 5.2.6
uv = 10.1
unidk = 3.5.2

It seems like you've already checked the UniObjects and Unirpcd logs -
have you check the UV errlog too? Anything interesting in that?
  

are they different?
I have tons of uvapi.log_pid which are uniobjects logs is it possible 
to log the uvrpc daemon?



Do you have separate server for testing/development or DR that you can:
1) test this same client software  your UV application/UniObjects?
2) restore (using your backups of your DB, source  object code + *very
importantly* the UV home directory) your production data to and re-test
the UniObjects-based app?
  

we have tested against our dev system and seem to get the same error at

Objective: determine if the issue is 1) client application is at fault,
regardless of the target server it is communicating with or 2) database
or application issue (rather than a client one).

Other things to try:
1) write a simple UniObjects app (Win32 or Java versions) to read/write
to the same file
2) a *completely clean* install the VB6/UniObjects app. This should be a
clean PC which has never ever had the client application or UniObjects
installed before. If you site has a standard desktop configuration,
then you should be using that or perhaps use a PC that is
non-standard. Have you rolled a new firewall or VPN client or similar
network-invasive type application recently?
  
we completely reloaded a term server that we have users login to (they 
run the app from here) and are still seeing the issue(s)

Objective: 1) determine if it is UniObjects issue or not 2) determine if
the problem is desktop PC or not (the latter by using a non-standard
build PC).
  
we have tried restoring PC(s) to a date BEFORE we started having 
problems (using windows system restore) and still they are failing

I have seen strange things happen with the U2 API before. So capturing
the output from your UniObject sessions is a good one. If you have the
code to your VB application - you can get it to turn on a COMO file.
Given it a unique name for each session or user-ID (maybe the UNIX
process ID too - eg., myuserid-date-PID.como)
  

I will recommand that we try this

If your VB code is calling (directly or indirectly or dependent on some
initialisation code) host-based BASIC subroutines (or indeed any
cataloged referenced program) check if these have changed and re-catalog
them all, regardless. I have seen go away after re-cataloging code -
both at TCL invocation level and via the APIs.

Good luck!  
  

thanks!

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


Re: [U2] default gateway problem

2008-08-06 Thread doug chanco
You need to save the default gateway in the ODM.  If you manually 
add/delete routes WITHOUT using smit then the come back when you reboot


do the following:

smitty tcpip
select == Minimum Configuration  Startup
select your network card

and then change

Default Gateway
 Address (dotted decimal or symbolic name) [172.16.0.255]

to whatever your gateway is, this will update the ODM and next time you 
reboot will be the gateway thats set


dougc

Bob Witney wrote:

Ok I know that this is a tad of topic but I am hoping that those nice
IBM chaps are monitoring



We are on a Pseries running AIX 5.3 and Universe 10



We have changed out default gateway,



I know, leave things alone I say, if its not broken don't fix it, but
you know what there network techies are like, fiddle, fiddle, fiddle



Anyway:



 we user smit assist - Configure Network Communications' - TCP/IP
Startup - pick our interface



Drop down to default gateway and change the ipaddress



Works fine



Until we re-boot at which point it reverts to the default gateway we had
before the change



It may be we should run ifconfig or something to lock our change in
but I can't see it anywhere in the books



Any suggestions would be great



Bob Witney

IT Senior

Explore Worldwide

Nelson House

55 Victoria Road

Farnborough

Hants

GU14 7PA




Confidentiality Notice:  This e-mail and any attachments are intended solely
for the addressee and may contain confidential or privileged  information.
If you are not the named addressee, or the person responsible for delivering
the message to the named addressee, please notify the sender as soon as
possible and delete the material from your computer.  This message will be
protected by copyright.  If it has come to you in error, you must not take any
action based on its contents nor must you copy or show the message to any
person other than the intended recipient.
_
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

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


Re: [U2] Linux Telnet client

2008-08-06 Thread doug chanco

putty!

http://www.putty.nl/download.html

dougc

Baker Hughes wrote:

Hey,

I've just changed the OS on my laptop to SUSE Linux. I got back hours of my 
life, just in boot time alone, but I won't rant.

Would anyone like to suggest their favorite *nix based telnet client?  Must be 
free or close to it. If it would handle UV device licensing that would be 
fantastic (and could perhaps have implications in our desktop group, if you 
know what I mean).

Baker the world is so beautiful out of MS prison Hughes
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

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


Re: [U2] uniobjects help needed!

2008-08-07 Thread doug chanco

Jeff Powell wrote:

May I add my experience here?

  


PLEASE!  We are going on day 8 (or 9 I am losing count)  with little to 
no progress.  One thing I was wondering could it be an issue with the 
unix memory segments having issues?


also I am noticing what I think is a huge amount of tcp bad checksum 
errors but very few rebroadcasts does anyone more familiar with 
tcp/networks have a base line for what is normal  we have several 
hundred users.


Also what would happen if uvrpc ran out of licenses? 

also I am noticing that when our crappy system gets really loaded the 
application seems to lock up more as well as take long times to respond, 
could this be an indication of something?


I wanted to say thank you to everyone (those who have responded and 
everyone else who has not complained about the fact that this is not 
truly a universe issue but maybe a network/socket/VB/uvrpc one)


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


Re: [U2] uniobjects help needed!

2008-08-07 Thread doug chanco
the drama continues . we are now getting GFE's or BLINK errors in some 
of our files ... while making modificatiosn to our VB app we have 
lessened the write/lockup issues now the transactions are running dog 
slow, placing an order which used to take @ 5 seconds are now taking 5 + 
minutes


I have been watching the network as as our cisco guy and we see nothing 
indicating a network issue, so now we are trying to figure out whats 
going on as placing orders from green screens take 5 seconds.


I have been looking at the aix error log and see no errors

this has got to be more exciting than watching the young and the restless

dougc



doug chanco wrote:

Jeff Powell wrote:

May I add my experience here?

  


PLEASE!  We are going on day 8 (or 9 I am losing count)  with little 
to no progress.  One thing I was wondering could it be an issue with 
the unix memory segments having issues?


also I am noticing what I think is a huge amount of tcp bad checksum 
errors but very few rebroadcasts does anyone more familiar with 
tcp/networks have a base line for what is normal  we have several 
hundred users.


Also what would happen if uvrpc ran out of licenses?
also I am noticing that when our crappy system gets really loaded the 
application seems to lock up more as well as take long times to 
respond, could this be an indication of something?


I wanted to say thank you to everyone (those who have responded and 
everyone else who has not complained about the fact that this is not 
truly a universe issue but maybe a network/socket/VB/uvrpc one)


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

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


[U2] uniobjects

2008-08-13 Thread doug chanco
does anyone know if its possible to run the uvrpc deamon (uniobjects) 
from the command line?  It appears that since we cannot find the problem 
we are going to rewrite our order entry program in .net from vb6, 
apparently from some initial testing that the .net version fo the 
program works whereas the vb6 version is still having problems.


Also is anyone aware of any ways to see what a deamon (in particular 
uvrpc) is doing?  We have talked to IBM and apparently the best 
suggestion we got from them was that the issue was being caused by the 
network card in the systems (which have been the same for years) so I am 
not even sure where that idea came from.


is anyone aware of any differences that would cause code written in .net 
to work versus code written in vb6 (I assume they are using different 
dll's anything on the server side)?  Also does the uvrpc have different 
daemons for .net and non .net?


thanks everyone

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


[U2] can anyone shed any light on parts of this core file?

2008-08-13 Thread doug chanco
well i finally got a core file but had no luck trying to read it with 
dbx (so I just vi'ed the file and below is what I was able to read)


I am praying that one of you universe/aix/uniobjects guru's can see if 
anything below is useful in finding our problem.


thanks!

dougc


-I/r-b/r-y/r. 
/r.,/r.=/r.P/r.e/r.^@/r.^U/r.$/r.@/r.V/r.}/r/^W/r/*/r/Muv_=/usr/ib

m/uv/bin/uvLANG=CLOGIN=carrmaPATH=/usr/bin:/usr/lbin:/usr/bin:/etc:/usr/sbin:/us
r/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/local/samba/sb
in:/usr/ibm/uv/bin:/usr/opt/uv/bin:.LC__FASTMSG=trueCGI_DIRECTORY=/var/docsearch
/cgi-binLOGNAME=carrmaLOCPATH=/usr/lib/nls/locUVPATH=/usr/ibm/uv/binDOCUMENT_SER
VER_MACHINE_NAME=localhostUSER=carrmaAUTHSTATE=compatSHELL=/usr/bin/kshODMDIR=/e
tc/objreposDOCUMENT_SERVER_PORT=49213HOME=/home/everybodyTERM=viewpointITECONFIG
SRV=/etc/IMNSearchPWD=/usr2/zircon/INSTDOCUMENT_DIRECTORY=/usr/docsearch/htmlTZ=
EST5EDT,M3.2.0,M11.1.0UVHOME=/usr/ibm/uvITECONFIGCL=/etc/IMNSearch/clientsITE_DO
C_SEARCH_INSTANCE=searchNLSP^-o/r+@ 
^Eth^A/r,D/r,L^-o^-o^-o^-o^-o^-o^-o^
-o^-o^-o^-o^-o^-o^-o^-o^-o^-o^-o^-o^-o^-o^-o 
^AD^P^E^-o^P^Ax ^KR
H/r/x@(#)61 1.13  src/bos/usr/ccs/lib/libc/__threads_init.c, 
libcthrd, bos43
N 3/25/99 13:50:27 ^Eth ^EP^P-UVTLSVC-TLTIMEOUT
%cUVLICENSECHECK%dUVL

ICENSECHECKUVLICENSECHECKselect is over.

about to select.
received %d, %s, %s, %u

received %s, %s, %s, %s
write failed, errno is %d.
@(#)UniVerse Version 10.1.7%c%cA%cR%cD%cT%c%c%c%c%c%c%cioctl TCGETA 
failed, errn

o %d
Now get client identification about to write escape sequence.
ioctl TCSETAW failed, errno %d.
FD NOT SET on readfds, errno %d.
select returned 0; timeout, errno %d.
Debugging UNIX telnet server with timeout as 60.
Copyright )  IBM Corporation 2001, 2005. All rights reserved.%Z%UniVerse 
Platfor

m: International Business Machines (IBM) RS6000/AIX/r,0w%s-S%s%c%s
VOC^A^A^BYesIdealON.EXIT10.1.7CVIEW ^H ^E8ON.ABORT^G ^E^X^H 
^EPUV.LOGINphantom^E
^E^P^D ^E ^F ^E mkaccountALTER.IC 
updaccountMAXTRANSBUFUV_USERNO=LONGNAMES ON/b
in/mkaccount/bin/updaccountBUILD.INDEX PHANTOMLONGNAMES ON 
NEWACCUPDATE.INDEX PH
ANTOMRUN APP.PROGS UV.UPGRADESET.INDEX UV.TRANS INFORMBUILD.INDEX 
UV.TRANS FILER
UN APP.PROGS PACKAGE.INSCREATE.INDEX UV.TRANS 
FILESPECIAL.EDITOR.SELECT.DATA@(#)
UniVerse Version 10.1.7Copyright )  IBM Corporation 2001, 2005. All 
rights reser
ved.%Z%UniVerse Platform: International Business Machines (IBM) 
RS6000/[EMAIL PROTECTED] ^K
^TCS5 
-dWHORUNIAMTIMETERMRAIDQUITLOCKJOBSHUSHDATECORECHAPCASEBELLusrsUMASKT.REWT

.FWDT.EODT.BCKSLEEPPTIMELOGTOLOGONLIMITCHDIRBREAKABORTTEMPBELLTERM%s=%iT.WEOFT.
READSETPTRNOTIFYLOGOUTASSIGNT.WTLBLT.RDLBLSP.TAPERELEASEQSELECTPHANTOMNSELECTDIS
PLAYCATALOGLOGNAMEWARNINGSUVPROMPTUNASSIGNT.UNLOADGET.LIST^E ^H4^A 
^G^FSAVE.LIST

LIST.DIFFGET.STACKFORM.LISTCLEARDATAUV_USERNOSET.TELNETSAVE.STACKMERGE.LISTLIST.
UNIONLIST.LOCKSLIST.INTERDIVERT.OUTAUTOLOGOUT/bin/usrsRELEASE.XMLPREPARE.XMLLOGT
O.ABORTGET.SQLNULLENVIRONMENTDELETE.LISTDATE.FORMATCLEARSELECTCLEARCOMMONCLEAR.L
OCKSABORT.LOGINPAGE.MESSAGECLEARPROMPTS/tmp/utmp.%d5SET.REMOTE.IDSET.TERM.EUROGE
T.TERM.EUROCENTURY.PIVOTSETPTR.DEFAULTSET.SYSTEM.EUROGET.SYSTEM.EUROSET.CONVERT.
TERM.EUROGET.CONVERT.TERM.EURO  
\'~}|,^GDICTSAVEDLISTSSTACKWRITERELLEVELLOGI

NDEVICEPDICTONONOFFOFFTapeProcVerbMenuQueryPerformExecuteParagraphTransactionR
AID debuggerClient programExternal programCommand LanguageBASIC run 
machinewrarw
a r+w+a+r+w+a+ 
^LLfeofsemopfgetcfreadfputcftellfseekuvnetDBreadferrorfilenofflus

hfclosefwriteDBfinfoDBwblokDBrbloksselectDBwriteDBprobeDBclrflDBcloseDBstatusDBs
electDBdeleteDBscnat25DBreleaseDBReadLocknetgetstatsnetgetinfo30DBrecordlockedmi
smatch: offset = %ld, outoff = %ld

^ATCP^A^Atcpuvrpc0x%8x
0x%8x
^A,ARG DATA
TIMESTAMP
0x%8x
MESSAGE Key
0x%8d
   0x%8x   0x%8x
In rpc_init()
In uvrpc_call
In uvrpc_call
MESSAGE LENGTH
0x%4x   0x%4x
NW RETURN CODE
In send packet
In read packet
In build packet
In write packet
In read message
before the recv
In unpack packet
0x%2x   0x%2x   0x%2x
message_length=%d
message_length=%d
message_length=%d
before the select
0x%4x   %x %d (%.*s)
thissize set to %d
thissize set to %d
thissize set to %d
thissize set to %d
thissize set to %d
thissize set to %d
thissize set to %d
thissize set to %d
thissize set to %d
char arg(0x%8x)=%s
type of arg %d = %d
VERSION NUMBER  SEQNO
current version set!
encryption type set!
length of arg %d = %d
encryption state set!
In get encryption type
In set current version
In set encryption type
START OF ARG ARRAY DATA
low level timeout error
the read was interupted
low level read errno=%d
read returns 0 errno=%d
In get encryption state
In set encryption state
Element %3d Length  type
addr=0x%8x 0x%8x %c%c%c%c
Send Req: proc_name is %s
the select was interupted
after the recv nread = %d
uvrpc_call failed bad arg1
after the select rcnt = %d
In get current RPC version
compression threshold set!
going to read %d more chars
remote 

Re: [U2] can anyone shed any light on parts of this core file?

2008-08-14 Thread doug chanco

However just to say I have had experience of strange errors in uniobjects in
the past on heavily used systems, this was because the network card was set
to 100/full duplex, and the switch port to auto negotiate, so they
negotiated to half duplex, we set the switch to full duplex and of course it
was faster, but we also lost the errors - may be something to investigate.




Thanks for the suggestion, one question though did you notice any kind 
of network errors that pointed you in that direction?


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


[U2] defcs/fixtool

2008-08-16 Thread doug chanco

Hey all,
I am seeing s a bunch of defcs processes  (see below)  this is 
just a sample, there are more


gr046  962802 3018954   0 15:50:56  -  0:09 defcs 4 21600 0
gr024 1036534 3018954   0 19:20:30  -  0:00 defcs 4 21600 0
washch 1077502 3018954   0 20:30:49  -  0:00 defcs 4 21600 0
gr046 1163394 3018954   0 20:23:00  -  0:00 defcs 4 21600 0
salawe 1175664 3018954   0 20:11:38  -  0:00 defcs 4 21600 0
hernen 1220812 3018954   0 15:46:44  -  0:38 defcs 4 21600 0
lyghni 1323086 3018954   0 20:26:11  -  0:02 defcs 4 21600 0
pascka 1396814 3018954   0 20:13:07  -  0:01 defcs 4 21600 0
erviwi 1421364 3018954   0 20:13:44  -  0:02 defcs 4 21600 0
salawe 1507484 3018954   0 20:15:44  -  0:00 defcs 4 21600 0

is this normal?  I don't recall every seeing these before (but maybe I 
just missed them).


One additional question if you run fixtool without the fix option it 
should be ok to run with users on the system?  I THINK that would just 
report any errors unless I ran with the fix option (which I certainly 
would not do with users accessing the system.


thanks,

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


Re: [U2] What Next?

2008-08-19 Thread doug chanco

several suggestions:

1. datastage
2. .net (in particular asp.net/c#)
3. jBASE (in my opinion despite the fact its not as well used as U2, its 
got a good future (in my opinion))

4. maybe some system admin stuff (in particular I love aix)

dougc


Al DeWitt wrote:

For the last 14 years or so I have been doing programming support and
light DBA work; first in Universe (Prime Information) and now in Unidata
(Pick).  I'm basically a one-trick pony (UniBasic and System Builder)
because my goal has always been to move into a business analyst role,
but that has never worked out (I'm too IT).



Last fall I decided to stop trying to pursue that and stay in what I'm
doing.  So now I need to decide what I should invest my educational
dollars.  I want to stay in application development and support because
I like better than techie stuff.  So what would you suggest I begin
learning that would keep me reasonably employable in the future?



Thanks.



Albert DeWitt

Sr. Programmer Analyst

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

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


Re: [U2] Unidata to Universe port

2008-08-19 Thread Doug Miller
I would stick to your core reason for a topic of discussion first 
before discussing all the differences and what's involved in 
migrating.  We have had somewhat limited exposure trying to implement 
NLS for a few of our end users and were not successful in the 
past.  The product may have been enhanced since then but I would be 
curious to hear from anyone who has successfully implemented this 
within UniVerse.  The reason I bring this up is this seems to be the 
key motivating factor and if this is taken away, the point becomes mute.


Regards,

Doug

At 08:41 PM 8/14/2008, you wrote:
The reason we're even considering this is because of IBM's decision 
not to implement NLS in UniData, at least not right away.   Of 
course, we've had conversations with IBM about converting, but would 
appreciate hearing from any one who has actually done this.

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


RE: [U2] Send Email from Universe (Windows)

2008-08-20 Thread Doug Chanco
Another free option that I do not like but does work, is to ftp an
email formatted text file (that you create in universe) to an email
server (exchange/sendmail/etc) and have it process the files in a
particular directory as emails and send them out.

Like I said I don't like it but it's free and fairly easy to do and does
work (we are currently sending out email in this manner)

Dougc

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jayones0317
Sent: Wednesday, August 20, 2008 9:45 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Send Email from Universe (Windows)

Shareware product called BLAT...   Enjoy..

Jay Jones


mbtech wrote:
 
 What are some free options on sending email from Universe on Windows? 
 I've done this in Unix before but never Windows.  Thanks.
 

-- 
View this message in context:
http://www.nabble.com/Send-Email-from-Universe-%28Windows%29-tp19035651p
19069773.html
Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Send Email from Universe (Windows)

2008-08-20 Thread doug chanco

can you send me a copy as well?  I am interested how it works

dougc

my email is [EMAIL PROTECTED]

Burwell, Ed wrote:

A few years ago a nice participant on this list sent me a subroutine that got 
us going (on Unidata).  It's been great.  I can email it to you off-line if you 
like.


Ed Burwell
Consultant
Data Processing
 
CASIO AMERICA, INC.

570 Mt. Pleasant Avenue
Dover, NJ  07801
973-361-5400 x1512
email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
www.casio.com http://www.casio.com 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of David A. Green
Sent: Wednesday, August 20, 2008 12:14 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Send Email from Universe (Windows)


wSendmail works on Windows, I had to modify the source in order to send
Attachments.

I use my own version now written in UniBasic with a socket connection
directly to the SMTP server.  It's much faster and more reliable.

Thanks,
David A. Green
www.dagconsulting.com
(480) 813-1725


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jayones0317
Sent: Wednesday, August 20, 2008 6:45 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Send Email from Universe (Windows)

Shareware product called BLAT...   Enjoy..

Jay Jones


mbtech wrote:
  
What are some free options on sending email from Universe on Windows? 
I've done this in Unix before but never Windows.  Thanks.

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


RE: [U2] Universe PE on CentOS

2008-08-22 Thread Doug Chanco
I do (have universe PE running on centos) , if I remember right you need
to sym link the older version of that library to libstdc++.so.5 and it
should work (I am pretty sure that's how I got it to work).  I don't
have access to my system right now but I will verify it tonight.

I assume you are trying to install UV 10.2.8?

Dougc


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Schasny
Sent: Friday, August 22, 2008 11:57 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Universe PE on CentOS

Anyone have Universe PE running on CentOS 5.2? I'm attempting to install

Universe (UVPE_RHLINUX_10.2.7) on CentOS and getting the following:

bin/vsum: error while loading shared libraries: libstdc++.so.5: cannot 
open shared object file: No such file or directory
Checksums do not verify.
You must reload groups MAIN OBJ DEVELOP DOC FILESIZE PORTING GCI UCI IC 
UOJ JDBC UVODBC QA.
Installation of uniVerse aborted.
Contact your IBM support representative.
-- 

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

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

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] uniobjects - kinda fixed

2008-08-27 Thread doug chanco

Well,
we have basically gone full circle .. while we did fix a 
lot of issues with our VB6 app and did improve it quite a
bit, we were still having issues.  One of the developers here rolled 
back from the 2006 uniobjects (windows) dll and now things are back to 
working how they were before this all started.


We even tested old versions of the VB6 app that 2 weeks ago would not 
work with the 2000 uniobjects dll and now they are working just fine.  I 
am totally stumped as to what happened, all I can say is that now things 
are basically back to where they were several weeks ago with


1. the same PC
2. same application
3. same dll's

that just a few weeks ago would not work.  I know what you'll are all 
thinking and I completely agree and that is SOMETHING had to have 
changed.  But I work in universe and aix and do some networking stuff 
and nothing changed at these points.  We have a cisco guys and he swears 
that nothing changed on his cisco stuff and we have support techs that 
swear nothing changed on the PC's, this reminds me of a saying I once heard


when you are SURE that everything in your program works correctly and 
your program does NOT work one thing you can be SURE of is that 
something you are SURE of is wrong


anyway in trying to see what could of possibly caused this problem I am 
trying to get what changed in the iniobjects dll between the 2000 
version and teh 2006 version (back when all this started upgrading to 
2006 fixed a lot of the issues where teh application would not start and 
kept crashing) and now downgrading to the 2000 dll seems to have fixed 
99% of our problems ...


We have tried getting the information from IBM but they have not been 
very responsive and I am sure that someone on this list can answer my 
question or tell me how I can get it answered


thanks to everyone who helped with this issue and thanks in advance for 
any responses to this question


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


RE: [U2] SIGDANGER

2008-09-02 Thread Doug Chanco
Kevin,

   Look at the below command/output (in particular % used), more than
likely you are running out of swap space and will need to increase it



# lsps -a

Page Space  Physical Volume   Volume GroupSize %Used Active
Auto  Type

hd6 hdisk2rootvg4608MB 1 yes
yeslv



dougc





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Tuesday, September 02, 2008 2:39 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] SIGDANGER



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/



--

This message has been scanned for viruses and

dangerous content by SecureMail, and is

believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] uniobjects - kinda fixed

2008-09-03 Thread Doug Chanco
Hello,
I am pretty sure we have talked to IBM but in any case the company
is Sports Endeavors

Thanks

Dougc


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wally Terhune
Sent: Wednesday, August 27, 2008 4:33 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] uniobjects - kinda fixed

I will be happy to chase up follow-thru on a support case, but find
nothing
for 'Doug Chanco' in the system, nor can I tell you company name to
search
that way.
Do you have a U2 support case number?
regards,

 Wally Terhune   Mark your
 U2 Support Architectcalendar!
 IBM Information Management Software
 Tel: (303) 773-7969 T/L
 656-7969
 Mobile: (303) 807-6222
 Email: [EMAIL PROTECTED]
 http://www.ibm.com/software/data/u2/support








  From:   doug chanco [EMAIL PROTECTED]

  To: u2-users@listserver.u2ug.org

  Date:   08/27/2008 02:28 PM

  Subject:[U2] uniobjects - kinda fixed






Well,
 we have basically gone full circle .. while we did fix a
lot of issues with our VB6 app and did improve it quite a
bit, we were still having issues.  One of the developers here rolled
back from the 2006 uniobjects (windows) dll and now things are back to
working how they were before this all started.

We even tested old versions of the VB6 app that 2 weeks ago would not
work with the 2000 uniobjects dll and now they are working just fine.  I
am totally stumped as to what happened, all I can say is that now things
are basically back to where they were several weeks ago with

1. the same PC
2. same application
3. same dll's

that just a few weeks ago would not work.  I know what you'll are all
thinking and I completely agree and that is SOMETHING had to have
changed.  But I work in universe and aix and do some networking stuff
and nothing changed at these points.  We have a cisco guys and he swears
that nothing changed on his cisco stuff and we have support techs that
swear nothing changed on the PC's, this reminds me of a saying I once
heard

when you are SURE that everything in your program works correctly and
your program does NOT work one thing you can be SURE of is that
something you are SURE of is wrong

anyway in trying to see what could of possibly caused this problem I am
trying to get what changed in the iniobjects dll between the 2000
version and teh 2006 version (back when all this started upgrading to
2006 fixed a lot of the issues where teh application would not start and
kept crashing) and now downgrading to the 2000 dll seems to have fixed
99% of our problems ...

We have tried getting the information from IBM but they have not been
very responsive and I am sure that someone on this list can answer my
question or tell me how I can get it answered

thanks to everyone who helped with this issue and thanks in advance for
any responses to this question

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

[demime 1.01d removed an attachment of type image/jpeg which had a name
of 21464273.jpg]

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

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

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] uv account

2008-09-04 Thread doug chanco

hey all,
   on my linux system when I logto UV I get the uv maint. menu (you 
know with categories at the top -- create account ,etc, etc, etc.)


anyway on our aix system when I logto uv I get to TCL and for the life 
of me cannot figure out how to get that menu to come up and the admin 
document ONLY talks about the windows admin tool uniadmin (this has been 
an issue with me as they should also cover the non GUI ways of 
administering universe, what happens if you need to admin universe from 
the system console and cannot access it via a windows PC  anyway I 
digress)


can anyone share the secret of getting the universe admin menu to come 
up from TCL in the UV account?


thanks

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


[U2] UNIVERSE on Red Hat?

2008-09-05 Thread Doug Chanco
Hey all,

Does anyone have any experience running universe on red hat in an
enterprise environment?  I have run UV PE on centos and red hat just
fine BUT I am talking about 400+ users, uniobjects, tons of printers,
etc ..



I would LOVE to hear about enterprise experiences running universe on a
red hat system in particular;



1.  any gotchas?
2.  any praises?
3.  any performance issues?
4.  any universe/OS issues?
5.  any printing issues?
6.  any issues with terminals or termdefs/termcaps?
7.  uniobject problems?
8.  anything else anyone may have run across that I did not mention



This is really a question for fitzgerlad/long but what about running
FAST on linux? (a wonderful chance for a plug here)



:-)



Any and ALL experiences/thoughts/whatever are welcomed!



IF we move it would be from aix 5.2/universe 10.1 to red hat enterprise
server/universe 10.2 on a beefed up dell server



Our current setup is about



@400 users

@40 printers

@250 uniobjects connections (from a windows app)

Connections from datastage throughout the day

@3000 pick databases



The biggest being @ 5 gig in size



Also while this is not really pick related does anyone have any
experience with flash copy on linux/red hat?  It allows us to unmount
file systems and 'flash copy the data to another area and the remount
the file system and then make a backup from the flash copy area.



Thanks!



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


[U2] RE: UNIVERSE on Red Hat?

2008-09-05 Thread Doug Chanco
Hey all,

 First off thanks for the responses I have gotten so far!  A couple
more questions:



1.  what kind of systems are you running red hat/universe on (model,
specs, etc )
2.  what are you doing for high availability?
3.  what are you using for backups (software/type of tape drives)?



These questions are for people running universe on red hat enterprise
server



Thanks again everyone!



Dougc





From: Doug Chanco
Sent: Friday, September 05, 2008 9:36 AM
To: 'u2-users@listserver.u2ug.org'
Subject: UNIVERSE on Red Hat?



Hey all,

Does anyone have any experience running universe on red hat in an
enterprise environment?  I have run UV PE on centos and red hat just
fine BUT I am talking about 400+ users, uniobjects, tons of printers,
etc ..



I would LOVE to hear about enterprise experiences running universe on a
red hat system in particular;



1.  any gotchas?
2.  any praises?
3.  any performance issues?
4.  any universe/OS issues?
5.  any printing issues?
6.  any issues with terminals or termdefs/termcaps?
7.  uniobject problems?
8.  anything else anyone may have run across that I did not mention



This is really a question for fitzgerlad/long but what about running
FAST on linux? (a wonderful chance for a plug here)



:-)



Any and ALL experiences/thoughts/whatever are welcomed!



IF we move it would be from aix 5.2/universe 10.1 to red hat enterprise
server/universe 10.2 on a beefed up dell server



Our current setup is about



@400 users

@40 printers

@250 uniobjects connections (from a windows app)

Connections from datastage throughout the day

@3000 pick databases



The biggest being @ 5 gig in size



Also while this is not really pick related does anyone have any
experience with flash copy on linux/red hat?  It allows us to unmount
file systems and 'flash copy the data to another area and the remount
the file system and then make a backup from the flash copy area.



Thanks!



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


Re: [U2] AIX Socket Command?

2008-09-17 Thread doug chanco
The way I would do it, is as follows:

1. login as root
2. run netstat -Aan | grep LISTEN

you will see something similar to the following:

# netstat -Aan | grep LISTEN
f1f302506b58 tcp4   0  0  *.13   
*.*LISTEN
f1f302502358 tcp0  0  *.21   
*.*LISTEN
f1f3031a1b58 tcp4   0  0  *.22   
*.*LISTEN
f1f302503b58 tcp0  0  *.23   
*.*LISTEN

next run the below command on the port you want to know about)

rmsock the f number tcpcb

below is an example (I know that port 22 is sshd but lets pretend that I 
did not)

# rmsock f1f3031a1b58 tcpcb
The socket 0x31a1800 is being held by proccess 250016 (sshd).
#

Now you may be worried that rmsock (remove socket) will terminate the 
socket but ti will not

/*THE COMMAND WILL FAIL (I LEARNED THIS TRICK FROM AIX SUPPORT) */ BUT 
IT WILL RETURN WHAT PROCESS HAS THE SOCKET OPEN.  In the above case sshd

dougc


now here you will need to know the

Kevin King wrote:
 I could find this given the time but time is not on my side right now.
 Anyone recall the program on AIX that tells which program has a particular
 socket open?

 -Kevin
 http://www.PrecisOnline.com
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Next UniVerse Release

2008-09-17 Thread doug chanco

Clifton Oliver wrote:
Based on the posting on this topic from Steve O'Neal, it appears we 
have our answer. Always do a sync after pausing the database.



how does on pause the database in universe?

thanks

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


[U2] .net uniobjects error 39204

2008-09-18 Thread Doug Chanco
I cannot seem to find any reference to this error number, the
documentation goes from 39204 to 39210



Does anyone know what this error means?



Thanks



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


[U2] running uvrpc at the same time on different ports

2008-10-17 Thread Doug Chanco
Hey all,
is it possible to run uvrpc (aix 5.2 universe 10.1) on different
ports at the same time?  Its currently listening on 31438 but datastage
is trying to access 31538 and we cannot find any reference in datastage
that allows us to specify what port to try connecting on.

so what we would like to try it to have uvrpc also listening on port
31538 (obviously as a seperate process), I have tried adding the
additional port to /etc/services and may try adding it to inetd.conf

am I wasting my time or is it possible to run uvrpc on different ports
(at the same time)?

thanks

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


[U2] UniObjects / UNIRPCD problems on Linux

2008-12-11 Thread Doug Farmer
Good Morning,

I am a bit out of my element here as I usually only work on HP UNIX
boxes.

I have a problem with a Linux box that was recently updated to release
7.1.13 of UniData.  Since the upgrade, connections to the machine using
UniObjects are aborting.  I think I traced this down to a possible issue
with the environment variables in the UniObjects session. I am missing
the environment setting for UDTBIN and UDTPATH.  

The scenario is this.

Using a UniObjects connection, a subroutine is run on the host.

This subroutine launches a phantom process that runs in sleep cycles,
waking up to process data as needed.  The UniObjects connection is
closed (it is only used to launch the phantom).

The phantom inherits the environment from the UniObjects connection.

One of the first things the phantom does is to call the UniData
subroutine WW.SB.RB.  The subroutine never returns and the phantom
stops.  My guess is the subroutine is aborting because of a missing
UDTBIN or UDTPATH variable. (I wrote the environment variables to a
debug file prior to calling the subroutine).

This all worked till the upgrade to UniData 7.1.13.  So I think
something got mashed in the startup process and the environment
variables are not setup when UNIRPCD is started.

Any clues as to where I should start looking?

Thanks in advance

Doug


This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses. Any views and/or opinions expressed in this e-mail are of the author 
only and do not represent the views of Epicor Software Corporation or any other 
company within its group.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [JOB POSTING RALEIGH,NC AREA]

2009-01-09 Thread Doug Chanco
CANDIDATES LOCAL TO RALEIGH NC PREFERRED

PICK experience desired BUT ALSO NEED .NET experience

email jf...@sportsendeavors.com with resumes

POSITION SUMMARY

This position exists to provide the highest quality of software
development; specializing in new application development, support and
maintenance.



DUTIES  WORK PERFORMED:

Software Design
* Assist with the creation of functional specifications.
* Review and understand customer requirements and specifications.
* Translate functional specifications into technical requirements and
designs.
* Estimate the effort required to complete software development
activities.
* Review test plans with QA  participate in design/code reviews with
other developers.
* Design and Code implementation tools for efficient installs and
upgrades.
Software Development
* Write the source code required for completed designs.
* Test and debug software that conforms to the design and to customer
requirements.
* Request code inspections and make necessary modifications to software;
perform code inspections.


Software Maintenance
* Fix bugs and add minor enhancements.
* Use bug tracking system to document necessary code changes and follow
standard versioning requirements using source control system.
* Provide technical consulting to internal customers to address system
issues and recommend solutions.
* Understand the cost and time constraints imposed by the project plan
on assigned tasks and raise flags whenever the likelihood of a cost or
time overrun becomes apparent.
* Create technical documentation of designs, design decisions, and
implementations.
* Setup necessary development and test environments.



SOFT SKILLS:

* Good communications skills and the ability to work with a diverse user
base. This includes the ability for prompt decision-making and the
promotion of world-class customer service.
* Constant attention to customer service.
* Ability to communicate with all levels of end-user (verbal and
written).
* Excellent teamwork skills.
* Excellent time-management and organizational skills.
* Analytical and solution oriented.
* Self-motivated and goal-oriented.
* Continuous attention to security and confidentiality issues because
sensitive data resides on the servers and the individual devices.



EDUCATION REQUIRED:
Bachelors degree (Computer Science or related field preferred), or an
equivalent combination of education and experience.

REQUIRED EXPERIENCE  SKILLS
* Bachelor's Degree in Computer Science, Computer Engineering, MIS or an
equivalent combination of training and experience is required.
* A minimum of 4-5 years of professional software development experience
through the full SDLC preferably in a .NET environment.
* Strong Development/Coding/Programming skills in C#, C++, C.
* Excellent working knowledge of MS SQL Server 2000/2005 as well as MS
Windows 2000/2003.

* Strong background with MS Visual Basic 6.0, VB.NET, ASP.NET, VBScript,
JavaScripts, PHP, HTTP, XML.
* Solid working experience in coding COM/COM+, OOP, Web Services.
* Strong programming skills with strong understanding of project cycles,
software development environments, and source control techniques.
* Excellent communication (written and oral) and team-work skills.
* Ability to identify, prioritize and execute tasks to meet critical
project deadlines.

* Experience in a Pick Programming Environment or willingness to Learn
Pick Programming and Multi-value Databases
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] checking if a passed in file pointer is valid?

2009-01-14 Thread doug chanco
is there a way (universe 10.2.x/aix) to tell if a file pointer passed 
into a subroutine as a parameter is valid?


I somehow forgot that doing the following won't work when the pointer is 
valid.


IF pointer name NE '' THEN

any suggestion/thoughts/ideas welcomed

thanks!

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


Re: [U2] checking if a passed in file pointer is valid?

2009-01-14 Thread doug chanco

thanks a million everyone!

dougc

Charles Stevenson wrote:

Look up FILEINFO() function.
Look up STATUS statement (STATEMENT, not function), too.

   $include UNIVERSE.INCLUDE FILEINFO.H
   IF ASSIGNED( VAR ) THEN
  IF FILEINFO(  VAR, FINFO$IS.FILEVAR ) THEN
 * yep, it's a file variable alright.
  END ELSE
 * it's been assigned but it ain't a file.
  END
   END ELSE
  * it's not even been used yet,
  * ;et alone a file variable.
   END

The UV documentation talks about
   $INCLUDE SYSCOM FILEINFO.INC
instead of
   $INCLUDE UNIVERSE.INCLUDE FILEINFO.H
but that's language cribbed from old Prime Information manuals and never
corrected.

All the above is from memory. I might have a few details wrong, but that's
the vibe of the thing.

Chuck Stevenson
stevenson.c...@gmail.com  - new email address


doug chanco  wrote:

  

is there a way (universe 10.2.x/aix) to tell if a file pointer passed into
a subroutine as a parameter is valid?


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

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


[U2] converting universe files between aix/linux

2009-02-03 Thread doug chanco

hey all,
   I am attempting to make a QA virtual universe system and I think I 
am going to have a big Indian/little Indian issue (when moving the 
databases from aiz to linux), I seem recall that there was some tool 
available to convert the databases but for the life of me I cannot 
remember what its called.


Also if anyone has any tools they already developed to do this and would 
be willing to share I would greatly appreciate it as well as any gotchas 
you may have run across doing such a conversion


thanks

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


RE: [U2] converting universe files between aix/linux

2009-02-04 Thread Doug Chanco
you are correct I am going from a RS6000 to a intel linux system

thanks everyone!

dougc

 

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Anthony
Youngman
Sent: Wednesday, February 04, 2009 5:27 AM
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] converting universe files between aix/linux

Everybody's been jumping in saying what the tool is. What they haven't
said is do you need it because it has ABSOLUTELY NOTHING to do with a
port from AIX to linux, and everything to do with the hardware.

I presume you're going from RS/6000 (or similar) to Intel? In that case
you do need the tool, but forget about the O/S, check (as I are think
you are doing) the endian-ness of the processor. That's all that's
relevant. If you were running AIX and linux on the same hardware you
(probably) wouldn't need it (you can get hardware which is
soft-switchable between big and little endian :-).

Cheers,
Wol

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of doug chanco
Sent: 03 February 2009 16:45
To: u2-users@listserver.u2ug.org
Subject: [U2] converting universe files between aix/linux

hey all,
I am attempting to make a QA virtual universe system and I think I
am going to have a big Indian/little Indian issue (when moving the
databases from aiz to linux), I seem recall that there was some tool
available to convert the databases but for the life of me I cannot
remember what its called.

Also if anyone has any tools they already developed to do this and would
be willing to share I would greatly appreciate it as well as any gotchas
you may have run across doing such a conversion

thanks

dougc
---
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/

--
This message has been scanned for viruses and dangerous content by
SecureMail, and is believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Remotely monitor unidata lock issues

2009-02-05 Thread Doug Chanco
if your willing to share I would love to see your code!

thanks

dougc 

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Wednesday, February 04, 2009 4:41 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Remotely monitor unidata lock issues


   Nick:
   This would be an interesting program to post on the wiki, either
U2s or
   the Pickwiki.
   Bill
   From: Nick Gettino nick.gett...@enroute911.com
   Sent: 2/4/2009 1:18 PM
   To: u2-users@listserver.u2ug.org
   Subject: Re: [U2] Remotely monitor unidata lock issues

We wrote a program called LOCK.MONITOR that uses GETREADU() and updates
at a specified time interval.

Additionally we put release commands in it so the lock can be released.
It displays the user, the file, the item length of time locked from
highest to lowest and works on Unix and Windows.  To get more detail it
also does a PORT.STATUS on any PID and displays it or prints it -
because the CALL.STACK or FILEMAP are sometimes needed in our
application.

Let me know if you want more detail.

Nicholas M Gettino | Director of Development | EnRoute Emergency
Systems, an Infor company | office: 813-207-6998 | fax: 678-393-5389
nick.gett...@infor.com | www.enroute911.com

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Steve Romanow
Sent: Wednesday, February 04, 2009 3:20 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Remotely monitor unidata lock issues

I am trying to devise a way to remotely monitor long held locks and lock
contention.

My best thought so far was to write a basic program to parse the output
of LIST.READU and start notifying people with mailx.

Has anyone got any better ideas on detecting users who have left records
locked for an inordinate amount of time?

We are using unidata 6.1 on aix.

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

--
This message has been scanned for viruses and dangerous content by
SecureMail, and is believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] UV resizing

2009-03-14 Thread Doug Chanco
I am curious as to people's thoughts on resizing during business hours
using the concurrent option?  'I'd like to hear any
thoughts/ideas/suggestions/tales/stories (good and bad)/etc of resizing
universe files (on aix or any other os) during business hours.



I come from the school of thought that one resizes ONLY during non
business hours (even if your sure users will not be accessing the file
your resizing)



Thanks everyone



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


RE: [U2] UV resizing

2009-03-15 Thread doug chanco
do you run datastage jobs that access your system via uv.net or (windows)
applications that use uv.net to access the database?  If so do you have any
problems with either?  

Also how does it affect system performance if you try to resize huge
file(s)?

thanks

dougc

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Symeon Breen
Sent: Sunday, March 15, 2009 8:34 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UV resizing

My thoughts are I run 24x7x52 and there is no such thing as out of business
hours, so the concurrent option is an essential !




-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Doug Chanco
Sent: 15 March 2009 01:16
To: u2-users@listserver.u2ug.org
Subject: [U2] UV resizing

I am curious as to people's thoughts on resizing during business hours
using the concurrent option?  'I'd like to hear any
thoughts/ideas/suggestions/tales/stories (good and bad)/etc of resizing
universe files (on aix or any other os) during business hours.



I come from the school of thought that one resizes ONLY during non
business hours (even if your sure users will not be accessing the file
your resizing)



Thanks everyone



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


[U2] UVRPC API question

2009-04-02 Thread doug chanco

Hey all,
on aix 5.2/ uv 10.2.x is it possible to directly talk to the uvrpc 
without using uniobjects (ie. via a direct socket call).  If this is 
possible can anyone share how they did it (ie what did you send/receive) 
or any special things you had to do to get it to work.


thanks in advance

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


[U2] uniobjects/web services

2009-04-02 Thread Doug Chanco
Hey all,

 On aix 5.2/uv 10.2.x has anyone implemented web services with
uniobjects?  We are getting unknown errors  when we use threading but
they seem to go away when we serialize the web service.  I know the info
is a bit shaky (sorry)



But I am more interested in shops that have successfully implemented web
services with uniobjects (how you are doing it, how well or not does it
work, etc )



Thanks



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


Re: [U2] universe sockets

2009-04-10 Thread doug chanco
Wow great points . see below for my answers 


dougc

A full response to your inquiry really depends on the answer to

another question, which is why are you doing this? 



We want to explore other connection options that are not tied to 
uniobjects so that if we decide to switch from universe to say database 
x we can do so easier.




I would also say that (in this economy) money is probably an issue as 
well, we have looked at several of the pick option available and while 
they work they also cost and its tough to sell management on a new way 
of connecting when uniobjects has done a decent job. 

Also we want to see if a socket call would be faster than a similar 
uniobjects one.


Sockets are geeky, fun, and challenging, and quite satisfying when 
they work


correctly, but for the most part working at that tier is hardly

cost-effective given the plethora of software available to do

communications at a higher level.   


This is a good point BUT several things:

1. are you not limited to what they provide, so if I wanted to 
send/receive data differently than what they provide I cannot.


2. price

3. speed cost, would not doing a socket be faster than using some high 
level communications system?


Do you want to do sockets for

fun or because your business requires communications?  Are you

trying to build a better mousetrap or trying to save money?

I'd say experiment with building a better mousetrap and give us the 
ability to easier move from universe, should the situation arise (I 
personally hope not as I like pick)


You're going to spend a few weeks on this, now or over time.  Is

your time really worth less than the free tools from IBM, or

commercial tools that only cost a couple hundred bucks?


This is a great point that should we decide to go this route but I have 
already mentioned this and I actually gave an estimate of a few months 
not weeks (but then again I am nowhere near as good at this as 
apparently you are).  BUT I am curious what products are available for a 
few hundred bucks?  I would certainly be willing to check them out BUT 
its hard to sell our budget committee when we have a product that work 
(uniobjects) or can write our own (sockets)


Also, if you decide to change employers (or your clients change

vendors), who is going to get stuck maintaining all of the custom

code?   

I suppose another developer which is why if we go this route we are 
going to have extensive documentation


If I were an IT director I would not allow someone to

write a custom socket interface internally for production use. 

Another good point but I pride myself on writing well documented, well 
written code but certainly something to keep in mind (your points for 
buying versus writing a comm. Layer)


Thanks for your input I will certainly share this with my management team 


thanks again

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


Re: [U2] universe sockets

2009-04-13 Thread doug chanco

Interesting points, I will certainly share your

Stop looking at the sale price man! 

quote with them. I appreciate everyone concern about reinventing the 
wheel/you'll never do it right/its a nightmare/it will be next to 
impossible to maintain/it cost more to reinvent the wheel than use a 
current wheel comment(s) and I will certainly pass them all on.  Having 
said that I would appreciate any advice on how to at least make a good 
attempt at this, so that even if it gets scratched I can continue to 
play around with this at home (I personally find it interesting).


Right now my biggest problem is how to make my app. nonblocking from 
blocking, I can create a blocked socket and read/write to it just fine 
but when I try to make it nonblocking it never connecting to socket request.


My code basically is in a loop trying to read from a socket using 
readsocket and I understand why it works blocked but when I create the 
socket as unblocked I get the following error when I call acceptconnection


Connection ACCEPT Status = 12/The socket is marked as nonblocking and 
the requested operation would block.


The acceptionconnection code is below (where MODE = 2 nonblocking)

RESULT=acceptConnection(SOCKETHANDLE2,MODE,TIMEOUT,INADDR,INNAME,SOCKETHANDLE3)

I would appreciate any advice/suggestion/code examples/etc, if your 
willing to share anything (or help) lets take it off the list so as not 
to bother others (d...@chancofamily.com is my email)


thanks

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


RE: [U2] universe sockets

2009-04-13 Thread doug chanco
I hope so, because I would like to develop an in house iphone app that our
users can use to query our database for prices/quantity available and sadly
Apple only allows socket access to the closed iphone OS. 

If anyone has a pick server socket solution they would like to share I'd
appriciate it (answering requests and spawning a program to handle each
incoming request) otherwise I may go the route of moving the socket server
to the OS (using init.d to handle incoming requests and to spawn a program
to handle each request).

But I think I am getting close (to getting a working non blocking pick
socket server) and if I get it to work I'll post what I have to the web
site.

dougc


-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of phil walker
Sent: Monday, April 13, 2009 5:36 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] universe sockets

Maybe someone could put an example of this on the U2ug website, or Brian
could include it in his training materials if he has not already so that
people have an idea how to accomplish this ;-).

 -Original Message-
 From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-
 us...@listserver.u2ug.org] On Behalf Of Symeon Breen
 Sent: Tuesday, 14 April 2009 9:30 a.m.
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] universe sockets
 
  We want to explore other connection options that are not tied to
  uniobjects so that if we decide to switch from universe to say
 database
  x we can do so easier.
 
 
 My only comment on this is don't go writing socket code just for this
-
 just
 write a wrapper round the uniobjects code - so your code does not open
 a
 uniobjects connection and do read/write/select/run programs, it uses a
 class
 that you have written that in turn does this - pass a param to the
 class
 called DB and set it to uv - then when you want to switch to some
 other DB
 add the connectivity code to your class and away you go - basically
you
 are
 building a DAL (Data access layer) upon which your BLL (business logic
 layer) works - the bll does not care what the DB is or how it
 communicates
 that is the job of your DAL.
 
 Rgds
 Symeon.
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] universe sockets

2009-04-14 Thread doug chanco
very interesting points, email me at my home address and lets talk price 
(mostly for some examples/ideas/etc)


dougc

Tony G wrote:

From: doug chanco
...I would like to develop an in house iphone app that 
our users can use to query our database for 
prices/quantity available and sadly Apple only allows 
socket access to the closed iphone OS.



Use a web service from Objective C, which is relatively easy with
iPhone.  (Offer to assist can be inferred.)  Separate the client
from the server.  iPhone apps have nothing to do with data
access.  Create a web service and you can use it from any client.
Think indirectly and the world can open up for you.  :)

  
If anyone has a pick server socket solution they would 
like to share I'd appriciate it (answering requests 
and spawning a program to handle each incoming 
request)



If you can deal with a single threaded server it might work.
Unfortunately in the MV world I don't believe you will be able to
fork off processes like an HTTP server.

  
otherwise I may go the route of moving the 
socket server to the OS (using init.d to handle 
incoming requests and to spawn a program to handle 
each request).



Hmm, that sounds like...
http://sourceforge.net/projects/mvwww/
(My name is there but Glen did ALL the work)

Modify your perspective and you can have a solution in a week.
The current line of inquiry is more likely to lead to weeks or
months of searching, angst, and failure.

Good luck.
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

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


Re: [U2] universe sockets

2009-04-14 Thread doug chanco

Rex Gozar wrote:

I wrote u2pipe with a simple request/response socket model in mind:

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


This looks very interesting but I have one question

is it tied to wininetd/the client? (could I for example just open a raw 
socket to whatever port I bound it to and send/receive data from any 
system)?


from what I can gather this is tied to the client system, which makes 
sense since you refer to it as a way to connect a web server to a pick DBMS


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


Re: [U2] universe sockets

2009-04-14 Thread doug chanco
I am sure people are bored with all this socket talk, can I email you 
off list because I am missing something between your web page 
documentation and what you said below


dougc

Rex Gozar wrote:
On windows, u2pipe uses wininetd; on unix or linux it can be used with 
either inetd or xinetd (with xinetd you can limit the number of 
simultaneous connections; pending requests get queued.)


I'm not sure I understand your question, but wininetd/inetd/xinetd can 
listen on any port you specify, receiving raw requests from any system 
and sending back any kind of response data.  So the requester (i.e. 
client) can be a browser, web server, or ANY other program that can 
interact with sockets.


While you can write a socket listener in Universe basic, it can't be 
completely fault tolerant; the process can block or hang. 
Wininetd/u2pipe sidesteps the issue by spawning a new process for each 
individual request.


rex

doug chanco wrote:
is it tied to wininetd/the client? (could I for example just open a 
raw socket to whatever port I bound it to and send/receive data from 
any system)?


from what I can gather this is tied to the client system, which makes 
sense since you refer to it as a way to connect a web server to a 
pick DBMS

---
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 to SAP migration disaster

2009-04-20 Thread doug chanco
I worked for a company that bought another company to replace an 
existing product strictly because it has a pretty interface  by 
management.  The amazing thing was that they got several developers and 
support personall together to go over the system and see how it compares 
to ours (which was good) but that consisted of talking to the sales 
lmanager ady and hearing her tell us


oh yes it does that ...

amazingly we were not allocated time to actually see the system in 
action but rather to ask question if it could do x


after purchasing the system, we had a meeting with the president of the 
company and I asked how come we did not just put a GUI on our current 
system and was told


 we know you'll can do it BUT we cannot wait the 2 years it will take 
to develop


well we rolled out the system to our first customer and a week later 
they rolled back to the old system because while it had a pretty 
interface it lacked over 70% of the functionality that the old green 
screen system had and 3 years later when I left the company we were 
still fixing it to make it as functional as the old system it was replacing.


The sales manager lady left a few months after we acquired the company 
laughing all the way to the bank I bet ..


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


[U2] Question on UniVerse VOC record for CREATE.FILE

2009-04-23 Thread Doug Farmer
I am mainly a UniData person, so UniVerse is a bit foreign to me.

I am running UniVerse on a Windows Platform.

Using the CREATE.FILE command, I created a file with a long name (15
characters) with my standard VOC pointer, and the VOC pointer in the
UV\NEWAC,PICK file.

Using the CREATE.FILE verb in my VOC, I am able to create the file
correctly.  Using the verb as it is on the NEWAC,PICK file, it truncates
the file name.  This, even though the LONGNAMES is on.  See the examples
at the end of the E mail.

My VOC entry looks like

AE VOC CREATE.FILE
Top of CREATE.FILE in VOC, 6 lines, 40 characters.
*--: L22
001: V
002: create.file
003: E
004: VF
005: LONGNAMES
006: PICK.FORMAT
Bottom.
*--:

The NEWACC\PICK file verb looks like this (After I copy it to my VOC and
set LONGNAMES)
AE VOC PICK-CREATE-FILE
Top of CREATE.FILE in VOC, 6 lines, 40 characters.
*--: L22
001: V
002: create.file
003: E
004: FG
005: LONGNAMES
006: PICK.FORMAT
Bottom.
*--:

The only difference is attribute 4 which has an FG instead of VF in it.
I have no idea what FG vs VF is.

You may wonder why I am asking?  I have an old application that creates
files specifically using the PICK version, no matter what the VOC
version is.

I don't know why, is there a difference?

The only difference I know of is that LONGNAMES do not seem to work
under the PICK version.

Any ideas?

Thanks in Advance

Doug


Using PICK-CREATE-FILE

PICK-CREATE-FILE DAF1234567890123456 1,1,18 1,1,19
WARNING: An operating system file will be created with a truncated name.
Creating file DAF123456000 as Type 19.
Creating file D_DAF123456000 as Type 18, Modulo 1, Separation 1.

Using CREATE-FILE
CREATE.FILE DAF123456789012345 1,1,18 1,1,19
Creating file DAF123456789012345 as Type 19.
Creating file D_DAF123456789012345 as Type 18, Modulo 1, Separation 1.
Added @ID, the default record for RetrieVe, to D_DAF123456789012345.


This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses. Any views and/or opinions expressed in this e-mail are of the author 
only and do not represent the views of Epicor Software Corporation or any other 
company within its group.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Question on UniVerse VOC record for CREATE.FILE

2009-04-24 Thread Doug Farmer
Thanks, it was the V option

Doug

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Joshua Gallant
Sent: Friday, April 24, 2009 9:01 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Question on UniVerse VOC record for CREATE.FILE

The LONGNAMES command will update certain VOC records (CREATE.FILE,
DELETE.FILE, CNAME,  CREATE.BFILE) so they will work with long file
names properly.  Certain fields are updated with the necessary data when
that command is used that can be missed if modified manually.  For the
CREATE.FILE command it will add LONGNAMES to field 5 and change field
4 to either V or FV if the field previously had an F somewhere in
it.

It appears to me that someone manually modified the record in the
NEWACC,PICK file on your system instead of using the LONGNAMES command.
The proper command to update the records in the NEWACC file would be
LONGNAMES ON NEWACC

- Josh

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Doug Farmer
Sent: Thursday, April 23, 2009 5:04 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Question on UniVerse VOC record for CREATE.FILE

I am mainly a UniData person, so UniVerse is a bit foreign to me.

I am running UniVerse on a Windows Platform.

Using the CREATE.FILE command, I created a file with a long name (15
characters) with my standard VOC pointer, and the VOC pointer in the
UV\NEWAC,PICK file.

Using the CREATE.FILE verb in my VOC, I am able to create the file
correctly.  Using the verb as it is on the NEWAC,PICK file, it truncates
the file name.  This, even though the LONGNAMES is on.  See the examples
at the end of the E mail.

My VOC entry looks like

AE VOC CREATE.FILE
Top of CREATE.FILE in VOC, 6 lines, 40 characters.
*--: L22
001: V
002: create.file
003: E
004: VF
005: LONGNAMES
006: PICK.FORMAT
Bottom.
*--:

The NEWACC\PICK file verb looks like this (After I copy it to my VOC and
set LONGNAMES)
AE VOC PICK-CREATE-FILE
Top of CREATE.FILE in VOC, 6 lines, 40 characters.
*--: L22
001: V
002: create.file
003: E
004: FG
005: LONGNAMES
006: PICK.FORMAT
Bottom.
*--:

The only difference is attribute 4 which has an FG instead of VF in it.
I have no idea what FG vs VF is.

You may wonder why I am asking?  I have an old application that creates
files specifically using the PICK version, no matter what the VOC
version is.

I don't know why, is there a difference?

The only difference I know of is that LONGNAMES do not seem to work
under the PICK version.

Any ideas?

Thanks in Advance

Doug


Using PICK-CREATE-FILE

PICK-CREATE-FILE DAF1234567890123456 1,1,18 1,1,19
WARNING: An operating system file will be created with a truncated name.
Creating file DAF123456000 as Type 19.
Creating file D_DAF123456000 as Type 18, Modulo 1, Separation 1.

Using CREATE-FILE
CREATE.FILE DAF123456789012345 1,1,18 1,1,19
Creating file DAF123456789012345 as Type 19.
Creating file D_DAF123456789012345 as Type 18, Modulo 1, Separation 1.
Added @ID, the default record for RetrieVe, to D_DAF123456789012345.


This e-mail is for the use of the intended recipient(s) only. If you
have received this e-mail in error, please notify the sender immediately
and then delete it. If you are not the intended recipient, you must not
use, disclose or distribute this e-mail without the author's prior
permission. We have taken precautions to minimize the risk of
transmitting software viruses, but we advise you to carry out your own
virus checks on any attachment to this message. We cannot accept
liability for any loss or damage caused by software viruses. Any views
and/or opinions expressed in this e-mail are of the author only and do
not represent the views of Epicor Software Corporation or any other
company within its group.
---
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/


This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses. Any views and/or opinions expressed in this e-mail are of the author 
only and do not represent the views of Epicor Software Corporation or any other 
company within its group.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please

RE: [U2] U2 u2lic.dll

2009-04-27 Thread Doug Chanco
What OS are you using on *nix you can do 

who | grep user name

And the last column should be the IP address

xxx  pts/146 Apr 27 10:51 (xxx.xxx.xx.xx)

this can pretty easily be parsed using cut

dougc

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Bill Haskett
Sent: Monday, April 27, 2009 1:20 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] U2  u2lic.dll


   Baker:
   In  UniData,  when  I  use the LISTUSER command from TCL, or use
the
   LISTUSER()   function  in  BASIC,  the  IP  address  is  displayed
as
   127.255.255.255.
   We  run  a  hosted system, where we have multiple accounts using
our
   application.  We need to limit each account to {X} number of
logins, and
   need  the  IP  address  to perform this function while allowing
device
   licensing.
   All AccuTerm versions have this problem in UD v7.2, but not in any
previous
   version of UD.
   Thanks,
   Bill
 
__

   From: Baker Hughes baker.hug...@mouser.com
   Sent: 4/27/2009 9:50 AM
   To: 'u2-users@listserver.u2ug.org' u2-users@listserver.u2ug.org
   Subject: Re: [U2] U2  u2lic.dll

Bill,

Could you describe 'where' the IP address is displayed, do you mean in
the titl
e bar, Settings tab 4?

What functions are you using that leverage this IP address?

We are using UV 10.1 and Accuterm 2K2 Release 5.2.301 with no issues,
but I'm n
ot sure we are relying on the IP as you are.

-Baker

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug
.org] On Behalf Of Bill Haskett
Sent: Monday, April 27, 2009 9:43 AM
To: U2 Mail List
Subject: [U2] U2  u2lic.dll

   I'm using AccuTerm to access UD  UV...have been for years.  When I
upgraded
   to  UD  v7.2  the IP address displayed for anyone connecting to UD
via
   AccuTerm, when device licensing was turned on, is 127.255.255.255.
This
   messes up all functions we use that rely on the IP address, and
device
   licensing.  IBM wants an exorbitant amount of money from AccuTerm for
a new
   u2lic.dll, effectively doubling the cost of AccuTerm.
   Does this same problem manifest itself in the newest version of
UniVerse?
   As always, thanks.
   Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

This communication, its contents and any file attachments transmitted
with it a
re intended solely for the addressee(s) and may contain confidential
proprietar
y information.
Access by any other party without the express written permission of the
sender
is STRICTLY PROHIBITED.
If you have received this communication in error you may not copy,
distribute o
r use the contents, attachments or information in any way.  Please
destroy it a
nd contact the sender.
---
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/

-- 
This message has been scanned for viruses and
dangerous content by SecureMail, and is
believed to be clean.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


<    1   2   3   4   5   6   7   >