RE: [U2] Universe/UniObjects and Visual Studio

2007-03-13 Thread Anthony Dzikiewicz
Thanks
This link was very helpful.  I did finally figure it out and the
examples list exactly what I ended up doing.  The tutorial was excellent
and put me in the right direction.  This is also what I was looking for
in respect to java programming.  I was hoping to find a very simple data
entry program to get me going.  
Thanks
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, March 12, 2007 4:42 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Universe/UniObjects and Visual Studio


Anthony

there is a tutorial on using UniObjects with VB Express on the U2UG
Knowledge Base.

Check out : www.mvopen.org/cms and click the Knowledge Base link.

Regards,

Brian

Hi guys,

I am messing with Visual Basic Express edition.  I was hoping to use
UniObjects against my Universe Database.  The examples in the UniObjects
Developers Guide are a little outdated.  How do I get the UniObjects to
appear in the toolbar (if you can do this) ? They refer to Sub
Form_Load, which I have seen in older versions of VB, but not VB 2005.
Basically what I am looking for is a 'quick fix' for the 5 minute
program example in the Developers Guide that has already taken me beyond
that time frame.

Thanks
Anthony

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.8/716 - Release Date: 3/9/2007
6:53 PM
---
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/

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.8/716 - Release Date: 3/9/2007
6:53 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.10/720 - Release Date:
3/12/2007 7:19 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] How much RAM is too much

2007-03-12 Thread Anthony Dzikiewicz
Charles,

We are running an IBM xSeries with dual Xeons 2.5ghz and 5gb memory with
105 users all Universe (Linux) real time system, lots of files(type30),
lots of activity and our response time is exceptional.  So, all I can
say is that you probably need less than that.  Actually, these days you
can get a system similar to this for peanuts if you don't need to get
fancy with the storage system. 
Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Charles Barouch
 Sent: Monday, March 12, 2007 2:52 PM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] How much RAM is too much
 
 
 All,
 I need some opinions! I have a client who is willing to 
 spend to put 
 up a nice sized box, but they only want to spend once. Here's 
 what they 
 need to do: run a 4 user copy of Universe, holding a Type 30 
 file with a 
 mere 200k records. Requests will range from give me one 
 record (average 
 size is under 200 bytes) to give me all records.
 The catch is that two SQL databases, with criminally slow network 
 connections will be feeding a fresh set of records every hour.
  I need a recommendation on how much RAM and Processor to 
 throw at 
 the system so that SQL joins (6 levels deep) don't slow down the 
 UniVerse part of the system. The response time has to be 
 obscenely quick 
 (eCommerce for a very, very busy site).
 All thoughts appreciated.
 
 -- 
 
 Charles Barouch ([EMAIL PROTECTED])
 www.KeyAlly.com (718) 762-3884 x 1
 P. O. Box 540957, Queens, NY 11354
 ---
 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] Universe/UniObjects and Visual Studio

2007-03-11 Thread Anthony Dzikiewicz
Hi guys,

I am messing with Visual Basic Express edition.  I was hoping to use
UniObjects against my Universe Database.  The examples in the UniObjects
Developers Guide are a little outdated.  How do I get the UniObjects to
appear in the toolbar (if you can do this) ? They refer to Sub
Form_Load, which I have seen in older versions of VB, but not VB 2005.
Basically what I am looking for is a 'quick fix' for the 5 minute
program example in the Developers Guide that has already taken me beyond
that time frame.

Thanks
Anthony

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.8/716 - Release Date: 3/9/2007
6:53 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Universe/UniObjects and Visual Studio

2007-03-11 Thread Anthony Dzikiewicz
Dave,
I was able to get the COM assembly in the solution explorer.  I am now
looking at the .Net.  How do I go about getting the .Net assembly in the
'game'.  What I have tried is to go into the control panel on the PC and
go under admin, .Net framework and config, and tried to add.  I pointed
to the c:\ibm\unidk\uonet\bin\uodotnet.dll.  Of course Im just winging
it here.  It seemed that this made sense.  However, it does not appear
in the solutions explorer when I try yo add a .Net reference.  So, I
tried but no cigar.  What is the right way to do this ?
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Jordan
Sent: Sunday, March 11, 2007 8:53 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Universe/UniObjects and Visual Studio


Hi Anthony

Whilst UniObjects works with .Net, it is a COM assembly and needs to be
loads as a Comm Component.  IBM does provide a .Net assembly for U2, and
it would be better to use that.

You can add the Com or .Net attributes through the Add references in the
Solution Explorer.

Regards

David Jordan
---
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 Free Edition.
Version: 7.5.446 / Virus Database: 268.18.8/716 - Release Date: 3/9/2007
6:53 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.8/716 - Release Date: 3/9/2007
6:53 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Installing Printers on UV/AIX

2007-03-02 Thread Anthony Dzikiewicz
Dave,

Each printer we use is set up in the device file and the driver simply
'cat' s the file to the respective printer in the OS.  I tried to spool
something to a 'non Device file' printer and got a message 'Requested
printer does not exist.' 

To make it easy, you could simply write a quick program to accept the
printer name, file name, record name and do an EXECUTE that does an 'lp'
command.  This should do the trick nicely.  This is the approach that I
would take.  Its simple.  So you would end up with something like;

AIX.PRINT my.aix.pdf.capable.printer INVOICE.ARCIVE 10298478.pdf

Where AIX.PRINT is your program, my.aix.pdf.capable.printer is a printer
set up in aix, INVOICE.ARCHIVE is a sequential file, and 10298478.pdf is
the actual record that you want to print.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Taylor
Sent: Friday, March 02, 2007 5:13 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Installing Printers on UV/AIX


One of our clients is running uniVerse 10.1.22 on AIX 5.3 using Pick
flavored accounts.

All of their printers are network (TCP/IP) printers - none are serial or
parallel.

They have installed a UVDEFAULT printer on AIX connected to an AIX print
queue.

They can print to this printer from TCL but can not SPOOL a print job to
it from a file (not the HOLD file) using the AT option.

1.  Can the SPOOL command see O/S level printers/queues without having
to add them to the DEVICE file?

2.  Do they need to add these networked printers to the DEVICE file so
that the SPOOL command will see them, and if so, what does that record
need to look like?

4.  Is there anything else they need to do within Universe?

4.  Do they need to install these printers differently on AIX?

As always, thanks for your assistance.

Rgds,

Dave

Dave Taylor
President
Sysmark Information Systems, Inc.
49 Aspen Way
Rolling Hills Estates, CA 90274
800-SYSMARK (800-797-6275)
(O) 310-544-1974
(C) 310-561-5200
(P) 800-339-1497
(F) 310-377-3550
Your Source for Integrated EDI Translation and DataSync Integration
www.sysmarkinfo.com IBM Business Partner
---
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 Free Edition.
Version: 7.5.446 / Virus Database: 268.18.6/708 - Release Date: 3/2/2007
4:19 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.6/708 - Release Date: 3/2/2007
4:19 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] OT:Employment

2007-03-02 Thread Anthony Dzikiewicz
One thing I have been messing with over the last year is java.  I really
like the laguage.  I wish I knew it as well as I can bang out code in
Universe Basic.  I think it would be easier to get a job.  I havent
messd with .Net stuff.  I will probably give it a look.  I have friends
that use it.  It would be nice to see some example programs that do java
with Universe.  I get a little confused with structuring the code with
the objects.  I get caught up in the try blocks that you need for the
calls.  Anyway, does anyone have a small app that they could share.
Something like a simple data entry screen.  I learn much better from
example.  
Thanks
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Dzikiewicz
Sent: Thursday, March 01, 2007 6:52 PM
To: u2-users@listserver.u2ug.org
Cc: [EMAIL PROTECTED]
Subject: [U2] OT:Employment


Hi all,

If anyone knows of an open position in the Providence/Boston  area, I
would appreciate a heads up.  My company was bought  and I will soon be
out of a job.

Thanks
Anthony Dzikiewicz
Alperts Furniture

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.5/707 - Release Date: 3/1/2007
2:43 PM
---
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 Free Edition.
Version: 7.5.446 / Virus Database: 268.18.5/707 - Release Date: 3/1/2007
2:43 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.6/708 - Release Date: 3/2/2007
4:19 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] OT:Employment

2007-03-01 Thread Anthony Dzikiewicz
Hi all,

If anyone knows of an open position in the Providence/Boston  area, I
would appreciate a heads up.  My company was bought  and I will soon be
out of a job.

Thanks
Anthony Dzikiewicz
Alperts Furniture

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.5/707 - Release Date: 3/1/2007
2:43 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] SPOOLER

2007-01-25 Thread Anthony Dzikiewicz
You might have to write some code to help manage this.  I remember
changing the permissions of the unix 'cancel' command so that anyone in
a group could execute it.  What I also do for these kinds of things is
to have our batch processing program do the work.  So, lets say you
would have some kind of a 'gui' front end to build the command that you
want to execute and then just hand if off to the daemon.  The daemon
would be running as root.
Anthony


 
We are in the processing of  setting up a new system that 
 we will be migrating to.
It will be running  10.2  on HPUX 11.23.
 
We are planning to stop using our network print server and 
 spool through Unix
directly to the IP address. Here is the challenge.
 
 Joe produces a quite sizable job to the printer. So, the 
 UniVerse spooler processes
 the job and hands it off to the Unix spooler. At this 
 point, the job is no longer visible
 to the UniVerse spooler.  Since 'usd'  is running with 
 superuser level,  the Unix print
 file gets created with the same security level.
 
 Joe decides to cancel the print job.  He can not execute 
 SPOOL -CANCEL because
 UniVerse is no longer cognizant of the file. He cant 
 'cancel'  the job, because he does
 not have security level.
 
 Question:  How to create a print job from UniVerse, so 
 that the Unix print file will have
 an ownership/security that will allow Joe 
 to cancel his own print job.
 
  Note: If you press the cancel button on printer, Unix 
 seems to say 'oh, something
   happened to the printing, let me start over and 
 print it again'
 
 
 Thoughts, ideas, comments, criticisms.
 
 Barry  Rogen
 PNY Technologies, Inc.
 Senior  Programmer/Analyst
 (973)  515 - 9700  ext 5327
 [EMAIL PROTECTED]
 
 -
 Far better it is to dare mighty things, to win
 glorious triumphs even though checkered by
 failure, than to rank with those poor spirits who
 neither enjoy nor suffer much because they live
 in the gray twilight that knows neither victory
 nor defeat.t. roosevelt
 
 
 [demime 1.01d removed an attachment of type 
 application/ms-tnef which had a name of winmail.dat]
 ---
 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] OT:Digi Power Supply

2006-12-28 Thread Anthony Dzikiewicz
Hello everyone,

I wonder if anyone has a source for power supply for digi portservers.
We are using portserver II and we need some spares.  Meanwhile I am
searching ebay.

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


RE: [U2] Printer Creeping

2006-11-30 Thread Anthony Dzikiewicz
Ive had this happen.   This doesn't sound like your exact problem if it
is consistent, but I have had situations where a detail line (or
heading)  is all of a sudden going beyond the 132 col report length and
jumping down to the next line.  The fix was truncate the data to a fixed
length in the program.
Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Thursday, November 30, 2006 11:13 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Printer Creeping
 
 
 Just lately, one greenbar printer (we only have one left, 
 hurray), has started creeping less than a line per page. For 
 2 or 3 pages, who cares, other than me, but for any jobs more 
 than a few pages, the text is running over the perforation.
 
 This printer has been in service for more than a couple years 
 without any problems. This showed up on one job last month 
 and I turned the printer off and then back on and re-printed 
 and it worked fine. This morning, a report printed during the 
 night crept and after turning the printer off and back on, it 
 did it again on a reprint.
 
 Help? It's Month-End and I have over 1000 pages to print and 
 can't afford to have this problem, as you can imagine...
 
 Any ideas? grasp, grasp...
 
 
 -- 
 karl
 
  _/  _/  _/  _/_/_/      __o
 _/ _/   _/  _/_/   _-\._
_/_/_/  _/_/_/ (_)/ (_)
   _/ _/   _/  _/   ..
  _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]
 
 --
 IT Director, ATS Industrial Supply, Inc. http://www.atsindustrial.com
 Toll-free: 800-789-9300 x29
 Direct2Desk: 801-978-4429
 Facsimile: 801-972-3888
 --
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] OT:Universe Credit Cards

2006-11-14 Thread Anthony Dzikiewicz
John,

That would good.  I would like to see the code.  I am going to consider
this.  However, Im not sure that we will go that route.  I am
considering it and this will help.

Much appreciated
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Hester
Sent: Monday, November 13, 2006 9:35 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] OT:Universe Credit Cards


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Anthony Dzikiewicz
 Sent: Monday, November 13, 2006 10:58 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] OT:Universe Credit Cards
 
 Hello Everyone,
 
 I know this issue has come up before and I guess I cleaned
 out my office
 a little too good.  I lost some responses that I had saved.  Anyway, I
 am looking to possibly replace our credit card processing 
 solution.

I should have also mentioned in my original reply, I've got a relatively
short UV basic testing program (about 80 lines) that connects to a dummy
version of the Payflow Pro web service for initial testing.  I'd be
happy to send it to you off-list if you're interested.  You'll need to
get a login and password from PayPal to actually test it out, but seeing
the UV code may give you an idea of what would be involved in
integrating it into your application.

-John
---
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 Free Edition.
Version: 7.1.409 / Virus Database: 268.14.5/533 - Release Date:
11/13/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.5/533 - Release Date:
11/13/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] OT:Universe Credit Cards

2006-11-13 Thread Anthony Dzikiewicz
Hello Everyone,

I know this issue has come up before and I guess I cleaned out my office
a little too good.  I lost some responses that I had saved.  Anyway, I
am looking to possibly replace our credit card processing solution.  We
are currently using a DataCap LanTran system.  It is stand alone and for
the most part works without a problem.  However, when there is a problem
the support is the worst - the guy is excellent, but spread too thin.
Especially for a retailer who is very dependent on being able to process
credit cards.  I have seen a company mentioned before that has a set of
routines that can be called from Universe basic to process transactions.
Would someone be willing to share this again ?  Im not sure that I would
go that route, but should I consider it.  Does anyone have experience
with a good credit card solution that has rock solid 24x7 support (well,
we close at 10pm EST) ? 
Thanks
Anthony
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] OT:Universe Credit Cards

2006-11-13 Thread Anthony Dzikiewicz
It is point of sale and we accept debit cards.  We are currently on a
batch or specifically 'not host based' system.  We send a settlement
file at the end of the night.  This is not good when accepting debit
cards in general.  In the event that the batch gets clobbered, you dont
have the ability to reenter the debit cards.  If you have a host based
system then the transactions reside there and not on my machines.  I
like this better.  It off loads some responsibility (from my limited
staff) to not have these worries. 
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jpb
Sent: Monday, November 13, 2006 5:44 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] OT:Universe Credit Cards


Are you doing point-of-sale or are you looking for a company to do
billing 
of credit cards for you?
Jerry

- Original Message - 
From: Anthony Dzikiewicz [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Monday, November 13, 2006 12:58 PM
Subject: [U2] OT:Universe Credit Cards


 Hello Everyone,

 I know this issue has come up before and I guess I cleaned out my 
 office a little too good.  I lost some responses that I had saved.  
 Anyway, I am looking to possibly replace our credit card processing 
 solution.  We are currently using a DataCap LanTran system.  It is 
 stand alone and for the most part works without a problem.  However, 
 when there is a problem the support is the worst - the guy is 
 excellent, but spread too thin. Especially for a retailer who is very 
 dependent on being able to process credit cards.  I have seen a 
 company mentioned before that has a set of routines that can be called

 from Universe basic to process transactions. Would someone be willing 
 to share this again ?  Im not sure that I would go that route, but 
 should I consider it.  Does anyone have experience with a good credit 
 card solution that has rock solid 24x7 support (well, we close at 10pm

 EST) ? Thanks Anthony
 ---
 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/

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.5/533 - Release Date:
11/13/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.5/533 - Release Date:
11/13/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [OT] - Texas Sales Tax

2006-10-26 Thread Anthony Dzikiewicz
There are probably lots of tax packages out there to do this.  One that
I was using (on a mainframe) was Vertex.  I believe Vertex has software
and databases for this.  So, you basically call their routines with the
proper parameters and they return the tax to you.
Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Caminiti, Marc
 Sent: Thursday, October 26, 2006 2:34 PM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] [OT] - Texas Sales Tax
 
 
 This is totally off topic and apologize for this.
 
 Starting in January of next year, we will be collecting sales 
 tax for packages that we ship to Texas and was wondering if 
 someone would be willing to share (off-topic would be fine) 
 on how they figure out the correct tax for each city code.  
 Unfortunately we cannot go by zip code and I was wondering 
 what other people have done.  Reason for that, in their PDF, 
 they use the example of Kingwood, Texas (which we have 4 zip 
 codes for) states that the tax collected should go to City of 
 Houston and the Houston MTA, not to Kingwood.  Outside of 
 that explaination, I cannot find any other cross reference 
 between the 2, to try to create some logic out of it.
 
 Thanks in advance
 Marc
 
 Marc Caminiti   Nashbar Direct, Inc
 IS Manager  Bike Nashbar
 330.533.1989, ext 336   6103 State Route 446
 330.702.9733, fax   Canfield, OH 44406
 [EMAIL PROTECTED]  http://www.nashbar.com
 
 Computers make very fast, very accurate mistakes.
 ---
 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] Status of multiple active lists

2006-10-26 Thread Anthony Dzikiewicz
For lack of not knowing the right way.  You could do something like;
SELECT FILE
SAVE.LIST TO 2
Sometime later do
MERGE.LIST 2 UNION 2 TO 0
It should return the result of what is in select list 2.  

Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward
 Sent: Thursday, October 26, 2006 4:14 PM
 To: U2-Users List
 Subject: [U2] Status of multiple active lists
 
 
 Hi Folks,
 
 I need to be able to test for an active list when it's not 
 cursor 0.  In my program, I have an active list in 0 and I 
 want to do another select to list 2.  I then need to be able 
 to find out if there was, indeed, records found for list 2 so 
 I can do a save-list or whatever.  Normally I'd use 
 SYSTEM(11) but the documentation does not seem to specify 
 which list it's reporting back for.  I'd be happy if I could 
 get a count of how many ID's are in list 2, too, but I can 
 live without the count.
 
 TIA
 
 Bob Woodward
 Senior Programmer/Analyst
 Harbor Wholesale Grocery
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Sockets Universe Question

2006-10-17 Thread Anthony Dzikiewicz
Adrian,

Thanks for the suggestions.  Ive never run nmap before, this is good to
know about.  I have discovered that I plugged the routers into the
'inside' of the firewall.  They should have been on the 'dmz' side.  So,
I have corrected that and we still have issues.  

For the time being, it appears to be a network config issue rather than
a Universe issue.  Hopefully, I will get to the 'simple' part that you
describe soon.

Thanks
Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Adrian Merrall
 Sent: Monday, October 16, 2006 11:00 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] Sockets Universe Question
 
 
 Anthony,
 
  Yes I can ping it from the server running Universe from the linux 
  prompt.  I did not set up a route.  I believe the default 
 route should 
  work.  I will look into that one.  Thanks for the 
 suggestion. Anthony
 
 If you can ping the server then your routing is should be OK, 
 especially as you are doing from the lnx box running Universe.
 
 A common problem is firewalls (esp. corporate rather than 
 home linksys type ones) tend to limit outbound connections 
 and only allow outbound connections to port 80 etc.
 
 One way to test this would be to do as David suggested and 
 try to telnet to that port (telnet ipaddy port (e.g. telnet 
 123.456.789.100
 8080)
 
 As you are on linux you also should have the excellent nmap 
 tool.  Try something like nmap ipaddy - you have to run as 
 root to have access to some of the options but this will port 
 scan the remote box and let you know the ports they are 
 listening on.  Note you may want to let the bank know as 
 people can get a bit excited about port scanning as it is 
 often the first step in a remote instrusion attempt.
 
 Good luck, once you can get through my experiance is the 
 unibasic socket api works very well for the simple stuff.
 
 HTH
 
 Adrian
 ---
 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] Capturing not capturing...

2006-10-17 Thread Anthony Dzikiewicz
Ive never done it this way.  Looking at it quick it seems that EXECUTE
would be creating a new layer and that layer is independent of the DATA
stmnts in the previous.  When I do something like this, I create a VOC
maybe like;
PA
RUN LIB programname
DATA value1
DATA value2
Then in your basic program, EXECUTE this CAPTURING your output.

Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
 Sent: Tuesday, October 17, 2006 1:43 PM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Capturing not capturing...
 
 
 OK. This is bizarre.
 
 I have a program that does:
 
 DATA value1
 DATA value2
 EXECUTE RUN LIB programname CAPTURING JUNK
 
 I put in the Capturing junk, so I didn't get any of the 
 prompt data or displayed information
   from the programname program.
 
 So, why do I still get the ? and the data I'm pushing into 
 the program, as well as CR's Any reason that's not included 
 in the CAPTURED data?
 
 UV 10 on Redhat
 
 George Gallen
 Senior Programmer/Analyst
 Accounting/Data Division
 [EMAIL PROTECTED]
 ph:856.848.1000 Ext 220
 
 SLACK Incorporated - Delivering the best in health care 
 information and education worldwide. http://www.slackinc.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] Capturing not capturing...

2006-10-17 Thread Anthony Dzikiewicz
If the paragraph is working, then you could always write out the VOC
record and execute it.  Im saying that not really knowing the
application.  In some programs/system I have, I have done such things.
One that comes to mind is to 'mutli thread'.  So a program will will
build a VOC record (say one to kick off a batch print of a Purchase
Order) and PHANTOM that off.  The last statement in the VOC is to DELETE
VOC THIS.RECORD.  This way we are not holding up the user on the
terminal.  Just another thought.  Oh yeah, something else.  Is PERFORM
an option.  I forget the differences between EXECUTE and PERFORM.  You
might get different results with that.
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
Sent: Tuesday, October 17, 2006 3:51 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Capturing not capturing...


HMMM.

Seems that if you EXECUTE a paragraph with DATA, all is captured but if
you push DATA from a program, then EXECUTE, the pushed data 
   doesn't get captured, but does get accepted by the executed program.

Guess I'll have to use the @user.return.code to ferry my data and have
the program check for it, otherwise input data.

Any other Ideas?

example: (You would expect that the following program not display
anything,
  however, the DATA1 and DATA2 get displayed. Yet, if you run program 1B
  which runs the Paragraph which runs the program 2 nothing is displayed
  as expected.

PROGRAM 1A:
DATA DATA1
DATA DATA2
EXECUTE RUN LIB PROGRAM2 CAPTURING JUNK
STOP
END

PROGRAM 1B:
EXECUTE VOC1 CAPTURING JUNK

PROGRAM 2:
INPUT FLD1
INPUT FLD2
STOP
END

VOC1:
PA
RUN LIB PROGRAM2
DATA DATA1
DATA DATA2

George

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Anthony 
 Dzikiewicz
 Sent: Tuesday, October 17, 2006 3:07 PM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] Capturing not capturing...
 
 
 Ive never done it this way.  Looking at it quick it seems that EXECUTE

 would be creating a new layer and that layer is independent of the 
 DATA stmnts in the previous.  When I do something like this, I create 
 a VOC maybe like;
 PA
 RUN LIB programname
 DATA value1
 DATA value2
 Then in your basic program, EXECUTE this CAPTURING your output.
 
 Anthony
---
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 Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date:
10/17/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date:
10/17/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Sockets Universe Question

2006-10-17 Thread Anthony Dzikiewicz
You're right Craig.  The reason is simple - I dont know what Im doing
yet.  When I do, Bob will be my uncle as they tell me.  Ive never done
this before.  I am actually trying to help the programmer here (blind
leading the blind).  By the end of the week, we will right where we need
to be in terms of understanding this.

Thanks for the Help Craig.  I appreciate it.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig Bennett
Sent: Tuesday, October 17, 2006 7:48 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Sockets Universe Question


Anthony,

If you are the client (ie contacting the bank) why are you using 
initserversocket?

Initserversocket creates a process to listen for incoming connections 
binding to one of your local IP addresses (eg 192.168.1.1 from your 
example).

To connect to the bank you need to use opensocket eg: ERR = 
OPENSOCKET(123.123.1.1, 4215, 1, 2000, SKTHDL)


HTH,


Craig
---
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 Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date:
10/17/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/480 - Release Date:
10/17/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Sockets Universe Question

2006-10-16 Thread Anthony Dzikiewicz
Hello All,

I need a kick in the right direction.  We are for the first time doing
some sockets programming.  We are writing an app that will talk to a
bank thru a tcp/ip connection.  The line is in and tested.  We are now
trying to test the socket connection and we are getting errors.  The
error we are getting in the initserversocket is 36.  This means that
The specified address is not a valid address for this machine.  So,
our machine is lets say '192.168.1.1' and the bank is '123.123.1.1' port
is 4215.  

Im know the server that I am trying to contact is not on our network.
Our router should be handling that ?  I have successfully ping'd the ip
address of the bank.  I don't understand what we are not doing on the
Universe side.  Is there a config file that we need to set up ?

Any help is appreciated.

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


RE: [U2] Sockets Universe Question

2006-10-16 Thread Anthony Dzikiewicz
We have a point to point line intalled with a router that is configured
to take care of that.  The numbers I used in my example are not real.
The ip addresses are as different as in my example, but they are not
real.  Do you think this matters ?  
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Allen E. Elwood
Sent: Monday, October 16, 2006 6:14 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Sockets Universe Question


Mongo only pawn in game of network addressing, but isn't' 192.168.1.1
only valid inside your router firewall?  Like, that's why routers work
as firewalls, 'cus that address only works inside the router and won't
go out across the internet?

I type in that address in I.E. and get my firewall config screen!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anthony
Dzikiewicz
Sent: Monday, October 16, 2006 11:05
To: u2-users@listserver.u2ug.org
Subject: [U2] Sockets Universe Question


Hello All,

I need a kick in the right direction.  We are for the first time doing
some sockets programming.  We are writing an app that will talk to a
bank thru a tcp/ip connection.  The line is in and tested.  We are now
trying to test the socket connection and we are getting errors.  The
error we are getting in the initserversocket is 36.  This means that
The specified address is not a valid address for this machine.  So,
our machine is lets say '192.168.1.1' and the bank is '123.123.1.1' port
is 4215.

Im know the server that I am trying to contact is not on our network.
Our router should be handling that ?  I have successfully ping'd the ip
address of the bank.  I don't understand what we are not doing on the
Universe side.  Is there a config file that we need to set up ?

Any help is appreciated.

Thanks
Anthony
---
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/

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date:
10/16/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date:
10/16/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Sockets Universe Question

2006-10-16 Thread Anthony Dzikiewicz
Yes I can ping it from the server running Universe from the linux
prompt.  I did not set up a route.  I believe the default route should
work.  I will look into that one.  Thanks for the suggestion.
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Schasny
Sent: Monday, October 16, 2006 8:26 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Sockets Universe Question


When  you say that you can ping the remote machine, is that from the
server running Universe? If not, you may just need to set up a static
route on the server.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anthony
Dzikiewicz
Sent: Monday, October 16, 2006 12:05 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Sockets Universe Question


Hello All,

I need a kick in the right direction.  We are for the first time doing
some sockets programming.  We are writing an app that will talk to a
bank thru a tcp/ip connection.  The line is in and tested.  We are now
trying to test the socket connection and we are getting errors.  The
error we are getting in the initserversocket is 36.  This means that
The specified address is not a valid address for this machine.  So,
our machine is lets say '192.168.1.1' and the bank is '123.123.1.1' port
is 4215.

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date:
10/16/2006
---
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 Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date:
10/16/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date:
10/16/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Sockets Universe Question

2006-10-16 Thread Anthony Dzikiewicz
I will give that a shot.  We are the client in this set up.  What should
I expect if I telnet to the banks ip with the specified port ?  I am
trying this and the telnet just sits there.  I will talk to their guys
to help trouble shoot this as well.

Thanks
anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Jordan
Sent: Monday, October 16, 2006 7:50 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Sockets Universe Question


Hi Anthony

Have you checked the firewall.  A quick and simple test to see if the
socket is talking is to telnet to it using DOS or Unix Telnet utilities.

Regards

David Jordan
Managing Consultant
 
[EMAIL PROTECTED]

www.dacono.com.au
---
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 Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date:
10/16/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date:
10/16/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Universe INPUTCLEAR

2006-09-19 Thread Anthony Dzikiewicz
Hello All,

I have a strange situation going on with an Intermec CK30 terminal.  We
have an error message routine that clears the display, issues an
INPUTCLEAR, then displays the error message, then issues an INPUT
DUMMY,1 (press any key to continue).  This is so that the user cannot
bypass the error.

What has been happening is that the INPUTCLEAR statement seems to have
no impact on the typeahead buffer.  The error message is not displayed.
Somehow there is data in the typeahead.  The error message routine
appears to be skipped altogether.  What is happening is that the there
is still something in the typeahead when it gets to the INPUT DUMMY,1.
In effect pressing 'any key' for the user.  I changed the error message
routine to do INPUTCLEAR, INPUT DUMMY,1  , DISPLAY ERROR.MSG, INPUT
DUMMY,1.  This works and only requires one key press (even though you
all logic would make you believe it would require two).

Very strange.  Has anyone else encountered something like this.  Any
thoughts or suggestions would be helpful and appreciated.

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


RE: [U2] OT - Thin Clients

2006-08-22 Thread Anthony Dzikiewicz
Marc,

Have you considered the WYSE thin clients ?  I had evaluated some about
a year ago.  I thought the software on the WYSE did have VP emulation
built in.  Of the thin clients I looked at, I also liked the linux
versions.  The one windows based thin client that I looked at from
Neoware was running windows and crashed not more than 10 minutes out of
the box.

You might also want to check out this link;

http://www.ntavo.com/ntavo6020Ern.php

Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Caminiti, Marc
 Sent: Tuesday, August 22, 2006 10:07 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] OT - Thin Clients
 
 
 Has anyone had any experience with running HP Thin Clients 
 instead of the ADDS/Boundless 4000 terminals?  In particular, 
 I'm looking at either the HP T5520 and the HP T5525.
 
 I like the T5525 because of it running Linux (over the T5520 
 running Windows CE), and that the T5525 has 256MB Flash 
 Memory (over the T5520 which has 64MB).  They both have 128MB 
 RAM.  But the T5520 is a little cheaper (which really isn't 
 going to be the dealbreaker), but it does include Terminal 
 Emulation software and more importantly it has the ADDS A2 
 emulation that we need.  If we do get the T5525, does anyone 
 know of any emulation software that has the ADDS A2 (or 
 viewpoint) that runs on a thin client machine?
 
 Thanks for any advice, input or help.
 
 Marc
 
 
 Marc Caminiti   Nashbar Direct, Inc
 IS Manager  Bike Nashbar
 330.533.1989, ext 336   6103 State Route 446
 330.702.9733, fax   Canfield, OH 44406
 [EMAIL PROTECTED]  http://www.nashbar.com
 
 One thing vampire children have to be taught early on is, 
 don't run with a wooden stake. - Jack Handy
 ---
 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] OT: Email Attachment Universe Linux

2006-08-02 Thread Anthony Dzikiewicz
Hey guys,

We have a program that distributes information via various methods.  One
of which is to email the file as a PDF.  So, one of our users was on AOL
and then switched to Cox.  They read their email via the cox webmail
site on a browser.  The problem is that the attachment is coming over as
part of the message now and not as an attachment.  However, if they use
outlook as the email client, then the file is presented as an
attachment.  So, webmail client is doing something different than
outlook.  If I send an attachment to the person using outlook on my PC,
then the attachment comes thru as an attachment on the webmail client.

So, I think the problem is the way I am sending the email / attachment.
I am using the following;

uuencode MYFILE.PDF MYFILE.PDF | mail -s MYFILE.PDF -n
[EMAIL PROTECTED] 

This is being done on a Linux machine and we are shelling out of
Universe to issue the command.  Any suggestions on how to make it better
?

Thanks

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


RE: [U2] Login Paragraphs

2006-06-20 Thread Anthony Dzikiewicz
What Ive done in my login para for our rf users (and others) is this.
Each user logs in and gets a menu such as;

IF @LOGNAME = 'anthony' THEN ANTHONY.MENU

However for rf users I do;

IF @LOGNAME = 'rfuser1' THEN GO RF.MAIN
.
.   
.
RF:MAIN:
SET.TERM.TYPE VT100CK
ETC.
GO EXIT:

You might consider doing something like this.
Anthony


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Sohn
Sent: Tuesday, June 20, 2006 5:01 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Login Paragraphs


I'm trying to set the TIMEOUT value for a user in the LOGIN paragraph
based on the first few characters of the user ID but I don't know how to
check for partial matches. 

I'm doing:

PA
TIMEOUT 600
IF @LOGNAME = jsmith THEN TIMEOUT 1200
IF @LOGNAME = psohn THEN TIMEOUT 3600
  

I would like to add something like the below but I'm not sure of the
syntax:

IF @LOGNAME[1,2] = rf THEN TIMEOUT 2400


Paul
---
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 Free Edition.
Version: 7.1.394 / Virus Database: 268.9.0/368 - Release Date: 6/16/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.0/368 - Release Date: 6/16/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Universe Java

2006-06-03 Thread Anthony Dzikiewicz
So I finally got around to downloading the U2editor plugin for Eclipse.
Im still in the learning curve for all of this.  So, I think I got
everything working and I set up my server and then account.  However,
the directory tree under the account does not show any of my files.  I
checked to see that Universe is running (Personal Edition on my laptop -
localhost). It was, and I am able to telnet.  I added an entry in
UV.ACCOUNTS called ALP.OE, which points to C:\POS\ALP.OE (my account).
I enter ALP.OE for the account when registering the account (actually
Ive tried both C:\POS\ALP.OE and ALP.OE) When I click the directory
files, I get an error window telling me to check the error log.  I have
yet to find where that file is.  

Anyway, what do you think I did wrong ?  It seems that it is not
connecting for whatever reason.  Any suggestions would be appreciated.

Thanks
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of D Averch
Sent: Tuesday, May 30, 2006 10:42 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Universe  Java


If you are using Eclipse you can get a free plug-in Editor for Universe
and Unidata from our web site at www.u2logic.com.

In the following weeks we will have announcements on our new products
that are using Eclipse that run in the U2 environment.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Dzikiewicz
Sent: Tuesday, May 30, 2006 8:24 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Universe  Java

Thanks for the suggestions on the IDE's.  I am downloading all that were
mentioned to see which one will suite me best.

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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.4/351 - Release Date: 5/29/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.1/354 - Release Date: 6/1/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Universe Java

2006-05-30 Thread Anthony Dzikiewicz
Thanks for the suggestions on the IDE's.  I am downloading all that were
mentioned to see which one will suite me best.

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


[U2] Universe Java

2006-05-29 Thread Anthony Dzikiewicz
I was wondering what IDE if that folks are using to develop
Universe/Java ?  From time to time I mess around with Java, and I would
like to use something that will be able to expose all the
properties/methods of the UniObjects.  I was using Visual Cafi and I
remember that it did not do this.  I think that program is non-existent.
So, I need something else and Im looking for suggestions. 

So, all of you Java guys and gals what do you use to develop in
Universe/Java ?

Anthony

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.4/351 - Release Date: 5/29/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Terminfo help Universe

2006-05-15 Thread Anthony Dzikiewicz
I have just tried to add a new terminal to Universe and I compiled the
terminfo.src using
Uvtic -v /usr/ibm/uv/sample/terminfo.src

And got;

[EMAIL PROTECTED] bin]# uvtic -v /usr/ibm/uv/sample/terminfo.src
am', ignored.own boolean capability '
lines', ignored. numeric capability '
tbc', ignored.wn string capability '
cup', ignored.wn string capability '
cuu1', ignored.n string capability '
smso', ignored.n string capability '
rmul', ignored.n string capability '
kf2', ignored.wn string capability '
kf8', ignored.wn string capability '
rmkx', ignored.n string capability '
cuf', ignored.wn string capability '
rs2', ignored.wn string capability '
ri', ignored.own string capability '
sgr', ignored.wn string capability '
hts', ignored.wn string capability '
kc3', ignored.wn string capability '
enacs', ignored. string capability '
kexit', ignored. string capability '
at1', ignored.wn string capability '
at5', ignored.wn string capability '
at10', ignored.n string capability '
at14', ignored.n string capability '
at33', ignored.n string capability '
at35', ignored.n string capability '
at39', ignored.n string capability '
at41', ignored.n string capability '
at48', ignored.n string capability '
at57', ignored.n string capability '


What did I do wrong - my terminals are now 'clobbered'  screen painting
is nutso !


Please Help !


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


RE: [U2] Terminfo help Universe

2006-05-15 Thread Anthony Dzikiewicz
Problem Solved;

What happened was that the terminfo.src file was corrupt.  Im not sure
how this hsppened.  I am the only one messing with things of this nature
at work.  I must have ftp'd or samba'd the file at some point and it
took a whack.  

The other thing I missed was the '-a' in the uvtic command line.  

When it didn't work I was starting to feel a little panicky.  The whole
place here is pretty much dumb terminals and there was no terminfo defs.
So, users were logging in and getting there menus and such displayed in
a way that they could not read them at all.  I started to think - this
is the time that we are going to have some kind of system deadlock and I
will have to log everyone out and then they wont be able to log back in,
because the teriminal defs are bad.

I just typed in the terminfo defs from a printout and got things bac to
what they should be.

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


RE: [U2] Press any key to continue... - how to skip

2006-04-12 Thread Anthony Dzikiewicz
LIST VOC NO.PAGE (Universe anyway)

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of #ukasz s
 Sent: Wednesday, April 12, 2006 10:12 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Press any key to continue... - how to skip
 
 
 How can I skip Press any key to continue... during:
 LIST VOC command?
 thanks for answers:-)
 ---
 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] Changes to the List

2006-03-16 Thread Anthony Dzikiewicz
I am used to the changes.  I dont see a problem with it.  However, the
traffic has seemed to drop.  We could be missing out on some interesting
discussion.  The problem is that some people have a hard time adapting
to change.  I think the reply / reply to all is a nice choice to have.
Sometimes you might want the choice to reply only to an individual.  

Personally, I probably would not have changed anything unless the
problem experienced at first was a recurring.  I dont go looking for
bugs in my system if a user brings me a one time odd ball error.  I
probably would have tried to write a 'filter' that might eliminate
messages with certain info in the subject or body.  The problem that
occurred could have been eliminated by adding that subject to your
filter and those messages could have been sent to the bit bucket.

If users on my system find a way to get bad data into the files, you fix
the problem by tightening up the edits for the field entry.  I see this
stiuation as being very similar.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of u2ug
Sent: Wednesday, March 15, 2006 8:30 PM
To: [EMAIL PROTECTED]; u2-users@listserver.u2ug.org;
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [U2] Changes to the List


All,
 We've now been living with the change to the lists for nearly a 
month. I'd like to invite opinions on the change. Are we all happy now 
that we are used to it? Personally, I think Larry made a good call, but 
this is a community, so I want me be sure that everyone gets heard. I've

still got Jerry and Tom's original issues bookmarked, and I'm especially

interested to see if their issues are still problematic.

- Charles Barouch, Moderator

U2-Users
U2-Community
RBSolutions
SBSolutions

Visit http://listserver.u2ug.org, 
enter your e-mail address, 
and 'browse all' lists to maintain your access.

For non-U2UG e-mail: [EMAIL PROTECTED]
---
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 Free Edition.
Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 3/14/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 3/14/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] RedHat, Universe, unlocking

2006-03-09 Thread Anthony Dzikiewicz
This may be of some help.  
At one time, I needed non-root users to be able to do PORT.STATUS to see
all that was happening on the system.  Anyway, to resolve this I did
(Red Hat Linux);
 cd /usr/bin
 chmod u=rws ipcs

I believe the 'chmod' may have been done to list_readu as well.  Anyway,
that was the magic that allowed non-root users be able to issue
PORT.STATUS and get to see everything going on instead of just their own
'stuff' (default).

This may work for you.

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


RE: [U2] RE:Merging Unique

2006-02-26 Thread Anthony Dzikiewicz
Greg,
I dont believe that you can issue a unique as a parameter to the
MERGE.LIST.  You will probably have to do a SELECT after the MERGE.LIST
using a SAVING UNIQUE one more time to be sure that there arent any
dups.  If you have some time, then write a merger program that takes the
list names as parameters and a unique parameter.  Use that to do all you
merging.  The thing about merging is that if both lists arent active, it
doesnt happen.  If you write a program to do this, then you can control
it much easier.
Anthony 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Coelho, Gregory
Sent: Saturday, February 25, 2006 7:55 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] RE:Merging Unique


Hey,



I want 1st say thanks for all the help in the past - it is certainly a
factor in why I still have a job!  Can anyone let me know how I can
merge using Union and be guaranteed that I have not pulled in any
duplicate elements?  I know I can SAVING UNIQUE when constructing a
SAVE.LIST to ensure no duplicate ID's.  Can I do something similar when
merging?



Thanks,



Greg
---
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 Free Edition.
Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UFD

2006-02-23 Thread Anthony Dzikiewicz
There could be lots of good reasons for files to be there if you are
running on Unix.  There could be log files for whatever, maybe the
'uvspool' directory is pointed there ?, there could be script files that
running via cron for automation. If users have your account as their
home directory, then there could be clutter from that situation.  Maybe
if you post what some of those unknown files look like, someone might be
able to identify them as such and such.  

There is the utility CLEAN.ACCOUNT that might be of some use to you.  In
any case, backup everything before you start

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


RE: [U2] Unix Security

2006-02-15 Thread Anthony Dzikiewicz
It looks good as long as your users are all part of the users group.
You probably want to look at the umask options for users as part of the
login paragraph. If a user changes a record and the files becomes
theirs, then this is bad.  I had something like this happen and I had to
fix it by setting the umask in the login paragraph.  I believe this was
for type 1 files not static and dynamic.

Im not a security expert, but I dont think there are any implications
for print applications.  I would think that as long as a user can read
the file, then they could generate a report from it.  What would be more
important is if the user has rights to the spool directory and it
doesnt sound like you're changing that, but you are changing the users
group.  Are you adding users to additional group users or are you
changing the users group from test to users.  Can the users group write
to the spool directory ?  Im not sure if this matters.

When I look at this I ask myself what does this really gain you and is
it worth doing the work (although I dont know how many files you're
dealing with).  Do you have 'others' on the computer ?  Plans for
'others' ?  Are the users all in the test group already and you have to
change the group and then add all users to that group ?  If you had to
do a lot of work and there are no 'others' on the system, then the worst
you could do is maybe screw something up and stop something that once
worked from working.  Thats my thinking - if it ant broke dont fix it
and keep it simple.  If you can try all of this out on a test system.

Ive always read that when securing a system you should make it as tight
as possible and then punch holes here and there only as needed.  I find
that myself I work backwards.  I make everything 'open' so that
everything 'works' and then I go back and tighten up things.  I think
this backward approach is more difficult.  I am fortunate enough to not
have a big security problem.  Our server only runs Universe and everyone
on it has access to every file and there are no special considerations.
So, I can get away with this 'policy', but I know it isnt the best
practice.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Wednesday, February 15, 2006 6:46 PM
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] Unix Security


In the name of enhacing security, I want to change UniVerse file
rights...  

from   -rwxrwxrwx   root   testUV.DATA.FILE 
to -rwxrwx---   root   users   UV.DATA.FILE 

Will end-users be able to do their transactions?
Will the print applications work?
Are there any special considerations for UV?

Suggestions would be appreciated.

--Bill
---
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 Free Edition.
Version: 7.1.375 / Virus Database: 267.15.9/261 - Release Date:
2/15/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.9/261 - Release Date:
2/15/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] phantom COMO file message

2006-02-02 Thread Anthony Dzikiewicz
They are in the PH file.  Here is an example;

CLEAR.FILE DATA PH
File PH has been cleared.
PHANTOM COUNT CF
Phantom process started with process ID 17087.
[17087] Done: COUNT CF
LIST PH
 
LIST PH 12:49:43  02-02-06  PAGE 1
OS filename...
 
COUNT_46180_13913
 
1 records listed.


46180 IS THE TIME 12:49:40 AND 13913 IS THE DATE 02/02/06

Another way to track things is by doing COMO ON whatever, in each
PAragraph.  The problem with this is that each time you run the job it
will step on the last one possibly hiding errors.  Another thing to look
at is the error log for Universe.  On our system is in in
/usr/ibm/uv/errlog.  Basically the Universe home directory.  If the file
doesn't exist, then just create it and Universe will start logging to
it.

Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Thursday, February 02, 2006 11:58 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] phantom COMO file message
 
 
 Does anyone know where I might get a list of COMO file 
 messages that are 
 written out by phantoms, when different issues come up in the 
 programs, 
 being ran by the PHANTOM command?
 
 For example, when is this message written out?:
 
 PHANTOM process 392716 has completed.
 
 Is this simply written everytime the process that created the 
 COMO file 
 ended for any reason? What if an error state is encountered? What if 
 killed by an admin? What about a core dump? Etc.
 
 Our programmers relate has completed with a successful 
 completion of the 
 program.
 
 Thanks!
 
 Tom VanKirk
 Systems Admin
 Kraftmaid Cabinetry 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] Newbies need love too

2006-01-31 Thread Anthony Dzikiewicz
You will probably find that it really isnt difficult to learn.  I moved
into my current job 12 years ago with absolutely no experience with
Universe (actually it was PI/Open and then we moved to Universe).  I
learned it by just reading, playing on a test account, reading source
code, and just getting thrown into the hot seat.  I had about 10 yrs
previous experience on other systems and databases before Universe.
That makes it easier.  You find that you are really doing the same thing
using different commands.  Once you are settled with things, you will
find that Universe doesnt need a lot of baby sitting.

The people on this list are a great help.  There is lots of experience
here and people are always glad to help.  Dont be afraid to ask
questions.  

Anthony


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date:
1/27/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Linux FC4 , UniVerse PE and Telnet

2006-01-30 Thread Anthony Dzikiewicz
Did you install telnet when you installed Fedora ?  It does not install
by default.  When you installed fedora, under the list of programs to
install there was a choice for legacy networking.  The telnet service is
in that group of choices.  So, you may have to install telnet and make
sure the service is up for run level 5.  After that, things should be
fine.  Unless, you installed the firewall and iptables and etc  You
may have other issues.  I never install the 'security stuff' (no reason
to for me).

Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Martin Scholl
 Sent: Monday, January 30, 2006 10:20 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Linux FC4 , UniVerse PE and Telnet
 
 
 I just installed UniVerse PE on Linux Fedora Core 4.
 That went pretty well. I had to make a symbolic link for 
 'uncompress' to 'gunzip' and the uv.load script worked fine. 
 But I can't get telnet to work. I went to the X-package 
 manager and installed telnet.  Now there is in /etc/xinetd.d 
 a file called telnet.  I restart xinetd, I reboot, I 
 reinstall Universe, nothing; telnet does not work:Connection 
 refused What am I missing?
 
 Martin Scholl
 ---
 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] Callcenter screen pop

2006-01-10 Thread Anthony Dzikiewicz
Well you could do a PCPERFORM or PCGET (If I am remembering correctly)
to look in the PC for a number that is being sent by the phone system.
I would look at pressing an Fkey as a function to go out and grab the
number from the phone system.  This way it isnt so intrusive. 
We use smartterm terminal emulator here.  If I have a telnet session and
an ftp session going, then the ftp session times out it pops up in front
of everything you are doing to notify you of the ftp session time out.
This is the most annoying thing going.
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Hester
Sent: Monday, January 09, 2006 9:10 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UV] Callcenter screen pop


Anthony Dzikiewicz wrote:
 Ive seen something like this when we visited a company in Florida.  
 They are running a Universe system with some terminal emulation on the

 PC's. What they had was a separate software package that popped up the

 incomming call in a small window that they cut and pasted into the 
 application.  Im sure this could be automated.

I've been looking through the Accuterm scripting documentation in hopes 
of finding a way to do just that, but nothing jumps out at me.  There 
are OLE/ActiveX objects in Accuterm that allow capturing of screen data 
to send to another application, but I don't yet see how to go the other 
direction.  I'll keep looking though.

-John
-- 
John Hester
System  Network Administrator
Momentum Group Inc.
(949) 833-8886 x623
http://memosamples.com
---
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 Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date:
1/9/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date:
1/9/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] Callcenter screen pop

2006-01-09 Thread Anthony Dzikiewicz
Ive seen something like this when we visited a company in Florida.  They
are running a Universe system with some terminal emulation on the PC's.
What they had was a separate software package that popped up the
incomming call in a small window that they cut and pasted into the
application.  Im sure this could be automated. 
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Hester
Sent: Monday, January 09, 2006 6:34 PM
To: U2 Users Discussion List
Subject: [U2] [UV] Callcenter screen pop


We're looking into new call center software and trying to determine to 
what degree we can integrate incoming call handling with our UV order 
entry software.  Assuming that we've captured either a phone # via 
caller ID or a customer account number by having them key it in, does 
anyone know of a way to push this information into a green-screen UV 
application?  The call center software packages we've looked into a 
Windows based, and we use Accuterm to run our UV applications.  The only

way I can see this working is if the customer service agent is sitting 
at the appropriate order entry prompt in the UV application prior to 
answering the phone (which is acceptable), and the data is then sent to 
Accuterm (or some other terminal emulator).  Has anyone done anything 
like this?

TIA,
John
-- 
John Hester
System  Network Administrator
Momentum Group Inc.
(949) 833-8886 x623
http://memosamples.com
---
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 Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date:
1/9/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date:
1/9/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] DCOUNT

2006-01-06 Thread Anthony Dzikiewicz
This is the way we always do it. 
For associations, you might be better off creating a separate set of
subroutines that add and delete to rows of associated values.  Its just
more controlled and you dont end of with uneven columns of data.  The
system Im working was not designed this way and I was finding tables of
data within records that were uneven.  We still have a little of that
left and I plan to knock that out when we can.
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson
Sent: Thursday, January 05, 2006 12:22 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] DCOUNT


I'm finding that I'm doing a lot of programming for the processing
through multi-valued attributes.

I'm wondering if the method I'm using is the best way to determine the
last element.

LAST=DCOUNT(REC15,@VM)
FOR I=1 TO LAST
(process something)
NEXT I

There was a REMOVE thread a few months ago and I use that when I expect
that the number of elements could test the patience of the EXTRACTs.
REMOVE doesn't give you the MV counter for the associated fields by
itself. You have to manage separately and hope to keep in sync. That's
more code.

I know that in VB certain object array variables (a list box for
example) has a property for the number of elements. Is there anything in
MV that I'm not aware of for determining the last multi-value that's
easier to type than the DCOUNT expression. I'm looking at reducing my
keystrokes.

Thanks in advance.
Mark Johnson
---
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 Free Edition.
Version: 7.1.371 / Virus Database: 267.14.14/222 - Release Date:
1/5/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.14/222 - Release Date:
1/5/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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

2006-01-06 Thread Anthony Dzikiewicz
We are using Veritas NetBackup.  What we do is kick off the users, do a
disk to disk with Veritas, process nightly (approx 15 minutes of
exclusive system use), then allow users to login. After that we
duplicated the diskbackup to tape.

Our files that are backed up are only about 4.5gb.  So, it does go
pretty quick.  As far as people complaining, what can you say.  There
are absolutely more sophisticated ways of doing this using replication
and so forth.  The question is how much do you want to spend on this and
how much do you want complicate things ?  Sometimes you really have no
choice and you have to bit the bullet.

I say keep it simple.

Anthony

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


RE: [U2] [UD] BASIC LOCKs

2005-12-29 Thread Anthony Dzikiewicz
I created a system of tracking background processes.  I have a file PID,
which tracks everything. When a phantom is launched it updates itself in
the PID file via some routines I wrote to interact with this.  I have a
command that will show the status of all things in the PID file.  When
this command runs, it simply looks at the PID of said PHANTOM and it
checks in the OS (we are on Linux) to see if it is running.  There is
more to it, but this is the basic concept.

If you use 'LOCK' command, then you would use LIST.LOCKS to see if the
semaphore is locked (we are running Universe).  So I would say that this
is really like a 'common' structure.  There are 64 locks that can be
used this way in Universe.  We use these to ensure that a particular
process is running only once.  In our use of LOCKS we would do something
like LOCK 5;do some processing; UNLOCK 5 and quit.  However, if you use
this and the PHANTOM dies I think the lock is still set.  So this isnt a
real fool proof way of doing this.  

PORT.STATUS will let you know if a PHANTOM is running, but you either
have to be root or you have to change the permissions to allow you to
see this.

We have written our own batch processing system.  For whatever reason,
the batch processor dies on occassion.  Because this happens, I have a
cron job that runs every 5 minutes to check to see if the batch
processor is running (via the PID file) and if it sees that it is not
running, it kicks it off.

Anyway, when I was struggling with a similar problem, I decided to put
together our 'PID' tracking / control system.  It seems that all the
information is there for you to determine what you need to know.
However, it isnt presented in a way that you would like it to be.  So,
you will probably have to take this and write your own 'value added' way
of presenting what it is that you need.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Wolverton
Sent: Wednesday, December 28, 2005 12:56 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UD] BASIC LOCKs


Since we don't have Semaphore-like COMMON structures, I was going to use
the BASIC LOCK to know that a Phantom was running -- the lock missing
would tell me to start the process.

HOWEVER, if the phantom 'dies' - the documentation makes it read as if
the LOCK will stay engaged -- does anyone have practical knowledge if a
phantom falling over 'implies' an ECL QUIT?

I know I could use READU, but my understanding is that BASIC LOCKs use
far fewer resources to test - and as I will add a test for the Phantom
being 'up' in several common routines, I don't want to cause extra
bottlenecks.

(I really wish we had cross-process COMMON for things like this!)

Thanks -
David W.
---
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 Free Edition.
Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date:
12/27/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date:
12/27/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] BASIC LOCKs

2005-12-29 Thread Anthony Dzikiewicz
I didn't know about GET.USERS.  I did a HELP GET.USERS, HELP BASIC
GET.USER and there was nothing.  Is this undocumented or is this a home
grown utility ?

Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Jacques G.
 Sent: Thursday, December 29, 2005 10:49 AM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] [UD] BASIC LOCKs
 
 
  PORT.STATUS will let you know if a PHANTOM is
  running, but you either
  have to be root or you have to change the
  permissions to allow you to
  see this.
 
 The Universe function GET.USERS will also let you know
 if a phantom is running.  It also has the advantage
 that it won't give you the message: Another
 PORT.STATUS is running.  Some users can block
 PORT.STATUS if they stay on the Hit a key to continue message.
 
 
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.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] Alternate Indexes

2005-12-29 Thread Anthony Dzikiewicz
You might have to do;
SET.INDEX DELIN TO NULL FORCE
CREATE.INDEX DELIN TAXNO
CREATE.INDEX DELIN LOAN.CO.NO
BUILD.INDEX DELIN ALL

I keep a VOC record updated (REBUILD.INDEX.ALL.FILES) with all our
alternate indexes and I use this to reindex the account whenever we move
the account to a test machine.  Fortunately, it doesn't take too long
(10 minutes) for all of our files so it is practical for us.

Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Mark Waldron
 Sent: Wednesday, December 28, 2005 4:12 PM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Alternate Indexes
 
 
 We just converted from DG/UX to Win/2003 UV 10.1.11 over the 
 Christmas extended weekend.  Everything went pretty well 
 considering. My problem is my Alternate indexes will not stay 
 Enabled.  We Enable and Rebuild the indexes but for some 
 reason they won't stay.  We do a LIST.INDEX and it shows
 
 :LIST.INDEX DELIN ALL
 Alternate Key Index Summary for file DELIN
 File... DELIN
 Indices 2 (0 A-type, 0 C-type, 2 D-type, 0 I-type, 0 
 SQL, 0 S-type) Index Updates.. Disabled, Indices require updating
 
 Index name  Type  BuildNulls  In DICT  S/M  Just Unique Field
 num/I-type
 TAXNODNot Reqd  YesYes  SL N6
 LOAN.CO.NO   DNot Reqd  YesYes  SR N27
 
 
 Any suggestions.
 
 
 Mark Waldron
 City of Salem, Va
 Email  [EMAIL PROTECTED]
 
 ---
 [This E-mail scanned for viruses by Declude Virus]
 ---
 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] Eliminating strange characters

2005-12-29 Thread Anthony Dzikiewicz
I have a weird situation that I could use some help on.

I am trying to copy an account on a Linux testmachine to a Winwdows PC.
The account on the testmachine is shared via Samba.  The trouble is that
there are some files that have weird files in the directories and it
stops the copying.

For example,
There is a dictionary called D_COMMENTS.  It is a type 30 file.  If you
go into that directory in Linux and list whats there you get the
following;

[EMAIL PROTECTED] D_COMMENTS]$ ls -al
total 44
drwxrwxrwx2 root alperts  4096 Aug 13  2004 .
drwxrwxrwx  800 root alperts 24576 Dec 29 15:29 ..
-rwxrwxrwx1 root alperts  2048 Aug 13  2004  ?0
-rwxrwxrwx1 root alperts  1024 Aug 13  2004  ?1
-rwxrwxrwx1 root alperts  2048 Feb 15  2005 DATA.30
-rwxrwxrwx1 root alperts  1024 Aug 13  2004 OVER.30
-rwxrwxrwx1 root alperts 0 Aug 13  2004 .Type30
[EMAIL PROTECTED] D_COMMENTS]$

During the copy of the files from the testmachine to the PC, it aborts
when it hits the files that appear to be named ' ?0' and ' ?1'.  Those
files are actually named 'space', 'backspace', '0', and '1' or
CHAR(32):CHAR(8):CHAR(48), and CHAR(49).  I don't know how they are
getting there, but I suspect something funky going on during sombodies
ftp copy.

Anyway, how can I do a search for these 'goofy' files, so that I can
find them all and delete them all at once ?

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


RE: [U2] [UD] BASIC LOCKs

2005-12-29 Thread Anthony Dzikiewicz
This is good info.
 
I did some experimenting with it and I found that on one Linux system
the loop thru the USER.INFO shows all process running and on the other
Linux system the same program shows only 'me'.  When I run this on the
Windows machine it show everything running.  So, on two machines it
contains almost the same info as PORT.STATUS and on one it doesnt.
However on that same machine that shows only 'me', a PORT.STATUS does
show everything ?

I guess when the Bishop came in, he forgot to bless one of the machines
?

Anthony

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date:
12/29/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV: LIST.READU question

2005-12-19 Thread Anthony Dzikiewicz
Im not sure about the strings / list_readu.  I would imagine that
strings just filters our readable characters from the list_readu file
itself not the output of list_readu (unless you are piping the output).
I used to use strings on large (non text) error logs and grep for
certain data.  Sorry, but thats all I can offer on that one.  

What you have to try to do is to pinpoint the two process involved and
fix the locking strategy.  All programs should lock files in the same
'direction' and in the same 'order' For example if you are updating
lines on an order I think it is good to lock the order header first
(even if you are not updating the order header).  So once you have the
order, nobody else can touch the order or the line items, because thats
the rules.  If you dont do this, then one process could be updating the
lines and then head for the order header to update say a status field
while another process is updating the header and heading for the lines
and then you have a nice little deadlock.  This is probably a whole
'nother topic.  

Anthony  



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hennessey, Mark
F.
Sent: Monday, December 19, 2005 3:16 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UV: LIST.READU question


Anthony:

snip
We see that from time to time.  However, only when we issue LIST.READU
EVERY.  It is a deadlock.

/snip

Yes, as was pointed out by another poster as well (BobW), we were
running with the EVERY option.  

And thanks for telling me how the entry got there.

Using the unix 'strings' command, I see that list_readu will also output
about Active Read Waiters.  Another undocumented output...  Would these
be read deadlocks?

Mark
---
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 Free Edition.
Version: 7.1.371 / Virus Database: 267.14.1/207 - Release Date:
12/19/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.1/207 - Release Date:
12/19/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] records with unprintable characters

2005-12-13 Thread Anthony Dzikiewicz
Carl,

Something like the following is an idea.  This might filter a bit more
than what you want, but it is simple enough to modify.


FUNCTION CLEAN.TEXT(TEXT)
 TEXT.OUT = ''
 FOR Y = 1 TO LEN(TEXT)
TEST=SEQ(TEXT[Y,1])
IF TEST32 OR TEST126 THEN
  CONTINUE
END
TEXT.OUT := TEXT[Y,1]
 NEXT Y
RETURN(TEXT.OUT)
END  

Anthony

 Carl Sadlier wrote:
 
 Does anyone have a program or suggestions on how to clean up a file 
 that has control characters and unprintable characters that are not 
 Subvalue,Value or Field markers?
 
 Thanks,
 
 Carl
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Emails into AIX

2005-12-08 Thread Anthony Dzikiewicz
This software might be of interest;

http://www.ornicusa.com/products/

We use this for basically the same functionality that you might require.
However, it is done via the PC instead of the server.

The software is used in the rules part of outlook (means you have to
have a Windows PC on your network that is running Outlook).  It allows
you to receive an email and then execute a '.bat' (or whatever) process
once the email has been received.  

I use it here to update the weekly flyer on our web page
(www.alperts.com/flyers/flyer.pdf).  It puts the administration in the
hands of our advertising dept.  When they have the 'flyer' all
completed, they send it as an attachment named in a 'special' way to a
'special' email address.  This initiates a process that kicks off an ftp
session to transfer the files.

There are many possibilities using this software.  We also have a virus
checker on the PC, which we do not on our Linux server.  So, this
solution worked out very well for us

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


RE: [U2][UV] Aborted Shutdown

2005-12-05 Thread Anthony Dzikiewicz
This usually happens when users or processes are still running.  We used
to perform a MASTER OFF ALL before shutting down Universe via the 'stop'
script and this would help most of the time.  

We are also running on RHEL 3 and I guess there is a bug there.  MASTER
OFF ALL does not work on RHEL.  It used to work on our DG/UX system.  

What we eventually did was to write our own version of MASTER OFF ALL.
It just parses the output of PORT.STATUS and does 'LO' for each process
running.  This helps with shut down.  However, there are always those
'defunct' processes that will get you now and then.  

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


RE: [U2] Alternate Indexes

2005-12-01 Thread Anthony Dzikiewicz
What I do when transferring accounts/files from system to system is to 

SET.INDEX MY.FILE TO NULL FORCE

This clears the file header and will allow you to create and build index
from scratch.

Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Mark Waldron
 Sent: Thursday, December 01, 2005 11:23 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Alternate Indexes
 
 
 Copying from DG/UX to W2k Universe version 10.1.1 using 
 uvbackup and then restoring under UniAdmin restore function.  
 Files and programs doing great.
 
 My problem is I_ Files do not restore (for whatever reason) 
 so my Alternate indexes are locked so that I can't do a 
 Create.index on a file that had indexes on the DG. I get a 
 message Unable to open index map e:\filename for read/write 
 .  It will work fine on a file that did not have previous 
 indexes.  I have a work around by creating an index on 
 another file then renaming it to the file I need then adding 
 the indexes to it.  But thought there may be and explanation 
 from the group that could tell me why and how to make it work 
 correctly.  Wasn't there a way to edit the position of the 
 indexes or something of that nature?  I can't remember. I 
 have searched the Help to no help. Thanks ahead for the assistance.
 
 Mark Waldron
 City of Salem, Va
 Email  [EMAIL PROTECTED]
 
 ---
 [This E-mail scanned for viruses by Declude Virus]
 ---
 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 list_readu output

2005-11-24 Thread Anthony Dzikiewicz
Well you have a small 's'  mine has a cap 'S'.  Your group is 'other'
and mine is 'bin'.  Sorry I cant be more helpful at this time.
Unfortunaltely, the technical bulletin I have with the answer (for Linux
anyway) is at work and I wont be there until Monday.  The command was
chmod.  There may have been something else involved, but I know for sure
chmod was involved to set the effective user id.  Try a man page on
chmod and see what the syntax is for HP.  Most likely is is very much
the same.  If you dont get a better answer (but Im sure you will) I
will forward the info on Monday.
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, November 23, 2005 11:58 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] uv list_readu output


Hi,
I have checked the permissions on the list_readu command and they appear
to be consistent with yours.

-rwsr-x--x   1 root   other  1339449 Jun  8  2001
/opt/u1/uv/bin/list_readu

running port.status/list.readu as root all usernames are root? Could it
be file permissions on something else.

Thanks.

Paul.
---
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 Free Edition.
Version: 7.1.362 / Virus Database: 267.13.6/179 - Release Date:
11/23/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.6/179 - Release Date:
11/23/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] User Name Change on Win XP affects Universe

2005-11-23 Thread Anthony Dzikiewicz
Hey guys,

I need a little help in the Universe/Windows world.  My username on my
laptop was 'Anthony Dzikiewicz'.  I should know better than to put a
space in there, but that's how I set it up.  So, I was trying to connect
to Linux machines on the network via Samba and I was having trouble.
So, I changed the username on the laptop via the control panel.  My new
username is 'adzikiewicz'.  I am now able to connect to Linux/Samba as
adzikiewicz.  When I go to log in to Universe (via telent to local host)
on my laptop, it isnt working.  It seems that I still have to log on to
Universe as 'Anthony Dzikiewicz' (my old name) and not 'adzikiewicz' (my
new name).  Does anyone know how to fix this ?

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


RE: [U2] User Name Change on Win XP affects Universe

2005-11-23 Thread Anthony Dzikiewicz
Thanks for the tip.  I don't think this is the case here.  I don't have
any network passwords stored.  I am using XP Home version on the Laptop.
So, I have limited resources to modifying these kinds of things.  All I
did was change my name in control panel.  Im not sure what Windows
really does under the hood.  When I connect to samba as 'adzikiewicz' it
works, but when I telnet to my own machine (using Universe telnet ) it
still wants me to be 'anthony dzikiewicz' and not 'adzikiewicz'.  

Normally, this wouldn't be a real issue.  I can live with logging in as
'Anthony Dzikiewicz'. However, our applications do things in the login
and on.exit paragraphs and in various applications with user name
retrieved via @LOGNAME.  When @LOGNAME = 'anthonylaptop\Anthony
Dzikiewicz' it is awkward because of the space.  Keyvalues with spaces
are awkward to deal with.

Anthony

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Steve Moore
 Sent: Wednesday, November 23, 2005 12:31 PM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] User Name Change on Win XP affects Universe
 
 
 Anthony,
 
 This might be part of the problem:
 
 http://support.microsoft.com/default.aspx?scid=kb;en-us;306541
 
 XP saves usernames and passwords for network resources.  You 
 can edit the list or delete it entirely.
 
 HTH,
 
 Steve
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Anthony Dzikiewicz
 Sent: Wednesday, November 23, 2005 9:10 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] User Name Change on Win XP affects Universe
 
 Hey guys,
 
 I need a little help in the Universe/Windows world.  My 
 username on my laptop was 'Anthony Dzikiewicz'.  I should 
 know better than to put a space in there, but that's how I 
 set it up.  So, I was trying to connect to Linux machines on 
 the network via Samba and I was having trouble. So, I changed 
 the username on the laptop via the control panel.  My new 
 username is 'adzikiewicz'.  I am now able to connect to 
 Linux/Samba as adzikiewicz.  When I go to log in to Universe 
 (via telent to local host) on my laptop, it isnt working.  It 
 seems that I still have to log on to Universe as 'Anthony 
 Dzikiewicz' (my old name) and not 'adzikiewicz' (my new 
 name).  Does anyone know how to fix this ?
 
 Anthony
 ---
 
 
 This is message has been scanned for viruses by Webshield 
 E500, Groupshield for Exchange, and McAfee Virus Enterprise
 ---
 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] User Name Change on Win XP affects Universe

2005-11-23 Thread Anthony Dzikiewicz
I found the answer to my own question.

It turns out that in the control panel under administrative tasks,
computer management, there is a Local Users and Groups tab.  The users
folder contains the a listing of users in the system.  I was still set
up as 'anthony dzikiewicz' on that list.  The fullname value was
'adzikiewicz', but not the value of name.  I changed the value of name
to 'adzikiewicz' and now I am telneting to Universe as 'adzikiewicz'.

The gotcha with this is;  Although I can telnet as 'adzikiewicz' when I
do WHO it still reports me as 'anthonylaptop\anthony dzikiewicz'.  I had
to reboot the PC in order for this to clear up.  After reboot,
everything is as expected.

Seeing how long my name is to type, this is a substantial savings.  I
probably should have opted for 'tonyd' (but I really don't go by tony).

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


RE: [U2] User Name Change on Win XP affects Universe

2005-11-23 Thread Anthony Dzikiewicz
OK its usually fun to let people guess the pronunciation.  Ill give it
to you.  However, it isnt as much fun without listening to someone tie
their toungue in a knot first.

Phonetically it would be spelled;

Dee kev its

Happy Thanksgiving
Anthony


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Stevenson, Charles
 Sent: Wednesday, November 23, 2005 2:38 PM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] User Name Change on Win XP affects Universe
 
 
  @LOGNAME = 'anthonylaptop\Anthony Dzikiewicz' it is awkward
  because of the space.  Keyvalues with spaces are awkward to 
 deal with.
  
  Anthony
 
 
 My dear Mr. Dzikiewicz,
 
 The space is the least of the awkwardness.  Shoot, I have a 
 hard enough time spelling Stevenson!  (We have this 
 security logging thing that tracks attempted logins.  It's 
 embarrassing how many variants on my name are in there.)
 
 Sorry, I couldn't resist.  One of my favorite authors is 
 named Budziszewski.  The closest I can come to pronouncing it 
 in my Standard American English (SAE) dialect is 
 Boo-duh-SHEFF-ski.  My sister married into a Dutch surname, 
 Schreurs, which they pronounce Skrooss, which rhymes with 
 Bruce.  I've wanted to ask you how you pronounce 
 Dzikiewicz, or at least what approximation you would find 
 acceptable by us poor sots whose tongues are limited to SAE.
 
 All meant in fun.  I'm happy to beat up on my own ethnic 
 group with OleLena jokes if Charles hardnosed moderator 
 Barouch wouldn't kick us out of the pool.
 
 Happy Thanksgiving,
 Chuck
 
 P.S.  I have a friend who gets around it by telling generic 
 ethnic jokes, as in How many ethnic guys does it take to ... 
 
 P.P.S.  But that's sexist, isn't it?  It only picks on the men.
 ---
 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 list_readu output

2005-11-23 Thread Anthony Dzikiewicz
I believe it has to do with setting the 'sticky bit'.  If I do a list of
my list_readu I get the following;
[EMAIL PROTECTED] bin]# ls -al list_readu
-rwSr-x--x1 root bin   1281596 Feb 19  2004 list_readu

The 'S' sets the effective user id as root to anyone who runs the
command.  I had the same problem.  I dont have the exact syntax for the
commands I used to make this happen.  Something like 'chmod +S
list_readu'.  Although, I sort of remember that as root the port.status
would show everything, but a non root user would show only the non root
user info.  Its been a while.  I wish I had the syntax here to share,
but I think this will at least get you on the right path.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, November 23, 2005 7:13 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] uv list_readu output


Hi,
I have a hpux box with universe 9.6
The output from list.readu and port.status shows only 'root' in the user
name column, not the users logname. Any ideas why this might be the
case. If I log in and do a who from the command line it shows my
@logname.

Thanks in advance.
Paul. 
---
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 Free Edition.
Version: 7.1.362 / Virus Database: 267.13.6/179 - Release Date:
11/23/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.6/179 - Release Date:
11/23/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] support of pterm command options under red hat linux or better idea

2005-11-15 Thread Anthony Dzikiewicz
You probably need to tweak the terminfo files.  We are running
Universe/Linux and we use VP terminals.  Here is our
/usr/ibm/uv/terminfo/v/vp file;

[EMAIL PROTECTED] v]# infocmp vp
#   Reconstructed via infocmp from file: /usr/share/terminfo/v/vp
vp|av|vwpt|viewpoint|Adds viewpoint,
am, bw,
cols#80, lines#24,
bel=^G, civis=^W, clear=^L, cnorm=^X, cr=^M, cub1=^H, cuf1=^F,
cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=^Z, ed=\Ek, el=\EK,
ht=^I, ind=^J, is2=\E%!5n\036\031\E%5n\026\031\r,
kbs=^H, kcbt=\EI, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F,
kcuu1=^Z, kdch1=\177, ked=\Ek, kel=\EK, kf1=^B1\r,
kf10=^B\:\r, kf2=^B2\r, kf3=^B3\r, kf4=^B4\r, kf5=^B5\r,
kf6=^B6\r, kf7=^B7\r, kf8=^B8\r, kf9=^B9\r, khome=^A,
khts=^I, kll=^A, knp=^V, kpp=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4,
lf5=F5, lf6=F6, lf7=F7, lf8=F8, ll=^A, mc4=^T, mc5=^R, pad=\0,
prot=^N, sgr0=^O, vpa=\013%p1%' '%+%c,

And here is the linux terminfo;

[EMAIL PROTECTED] v]# pwd
/usr/share/terminfo/v
[EMAIL PROTECTED] v]# infocmp vp
#   Reconstructed via infocmp from file: /usr/share/terminfo/v/vp
vp|av|vwpt|viewpoint|Adds viewpoint,
am, bw,
cols#80, lines#24,
bel=^G, civis=^W, clear=^L, cnorm=^X, cr=^M, cub1=^H, cuf1=^F,
cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=^Z, ed=\Ek, el=\EK,
ht=^I, ind=^J, is2=\E%!5n\036\031\E%5n\026\031\r,
kbs=^H, kcbt=\EI, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F,
kcuu1=^Z, kdch1=\177, ked=\Ek, kel=\EK, kf1=^B1\r,
kf10=^B\:\r, kf2=^B2\r, kf3=^B3\r, kf4=^B4\r, kf5=^B5\r,
kf6=^B6\r, kf7=^B7\r, kf8=^B8\r, kf9=^B9\r, khome=^A,
khts=^I, kll=^A, knp=^V, kpp=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4,
lf5=F5, lf6=F6, lf7=F7, lf8=F8, ll=^A, mc4=^T, mc5=^R, pad=\0,
prot=^N, sgr0=^O, vpa=\013%p1%' '%+%c,

Chapter 10 in the administering manual has the info on uvtic...  

Hope This Helps

Anthony Dzikiewicz



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MIS
Sent: Tuesday, November 15, 2005 9:53 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] support of pterm command options under red hat linux or
better idea


I have universe 10.0 for linux.  The documentation says that under
BSD's, the 
pterm susp command is supported, but under sysV systems, the pterm susp 
command is not supported.

How would I determine for sure whether it is supported or not on my live

system?

The problem is we are running the ADDS VP emulation, (for no reason
apparent 
to me), and it sends CTRL-Z as the up arrow key.

Linux traps that command as the suspend command in either telnet or bash

before it gets sent to UV.

On this list, Ben Rosenberg said the way to fix that is to run pterm
susp off. He also mentioned another way, but that requires setting the
linux user shell 
to bash, but our software vendor wants the linux user shell set to mv.

After setting the linux user shell to mv, we can't run the linux comand:
stty 
susp ^-.

If anybody has any advice, or even pointers to specific differences
between 
the linux UV version and unix UV versions, I would greatly appreciate
it.

Thank you,
Matt Grab
MIS Administrator
Cindy Rowe Auto Glass
---
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] support of pterm command options under red hat linux or better idea

2005-11-15 Thread Anthony Dzikiewicz
Matt,



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of MIS
 Sent: Tuesday, November 15, 2005 2:08 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] support of pterm command options under red 
 hat linux or better idea
 
 
 On Tuesday 15 November 2005 11:59, Anthony Dzikiewicz wrote:
  You probably need to tweak the terminfo files.  We are running 
  Universe/Linux and we use VP terminals.  Here is our 
  /usr/ibm/uv/terminfo/v/vp file;
 
 
 
  Chapter 10 in the administering manual has the info on uvtic...
 
  Hope This Helps
 
  Anthony Dzikiewicz
 
 
 
 
 
 Thank you.  I looked at the terminfo files, and I read and 
 re-read the chapter 
 on uvtic.
 It appeared that everything was correct as far as the terminfo file.

Here are some notes I made on doing uvtic;

cd /usr/ibm/uv/terminfo
rm -rf ;*get rid of whats there now
Copy the modified terminfo.src to /usr/ibm/uv/sample   ;* this is one
big file with everything
Copy the modified terminfo file to unix /usr/share/terminfo/v/* ;* this
is the individual terminal file created via infocmp

Compile all
Linux;
tic  /usr/share/terminfo/v/vt100.src ;* or what ever terminal source
file you are dealing with

Universe;
/usr/ibm/uv/bin/uvtic -a /usr/ibm/uv/sample/terminfo.src

Restart Universe

 
 What version of Linux and what version of Universe are you 
 running?  

10.1.1 Universe on RHEL 3 (2.4.21-32.Elsmp)

I found 
 another route, but I would like to find all routes to fix 
 this, because I 
 intend to connect to Universe from PDA's as well.
 
 I found that you can run a unix/linux command from the uv 
 environment by 
 running sh -c command.
 
 In the LOGIN file, or at some similar point, we are going to 
 put this command. sh -c stty susp '^-'

We do something similar.  In the LOGIN para, we run a program
GET.TERM.TYPE.  This program determines the TTY and sets the terminal
characteristics.  We maintain a control file of all our terminals (term
type, baud rate, printer is attached, what digi they are plugged into,
etc...).  We use this control file for many things in our applications.

On our Adds 4000 terminal the up arrow returns SEQ(26) - 'SUB'

The sh -c stty susp '^-' is a good temporary solution, because it will
get things done.  Another way of doing the same thing is via the inittab
file.  For example here is a snippet of our inittab setting serial port
characteristics;

dA3:2345:once:ditty-rp /dev/ttyA15 9600 cs7 parenb -parodd -cstopb

You could put the stty attributes here as well.

Also in the users '.profile', you could also set the same
characteristics.

I would think that you should be able to set that attribute in the
terminfo (when you find out what the actual label for it is), compile it
and be done with it forever.  Make sure you change both Linux and
Universe terminfo files.


 
 That tells the linux system to look for ctrl- as it's suspend key.
 
 I tested it and it works perfectly.
 
 Thank you,
 Matt Grab
 ---
 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] PDF Efficiency

2005-10-28 Thread Anthony Dzikiewicz
Hi Craig,

We are in the process of archiving our invoices.  What we do is to
create select lists for each year that we want to archive.  One list for
delivered sales and one for cancelled sales.  We have a program that we
run, which we have tailored to ask for the name of the select list to
use, how many invoices to insert per pdf, and what to name the files.  

An example of a 'run' might be a select list of 13751 records that we
break apart into 1000 invoices per pdf.  This will create roughly 14 pdf
files as follows;

-rw-rw-rw-1 anthony  anthony  838683790 Oct 27 17:27 2001C10.PDF
-rw-rw-rw-1 anthony  anthony  838683910 Oct 27 17:31 2001C11.PDF
-rw-rw-rw-1 anthony  anthony  838683973 Oct 27 17:35 2001C12.PDF
-rw-rw-rw-1 anthony  anthony  838684078 Oct 27 17:39 2001C13.PDF
-rw-rw-rw-1 anthony  anthony  456176662 Oct 27 17:42 2001C14.PDF
-rw-rw-rw-1 anthony  anthony  481813781 Oct 27 16:51 2001C1.PDF
-rw-rw-rw-1 anthony  anthony  668667955 Oct 27 16:54 2001C2.PDF
-rw-rw-rw-1 anthony  anthony  951514139 Oct 27 16:58 2001C3.PDF
-rw-rw-rw-1 anthony  anthony  944474386 Oct 27 17:02 2001C4.PDF
-rw-rw-rw-1 anthony  anthony  944474404 Oct 27 17:06 2001C5.PDF
-rw-rw-rw-1 anthony  anthony  944474552 Oct 27 17:11 2001C6.PDF
-rw-rw-rw-1 anthony  anthony  944474342 Oct 27 17:15 2001C7.PDF
-rw-rw-rw-1 anthony  anthony  875157293 Oct 27 17:19 2001C8.PDF
-rw-rw-rw-1 anthony  anthony  838683793 Oct 27 17:23 2001C9.PDF

As you can see, the files are pretty large for the content of the pdf.  

Anyway, I ftp these files to my PC and bring up Acrobat 7.0 Professional
and do a tools, print production, pdf optimizer.  This utility is able
to cut down the size of the file drastically.  For example, a file of
909,425KB is shrunk to 2,714KB.  

Now, for the question.  Is there anything I can do to improve the
efficiency ?  I have a feeling it has to do with embedded fonts.  If so,
is there a way to place the embedded fonts in the file only one time per
file ?  I believe the lineart is in the file only one time.  

Any suggestions or enlightenment would be appreciated.

Thanks

Anthony Dzikiewicz
Alperts Furniture
100 Highland Ave
Seekonk, MA 02771
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PDF Efficiency

2005-10-28 Thread Anthony Dzikiewicz
I apologize to everyone for the post about PDF.  I used the wrong to
address.  I think I've done this before.  I suspect I will be banned
from the list.  This was meant for Craig Bennet.  I will try not to do
this again.

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


RE: [U2] Running Totals Universe

2005-10-26 Thread Anthony Dzikiewicz
Thanks to all for the running totals help.
I have acquired some new magic for my bag of tricks.

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


[U2] Running Totals Universe

2005-10-25 Thread Anthony Dzikiewicz
Is there a way to display a running total in Universe within LIST
RECORD...  ?

I am looking thru the docs and I came across TRANSPORT.  At first, it
looked like the ticket.  After giving it a try, I have come to the
conclusion that it is not.  Then I started to wonder what TRANSPORT
would ever be used for ?

If anyone knows any tricks, please tell.  In the meantime, I am doing a
quick program to do what I need.

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


RE: [U2] NETWORKING

2005-10-18 Thread Anthony Dzikiewicz
Im not sure about HP, but most unix keeps that info in /etc/services.
Just cat the file and there will probably be something showing the
server, port and protocol.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Will
Sent: Tuesday, October 18, 2005 8:39 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] NETWORKING


   Our  Lantronics  server  lost configuration for the off site
terminals
   and  printers.  Lantronics  help  desk  says  we  must  tell  them
the
   listening  port  numbers  on the HP9000 running HP-UX Universe.
Anyone
   know how to determine those ports? Kind Regards, Will

   --
---
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 Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/142 - Release Date:
10/18/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/142 - Release Date:
10/18/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] AIX COPY TO SAMBA DIRECTORY

2005-10-17 Thread Anthony Dzikiewicz
If the SAMBA crosses the network, then I think you might run into UVNet
issues.  If it doesnt cause too much trouble, just create a type 19
file and put all the data that you want to off load there.  Then you can
archive the data at the OS level.  

I had to do something like this on a per record basis for a printing
system.  It wasnt a high volume of transactions.  What I did was to
write to the sequential file.  After every write, I called a VOC record
that moved the record at the OS level to the remote directory.  Since
this wasnt a mission critical operation, it was perfect for what needed
to be done. If this was mission critical, then UVNet is supposed to
handle locking and integrity and maybe worth looking at. 

If SAMBA is on the same machine, then just create a VOC record to point
to the file.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, October 17, 2005 5:45 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] AIX COPY TO SAMBA DIRECTORY


Is there a way to create a text file from a Universe database to a SAMBA
directory?

I have tried the COPYI FROM PRODUCT TO CONV.DATA/CUST.TXT  but this does
not work since the CUST.TXT does not exist.

I want to copy selected Universe files to text file so that these can be
burned to CD-ROM for an offsite storage. Management is clamoring for
redundant backups and media in wake of Katrina and Rita storms.

Any suggestions?

Garry Smith
Dir. Info Systems 
Charles McMurray Company
V# 559-292-5782   F# 559-346-6169
---
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 Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.1/136 - Release Date:
10/15/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.1/136 - Release Date:
10/15/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Universe running on Linux/SuSE

2005-10-14 Thread Anthony Dzikiewicz
We have been running for just over a year.  We converted from DG/UX
(intel platform).

We went from intel to intel, so we didn't have the 'endian' issues.  I
did recompile and catalog all code and recreate all indexes on our files
for safe keeping.

Printers were pretty much the same ol', same ol'  we don't do anything
complicated so it was easy.

Cron is still cron.  There was a bug in RHEL where cron had problems
with daylight savings time.  This was a big problem for us, because all
of our nightly processing depends on cron.  Im happy to say that it is
fixed.

Linux is just as stable as DG/UX.  The only thing I can comment on is
that DG/UX did not change and it was rare to get updates.  Linux is
updating all the time.  So in that respect, I guess you have more
opportunity to make thing unstable.  Don't update unless you have to.

We are running 10.1.1 and the only issue Im affected by is that you can
no longer do a MASTER OFF ALL - it doesn't work.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Thometz
Sent: Thursday, October 13, 2005 1:49 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Universe running on Linux/SuSE


We have a finance system with around 200 users running Universe 9.6 on
Sun Solaris OS 8. For various reasons, we are considering moving to a
Red Hat Enterprise Linux or SuSE Enterprise Linux environment. The
Universe/Linux OS release combinations we are initially considering are
as follows:

Universe 10.1.1 with RHEL V3
Universe 10.1.12 with SuSE EL

Just wondering how many of you have gone through similar Unix to Linux
OS changes? What issues should we be aware of prior to this change? More
specifically: 

- Are there issues when converting Universe data files from Unix/Solaris
OS to Linux?
- Is there difficulty getting printers to function properly on Linux?
- Are changes required to any scripts and/or cron daemons running
scripts on Linux?
- Has Linux proven to be more or less stable than Unix?
- Has anyone had success running the Universe/Linux combinations listed
above or had success running other combinations?
- Any major issues with Universe 10.1.1/10.1.12?

I apologize in advance if my questions are a bit too broad. I am simply
interested in gaining basic knowledge on the feasibility of running
Universe on Linux, and any pitfalls to be aware of. Any information
provided will prove valuable as we continue our discussions on a
possible move from Unix to Linux.

Thank you in advance for your comments!

Rob Thometz
Info Tech Analyst
City of St. Paul, Minnesota 
---
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] How to Default NO.RETURN.WARN in Universe

2005-10-07 Thread Anthony Dzikiewicz
This works for me.  I believe I tried to issue this on the command line,
but I had the syntax wrong.  
What Im doing is compiling the whole account (1000+ programs)  and it
becomes a pain to keep hitting 'any key' for the RETURN warnings. So,
this works fine doing BASIC BP * +$NO.RETURN.WARN. 

Thanks for the tip

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Womack, Adrian
Sent: Thursday, October 06, 2005 10:59 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] How to Default NO.RETURN.WARN in Universe


We use  +$NO.RETURN.WARN (along with a bunch of other options) on the
BASIC command line for ALL programs, subroutines and functions (we've
actually wrapped BASIC - so no one actually types in the options). 



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/

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date:
10/6/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date:
10/6/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] How to Default NO.RETURN.WARN in Universe

2005-10-07 Thread Anthony Dzikiewicz
Yes you're right.  I never knew about that one.  It works just as well.

Thanks
Anthony


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louis Windsor
Sent: Friday, October 07, 2005 7:55 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] How to Default NO.RETURN.WARN in Universe


I may be wrong but I seem to remember that if you hit N at any warning
no further hit any key will be prompted for.

Louis


- Original Message - 
From: Anthony Dzikiewicz [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Friday, October 07, 2005 7:00 PM
Subject: RE: [U2] How to Default NO.RETURN.WARN in Universe


: This works for me.  I believe I tried to issue this on the command
line,
: but I had the syntax wrong.  
: What Im doing is compiling the whole account (1000+ programs)  and it
: becomes a pain to keep hitting 'any key' for the RETURN warnings. So,
: this works fine doing BASIC BP * +$NO.RETURN.WARN. 
: 
: Thanks for the tip
: 
: Anthony
: 
: -Original Message-
: From: [EMAIL PROTECTED]
: [mailto:[EMAIL PROTECTED] On Behalf Of Womack,
Adrian
: Sent: Thursday, October 06, 2005 10:59 PM
: To: u2-users@listserver.u2ug.org
: Subject: RE: [U2] How to Default NO.RETURN.WARN in Universe
: 
: 
: We use  +$NO.RETURN.WARN (along with a bunch of other options) on
the
: BASIC command line for ALL programs, subroutines and functions (we've
: actually wrapped BASIC - so no one actually types in the options). 
: 
: 
: 
: 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/
: 
: -- 
: No virus found in this incoming message.
: Checked by AVG Anti-Virus.
: Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date:
: 10/6/2005
: 
: 
: -- 
: No virus found in this outgoing message.
: Checked by AVG Anti-Virus.
: Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date:
: 10/6/2005
: ---
: 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] How to Default NO.RETURN.WARN in Universe

2005-10-06 Thread Anthony Dzikiewicz
If anyone knows how to do this please tell.

I have a bunch of programs that should have been written as subroutines,
but were done as functions.  In these programs, there are internal
subroutines.  So, in the program there are many RETURN statements.  When
you compile these programs you get a bunch of complaining about the
RETURN.  

I want to turn off the warnings.  I know that in each individual program
I can do this by $OPTIONS NO.RETURN.WARN.  However, I thought there
might be a way to do this globally.  I noticed in the docs that in the
BASIC VOC record, you can set field 6 to certain defaults.  It doesn't
appear that NO.RETURN.WARN is one of them.  Ours is set to
PIOPEN.FORMAT.  PIOPEN.FORMAT is a K record in the voc.  So, I know this
points somewhere that probably refers to a whole group of these $OPTIONS


If so, what is it pointing to and can I tweak this by adding
NO.RETURN.WARN to the PIOPEN.FORMAT options or is there some other way
to get this done ?

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


RE: [U2] CLEARINPUT - Universe

2005-09-30 Thread Anthony Dzikiewicz
Thats a good idea.  An error routine could do like certain web pages
do.  Like when you have to enter the code displayed in the box.  The
code displayed is always random. 
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of rbl000
Sent: Thursday, September 29, 2005 7:27 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] CLEARINPUT - Universe


At a company I used to work for, 'Press any key' was not sufficient.
There was so much trouble with _some_ users who were too busy scanning
barcodes to read the screen, that various 'error' conditions were set to
require input of a specific single character as recognition that the
message had been read (different error msg., different single
character).  If other inputs were given, the 'error' message simply
redisplayed (along with terminal bells).

Best Regards,

Richard Lewis


 --- On Thu 09/29, Anthony Dzikiewicz  [EMAIL PROTECTED]  wrote:
From: Anthony Dzikiewicz [mailto: [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Date: Thu, 29 Sep 2005 15:42:01 -0400
Subject: RE: [U2] CLEARINPUT - Universe

Yes it can.  The problem is when the user hits enter - say 10
times.brLets say the program clears the screen, prints the message,
and has abr'press any key to continue' type prompt.  After the user
presses enter,bryou clear the screen again and continue on your
way.brbrIf the user presses enter all these times, then the message
will flashbrby in an instant (depending on the speed of the terminal
etc..).brbrSo, doing an INPUTCLEAR (Im spelling it right these days)
before thebrnext input prompt, Press any key to continue, will clear
all those keybrstrokes the users haphazardly pressed and force them to
read thebrmessage.brbrAnthonybr


___
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com
---
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 Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/115 - Release Date:
9/29/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/115 - Release Date:
9/29/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] CLEARINPUT - Universe

2005-09-29 Thread Anthony Dzikiewicz
I don't know why I cant find the CLEARINPUT statement documented.  Maybe
it was a suggestion from the group way back when.  We are working on a
program that pops up error messages.  I want to be sure that the users
see this message.  What happens a lot, is that our 'speed typers' are
about 10 strokes ahead of the program.  A lot of what they do is
redundant and they arent always in the habit of paying attention to what
is on the screen.  So, I asked the programmer working on this to put a
CLEARINPUT before the pop up messages.  This way, the error message will
have a better chance of being seen.

I have used CLEARINPUT in the past and this statement is in a handful of
existing programs.  The programmer said she had never heard of this and
when she looked in the manual and HELP BASIC CLEARINPUT.  She didn't
find anything.  So, now Im wondering - how did I find out about this ?
I looked in an old (real printed and bound) BASIC manual and I didn't
find it.  I looked in the PDF BASIC manual and I didn't find it.
Actually, it is in the reserved word list.

I would assume this is still a valid command - it does compile.

Can anyone enlighten me ?  My concern is that this could be an old
command that was replaced by something new ?  I don't want to continue
to use something that might not be supported.

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


RE: [U2] CLEARINPUT - Universe

2005-09-29 Thread Anthony Dzikiewicz
Yes I can find lots of stuff on INPUTCLEAR.  What a mind snap.  I guess
I typed CLEARINPUT backwards and it worked because it is a synonym for
INPUTCLEAR.  So, Ive always stuck to CLEARINPUT all this time not
realizing my mistake. 

Thanks for straightening  me out
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn Herbert
Sent: Thursday, September 29, 2005 1:19 PM
To: [EMAIL PROTECTED]; u2-users@listserver.u2ug.org
Subject: RE: [U2] CLEARINPUT - Universe


 
__

   I  don't  know  why  I  cant find the CLEARINPUT statement
documented.
   Maybe

   [Glenn  Herbert]  Probably  because  its  implemented as INPUTCLEAR
in
   universe..
---
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] Off-topic? Problems with DigiPortServer - Win2003 server SP1 - Universe

2005-09-23 Thread Anthony Dzikiewicz
How many digis do you have ?  Is it all of them that are acting up ?  If
you only have one, then the possibility of a bad digi is not out of the
question.  Is something attached to the network recently that has the
same ip as the digi ?  Unplug the digi and then ping it by ip.  

I have always found digi support to be pretty decent.  Is SP1 the last
'thing' that was installed on the server ?  If so, maybe there is a
compatibility issue.  I would undo it (if that's possible and if you
don't really need it for anything else).

If the digi is bad, you can find them on ebay now for very cheap.  

It really doesn't sound like a Universe problem.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Walter
Sent: Friday, September 23, 2005 1:07 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Off-topic? Problems with DigiPortServer - Win2003 server
SP1 - Universe


We are baffled by a problem that just came up at a customer site. They
are running Universe on Win2003 server with SP1. Have had
DigiPortServer's in place there seems like forever. The digi's where
attached to an NT4 server which we decomissioned and went to new server
running Win2003. Everything was just fine with all the dumb terminals
for the first six or more months after migrating to Win2003 server with
Universe 10.something.

Now, 'ports', dumb terminals attached to digi seem to 'hang' at random -
screen freezes - any keystrokes have no effect - Ctrl-Q doesn't free
them up (flow control is xon/xoff). But, you can send a message to any
of these hung serial ports via Universe MESSAGE command and it will
appear on the hung terminal.

Anyone have any ideas about how to troubleshoot this problem?

universe support said it isn't a universe problem

digi support has been not much help. they suggested removing sp1 from
the win2003 server, although they have no other reported problems with
win2003 sp1 and their gear.

Any ideas?

Clueless in Cleveland.

Joe Walter
Fax/Voice mail: 1.435.514.5132

To the world you may be one person, but to one person you may be the
world.
---
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] How to find user ID by the USER No. returned by STATUS() function

2005-08-12 Thread Anthony Dzikiewicz
What I have done is to put a program in the LOGIN and USER.EXIT that
enters/deletes all information about the user in a 'USER' file.  We also
have a sort of control file that lists terminals and their attributes,
locations, phone extension, where that terminal is etc..  When we get a
record lock, we read the USER file (key is USERNO) from that get the TTY
number and read the TTY.CONTROL.  Then we format a nice user friendly
message stating something like 'Customer Record 12345 is being locked by
Anthony Dzikiewicz at extension 123'.

Believe it or not, some users will still call me and read the message on
the screen because they don't know what to do.

Anyway, that's one way to get it done.

Anthony


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pankaj Gupta04
Sent: Friday, August 12, 2005 10:14 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] How to find user ID by the USER No. returned by STATUS()
function


Hi All,
If a record is locked by a program and another program tries to obtain a
update lock on the same record then the STATUS() function returns the
user number. How can I map this user number to the user id? e.g. A
record xyz of ABC123 file is locked by user id 'appsadm'. Now when
anyone tries to obtain the lock on the record xyz of ABC123 file
then the STATUS() function returns user number: '1230'. How can I obtain
the user id of the user (i.e. appsadm) corresponding to the User number?
Or how can I obtain the User id without even obtaining the user number?

Regards,

Pankaj Gupta




 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are
unlawful. This e-mail may contain viruses. Infosys has taken every
reasonable precaution to minimize this risk, but is not liable for any
damage you may sustain as a result of any virus in this e-mail. You
should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content
of all messages sent to or from this e-mail address. Messages sent to or
from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***
---
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] New UV Accout VOC

2005-08-09 Thread Anthony Dzikiewicz
Sometimes this can be dangerous.  We had a routine to open files in a
common area.  We had a live account in one directory and a test in
another.  If you switched back and forth between live and test you were
still pointing to the same files.  We had to create a 'close files'
routine when switching back and forth.  Anyway, we no longer share test
and production on the same machine.  Equipment is so cheap these days we
bought a test server. Be careful !
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 11:42 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] New UV Accout VOC


The problem here is that anything in the PRODUCTION voc that looks like
1F 2FILENAME 3D_FILENAME

will need to be changed in the SANDBOX account to 
1Q
2PRODUCTION
3FILENAME

this is because these are actual files in the PRODUCTION account and
they 
dont exist in the SANDBOX account, so you need to change these file 
defintions to pointers which tell you where the actual file is

h




[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
09/08/2005 15:58
Please respond to
u2-users@listserver.u2ug.org


To
u2-users@listserver.u2ug.org
cc

Subject
RE: [U2] New UV Accout VOC






Will's answer is quite excellent but...

1.  The SandBox VOC needs to know about files.  So, I did something 
similar
like...

 SELECT MYPOINTER WITH F1 = F
  COPY FROM MYPOINTER TO VOC

 SELECT MYPOINTER WITH F1 = PA
  COPY FROM MYPOINTER TO VOC

2.  The first program that I tried ran OK.  The second and third
programs ended abnormally with 
messages like...

Improper data type  when trying to read a record from a file newly
defined in the SANDBOX 
VOC... like

 read R.Record from F.FileName  else  R.Record = ''

I suspect that it has to do with line three of the following...

  ED VOC FILENAME 

 1: F
 2: FILENAME
 3: D_FILENAME

3.  Thus, further commentary would be appreciated.

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: Monday, August 08, 2005 7:23 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] New UV Accout VOC


Bill. From your sandbox account create a Q-pointer to your production
account 
like this. Let's say the production account is called PRODUCTION ED VOC
MYPOINTER NEW ITEM TOP .I 001 Q 002 PRODUCTION 003 VOC 004 .FI
'MYPOINTER' filed

Now do this
SELECT MYPOINTER WITH F1 = V
963 items selected
COPY MYPOINTER
TO: (VOC

This should copy all the missing 'verbs' from PRODUCTION to SANDBOX.

Will Johnson
---
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] New UV Accout VOC

2005-08-08 Thread Anthony Dzikiewicz
Did you copy VOCLIB ?  I think that's where menus are kept, but then
again the pointer is in the VOC.  Can you do an ED VOC MAIN.MENU ?  If
not, but you can do this in the source account then it would appear that
the files didn't copy.Maybe when you LOGTO SANDBOX you arent where
you think you are.  Maybe uppercase/lowercase issue ?
Just some thoughts.
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Monday, August 08, 2005 10:19 AM
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] New UV Accout VOC


We need to setup a Sand-Box account for piloting.

I created an account with UV Admin.  I copied the data files (including
VOC) over.

The command   LOGTO SANDBOX   seems to work ok.

Upon issuing further commands from a TCL prompt, UniVerse comes back
with an error message indicating...

Verb MAIN.MENU is not in your VOC.   We are on a newer version of
HP-Ux.  

Suggestions would be appreciated.

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


RE: [U2] OT: AVG

2005-07-12 Thread Anthony Dzikiewicz
I find that one of the nicest systems for the 'Mums' of the world is
Linspire (www.linspire.com).  I have it on my kids PC's with a SurfSafe.
It has an Office Suite that is compatible with Windows products.  It's
been over a year now and the PC's have never acted 'goofy', no
bluescreen, no pop-up's, no problems at all.
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, July 12, 2005 10:31 AM
To: u2-users@listserver.u2ug.org; [EMAIL PROTECTED]
Subject: RE: [U2] OT: AVG


[EMAIL PROTECTED] wrote:
 I thinks that the key phrase here was I've never used the product and

 have no experience of it
 
Bang on ... I use Sophos, and there's just been a news story that mixing
W2K final rollup plus Sophos isn't wise ...

But no, my brother and me were down at Mum's, where she had a working
pc. I upgraded mum's Office 2000 setup, while Bro upgraded AVG from v6
to v7. I can't remember the details, but (bearing in mind it *could*
have been Office that was responsible, but highly unlikely) after that
the system was unusable. Iirc it wouldn't even boot properly.

I ended up installing W2K. And I need to go down again because that is
now doing weird and wonderful things. I really ought to work out how to
get Office to run under Wine (Mum only started using doze because she
went on a course that expected everyone to be using Office :-(

I HATE supporting doze - especially over a phone and 60 miles away! At
least my setup I can (mostly) keep clean.

Cheers,
Wol
---
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] BP file ownership problem (linux)

2005-06-29 Thread Anthony Dzikiewicz
Sounds like you need to set UMASK in the LOGIN paragraph.  I keep things
pretty simple myself.  I keep all users in one group.  I keep the home
directory in the main account and everyone shares the same UMASK.  The only
things I lock up is the BP files, dictionaries and paragraphs in the VOC.  I
do that by pointing all paragraphs to a PROD.VOC which only I can touch.
Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Ballinger
Sent: Wednesday, June 29, 2005 3:31 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] BP file ownership problem (linux)


After editing a program in BP the owner and group of the file gets changed
to user:user. This didn't use to be problem, as all programs in BP were set
to 666, but now that we have implemented a minimal level of security, the BP
programs are set to 664 with owner and group typically set to user:uv (the
programming staff has membership in the uv group). What happens is that
after user XXX edits a program, since the owner:group gets changed to
XXX:XXX no one else can update that program until either XXX or someone as
root chowns the file back to the uv group. This happens with all editors:
ED, WED, etc.  Is there a Universe setting or user setting that will prevent
changing the owner and group setting on a file after editing it? (UV 10.1.4,
RHEL 3).

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/

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.0/27 - Release Date: 6/23/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.0/27 - Release Date: 6/23/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Custom Functions

2005-06-24 Thread Anthony Dzikiewicz
Something I did in some subroutines which makes them more of a multi
tasker (I-descriptors) and flexible, is to pass file variables as
parameters - when you can.  So, the subroutine would look something
like;

snip
SUBROUTINE GET.NEXT.IJKEY(FILE.CN, ERR, F.STAT, IJKEY)

$INCLUDE HEADERS STD.EQUATES
$INCLUDE HEADERS ERRCODES.EQUATES
$INCLUDE HEADERS IM.CTRL.EQUATES
$INCLUDE SYSCOM FILEINFO.INS.IBAS
*
*THE FILE(S) MAY OR MAY NOT BE OPENED
*
*
  OPENED.CN = FALSE
  NEED.TO.OPEN = FILEINFO(FILE.CN,0)
  IF NEED.TO.OPEN = 0 THEN
 OPEN '','CN' TO FILE.CN ELSE
ERR = ERR$CODE.OPENERR
F.STAT = STATUS()
GO STOP.RUN
 END
 OPENED.CN = TRUE
  END
 /snip
  
We are using Universe.   You never know what need you might have in the
future and this can make things much easier.  Actually, I thought 2
dynamic array params (passed and returned) and a headers file as
pointers is probably more ideal.  Then you can do any of this sort of
thing on the fly and you wouldn't have too much code to change/recompile
when needs arise.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wendy Smoak
Sent: Thursday, June 23, 2005 12:18 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Custom Functions


From: Ray Wurlod [EMAIL PROTECTED]

 Try using the SUBR() function, as I mentioned in another post.


Ouch.  Granted my function opens a file and [currently, for debug]
prints to the screen, but attempting to call it with SUBR from an
I-Descriptor caused... '25945 Bus error' and left the session
unresponsive.

Leaving aside the I-Descriptor issue for a moment...

Is there a way for it a function to assume that the last file opened
is the one I want to use?  I thought there might be an @FILE or
something, the way there is @ID and you can have a 'default' file for
READ.

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

I thought of opening the file in the calling program, and passing a file
handle instead of the filename.  But I need this to work when called
[indirectly] from UOJ also, and historically I've seen 'Error 30102' if
I attempt to pass file handles around in any code called from UOJ.

Advice on how to improve this would be gratefully accepted [see code in
Wiki link above].

While the first one isn't TOO bad... there's a companion function that
finds all of the children of a particular node, and it calls the first
function to look back up the tree for any child that has multiple
parents.  In that case I open the same file over, and over and over.

Thanks,
Wendy Smoak
---
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] Custom Functions

2005-06-22 Thread Anthony Dzikiewicz
In a function, you would RETURN(-1).  In a subroutine, you would pass
back a variable as one of the parameters.

RESULT = '';MY.VAR='SOMETHING'
CALL MY.SUB(RESULT, MY.VAR)
IF RESULT = @TRUE  .. Whatever
.
.
SUBROUTINE MY.SUB(RESULT, MY.VAR)
[EMAIL PROTECTED]
IF MY.VAR = 'SOMETHING' THEN [EMAIL PROTECTED]
RETURN
END


Im not positive about this (please check), but I always considered
subroutines as being 'I-Type' capable and functions not.
So if you create a subroutine, you can also use it as an 'I-Type' in a
dictionary.  If you create a function you cannot.

This is the reason I have always used subroutines.  We find them very
handy in simple selects and reports as well as being able to be called
in programs - a multi-tasker.

As far as being expensive, I guess that is relative.  For us it is not.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wendy Smoak
Sent: Wednesday, June 22, 2005 2:47 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Custom Functions


I was just looking at the documentation for FUNCTION after hearing a
couple of people make reference to custom functions.  How did we not
know about this?!  (Has this always been possible, or was it added
recently?)

We consider subroutines fairly expensive in terms of system resources,
and tend to just use GOSUB within most programs.  But coming from the
Java/OO world, the global variables are *killing* me.  And I'm partial
to the nested parenthesis notation as well.

Does anyone have any best practice advice or gotchas to impart?  We have
a need to find the Ultimate Parent in a tree of
corporation/parent/subsidiary relationships.

In particular, I might find a case where there is more than one
Ultimate Parent and I need to signify an error.  Do I return -1, or
set @SYSTEM.RETURN.CODE to a positive number?  

Thanks,
-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 
---
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] Best practice for Sequential IDs using TRANSACTION START COMMIT/ROLLBACK

2005-06-16 Thread Anthony Dzikiewicz
I cant say that I have experience with this.  In our GET.KEY subroutines,
we do a READU, check to see if the key exists and if not, increment the
sequential key, write back to the control file and recordlocku the file we
are generating the key for (along with checking the len() of the key and
other particulars - barcoding, field widths on reports,screens, etc...)

I was thinking if you did something similar, but use a READVL then others
might not be locked out of the control file while the transaction is in
place ?  It was just a thought.  If you have a properly structured GET.KEY
routine and all of your programs check to see if the records exists before
writing, then this should work without stepping on existing records. 

We dont use transaction logging here, so this may make no sense at all.
Just throwing out an idea.  I dont know if READVL is allowed in a
transaction.  Maybe not, then bad idea.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles
Sent: Wednesday, June 15, 2005 11:45 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Best practice for Sequential IDs using TRANSACTION START 
COMMIT/ROLLBACK


From:  Anthony Dzikiewicz
  So, what if you change the READVU to a READVL ?

I don't understand what READL buys me. (Not arguing, just looking to
understand.)
I thought you need a READU in order to do the write within the transaction.
By the way, I've only been working with ISOMODE 1, if that matters.

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

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 6/8/2005
 

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 6/8/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Pdf Software Upgrade

2005-06-16 Thread Anthony Dzikiewicz
Craig,

We are finally done testing the new PDF software on Windows (thanks to
your sending the trial).  I want to install the new rev on our Linux
server.  

I wanted to run the procedure by you.  If you could check me on this I
would appreciate it.

1. Delete the current CROSSPDF account
   I tried doing a PDF.INSTALLER -U as a test and it complains and
doesn't get the job done
   So, I am opting for this instead

2. ReCreate the directory for the software (/pos/crosspdf)and create a
Universe account there

3. Create the 2 files needed PDFINST, PDFINST.O

4. Unzip the software into the respective files

5. Get into Universe, run PDF.INSTALLER

I am assuming that at this point I am done ?  We have added a file in
our main account called ADOBEFONTS, which contain some extra fonts that
we had purchased.  Do these have to be recompiled ?  If so, then my next
step would be to kick off the COMPILE.FONTS job to do that.  Now am I
done ?

Thanks

Anthony

By the way, the new printer is a Xerox X4500DX.  We create the PDF's and
send directly to the printer via  'lp' command.  No converting to
postscript first.  It works very nice.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Pdf Software Upgrade

2005-06-16 Thread Anthony Dzikiewicz
Sorry all !

This was intended to go straight to Craig Bennett.  When I sent this, I
just replied to am email in my inbox and I thought it was something that
he had sent me directly and not the group.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Thursday, June 16, 2005 3:52 PM
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] Pdf Software Upgrade


What is the new PDF software?

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anthony
Dzikiewicz
Sent: Thursday, June 16, 2005 3:18 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Pdf Software Upgrade


Craig,

We are finally done testing the new PDF software on Windows (thanks to
your sending the trial).  I want to install the new rev on our Linux
server.  

I wanted to run the procedure by you.  If you could check me on this I
would appreciate it.

1. Delete the current CROSSPDF account
   I tried doing a PDF.INSTALLER -U as a test and it complains and
doesn't get the job done
   So, I am opting for this instead

2. ReCreate the directory for the software (/pos/crosspdf)and create a
Universe account there

3. Create the 2 files needed PDFINST, PDFINST.O

4. Unzip the software into the respective files

5. Get into Universe, run PDF.INSTALLER

I am assuming that at this point I am done ?  We have added a file in
our main account called ADOBEFONTS, which contain some extra fonts that
we had purchased.  Do these have to be recompiled ?  If so, then my next
step would be to kick off the COMPILE.FONTS job to do that.  Now am I
done ?

Thanks

Anthony

By the way, the new printer is a Xerox X4500DX.  We create the PDF's and
send directly to the printer via  'lp' command.  No converting to
postscript first.  It works very nice.
---
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] How to release locks (LIST.READU)

2005-06-15 Thread Anthony Dzikiewicz
I dont believe LIST.LOCKS shows READ locks.  Use LIST.READU EVERY to see
all READU locks.  Two commands for two different things.  I dont know of
any commands to release READU locks.  The MASTER LOCKS command will release
the synchronization locks, but not READU.  

One thing you could do is to MASTER OFF the user.  This is not always the
best thing.  You could walk over to their terminal and back them out of what
they are doing.  You could also make use of TANDEM to take control of the
terminal and do the same thing (if you dont like walking).

If it is a deadlock, shown by LIST.READU EVERY, I always use the admin menu,
deadlock administration to take care of it.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pankaj Gupta04
Sent: Wednesday, June 15, 2005 5:21 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] How to release locks (LIST.READU)


Hi All,
I am facing a strange problem with the locks. When I executed LIST.LOCKS at
universe prompt, no locks were shown but when I executed LIST.READU, 7
records were displayed as locked.

I tried to CLEAR all the locks but was not able to do that. Can someone tell
me how to release the locks which are displayed in LIST.READU output?

Thanks in advance.

Regards,

Pankaj Gupta

*** CAUTION - Disclaimer ** This e-mail
contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use
of the addressee(s). If you are not the intended recipient, please notify
the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other
person and any such actions are unlawful. This e-mail may contain viruses.
Infosys has taken every reasonable precaution to minimize this risk, but is
not liable for any damage you may sustain as a result of any virus in this
e-mail. You should carry out your own virus checks before opening the e-mail
or attachment. Infosys reserves the right to monitor and review the content
of all messages sent to or from this e-mail address. Messages sent to or
from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 6/8/2005
 

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 6/8/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Best practice for Sequential IDs using TRANSACTION START COMMIT/ROLLBACK

2005-06-12 Thread Anthony Dzikiewicz
So, what if you change the READVU to a READVL ?

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles
Sent: Friday, June 10, 2005 10:52 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Best practice for Sequential IDs using TRANSACTION START 
COMMIT/ROLLBACK


 One thing I would add to this is to always check to see
 if the key exists on the file that you are writing to
 before stepping on an existing record.

I'm not concerned about fleshing out my little READVU SEQ.ID . . . WRITEV
SEQ.ID+1 . . .

Yes, you have to check for existing records and worry about the else
clauses, etc.. Nevermind about that.  That's for a different thread. The
point of this thread is about how to best do it when TRANSACTION START 
COMMIT are used.
---
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 Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 6/8/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 6/8/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Best practice for Sequential IDs using TRANSACTION START COMMIT/ROLLBACK

2005-06-10 Thread Anthony Dzikiewicz
One thing I would add to this is to always check to see if the key exists on
the file that you are writing to before stepping on an existing record.
Depending on how long your records live and how many characters you choose
for your sequential key, you can theroetically have dups.  We do exactly
this kind of thing to generate inventory control numbers.  We use 6 digits
for our sequential number.  So, when we hit 99 the number rolls back to
01.  Those numbers are barcoded and the space for barcodes is limited
and fixed.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles
Sent: Friday, June 10, 2005 6:40 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Best practice for Sequential IDs using TRANSACTION START 
COMMIT/ROLLBACK


For files with sequential numbers as record IDs, it is common practice to
use a control item (in dictionary or in a special control table) to get the
next sequential id counter, then write back the incremented counter ASAP so
it is available for the next process that needs to do the same.  Some
variation on this theme (probably involving a utility
subroutine):
   READVU SEQ.ID FROM ctrl.fvar, ctrl.id, n ...
   WRITEV  SEQ.ID+1 TO ctrl.fvar, ctrl.id, n
   WRITE NEW.REC TO fvar, SEQ.ID

  ===
  BUT:
  ===

If that happens inside an explicit transaction bounded by TRANSACTION START
and TRANSACTION COMMIT (or TRANSACTION ROLLBACK),  the Sequential ID control
record will not actually be written and/or released until all
updates are done/ditched during commit/rollback.   If the transaction is
extensive and involves many updates, this could be a serious bottleneck.

Making sure that you read the next sequential id as close to the moment of
executing the commit would be helpful,  but that is not always an option in
complicated transactions.

What is the best practice for handling this?  What is your experience?
Bottlenecks?

Ideally, I know what I'd prefer: I wish U2 would handle sequential ids
internally for variants of Type-2 or dynamic SEQ.NUM files.  That should
have happened a couple decades ago in PI and Pick.  But back to the real
world.  What is the best way to handle sequential IDs when using explicit
TRANSACTIONs?

cds
---
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 Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 6/8/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 6/8/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread Anthony Dzikiewicz
Some more details might help.  
Are you in Universe ?  If so, what does your record for the printer look
like in the DEVICE file ?  What does your 'driver' look like ? Can cat
that in the os ?  Exactly what kind of printer is it that you are using
?

We have a printer 'FUJI' and here is what it looks like in DEVICE
ED DEVICE FUJI
The file DEVICE is read-only and cannot be updated.
19 lines long.
 
: P
0001:
0002: /dev/null
0003:
0004: P
0005:
0006: /usr/spool/uv/fuji.drv
0007: FUJI
0008: 4
0009: 1
0010: 1
0011: 11
0012:
0013: 1
0014: 1
0015: 1
0016: 1
0017: 8
0018:
0019:
Bottom at line 19.

Here is what the 'driver' (/usr/spool/uv/fuji.drv) looks like;

[EMAIL PROTECTED] alp.oe]$ cat /usr/spool/uv/fuji.drv
cat -| lp -dfuji -o nofilebreak -s


Anthony




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Ivanick
Sent: Tuesday, June 07, 2005 7:26 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Again with Setting a Network Printer in Linux


Hola all -

So, I've tried the various options outlined here  in other related 
email, but our setup is failing consistently.

What happens is this: I can setup a printer, B009A for example, in CUPS 
or as an lp printer, doesn't seem to matter. Linux (RH 3.5) printing is 
fine, test are all ok  lp from the bash line are good as well, output 
is dandy. When printed from the TCL prompt like this:

SP-ASSIGN F24 (and the printer B009A has form 24 loaded up) COPY CRIT
PTEST (P

I get good output. But when I try to print from within local PICK 
programs, which work fine on our 
hopefully-soon-to-be-replaced-if-I-can-fix-this-issue Irix system, 
nothing, they disappear entirely. My spooler log shows:

P Print PR24 2 528 UniVerse 24 06/07/2005 18:49:51

lpstat is clear, but no output. The only exception to this is when I 
have the printer setup as a RAW printer, in which case I do get output 
but it is incomplete -- a few boxes are drawn  a small amount of text 
is output at the top of the page.

My programmer assures me he's doing nothing odd with the printing, and I

believe him (can post some code here if that will help, I need to find 
the explicit printing code first) but damned if I can think of anything 
else going on. Again, all jobs are properly logged in my spooler log 
files but no output.

ANY hints/thoughts/ideas greatly appreciated.

Peter

Stu Glancy wrote:
 You need to setup DEVICE by edit or uv admin.  UV admin is best
 because you will need to reread the spooler configuration files and
you 
 are prompted for this.  On my Linux the TCl command is MOTIF 
 SYSTEM.ADMIN or SYSTEM.ADMIN  in the uv account.
 Marc Hilbert wrote:
 
 I have tried reading the manual. How can I set up access to a network
 printer under UV 10 with Linux Redhat 9.0. From the Linux shell I can

 successfully print, but from UV all I get is the following message 
 every minute or so...

 Unable to open device. Verify that the printer is on line...

 Thanks in advance,
 Marc
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 
 

-- 
Peter Ivanick
Sr. Programmer/Analyst
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]
Phone: 215.573.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
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] Tax calculating routine

2005-05-23 Thread Anthony Dzikiewicz
Calculation updates - yes

This exapmle probably doesnt affect your type of business.  In Mass (and
maybe Rhode Island this year) there ia a tax free day in August.  Where you
can purchase 'some' items completely free of tax.  So, if you need a big
screen tv this is the time to buy, but not a boat or a car - and ONLY if it
is paid in full - lots of other rules.

I wonder if that is built into vertex ? 

Anthony





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Monday, May 23, 2005 6:14 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Tax calculating routine


The tax calculations themselves are a bit challenging, but not exactly
rocket science.  I've done tax calculations for US, Canada, and at least a
dozen other countries, and can tell you this: There are two issues that make
Vertex a valuable solution:

1) Calculation Updates: Governmental authorities can change their tax
calculation methods at will and unless you're on the notify list for every
taxing authority in North America, you'll be out of compliance almost all
the time.

2) Data Updates: Tax rates change more frequently than tax calculation
methods, but the same rules apply.  Unless you're on the notify list, you'll
be out of compliance.

These are the two things that a product like Vertex offers that you will
find difficult to get anywhere else.  So it comes down to how compliant you
want to be.  If mostly compliant is an option, then you certainly could
roll your own.

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of tom
Sent: Monday, May 23, 2005 2:59 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Tax calculating routine

Hi:
 
Does anyone have access to or knowledge of a routine for calculating sales
tax within the 48 states and the Provincial Sales / GST tax for Canada?  We
have looked at Vertex and while it is very powerful it is very expensive.
We would like one that is more reasonably priced.  We do not need the tax
form preparation or record keeping modules.
 
We are a manufacture with facilities in OK, TX, NV and ON in Canada. We are
running UniVerse 10.1.7 on AIX 5.2.5.  This is a very old legacy system
originally created in the mid eighties and bruised and abused every since.
 
Thanks for any help in advance.
 
 
 
Tom Dodds
[EMAIL PROTECTED]
630-235-2975
---
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 Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.15 - Release Date: 5/22/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.15 - Release Date: 5/22/2005
---
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 Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.12 - Release Date: 5/17/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.12 - Release Date: 5/17/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Dynamic File Performance

2005-05-06 Thread Anthony Dzikiewicz
What kind of hardware is it running on ? What OS ?

Here's my performance issue story.

I thought I was having issues myself with dynamic files.  We had switched
over to Linux about 6 months ago.  Things were going fine until I started to
run our 'purges'.  They would take the system down to its knees.

Anyway, I finally found out that the problem was some Qlogic HBA's that we
have connecting a Clariion disk array.  My VAR loaned me some Emulex cards
this week.  I switched the Qlogic for Emulex and the problem disappeared !

The iowait reading on the system would go to about 100% when doing heavy
disk writes - forget dynamic files - just plain file copies (1/2 gig files)
in Linux to the Clariion. The copy would complete and the iowait would
remain up at 100% for sometimes up to a minute afterwards.  Our
/var/log/messages file would get loaded with 'QUEUE FULL' errors from the
qla2300 driver.

Doing the same copy with the Emulex cards cause iowait to hit about 74%.
However, as soon as the copy is complete, the iowait goes back down to next
to nothing without any kind of major freeze up. 

This may not be your issue at all.  I would suggest copying of a large file
at the OS level using the disk that the dynamic files are on as the target.
See if this has the same impact on the performance.  If so, then the issue
is not dynamic files after all - its OS/hardware related.


A lesson to anyone considering Linux - stay away from Qlogic HBA's - they
suck in a major way and the company denys any problems and says that they
are stable on Linux.  They are not !

Anthony Dzikiewicz



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of gerry-u2ug
Sent: Friday, May 06, 2005 7:25 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Dynamic File Performance


Thanks Anthony.
I was under the impression that a split was a lot more involved than that.
The situation is that a client is experiencing periodic system 'crawl' where
everything slows right down and the login process is completely stopped.
One thing that I noticed is that there have been a number files converted to
dynamic files and I was wondering if this could be the culprit.
You mentioned that there shouldn't be much split/merge with constant size
files - what about very dynamic sized files ?   I noticed that they have
converted a number of work/scratch files to dynamic whcih I would think is
not such a good idea.

Gerry



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anthony W. Youngman
Sent: Friday, May 06, 2005 05:41 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Dynamic File Performance


In message [EMAIL PROTECTED], 
gerry-u2ug [EMAIL PROTECTED] writes
Hi

I am looking for a reference regarding performance/monitoring of 
dynamic files in universe. In particular I am looking for a way to 
gauge the impact of dynamic files on system performance.

In what way? I use dynamic files all the time, and we don't notice much 
of an impact.

Is there some way to know exactly when a file splits/merges, hw long it 
takes and the impact on the system ?

Not that I know of. If your file remains roughly constant in size, it's 
unlikely to split or merge much. It'll split when growing and merge if 
it shrinks *significantly*.

As for how long it takes, the whole point of dynamic files is that it's 
almost instantaneous. Assuming we have the standard 2K bucket, the 
chances are a split takes whatever time it takes to write 4K to disk - 
the rest of the overhead is negligible ...

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/
---
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 Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.1 - Release Date: 5/2/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.1 - Release Date: 5/2/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Validating an email adress

2005-05-03 Thread Anthony Dzikiewicz
Just create a loop in basic and convert each character to its ascii value
and then just check your range of allowed values.

   INPUT EMAIL.ADDRESS
   BAD.EMAIL = @FALSE
   FOR LETTER=1 TO LEN(EMAIL.ADDRESS)
   TEST=SEQ(EMAIL.ADDRESS[LETTER,1]) 
   IF TEST32 OR TEST126 THEN;*just check what every you need here
  BAD.EMAIL = @TRUE   ;*this is not what you want, but just
  EXIT;*add your tweaks here
   END
   NEXT LETTER
   IF BAD.EMAIL THEN
  PRINT YOUR EMAIL IS INVALID
   END


ANTHONY

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Claus Derlien
Sent: Tuesday, May 03, 2005 4:09 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Validating an email adress 


Hi folks,

I'm completely new to the use of pattern matching in UniVerse, and i need a
neat way to validate an email adress, so i can return an error if it
contains any illegal chars, i guess legal chars is a-z,A-Z,0-9,.-_@

does anyone have nice way to do this ??

best regards from sunny denmark

Claus Derlien
edb-afdelingen
direkte : 63 13 86 69
email   : [EMAIL PROTECTED]

Frie Funktionfrer - faglig organisation og tvfrfaglig a-kasse - www.f-f.dk


***
Denne email og alle filer vedlagt som bilag kan indeholde fortroligt
materiale, der kun er beregnet for adressaten, og maa ikke udleveres eller
kopieres til uvedkommende. Har De ved en fejltagelse modtaget denne email,
bedes De venligst omgaaende meddele os dette pr. telefon : 6313 8550. Paa
forhaand tak.

***
This email and any files transmitted with it may contain confidential
information intended for the addressee(s) only. The information is not to be
surrendered or copied to unauthorised persons. If you have received this
communication in error, please notify us immediately by telephone: +45 6313
8550. Thank you.

***
---
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 Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.1 - Release Date: 5/2/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.1 - Release Date: 5/2/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Setting a Network Printer in Linux

2005-05-02 Thread Anthony Dzikiewicz
Marc,

I hope this comes out formatted so that you can read it.  If not, I will try
again for you.  Email me direct and I will send it as an attachment.

Here's what I do;

First set up a printer in Linux - network, serial, whatever kind you want -
it doesnt matter.  In your case, I guess it is going to be network printer.

In the directory that you are using for Universe spool files; create a
'driver' for the printer that you want to set up

For Example, one of our printers is fuji and our files are located in
/usr/spool/uv.

cd //usr/spool/uv
cat fuji.drv
cat -| lp -dfuji -o nofilebreak -s

make sure that the file permissions are correct.  I set mine to '777'.

Next, get in to Universe and LOGTO UV - home Universe account. You should
get a SYSADM.MENU

To get to the add printer do; option 4 - Spooler,5 - Device Management, 2 -
Maintain Devices
here is a screen snapshot of our FUJI printer;


+-  Maintain Devices
-+
| File   Action   Help
|
+---
---+
|
|
| Printer Name: FUJIBaud Rate : 9600
|
| Pathname? /dev/null   Parity: None
|
| Driver  : /usr/spool/uv/fuji.drv  CR Mode   : None
|
| Form: FUJITab Expansion : ON
|
| Flow control: XOFF STARTANY OFF   FF Delay  : No formfeed
|
| Enable Printing : Y   LF Delay  : None
|
| Enable Queuing  : Y   Word Length   : 8
|
| Lock file 1 :
|
| Lock file 2 :
|
| Other Options   :
|
|
|
|
|
+---  Help Region
+
|Enter the Pathname of the device to print to.
|
|
|
|
|
|
|
|
|
+---
---+


Say 'yes' to changes and 'Yes' to reread spooler configuration.

You will now have your printer set up.


To test, 
SETPTR ,,61,0,0,,BRIEF,EJECT,NFMT,FORM FUJI
SH -c '/usr/ibm/uv/bin/usa -p FUJI -F FUJI
LIST DICT whatever_file LPTR

You should see this printing in Linux

For a shortcut, we have a voc record called MOUNT.  So, we can issue a
command;
MOUNT FUJI FUJI or
MOUNT FUJI 4PART etc...

That voc is;
: P
0001: PA}02/05/97}tags}Mount a form on a printer
0002: DISPLAY MOUNTING C3,FORM ON C2,PRINTER
0003: SH -c '/usr/ibm/uv/bin/usa -p C2,PRINTER -F C3,FORM'
0004: UPDATE.VOC.REC C1,
Bottom at line 4.
: Q

Hope this helps.  Hope this makes sense to you.  Be advised that this is
only one way to 
set up a printer.  You will probably get more than one approach here.

Anthony
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Hilbert
Sent: Monday, May 02, 2005 11:55 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Setting a Network Printer in Linux


I have tried reading the manual. How can I set up access to a network 
printer under UV 10 with Linux Redhat 9.0. From the Linux shell I can 
successfully print, but from UV all I get is the following message every 
minute or so...

Unable to open device. Verify that the printer is on line...

Thanks in advance,
Marc
---
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 Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.1 - Release Date: 5/2/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.1 - Release Date: 5/2/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Universe Availability Matrix - Linux

2005-04-29 Thread Anthony Dzikiewicz
Im looking at my last post and it looks garbled.
It should read;


Rpm -qa | grep libc



And the rest is what was returned not what I was grepping for.


Anthony



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony Dzikiewicz
Sent: Friday, April 29, 2005 6:47 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Universe Availability Matrix - Linux


I didnt realize that the libc ver was in the kernel numbering/naming
scheme.  So, on my system (RedHat EL AS), I did the following;

[EMAIL PROTECTED] anthony]$ rpm -qa | grep libc glibc-common-2.3.2-95.27
glibc-headers-2.3.2-95.27 glibc-2.3.2-95.27 glibc-kernheaders-2.4-8.34.1
glibc-utils-2.3.2-95.27 libcap-1.10-15.1 glibc-devel-2.3.2-95.27
libcap-devel-1.10-15.1 glibc-profile-2.3.2-95.27

[EMAIL PROTECTED] anthony]$ uname -r
2.4.21-15.0.4.ELsmp

Looking at my machine, is the kernel 2.4.21, and the glibc is 15.0.4 ?  I
know you said 'libc' and not 'glibc'.  Im not sure if you mean the same
thing ?

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Claus Derlien
Sent: Friday, April 29, 2005 4:29 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Universe Availability Matrix - Linux


I guess it is this one you are looking at?

10.1.4  RHEL V3 (2.4.21-4g, 2.3.2-95.20g) and greater
 9 (2.4.20-28.9g, 2.3.2-27.9.7g) and greater
 
it clearly say that the supported kernel should be 2.4.21-4g or greater so
your kernel-2.4.21-27.0.4.EL should be ok to run 10.1.4 on!

the number after the kernel number is the libc version, and it is this
number that universe cares about.

I am running uv 10.1.0 on a  debian sarge testing kernel 2.4.26-1-386 and it
is running flawless

best regards from denmark

claus derlien

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Anthony Dzikiewicz
 Sent: Friday, April 29, 2005 12:04 AM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] Universe Availability Matrix - Linux
 
 
 Karl,
 
 I know that.  I think you are missing the point of my question.  The 
 kernel that is on the grid is not a version of the kernel that Red
 Hat supports.
 The grid is specifically set up for RedHat - not just Linux 
 (or by RedHat do
 they really mean Linux in general).  
 
 If I tried an 'up2date kernel-2.4.21-4g' for my RedHat server, you 
 know what would happen - nothing.  Package could not be found, typo 
 try again, dont
 sell that here.  
 
 My question is how to interpret and understand the grid published on 
 IBM web site under the RedHat Linux compatability.
 

Frie Funktionfrer - faglig organisation og tvfrfaglig a-kasse - www.f-f.dk


***
Denne email og alle filer vedlagt som bilag kan indeholde fortroligt
materiale, der kun er beregnet for adressaten,
og maa ikke udleveres eller kopieres til uvedkommende. Har De ved en
fejltagelse modtaget denne email, bedes
De venligst omgaaende meddele os dette pr. telefon : 6313 8550. Paa forhaand
tak.

***
This email and any files transmitted with it may contain confidential
information intended for the addressee(s) only.
The information is not to be surrendered or copied to unauthorised persons.
If you have received this
communication in error, please notify us immediately by telephone: +45 6313
8550. Thank you.

***
---
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 Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005
---
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 Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Wedge Scanners

2005-04-29 Thread Anthony Dzikiewicz
The ones we use at our place are from American Micro Systems.  We have
had one of them in a warehouse environment for about 6 years now and
it's still kicking.  So, they are pretty rugged and reliable.

Anthony Dzikiewicz

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Caufield
Sent: Friday, April 29, 2005 11:02 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Wedge Scanners


I am curious as to what kind of wedge scanners people are using with
their dumb terminals. We have Wyse and Televideo terminals and we have
been asked to hook up scanners. I know I did this several years ago but
I cant remember what it was we used. So any input would be helpful. I
don't know if it matters on this but we are running UV 10.1.3 on a
Windows 2003 server.

Thanks
Tony Caufield
IS Manager
Harbor Wholesale Grocery.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV on Linux

2005-04-29 Thread Anthony Dzikiewicz
We have been live since October.  Everything is fine at the Universe
level.  We havent had any major issues at all.
One thing we used to do to get users off at the end of the night or when
needed is to do a 'MASTER OFF ALL'.  It doesn't work on the Linux
version.  Other than that, Universe is peachy.

I find that support for Linux is generally lacking.  Red Hat support is
'alright'.  We have RedHat support thru IBM, which is much better than
the RedHat support (IBM is usually a knowledgeable person that speaks
English very well vs the RedHat guy who is not always very knowledgeable
and has an accent that requires a special hearing device to interpret).
IBM support is cheaper too.  We keep RedHat for the up2date
functionality and the resources they have.  It really is a nice way to
keep things current.

Are you using all Dell Hardware ?

We are running an IBM xSeries Server and an EMC Clariion.  We are having
performance issues with intensive writes to the disk array.  There is a
minor issue with this when doing the same kind of operation on the
internal disks.  Intensive disk writes could be an batch application
that reads records from one file, deletes and writes to another (say
100,000 records type 30 files with indexes).  We do this for archiving
data.  It could be a linux 'cp' command copying a large file (100meg) to
the disk array. What happens is that the system goes into an iowait
state and user response is non-existent.  Sometimes, the system will
hang for close to a minute until the i/o completes.  We are also using
Qlogic 2340 HBA's to connect the IBM to the Clariion.  If you look thru
the RedHat Bugzilla, there have been issues with the driver for this
hardware.  We will be testing out some Emulex cards next week to see if
that improves things.

If you have the luxury to evaluate your system, definitely try copying
some large files or 'archiving' type processes while users are on.
Monitor performance with the 'top' command.  Then determine if things
are acceptable. 

We converted from a DG/UX box with a Clariion.  Performance was never
really an issue on that platform and these types of operations would
absolutely go unnoticed.

EMC has been trying to help with the issue since February.  I have to
say that their support SUCKS !!!  It seems that there is no one there
that knows anything about Linux.  I am finding this in general.  When
you mention that you are running Linux, a dark cloud appears.  So, you
probably will not get the excellent type of support that you might be
accustomed to with Solaris.

I would assume that you like Dell support ?  My experience with them is
that they went from once upon a time very good (8 years ago or so) to
the pits.  Every time I call, I get transferred overseas to India and
the conversation is almost unbearable.  Recently, I ordered an extra cpu
for our testmachine, which is a Dell.  They cancelled it with out any
notice !  When I called to reorder, they said I couldn't, because it
wasn't in stock.  So, I have to keep calling until I get a 'hit'.  This
is really a joke.  Luckily, our var deals with Dell and was able to get
parts.

If you would like to know more about the performance issue, email me
directly and I will share whatever information I have.  


Anthony Dzikiewicz
IT Manager 
Alperts Furniture


---Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jerry Banker
Sent: Friday, April 29, 2005 2:49 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] UV on Linux


We are finally moving our UV off our Sun Solaris 8 System and moving to
Redhat on a Dell system. Many of you have been on Linux for awhile so
tell me, how was your conversion? Did you have to tweak any
configuration parameters? Any pitfalls we should know about? We usually
run around 100 user sessions.

Jerry Banker
---
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 on Linux

2005-04-29 Thread Anthony Dzikiewicz
CUPS - That reminds me.

We had an issue with CUPS default settings. We had a problem with the
default (500) amt of print jobs in the spooler.  When we would generate tags
for the showroom (about 1400) the system would start dropping new jobs after
the 500 limit was reached.  The other thing we noticed was that spooler
commands like 'lpstat -t' started to respond very sluggish over time.  This
was due to CUPS keeping a log of every print job.  We also had to 'turn off'
this feature in the config file.  

Just something that had to be learned the hard way.

Anthony


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Hester
Sent: Friday, April 29, 2005 6:06 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] UV on Linux


Anthony Dzikiewicz wrote:
 I would assume that you like Dell support ?  My experience with them 
 is that they went from once upon a time very good (8 years ago or so) 
 to the pits.  Every time I call, I get transferred overseas to India 
 and the conversation is almost unbearable.  Recently, I ordered an 
 extra cpu for our testmachine, which is a Dell.  They cancelled it 
 with out any notice !  When I called to reorder, they said I couldn't, 
 because it wasn't in stock.  So, I have to keep calling until I get a 
 'hit'.  This is really a joke.  Luckily, our var deals with Dell and 
 was able to get parts.

I've also had bad experiences with Dell support and sales.  We have a 
couple of Dell Windows domain controllers.  They shipped one with 3 NICs 
and one with 1 NIC (should have been 2 each), sold me a Dell rebranded 
gigabit switch that wasn't compatible with any of the NICs, and sold me 
Arcserve backup software with an incompatible 4mm autoloader.  When I 
called support to try to get the autoloader to work, they eventually 
gave up and told me Dell gives best effort support for peripherals, 
and I'd need to work with CA since they make the Arcserve software.  We 
have Silver level support.  I will never buy another Dell server.

We migrated UV to IBM xSeries 345 hardware running RedHat AS 3 last 
year.  I've also found RedHat support to be so-so.  IBM's hardware 
support is excellent, however.  We have a number of other xSeries 
servers running both windows and linux.  The engineers IBM sends out are 
knowledgeable and the response times are short.

As far as the UV to linux migration, it was painless.  We did have one 
oddball problem that I just recently solved related to the linux CUPS 
spooler.  We have a number of jetdirect connected laserjets that we send 
UV reports to overnight.  Turns out that if the CUPS daemon is restarted 
with jobs in the queue, any PJL commands within the queued jobs will be 
ignored by the printer.  This was causing us a problem because the 
laserjets' output trays would fill up over the weekend and the CUPS 
daemon would also restart over the weekend to rotate its log file.  The 
solution was to change the CUPS log rotation from weekly to monthly.

-John
-- 
John Hester
System  Network Administrator
Momentum Group Inc.
(949) 833-8886 x623
http://memosamples.com
---
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 Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Universe Availability Matrix - Linux

2005-04-28 Thread Anthony Dzikiewicz
I was checking the availability matrix for Universe on the IBM website.
I am very confused about the kernel versions listed for Red Hat Linux.  

For example, for version 10.1.4 Red Hat kernel 2.4.21-4g is compatible.
This kernel is not listed on the Red Hat site as one of theirs.
However, kernel-2.4.21-4.EL is the closest thing they list.  So, maybe
the 'g' means 'and greater' ?  I am curious if the latest Red Hat
kernel, 'kernel-2.4.21-27.0.4.EL' is compatible with Universe 10.1.4 ?

Does anyone know how this works ?

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


  1   2   >