RE: [U2] merge sort

2004-07-27 Thread TPellitieri
Chuck, I agree with Stuart - using a work file would speed things up. Here's a quick code outline to help (I use UniData, and haven't tried to run this, so YMMV): OPEN MYFILE TO F.MYFILE ELSE STOP OPEN WORKFILE TO F.WORK ELSE STOP EXECUTE CLEARFILE DATA WORKFILE READ REC FROM F.MYFILE,MYREC ELSE

Re: [U2] UNIDATA - SAVING UNIQUE and LIST.ALGEBRA

2004-08-24 Thread TPellitieri
Date: 23 Aug 2004 16:26:54 -0300 From: Philippe Parent [EMAIL PROTECTED] ... (where 'y' is the value marker) Why is there y1y1, y2y1, y3y1 appended at the end of each ID? I'm guessing it has to do with the saving unique feature or something? ... So first, what is the extraneous

Re: [U2] [UV] Anti-virus recommendations for Universe on Windows?

2004-08-26 Thread TPellitieri
Date: Wed, 25 Aug 2004 09:51:36 -0700 From: David Scoggins [EMAIL PROTECTED] ... We now are considering installing McAfee AV on the Universe servers anyway in light of this event. Does anyone have any recommendations regarding how to eliminate the McAfee/UV conflict, or is there a better

Re: [U2] Unidata with AccuTerm?

2004-09-02 Thread TPellitieri
Date: Wed, 1 Sep 2004 20:10:16 -0700 From: Tony Gravagno [EMAIL PROTECTED] Are there any other settings in AccuTerm that should or should not be set for best results? Can't speak specifically for your situation, but... I use AccuTerm 97 with SystemBuilder 5.2.4 and UniData 5.2 on AIX 5.1.

Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-14 Thread TPellitieri
Date: Thu, 14 Oct 2004 09:49:24 +1000 From: Craig Bennett [EMAIL PROTECTED] Cant it be read ONCE and put into one (or more) named common variables? I could do that, but I am trying to have the data cached by a process (object loaded) without having to read the data. I don't remember if

Re: [U2] Fancy Printer

2004-10-06 Thread TPellitieri
Date: Wed, 6 Oct 2004 01:56:37 -0400 From: Mark Johnson [EMAIL PROTECTED] Subject: [U2] Fancy Printer ... Second, sort of for D3. Are there any repetitive printer strings that could be send to the printer that precedes the actual output for each hold file. I'm dancing with a few clients

Re: [U2] [UD] running a subroutine

2004-10-22 Thread TPellitieri
Date: Fri, 22 Oct 2004 09:12:12 -0400 From: Mark Johnson [EMAIL PROTECTED] I still maintain my opinion of most of these stupid' test programs because many of them look like this: 001 PROMPT ' 002 INPUT ANS 003 PRINT OCONV(ANS,MD2,$Z) 004 END and another one looks like this 001 PROMPT

RE: [U2] [UD] Exit BASIC program with SELECT list?

2004-10-27 Thread TPellitieri
On 26 Oct 2004 13:26:22 -0700, Allen Egerton wrote: Why wouldn't you use the REMOVE statement? On 26 Oct 2004 16:33:55 -0700, Allen E. Elwood wrote: Ohh.lemme see, could it be that I've never heard of REMOVE? A caution with REMOVE - It removes up to the next DELIMITER, so if you have value

Re: [U2] Printing an RTF file from Universe

2004-11-11 Thread TPellitieri
Brian Parker [EMAIL PROTECTED] wrote on Wed, 10 Nov 2004 11:24:46 -0500 I know that if I imbed HP PCL code into the print job for different fonts etc that these will print fine. However, for this particular job, a couple of logos are part of the document as well and we would like to be able

Re: [U2] PCL5/6 Universe / AIX printer setup question

2004-11-16 Thread TPellitieri
Lee Bacall wrote: I've been struggling to find a solution to get a complex PCL string from UniVerse on AIX to the printer without stripping out some of the escape sequences. (The print routine works just fine on other systems - it's not a PCL question) I have found that AIX gets flaky with

Re: [U2] PCL5/6 Universe / AIX printer setup question

2004-11-18 Thread TPellitieri
Anyone have any insight on SMIT for AIX and how to set it up to eliminate character translations? Here are the settings I currently have on my main print queue. We use AIX 5.1 with UniData 5.2 and SB+ 5.2. To see these settings, do the following: 1) At the AIX prompt, type smit 2) Choose

Re: [U2] Stopping HP Laser Printer line creep

2004-11-22 Thread TPellitieri
Al DeWitt [EMAIL PROTECTED] wrote on 19 Nov 2004 17:59:16 -0600 UniData 6.0.12 // SB+ 5.2.4 I have a basic program that originally ran on a line printer to print preprinted forms. I am converting it to print on a laser. I'm having problem with line creep. Others have made some good

[U2] UniData vs Pick/D3 BASIC (was Greetings)

2004-11-23 Thread TPellitieri
Norman Morgan [EMAIL PROTECTED] wrote on Mon, 22 Nov 2004 08:45:51 -0600 I am brand new to UniData after using Pick/D3 with SB+ for 9 years ... Hey, Norman! Welcome to the list! I have looked for a concise list of differences between D3 Basic and UD Basic, but can't find one. I have run

[U2] Resizing All Files in a System

2004-11-24 Thread TPellitieri
Is there a way to semi-automagically resize all the files in a UniData account/system? When we used Pick D3, we could run a process which would store the mod to use on restore in the file definition item. If we did a full system file save and restore, the files would be recreated with the new

Re: [U2] PCL point question.

2004-12-07 Thread TPellitieri
George Gallen [EMAIL PROTECTED] wrote on Tue, 7 Dec 2004 13:27:51 -0500 I'm trying to put together some labels using PCL. I was told to use 10point font. I'm using a font that is fixed, so the printer is ignoring the point size setting esc ( s # V I'm using the pitch setting instead esc ( s

Re: [U2] The list format and usefulness

2004-12-21 Thread TPellitieri
Clif [EMAIL PROTECTED] wrote on Mon, 20 Dec 2004 21:31:17 -0800 Full content. A lot of times watching how someone else is thinking is more instructive than what they are thinking. I wholeheartedly agree! I subscribe only to the digests, in part from being distracted 100 times a day, but

RE: [U2] K = K

2005-01-19 Thread TPellitieri
Date: Wed, 19 Jan 2005 13:29:15 -0600 Marilyn Hilb [EMAIL PROTECTED] wrote: I frequently see this type of line K = K in the code I work on and never understood why. -Original Message- From: Andrea Charles [mailto:[EMAIL PROTECTED] Do you need the K = K ? --

[U2] u2ug 2005 Board Candidates

2005-01-27 Thread TPellitieri
As you are hopefully aware, this list is hosted by the International U2 Users' Group. Our first election is coming up soon. I have posted the list of candidates today, along with some photos and biographies, on the website at http://www.u2ug.org (use the Candidate Biographies link in the text on

RE: [U2] [UV] examples of X[n], X[m,n], X[c,m,n] substring extractions and assignments

2005-02-04 Thread TPellitieri
Charles Stevenson wrote on 3 Feb 2005 at 23:16:59 -0500: I wrote these examples up for our own programmers. Might as well share them with the group for the newbies' sakes. A caution: these apply to UniVerse. UniData doesn't support the third syntax (X[c,m,n]). Also, UniData may give

[U2] Re: [u2] Printing Different

2005-02-14 Thread TPellitieri
I get digests, so my apologies if this is a bit late... There are a few cautions about mixing font types on a report that no one mentioned. If you use a proportionally spaced font (like Arial) and want to align values (e.g., right-justified numbers), you must remember that spaces are not as wide

RE: [U2] [UV] ACOS problem (floating point numbers)

2005-04-15 Thread TPellitieri
Adrian Womack wrote on Fri, 15 Apr 2005 08:55:52 +0800 A CRT of ACOS(1) and ACOS(TEMP) where TEMP = 1 also returns zero for me. That's not the problem. Try the code in my example, the variable VAR4 displays as 1 - but is probably slightly higher than 1 internally. It's in this situation

[U2] Please, Be Kind Trim

2005-04-18 Thread TPellitieri
Just a reminder to be kind and trim your replies to the relevant portions of prior posts. I just received the second digest for today, which contained just 12 new messages. Several contained the full text (including posting footers) of three prior messages. Some people on the list still have to

RE: [U2] Dymanic vs Dimensioned

2005-05-16 Thread TPellitieri
Charles Stevenson wrote on May 14, 2005 8:24 AM: Do you know why dimensioned arrays were first limited to only 1 or 2 dimensions in Pick or Info-Basic? I started my computing life with BASIC on a PDP-11/03 and FORTRAN on a CDC Cyber 173 system. I believe the dimension limit was there to avoid

RE: [U2] U2 XML./DB Tool

2005-05-27 Thread TPellitieri
Phil Walker wrote on Fri, 27 May 2005 9:54:17 +1200 3. IBM, why would the flavour of an account effect the use of a client tool such as U2 XML/DB Tool? Is this a design oversight? - or was it assumed that users would change the account flavour, ... This is not the only tool that requires a

[U2] Printing PDF from UniData/AIX

2005-07-01 Thread TPellitieri
Is there a way to print PDF files from AIX using a command from UniData? One of our vendors has provided a PDF file that they want us to include with shipments of their product. It would be nice if I could have my existing process determine that a qualifying product is being shipped, and

RE: [U2] Printing PDF from UniData/AIX

2005-07-01 Thread TPellitieri
[EMAIL PROTECTED] wrote on 07/01/2005 5:53 PDT Is there a way to print PDF files from AIX using a command from UniData? Troy Buss of Logitek Systems replied off-list on 07/01/2005 15:18:40 EDT: As a one time setup, you can also print the PDF to the printer using the correct windows driver

Re: [U2] spool images going to word documents

2005-07-05 Thread TPellitieri
Bob Witney [EMAIL PROTECTED] wrote on Mon, 4 Jul 2005 14:20:07 +0100 I am building an email as follows to send a report as a word attachment via sendmail from aix 5.2 (Universe 10) ... Okay...something funky happened with this in the digest. The problem you reported appeared there! After the

Re: [U2] THE variable names

2005-07-11 Thread TPellitieri
Mark Johnson wrote on Sun, 10 Jul 2005 23:12:25 -0400 I'll yield to the REMOVE for this U2 forum. ... - Original Message - From: Womack, Adrian [EMAIL PROTECTED] Mark, I don't like your example... snip REMOVE example I've never understood this need some programmers have for

RE: [U2] SYSTEM(20)?

2005-07-14 Thread TPellitieri
Norman Morgan [EMAIL PROTECTED] wrote on Wed, 13 Jul 2005 13:51:59 -0500 I need to find a workaround for a D3 feature that I have become dependent on. SYSTEM(20) returns the number of the last spooler entry you created. DICT _HOLD_ NEXT.HOLD contains the next job number to use. Reading this

Re: [U2] THE variable names

2005-07-19 Thread TPellitieri
Will Johnson wrote on Tue, 19 Jul 2005 01:55:51 EDT Remove does not confuse me. Remove unnecessarily confuses other people. ... READNEXT works just find for processing a multi-item list just as REMOVE does and it's much more widely used and understood. So I see no point to the Remove

RE: [U2] [UD]Error Codes

2005-07-28 Thread TPellitieri
[EMAIL PROTECTED] wrote on Thu, 28 Jul 2005 09:04:08 +0200 We are trying to find a way to capture results from our nigthly batch runs to a log file. That log file is then read to trigger warnings or critical alarms. We'd like to use the RETURNING clause in the EXECUTE statement to capture

[U2] Re: The Venerable Ken Wallis

2005-12-19 Thread TPellitieri
Ken Wallis [EMAIL PROTECTED] wrote on Sat, 17 Dec 2005 16:21:34 +1100 RE: [U2] LOGTO question... colin alfke wrote: Here is a snip of a post the venerable Ken Wallis made a while back explaining how a program is found. I'm not convinced that I like being referred to as 'venerable' ;^)

Re: [U2] DCOUNT

2006-01-06 Thread TPellitieri
Mark Johnson [EMAIL PROTECTED] wrote on Thu, 5 Jan 2006 00:21:37 -0500 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

Re: [U2] [UV] GOSUB variable-name?

2006-02-16 Thread TPellitieri
On 14 Feb 2006, Serguei [EMAIL PROTECTED] wrote: Why not instead of CALL SomeProg('GetCustomerBalance',...) and CALL SomeProg('PaintScreen',...) do: CALL GetCustomerBalance Call PaintScreen On 16 Feb 2006, Serguei [EMAIL PROTECTED] wrote: ... never again anywhere in your programs you will

RE: [U2] Is there a Better Editor?

2006-02-22 Thread TPellitieri
Michael Caskey [EMAIL PROTECTED] wrote on Tue, 21 Feb 2006 16:10:06 -0700 I have been tasked with creating reports from our UniData system using UniQuery. ... 1. Is there a better way to run these queries? and 2. Is there a better query editor; text-based or GUI or both? Others have posted

Re: [U2] To DIM a passed Matrix or not ?

2006-03-07 Thread TPellitieri
Jacques G. [EMAIL PROTECTED] wrote on Mon, 6 Mar 2006 07:51:51 -0800 (PST): In Universe, it isn't necessary to DIM a matrix that has been passed in a subroutine. So my question is, are there MV flavors where it is neccessary to do so ? We use UniData with Pick flavor (under SB+). I tried

Re: [U2] Changes to the List

2006-03-16 Thread TPellitieri
Mike Preece [EMAIL PROTECTED] wrote: What do people think of the idea of moving this list to a google group instead? Jerry Banker [EMAIL PROTECTED] replied: Don't go there. I think this was discussed many times and the consensus was no. I personally hate, is hate too strong a word, having

Re: [U2] [UD] Setptr

2006-03-24 Thread TPellitieri
Bill Haskett [EMAIL PROTECTED] wrote on 23 Mar 2006 19:46:16 -0800 If I generate a report to _HOLD_ by using SETPTR 0,3 can I then send the report to another printer, say unit 2, by using SETPTR 2 just before I SPOOL _HOLD_ P_.? The first parameter of the SETPTR command allows a unit

RE: [U2] TIME

2006-04-07 Thread TPellitieri
Don Verhagen [EMAIL PROTECTED] wrote on 06 Apr 2006 15:50:24 -0400 We are in 4 times zones in the US and 2 Daylight Savings Time (Arizona and parts of Indiana do not observe DST). Please be aware that, as of this year (2006), Indiana observes Daylight Savings Time. The state is still split

Re: [U2] Client using Dynamic Connect with SBPlus

2006-05-19 Thread TPellitieri
We mostly use AccuTerm here, but have a few SBClient licenses for testing/trial purposes. As Susan Joslyn noted, the Wyse-60 emulation seems to work well, and that's what we use. It also works well with our Link MC5 terminals. As to program controls - you could always determine if you're using

Re: [U2] [UD] Indexing 'Best Practices'

2006-08-02 Thread TPellitieri
Kate Stanton [EMAIL PROTECTED] wrote on 2 Aug 2006 18:11:11 +1200 I would go for the simplest solution to operate and maintain, almost to hell with machine efficiency. You (or anyone else trying to follow you) are probably the most critical and expensive resource. I must disagree with your

[U2] Selection Problem - Index?

2006-09-11 Thread TPellitieri
Under UniData 6.1 on AIX 5.3, I have an index on our WAREHOUSE file for the Primary Bin Number (PRIM.BIN.NUM, V-type, EXTRACT(@RECORD,1,1,0)). I get different results depending on the order of selection. LIST.INDEX shows the following: File.. WAREHOUSE Alternate key length..

RE: [U2] Selection Problem - Index?

2006-09-11 Thread TPellitieri
I originally wrote: This set of statements returns correct results: SELECT WAREHOUSE WITH PRIM.BIN.NUM = 139 551453 records selected to list 0. SELECT WAREHOUSE WITH PRIM.BIN.NUM = 131 123 records selected to list 0. ... But this set does not: SELECT WAREHOUSE WITH PRIM.BIN.NUM = 131

Re: [U2] Selection Problem - Index?

2006-09-11 Thread TPellitieri
Thomas Derwin [EMAIL PROTECTED] wrote on 09/11/2006 10:18:29 AM: The index says the K-type for your PRIM.BIN.NUM is Txt, so looks like the dict it's based on is left-justified (e.g. 3L) rather than right-justified (e.g. 3R). Colin Alfke [EMAIL PROTECTED] wrote on 09/11/2006 10:37:43 AM:

Re: [U2] VOCLIB and keeping VOC entries Short and Small, IM RM

2006-10-20 Thread TPellitieri
Jeff Schasny [EMAIL PROTECTED] wrote on Thu, 19 Oct 2006 10:32:55 -0600 Much as I hate to make editorial comments on a very nice writeup, I'd hate for you to go on misusing [sic]. Thanks for the full reference, Jeff. I would have said something if you hadn't. There are two other Latin

Re: [U2] [UV] Tandem for UV 10.2 NT--CR not working?

2007-04-09 Thread TPellitieri
Gabriel Green [EMAIL PROTECTED] wrote on Sat, 7 Apr 2007 08:06:56 -0700 We use TANDEM a lot ... when I hit Enter or Return it doesn't transmit that character--I have to have my user press it on his or her keyboard ... On certain terminals/emulations, some keystrokes are transmitted as

RE: [U2] RE: [UD] BSELECT @SYSTEM.RETURN.CODE anomaly

2007-06-27 Thread TPellitieri
Dean Armbruster wrote on 26 Jun 2007 16:14:21 -0400 ... This is about BSELECT ... @SYSTEM.RETURN.CODE is not supposed to be the number of *records* selected. It is supposed to be the number of items in the select list. I would suggest that, in this case, the documentation is incorrect (or

[U2] Nagging about [AD] tags

2007-12-05 Thread TPellitieri
Scott Ballinger [EMAIL PROTECTED] wrote on Wed, 5 Dec 2007 11:03:50 -0800 It also seems to me that the only person on this list arguing for more [AD] tags is Charles. Does anyone else actually feel that [AD] tags help to clarify responses in any way; or that that the list has a problem with