Re: [U2] 2
..I can give you a good advice: visit this drugstore and your problem will be solved. http://ecole2jauche.be/page.php?oyahoo=76eb3 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] ED Manuals
Are there versions of the manuals in the U2 archives? I thought I had the archives bookmarked but I can't find them. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Does anyone have an MV BASIC cheatsheet?
Now, you have cut to the chase! Date: Wed, 23 Mar 2011 19:00:05 -0500 From: dw...@tincat-group.com To: u2-users@listserver.u2ug.org Subject: Re: [U2] Does anyone have an MV BASIC cheatsheet? I pointed to his book online on Pick BASIC, but was looking for a one-pager to print, like on paper, for a coffee shop intro. I'll either just write one or stick with what I told these guys up front -- that MV BASIC is the language that God intended us to write, so we were born with the innate knowledge of it and they should have no problem picking it up. smiles. --dawn On Wed, Mar 23, 2011 at 5:59 PM, Theo Aivazian aivaz...@cinci.rr.com wrote: I bet Jonathan Sisk, Has one!!! Theo On Mar 23, 2011, at 7:18 PM, Glen Batchelor wrote: Does EPick v1.0.4.EPICK0 equal an MV cheatsheet. ;) Yes, I still have an ancient copy on the D3 system here. No, I don't use it for real research. It is fun to read and I just don't have the nerve to purge it. Glen Batchelor IT Director/CIO/CTO All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: webmas...@all-spec.com Web: http://www.all-spec.com Blog: http://blog.all-spec.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Dawn Wolthuis Sent: Wednesday, March 23, 2011 1:17 PM To: U2 Users List Subject: [U2] Does anyone have an MV BASIC cheatsheet? I have cheatsheets for JavaScript, HTML, and CSS for training student interns but do not have one for MV BASIC. It's a long shot, but just in case anyone has one, I'd love to see and use it. Thanks. --dawn -- Dawn M. Wolthuis Take and give some delight today ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Dawn M. Wolthuis Take and give some delight today ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Is this worth rewriting?
I am not crazy about IF (condition) ELSE logic but the compiler supports it. The versions of Information I was on did not support THEN on the reads until the 90s. Once it was available we jumped on it. Date: Fri, 4 Mar 2011 13:25:48 + From: mec...@gmx.net To: u2-users@listserver.u2ug.org Subject: Re: [U2] Is this worth rewriting? What absolute and utter rubbish! You never had to write IF (test) ELSE ... in Pick. READ did have a THEN clause as far back as I can remember (mid-80s) - only LOCKED came later. You just don't use it that often because you usually only want to do something if your READ fails. Typically READ rec FROM FILE,Id ELSE rec = IF is different. I at least expect that after a test I'll do something if the condition is true. The ELSE clause is optional. I wasn't even aware you could leave the THEN clause out until I encountered some code that did that. That is IMHO one of the worst coding sins and I always change it to IF NOT(test) THEN if I find it anywhere. I just have been bitten too many times with this nonsense code. Aren't I lucky that I don't have to maintain your code? :-P You wouldn't say ' if you brush your teeth else you get decay' in a conversation, so why would you want to do it in your code? But hey, why make life easy for the next guy if with a little bit of effort you can make it really difficult? If it was hard to write it should be hard to read, right? The only thing that forced us to write code as compact as possible in the really olden days was the 32K item size limit. On 04/03/2011 10:50, Wols Lists wrote: On 03/03/11 20:50, Tony Gravagno wrote: Some people apparently have brains that toggle IF NOT ELSE faster than others. But apparently this construct is of concern to some people, whether as a matter of elegance or a matter of coding effectiveness. Recognizing this, the more I can eliminate those lines where I or someone else needs to brain stutter out of the flow, the better I think the code is. Problem is, what causes some people to stutter is what other people find easy. Two cases in point ... A lot of my code does if (test) else, which is a very pick construct. In fact, a lot of code *had* to be written that way because a lot of conditional statements (READ etc) didn't have a THEN back then. And when I was learning C. I taught my instructor a trick or two - an exercise was to count how many 3's in a pack of cards. So I did count += (value == 3); When I read my code out for the instructor to write on the board, he just couldn't hear it right until I spelt it out letter by letter. Again, it's stuff I'd expect a Pickie to do without having to think! But the instructor just couldn't get it until he'd written it on the board and took a good hard look. Cheers, Wol ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Is this worth rewriting?
Now that you have backed me in a corner, I remember that the READ supported THEN and ELSE. There were a couple of constructs that only had ELSE that had THEN added. Now, I can't remember which they were. Date: Fri, 4 Mar 2011 14:16:43 -0600 From: cwn...@comcast.net To: u2-users@listserver.u2ug.org Subject: Re: [U2] Is this worth rewriting? Hi Ron, I don't know what version you worked on, but I worked with Information in the mid 80s and the THEN was supported, both on READ and IF. I would have gone ballistic if it hadn't been, since I ported many of my utilities. I don't know about OPEN, I rarely use THEN with OPEN even now. I also don't remember what version I was on (memory is the first thing to go). Charlie Noah Charles W. Noah Associates cwn...@comcast.net ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Is this worth rewriting?
Couldn't help but notice it was written without the += and -= constructs. Date: Wed, 2 Mar 2011 11:43:58 -0500 From: dlaan...@hubbardsupply.com To: u2-users@listserver.u2ug.org Subject: [U2] Is this worth rewriting? This is some old code that I didn't write, so please don't use it for anything profitable ... The proposal to the group is: Due to the repeated references deep into the PARMS tables, if this were rewritten to reference these locations as few times as possible, IN YOUR OPINION, would there be a significant improvement in the performance of this subroutine? All in favor of rewrite, say AYE All opposed, say NAY (I'm testing some U2UG-Denver skills) MONTHLY.USAGE: CM=MONTH+LY.CNT FOR M=1 TO 12 IF PARMS(12)101,CM#'' OR PARMS(12)133,CM#'' OR PARMS(12)134,CM#'' THEN CUM(M)=PARMS(12)101,CM+PARMS(12)133,CM+PARMS(12)134,CM END IF PARMS(7)100,CM#'' OR PARMS(7)101,CM#'' OR PARMS(7)102,CM#'' THEN IF PARMS(7)100,CM#'' THEN CUMO(M)=CUMO(M)+PARMS(7)100,CM ELSE CUMO(M)=CUMO(M)+PARMS(12)101,CM END IF PARMS(7)101,CM#'' THEN CUMO(M)=CUMO(M)+PARMS(7)101,CM ELSE CUMO(M)=CUMO(M)+PARMS(12)133,CM END IF PARMS(7)102,CM#'' THEN CUMO(M)=CUMO(M)+PARMS(7)102,CM ELSE CUMO(M)=CUMO(M)+PARMS(12)134,CM END END CM=CM-1; IF CM=0 THEN CM=24 NEXT M RETURN ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Does UV have a BLOCK command
Since I was following this thread, I just could get it out of my head why the CASE syntax didn't do what you want. The other thing that did occur to me, is it seems like your imposed restrictions would have applied to using the DEFFUN construct. You could define several functions and use them at will throughout your code or wrap IF-THEN-ELSE logic around them as needed. Date: Wed, 9 Feb 2011 05:25:10 -0800 From: nab...@mvdbs.com To: u2-users@listserver.u2ug.org Subject: Re: [U2] Does UV have a BLOCK command No, I am wrong regarding the SUBROUTINE. On a second read, it is referring to the name of the called routine and the possible three places where a match must occur. Sorry about that. DavidJMurray (mvdbs.com) wrote: Interestingly enough, this is also implied in the SUBROUTINE documentation. - Learn and Do Excel and Share http://mvdbs.com http://mvdbs.com -- View this message in context: http://old.nabble.com/Does-UV-have-a-%22BLOCK%22-command-tp30867376p30882723.html Sent from the U2 - Users mailing list archive at Nabble.com. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Ultimate UPDATE process migration path ? anyone? anyone ?
REVISE is the reincarnation of ENTROC from Prime Information. From: u...@edclark.net Date: Fri, 4 Feb 2011 08:19:52 -0500 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Ultimate UPDATE process migration path ? anyone? anyone ? I've never used either, but is there any similarity between UPDATE and universe REVISE ? On Feb 3, 2011, at 5:39 PM, fft2...@aol.com wrote: Let's say, you happen to stumble across a site that is using Ultimate's UPDATE processor. Did any other vendor ever have a migration path off this ? Ever? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Data in Dict
Next available is not a good example that came from the system. The previous functions like entroc supported next available and it used the dictionary field NEXT.AVAILABLE. From: t...@ix.netcom.com Date: Mon, 24 Jan 2011 10:30:49 -0600 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Data in Dict My experience with the Pick O/S - database of nearly 40 years has taught me that once you truly understand it's power you stop trying to change it. Sent from my iPhone Tom Dodds t...@ix.netcom.com 630.235.2975 On Jan 24, 2011, at 9:12, Jeff Schasny jscha...@gmail.com wrote: My thoughts exactly. We have a perfectly good database here, why not use it. Storing data in a dictionary has always been a bad idea, even the ubiquitous next.available record key. David A. Green wrote: All this talk about using the Dictionary item to store extra data has prompted this post. I realize in the past when the limit to the number of Opened Files in a Basic program was a programming challenge, that doing creative data storage might have been an necessity. But I would like to suggest we leave the Dictionary alone, let the database use it the way it wants to and let us create our own storage device for dictionary related data. Thoughts? David A. Green (480) 813-1725 DAG Consulting ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Locate Syntax Error Missed by Compiler
We are running 10.0.11, PICK flavor. LOCATE STRING IN ARRAY1 DR SETTING POS ELSE POS = 1 This compiled and executed but gave results we were not expecting. After some analysis and two sets of eyes, the aha moment that the BY was missing. LOCATE STRING IN ARRAY1,1 BY DR SETTING POS ELSE POS = 1 It took us a while to look there since the compiler accepted it. When we found it we discussed that we really expected the syntax error to be identified by the compiler. Are we expecting too much from the compiler? _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/196390709/direct/01/ ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Pick Pocket Guide
As much as we can't seem to get away from referring to TCL, how about MVTCL or mvTCL! Date: Wed, 24 Mar 2010 03:16:06 -0400 From: jcan...@optonline.net To: u2-users@listserver.u2ug.org Subject: Re: [U2] Pick Pocket Guide My bad on the mid-cap drop; sorry. For TCL/ECL, maybe mvCommand or mvControl? I didn't say it will be easy or even worthwhile for the experts; but, I think it must help in some way to be known as the gurus in this market (better billable rates, makes you more desirable as a consultant, etc.). If there are five authors (for five platforms) and they each write 20% of the book and that book has the potential of selling 5 times more (for five platforms instead of one), essentially, you are producing a book for 1/5 of the cost. I know we can really work these numbers so in the end it will cost nothing to write [like the days we work in a year]. I know it's still a tough sell, but, maybe even include some ad-supported areas within the book (as long as it doesn't compromise objectivity concerning the platforms). I think the major platform vendors should also contribute to get this done as it directly benefits them the most. Recently, I have moved away from the MultiValue market [not by choice]. I must say that I'd have a difficult time in getting any 'buy-in' though on what I still consider an incredibly powerful database due to almost a complete lack of visibility. How do you promote a technology that hasn't had a book based on it in quite a long time? If the platform vendors, tool and integration companies, etc. still believe that they have a good story to tell, it's time to ante up and place your bets already. Regards, Jim -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Clifton Oliver Sent: Wednesday, March 24, 2010 1:19 AM To: U2 Users List Subject: Re: [U2] Pick Pocket Guide Well, the terminology issue is something we (Spectrum magazine in particular) can promote since we are already committed to promoting the term MultiValue (note the mid-cap casing) and the MultiValue Logo. We just add such terms to our Style and Usage Guide and use them in the magazine. Side note: Is there any interest in us having our Style and Usage Guide available online? I'm interested in hearing what folks would find an acceptable term for TCL/ECL/etc. As to the idea of of a generic book, groups of experts, etc., that sounds like a fame and glory no profit Open Source kind of thing. A lot of the experts you might want to attract are dudes and dudettes trying to make a living. That goes back to some of Tony's comments. How could that be made worthwhile for said experts to forgo revenue producing time to produce a non-profit book? Considering some other Open Source documentation efforts, I'm not saying it can't be done. I'm just challenging everyone to present detailed ideas for how it could be made to work. Regards, Clif On Mar 23, 2010, at 6:09 PM, James Canale, Jr. wrote: I think it would be great do something like this. Multivalue Query [mvQuery] Multivalue Basic [mvBasic] Multivalue PROC [mvPROC] I also think it would be great if someone could write a piece of a book that is very generic (keep it at a 20,000 foot view) which covers each major topic area. Once complete, a group of experts-at-large in the various flavors add platform specific details. When complete, one or more of the know-it-alls [like some of the gurus on this list] combine the common parts, while leaving the unique areas in place. Basically, a wiki to book transformation. Many of the books sold today have two, three, and even more authors (especially the technically oriented books). Something like this could reduce the work required (just doing a piece of the whole) and increase the potential market (supports most platforms) for sales. I see a lot of talent on this list that can pull something like this off, it just needs a great leader (and I see many of them here too). Regards, Jim -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Clifton Oliver Sent: Tuesday, March 23, 2010 6:39 PM To: U2 Users List Subject: Re: [U2] Pick Pocket Guide In Spectrum magazine, we use the term MultiValue Basic to talk about the programming language in articles that are not platform specific. I put it in the style and usage guide for just the reasons being brought up here. I don't see any reason not to add other MultiValue generic terms. MultiValue Query comes to mind. I'm open to suggestions about that and other terms. Post them here, or if you'd rather not, just send them to me at edi...@intl-spectrum.com (or my regular e-mail address). Regards, Clif -- Clifton Oliver, Managing
Re: [U2] UniData ICONV function
It didn't work for me with your conversion code but when I changed it to 'D' it worked just fine. Internal conversions don't need all the fancy output codes. Date: Tue, 9 Feb 2010 22:14:40 -0800 From: iako...@gmail.com To: u2-users@listserver.u2ug.org Subject: Re: [U2] UniData ICONV function Hi Bill, What version of UD are you running? We had serious problems with date conversion using ICONV in version 10.2.7 of Universe. However this problem of yours looks like a DATE.FORMAT problem Its looking at the month and thinks its a date and looking at the date and thinks its a month. change your date format (ON / OFF) depending on which part of the world you're in. jack Bill Haskett wrote: The following works in UniData: DD = '01' DM = '02' DY = '2010 CRT ICONV(DM:'-':DD:'-':DY, 'DIMDY') ...returns '15343'. Does this work in UniVerse? Bill ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- View this message in context: http://old.nabble.com/UniData-ICONV-function-tp27526458p27526610.html Sent from the U2 - Users mailing list archive at Nabble.com. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/201469229/direct/01/ ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Universep paragraph in line prompting options
I am duplicating a response but I typed HELP and it led me to ... Date: Wed, 10 Feb 2010 07:51:40 -0700 From: jscha...@gmail.com To: U2-Users@listserver.u2ug.org Subject: [U2] Universep paragraph in line prompting options I'm looking for a list of the in line prompting options for Universe paragraphs (this stuff). Specifically the one which causes the prompt to repeat until a null is entered. I can't find it in the documentation I have and for some reason I can't get logged in to Rocket's support area to get additional documentation. It keeps telling me No U2TC contact record found linked with your U2 ID -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/201469227/direct/01/ ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [UV] Strange paragraph IF behaviour
While making wild guesses, does it want double quotes? Date: Wed, 16 Sep 2009 17:29:38 +1000 From: stuart.boyd...@spotless.com.au To: u2-users@listserver.u2ug.org Subject: [U2] [UV] Strange paragraph IF behaviour Hi , Can anyone see anything wrong with the following IF statement - fails on Linux - but works okay on AIX - I can't think of anything more to try? CT VOC ONE.OFF 0001 PA 0002 IF S2,Check = 'BLAH' THEN GO THE.END: 0003 DISPLAY NOT BLAH 0004 THE.END: 0005 DISPLAY THE END It's producing the following results: ONE.OFF Check=BLAH Illegal IF statement. NOT BLAH THE END ONE.OFF Check=jgfjhf Illegal IF statement. NOT BLAH THE END UV RELLEVEL 0001 X 0002 10.2.0 0003 PICK 0004 PICK.FORMAT 0005 10.2.0 ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects information about you to provide and market our services. For information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _ Bing brings you health info from trusted sources. http://www.bing.com/search?q=pet+allergyform=MHEINApubl=WLHMTAGcrea=TXT_MHEINA_Health_Health_PetAllergy_1x1 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] General guidelines on indexing
IBM BOX (OLDER) PICK.FORMAT 10.0.11 6.9377 seconds Linux box PICK.FORMAT 10.2.0 0.3522 seconds Date: Thu, 9 Jul 2009 11:20:25 +0800 From: adrian.wom...@rac.com.au To: u2-users@listserver.u2ug.org Subject: Re: [U2] General guidelines on indexing I just tried this example on Universe 10.2.6 - it took 0.0665 seconds - basically instant, can't complain about that. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Martin Phillips Sent: Thursday, 9 July 2009 12:59 AM To: U2 Users List Subject: Re: [U2] General guidelines on indexing By way of a simple expample, I just tried the following program... s = '' z = str('*', 1000) t1 = time() for i = 1 to 10 s-1 = z next i t2 = time() crt t2 - t1 This took six seconds on QM but 32 minutes on UniVerse. 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 http://listserver.u2ug.org/mailman/listinfo/u2-users _ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Mixed Case UV Basic Programming Standards.
Yeah, no one would be silly enough to still be using ED. Just because you can count on it being on every client machine since it is delivered with the standard system. Nobody could possibly be more productive in ED then any of the color sensitive editors that may not lock records while two people are in the same record. From: syme...@gmail.com To: u2-users@listserver.u2ug.org Date: Thu, 25 Jun 2009 10:58:55 +0100 Subject: Re: [U2] Mixed Case UV Basic Programming Standards. An important point there from Brian on editors, yes the editors we use (no one writes code in ed do they?) will colour highlight verbs, literals, comments, variables etc + do case insensitive searches.. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brian Leach Sent: 25 June 2009 10:14 To: 'U2 Users List' Subject: Re: [U2] Mixed Case UV Basic Programming Standards. Hi I use mixed case using the same capitalization as for Delphi and VB (rather than camelCase for C# and Java). OpenSeq NumberOfFields = DCount(SomeVariable, @FM) However I use upper case to distinguish things that are 'special' e.g. equate literals, file and select variables, common variables and compiler directives. That way they stand out. I also use upper case for STOP and the main RETURN from an external subroutine, which helps to distinguish it from the Return from a local GoSub. I don't worry about searching since the editors I use are capable of searching case-independently, and you can always write an IDescriptor to do an UPCASE(@RECORD) if you want to search in a source file. In fact, generally I find doing a SELECT with a LIKE clause on that is faster than using the SEARCH command. There should be no need to do anything special to format your comments since any editor worth using will distinguish these (as a bare minimum). I have a simple 'autodoc' markup in the comments that makes it easy to generate technical docs. So, putting it all together: PROGRAM ShowStuff *- * @@Name: ShowStuff * @@Project : Demo * (other autodoc header info here) *- * @@Info{ *Shows some stuff. *bAnd some other comments in here with HTML markups/b * } *- * (other autodoc comments here: modifications, keywords, todo etc. *- * version stamp goes in here - assigned to a variable so it compiles into * the object and I can then rip it from the string table. VERDATA = Version=001002003; VERDATA:= VerDate=12345; VERDATA:= VerDesc=Short Description here; (etc) *- $INCLUDE BOOK_TITLES.h Open BOOK_TITLES To TITLES Else Crt Cannot open the TITLES File RETURN End Execute SSELECT BOOK_TITLES, SELECT. SLIST Fin = @False Loop ReadNext TitleId From SLIST Else Fin = @True End Until Fin Do GoSub ShowISBN Repeat RETURN *-- * ShowISBN: show the title id, ISBN and price *-- ShowISBN: Read TitleRec From TITLES,TitleId Then Crt TitleId, TitleRecBOOK_TITLES.ISBN, OConv(TitleRecBOOK_TITLES.PRICE,MD2) End Return I find it much more legible, since I spent at least half of my life in client languages. But I understand the point of view of those raised on upper case only who don't use modern (grin) languages, and may initially find it confusing. It's just a question of what you're used to. Incidentally, this has evolved over the years. I started off upper case (no other choice back then), went to lower case in the 'C/UNIX' age, and then camelCase before settling on this style. When I go back to older code I can see that this one works best. But the main thing is to be consistent with your style and use a good editor. Brian ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] I Descriptor for long filename in type 1 file
The suggestion about including the OCONV in the i-descriptor should do it for you. It has to do with how the system looks at the data in input or output format. The D2 conversion is not part of the ouput but moving the OCONV up should change the data to match the with clause. From: david.nor...@health.sa.gov.au To: u2-users@listserver.u2ug.org Date: Tue, 23 Jun 2009 11:16:25 +0930 Subject: [U2] I Descriptor for long filename in type 1 file UV 10.2.16 HP-UX 11i UFD is a type 1 file by default. I have some files in UFD with long filenames that go down 1 level. I have created an I-type to extract delimited fields within the @ID which either spans the 2 levels, or is wholly in the 2nd level. Using this I-type to display in a LIST works perfectly. However, as soon as a WITH references this field, nothing is returned. E.g.: LIST UFD WITH @ID LIKE ...as... SAMPLE 5 DATE2 11:10:14 23-06-09 PAGE 1 OS filename...DATE LOG.as13713_15125_49176 29.05.09 LOG.as13713_15125_58659 29.05.09 LOG.as13713_15125_59104 29.05.09 LOG.as13713_15125_59132 29.05.09 LOG.as13713_15125_60631 29.05.09 Sample of 5 records listed. ::LIST UFD WITH DATE2 = 29.5.09 0 records listed. The DICT of DATE2 is: 0001: I 0002: FIELD(@ID,'_',2) 0003: D2. 0004: DATE 0005: 8R 0006: S I don't want to resize UFD to type 19 on this mission-critical 24x7 system - how else can I get WITH to use these fields ??? David Norman Senior Software Engineer - SA Ambulance Service ICT Services SA Health Government of South Australia Box 3, GPO Adelaide, South Australia 5001 *+61 8 8274 0384 * fax +61 8 8271 4844 * norman.da...@saambulance.com.aumailto:norman.da...@saambulance.com.au This e-mail may contain confidential information, which also may be legally privileged. Only the intended recipient(s) may access, use, distribute or copy this e-mail. If this e-mail is received in error, please inform the sender by return e-mail and delete the original. If there are doubts about the validity of this message, please contact the sender by telephone. It is the recipient's responsibility to check the e-mail and any attached files for viruses. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] COMO OFF / DIVERT.OUT OFF
The pick format is biting you with the off keyword. It needs to look like thiss: ED VOC OFF 0001: K 0002: 194 0003: LOGOUT This will support both uses of OFF. From: valsp...@johndeerelandscapes.com To: u2-users@listserver.u2ug.org Date: Mon, 22 Jun 2009 13:59:37 -0400 Subject: [U2] COMO OFF / DIVERT.OUT OFF Our production system is Universe 10.2.4, Pick format on an AIX version 5.3. Execute COMO ON get COMO ON TEST COMO TEST established 13:54:37 22 JUN 2009 Execute COMO OFF get COMO OFF TEST COMO completed. 13:55:05 22 JUN 2009 Invalid keyword OFF on command line. With a little research, I discovered that COMO is a front-end for DIVERT.OUT. However, COMO/DIVERT.OUT both work on our Dev box version 10.0.14 AIX 5.2 and on my personal version. Has anybody else ever experience this? Vance Alspach John Deere Landscapes CONFIDENTIALITY. This electronic mail and any files transmitted with it may contain information proprietary to Deere Company, or one of its subsidiaries or affiliates, and are intended solely for the use of the individual or entity to whom they are addressed, shall be maintained in confidence and not disclosed to third parties without the written consent of the sender. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _ Bing™ brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurantsform=MLOGENpubl=WLHMTAGcrea=TEXT_MLOGEN_Core_tagline_local_1x1 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
RE: [U2] default sort order
ED DICT YOUR.FILE.NAME @ 1) PH 2) FIELD NAMES FILTERS SORT ORDER Don't just put BY @ID in it, that can be accomplished with SORT YOUR.FILE.NAME Date: Tue, 19 May 2009 21:31:31 -0400 From: slestak...@gmail.com To: u2-users@listserver.u2ug.org Subject: [U2] default sort order Where is it in Unidata that you can enter a record named @ that will affect the default sort order of the Dictionary for a file? I thought it was MD, but that is not effective. What I thought worked is you could make a record like so: @ 1: PH 2: BY @ID I know I have used it before, but I cannot find it now. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Insert movie times and more without leaving Hotmail.. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutoria l_QuickAdd1_052009 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2]
select it load the dictionary into a dimensioned array by the LOC field. Throw away non-numerics. Access your array by the field number From: johnisr...@daytonsuperior.com To: u2-users@listserver.u2ug.org Date: Fri, 15 May 2009 16:26:30 -0400 Subject: RE: [U2] Is this done from a SB+ screen? If so, you should be able to pull from one of their variables. If not, you would have to do a select on the DICT to find the one you want. The problem here is what to do it you get multiple hits or no hits? John Israel Sr. Programmer/Analyst Dayton Superior Corporation 721 Richard St. Dayton, OH 45342 937-866-0711 x44380 -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill Sent: Friday, May 15, 2009 4:16 PM To: u2-users@listserver.u2ug.org Subject: [U2] From within UniBasic, I need to determine the name of a DICTionary field, given the dict field number. While I have the beginnings of some code, some help is needed. This.Field.Nbr = R.Change14 This.File = R.Change11 open DICT, This.File to Dict.This.File else null read R.This from Dict.This.File, WHAT.DO.I.USE.HERE else null Field.Name = R.ThisThis.Field.Nbr --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/ _ Hotmail. goes with you. http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_ Mobile1_052009 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Forcing Paragraph Input to Uppercase?
Actually, I was able to type HELP at ECL and it found The help message is bit brief. From: ggal...@wyanokegroup.com To: u2-users@listserver.u2ug.org Date: Fri, 1 May 2009 13:26:14 -0500 Subject: RE: [U2] Forcing Paragraph Input to Uppercase? Thanks, That's what I was looking for, where to put the mask at. You can't search for or in the online manuals, wasn't able to track down the other options for inline variable substitution. George -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2- us...@listserver.u2ug.org] On Behalf Of kis...@parmars.com Sent: Friday, May 01, 2009 1:06 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Forcing Paragraph Input to Uppercase? Try TEST 001 PA 002 SELECT FILE WITH @ID = I2,ITEM,(MCU) Regards, Kishor --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Windows Live: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Select Field Comparisons
I ran across a situation that I know I've seen before but wasn't sure how to resolve it. The data field has internal date as the data. The dictionary is defined with a conversion of DQ to display the quarter. That works just fine for lists. When I tried SELECT BILLS WITH QUARTER = 1 it would not select the records that were just listed. To get around this we created and I-descriptor with an OCONV and same conversion, DQ, and no conversion definition. That work fine. Is this standard or am I forgetting a trick of the trade? _ Rediscover Hotmail.: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Stor age2_042009 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Select Problem
This is the notorious matching issue 1A is a valid match string for 1 alphabetic character. From: johnisr...@daytonsuperior.com To: u2-users@listserver.u2ug.org Date: Tue, 14 Apr 2009 12:06:30 -0400 Subject: [U2] Select Problem I have just encountered an inconsistency between the native UniData select and the PICK flavored select. From a PICK flavored account, it I use the lower case sselect to force native UniData syntax, I get: sselect ITMMST WITH F2 LIKE ...J1A... (6,213 keys - wrong) If I immediately follow this with the PICK select: SELECT ITMMST WITH F2 = [J1A] (No keys - correct) These two statements SHOULD return the same results. Interestingly, if I use a less restrictive select (search for J1 instead of J1A), I get the following: sselect ITMMST WITH F2 LIKE ...J1... (188 keys which is correct) I am guessing that the UniData flavor is treating the J1A as something else, but until I can figure out what it is doing, I can not come up with a work-around. John Israel Sr. Programmer/Analyst Dayton Superior Corporation 721 Richard St. Dayton, OH 45342 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Rediscover Hotmail.: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobi le1_042009 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] SQL a possibility?
If you can move between your PC and the server. Open the spreadsheet, delete all the columns you don't want, save the one column as a text file, move the file back to the server in SAVEDLISTS and you have created a list. From: ggal...@wyanokegroup.com To: u2-users@listserver.u2ug.org Date: Wed, 1 Apr 2009 16:21:28 -0500 Subject: [U2] SQL a possibility? I'm trying to save the first field of a .csv file to a select list, Yes, I can write a program, but I also wanted to try to do it on the fly. Using UV10.0.2 , unix on Information format The source data looks like: '#12345566#','first','last',. '#12344555#','first','last',. Basically, field one has the item ID of another file. The source file gets read into a tempory file input file I created an I-desc of the following: SWITCHIT 0001: I 0002: CONVERT(REUSE(@AM),REUSE(@VM),@RECORD) ; FIELDS(@1,REUSE(,),REUSE(1)) ; CONVERT(REUSE('# '),REUSE(''),@2) 0003: 0004: DATA 0005: 20L 0006: M The above will convert the whole record into one mutlivalue attribute, then strip off the first field delimited by the , then strip out the # ,' and spaces LIST FILENAME ITEMNAME SWITCHIT ID-SUPP will list to the screen exactly what I want and so does SELECT SWITCHIT FROM FILENAME WHERE @ID = 'ITEMNAME'; NowHow can I put that data into a saved-list? (Using either TCL or SQL?) for that matter, how do you save a list using SQL on Universe? I tried creating a view, but was told I had to create a schema in order to create tables...that's no fun... I could open a como file, list the output with no headings close the como file, edit it clean, the form-list the como file (work around 1) George --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Rediscover Hotmail.: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Stor age1_042009 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] International Spectrum Conference - Twitter?
Like my tool that started my morning coffee when I booted D3, or the QM tool that turned off the outside lights after sundown, MV people may not wholly appreciate the utility of such geekiness - but this sort of thing leads to innovation. Obviously people outside of the MV market appreciate this stuff. If nothing other than to turn new profits using familiar tools, maybe MV people should be more in tune with what's possible with technology. Were you giving ideas to the guys on Big Bang Theory television show or getting ideas from them? _ Internet Explorer 8 Now Available. Faster, safer, easier. http://clk.atdmt.com/MRT/go/141323790/direct/01/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] RE: UV - Error when using WHEN [not-secure]
Remember 4A is a valid match qualifier, to look for 4 alphabetic characters. I experience this sort of behavior and had a real challenge to force it to find the values for which I was looking. Subject: [U2] RE: UV - Error when using WHEN [not-secure] Date: Tue, 3 Feb 2009 16:03:00 -0500 From: mark.hennes...@ct.gov To: u2-users@listserver.u2ug.org Apologies - no one has gotten a package from me... important or otherwise! Apparently something in my e-mail triggered our security appliance to lock the message. Sorry! From: Hennessey, Mark F. Sent: Tuesday, February 03, 2009 3:59 PM To: u2-users@listserver.u2ug.org Subject: UV - Error when using WHEN Solaris 10, UV 10.2.2, Information flavor. We are seeing some very odd behavior when trying to use SORT / WHEN on a multi-subvalued field. And by odd behavior I mean totally incorrect output... File Type: Dynamic File Makeup: The file contains associated multivalues and subvalues. Issue: When using the when clause with subvalued Field 7 like '...4a... (DISB LINE column), the only records displayed have PDSB in field 7 no records with 4A are displayed. Here's part of what an unconditional SORT looks like... Notice that OC34.UD.07 (DISB LINE) has values like 'PDSB', 4A. etc. SORT OC34UD.WORK.SP16504 OC34UD.01 OC34UD.02 OC34UD.03 OC34UD.04 OC34UD.06 OC34 UD.07 09:27:25 02-03-09 PAGE 1 LINE. PYEAMT ADD.RPTD.AMT SUB. DISB OC34UD.KEYCDSTO 2a-2h2a-2hLN 2a-2hAMT DISB LINE 14464*19030799*27 10.81REP 10.81 10.81 PDSB 14683*20382253*13 509.00VRC509.00 509.00 PDSB 14811*21191410*115.00VRC 5.005.00 PDSB 14840*21417980*1 22 21.00REP 21.00 21.00 PDSB 14859*21512820*11 142.04VRC142.04 142.04 PDSB 14863*21553328*11 20.00VRC 20.00 20.00 PDSB 14865*700369*1 1 900.00VRC900.00 900.00 PDSB 14869*21548157*17 76.14VRC 76.14 76.14 PDSB 14871*21578431*173.89VRC 3.893.89 PDSB 14877*21601594*17 76.14VRC 76.14 76.14 PDSB 14879*21653295*21 61.002E 61.00 4A 14879*21654502*11 78.002E 26.00 7dF 52.00 4A 14879*21654965*11 232.002E 232.00 4A 14884*21649378*11 379.172E 379.17 4A 14886*21700617*11 432.002E 432.00 4A Now when we try to limit output to just 4A: SORT OC34UD.WORK.SP16504 WHEN OC34UD.07 LIKE ...4A... OC34UD.01 OC34UD.02 OC3 4UD.03 OC34UD.04 OC34UD.05 OC34UD.06 OC34UD.07 09:58:32 02-03-09 PAGE 1 LINE.LINE. PYE AMT ADD. RPTD. AMT SUB. SUBTD DISB OC34UD.KEY CDS TO 2a-2h 2a-2h LN 2a-2h 2a-2h AMT DISB LINE 14464*19030799*2 7 10.81 REP 10.81 2F10.81 PDSB 14683*20382253*1 3509.00 VRC 509.00 2B 509.00 PDSB 14811*21191410*1 1 5.00 VRC5.00 2H 5.00 PDSB 14840*21417980*1 22 21.00 REP 21.00 2C21.00 PDSB 14859*21512820*1 1142.04 VRC 142.04 2F 142.04 PDSB Any ideas/thoughts are welcome... Thanks! Mark --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Windows Live Hotmail.:more than just e-mail. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_ 012009 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] PDF printing, LaTeX, Ghostscript, etc.
Back in December, Tony had this response to a similar question. From: Tony G I can provide some BASIC code examples that show how to get PrintWizard to... Bonnie Barber wrote: Hi, I would be interested in the code examples. Rather than asking people to email requests, we decided to put the demos online. Full code, PDFs, and images will be up in about 2 days. I'll post a follow-up here. As promised, see the Demos link from this page: removepleaseNebula-RnD.com/products/printwizard.htm To: u2-users@listserver.u2ug.org From: normanba...@gmail.com Subject: [U2] PDF printing, LaTeX, Ghostscript, etc. Date: Tue, 27 Jan 2009 20:21:55 + Hello, Is there anyone here who implemented their own PDF printing system using LaTex, Ghostscript, or TeX, etc. We are printing on multi-part forms for all of our shipping documents and I am looking into ways to getting us off that system. 100% of our forms are printed using UniBASIC. Any and all suggestions will be looked at. Thanks, Norm --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Windows Live: E-mail. Chat. Share. Get more ways to connect. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_01200 9 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniVerse and/or AIX caching
I think you are referring to the Memory files in Information. We experimented with them, briefly, and them returned to using good old disk files. From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Date: Thu, 23 Oct 2008 09:21:40 +0100 Subject: RE: [U2] UniVerse and/or AIX caching It's probably AIX that's doing the caching. If it's like linux, there's no way to tell it - it will just aggressively cache everything until it runs out of spare RAM. Question is, why do you want these files in RAM? UV is very fast at retrieving from disk so what's the reason? And it sounds like you want a file-type that INFORMATION had - I can't remember what filetype it was because I only ever used it once, but it was pinned in memory and read-only - intended iirc for very fast lookups. I would be very surprised if UV has what you want, because they would have copied this file type, and they haven't. They probably didn't see any need for it. Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Louie Bergsagel Sent: 23 October 2008 00:31 To: u2-users@listserver.u2ug.org Subject: [U2] UniVerse and/or AIX caching I've heard that UniVerse will cache data, or leave data in memory in case the next request needs it. Is there any way to control how much data gets kept in memory, and for how long? If one has 32 gigabytes of memory on an AIX machine, is there any way to tell the operating system (or UniVerse) to load whole (several) files in memory so the data can be accessed instantaneously, or is configuring some memory as a ramdisk the closest one can get to that? -- Louie in Seattle AIX 5.2 UniVerse release 10.2.7 UniVerse syntax: 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/ _ Store, manage and share up to 5GB with Windows Live SkyDrive. http://skydrive.live.com/welcome.aspx?provision=1?ocid=TXT_TAGLM_WL_skydrive_ 102008 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] What is this?
That is an exponential number. From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: [U2] [UV] What is this? Date: Thu, 16 Oct 2008 20:08:06 + I just had a buddy call me to have me test something on my system that he got bitten with. Anyone else ever been bitten by this? TEXT = '2E-29';* Expected to be TEXT IF NUMERIC(TEXT) THEN PRINT 'IS NUMERIC' END ELSE PRINT 'NOT NUMERIC' END --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Want to read Hotmail messages in Outlook? The Wordsmiths show you how. http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns! 20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Unidata to Universe port
The insert works in Universe provided VAL is not a null string. Subject: RE: [U2] Unidata to Universe port Date: Fri, 15 Aug 2008 11:27:07 -0500 From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Just realized I typo'd make that VAL1 = :@VM:VAL1. Sorry! -Original Message- From: Brenda Price [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2008 10:07 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Unidata to Universe port When I started working with UniVerse 7 years ago, the main gotcha I ran into was this. INS '' BEFORE VAL1,POS At that time, this worked on all the UniData systems I'd previously worked on but does not work here on UniVerse. We do this to get around it. VAL1,1 = :@VM:VAL1 I am assuming that this occurs on all UniVerse systems but may just be a parameter setup here. I am also assuming that it still works on UniData. Brenda Price --- 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/ _ Get thousands of games on your PC, your mobile phone, and the web with Windows.. http://clk.atdmt.com/MRT/go/108588800/direct/01/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Checking file mode for type 19 item
writeseq supports an ON ERROR clause and you can check STATUS() AFTER THAT Subject: [U2] [UV] Checking file mode for type 19 item Date: Thu, 3 Jul 2008 13:07:53 +1000 From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org I need to check the write status of an item in a type 19 file. Normally, it will bomb out on write while trying to update a read-only item. (on error and else clauses don't seem to do much for this in a write statement). I have a 'before update' trigger checks if an item in a type 19 file is writable. The only mechanism I can see is to use an 'openseq' on the item and find 'status5' for it. This works but it still seems a clumsy long way around. Does anyone know a more efficient way to do this? Cheers, Stuart Boydell Senior Analyst Information Services Spotless T +61 3 9269 7398 M +61 4 1115 0246 [EMAIL PROTECTED] www.spotless.com ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects information about you to provide and market our services. For information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Enter the Zune-A-Day Giveaway for your chance to win day after day after day http://www.windowslive-hotmail.com/ZuneADay/?locale=en-USocid=TXT_TAGLM_Mobi le_Zune_V1 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Friday query logic
I experimented with it and got much closer with: SELECT FILE WITH EVERY FIELD UNLIKE SF... AND WITH EVERY FIELD UNLIKE SH... It is not quite what you want but much closer. From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: [U2] Friday query logic Date: Fri, 20 Jun 2008 11:25:30 -0400 I can't get my head around the proper query logic on this Friday. I have a FILE with mv FIELD containing strings. I want to query records where at least one of the FIELD values doesn't begin with SF... or SH To be clear: I don't want records if any of the following occurs: FIELD = 'SF123' FIELD = 'SH456' FIELD = 'SF123':@VM:'SH456' but I do want records if any of these occur: FIELD='PQ789' FIELD='SF123':@VM:'XY789' FIELD='SF123':@VM:'SH456':@VM:'GH789' I tried SELECT FILE WITH FIELD UNLIKE SF...SH... and SELECT FILE WITH FIELD UNLIKE SF... AND FIELD UNLIKE SH... but those include records where FIELD='SF123':@VM:'SH456'. Then I tried SELECT FILE WITH NO FIELD LIKE SF...SH... and SELECT FILE WITH NO FIELD LIKE SF... AND NO FIELD LIKE SH... but that throws out records where FIELD='SF123':@VM:'SH456':@VM:'GH789' which I need to keep. I've tried some others variants using 'EVERY' but to no avail. So, I'm as a loss short of writing a I-descriptor. Anyone have their logic cap on today? -- Jeff Butera, Ph.D. Administrative Systems Hampshire College [EMAIL PROTECTED] 413-559-5556 Email gives the illusion of progress even when nothing is happening. unknown --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ The im Talkathon starts 6/24/08. For now, give amongst yourselves. http://www.imtalkathon.com?source=TXT_EML_WLH_LearnMore_GiveAmongst --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Friday query logic
I think you are on the right track with this one, but change the AND to OR. I wanted to include the EVERY keyword before each field but I think that is assumed. SELECT FILE WITH FIELD UNLIKE SF... AND FIELD UNLIKE SH... From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: [U2] Friday query logic Date: Fri, 20 Jun 2008 11:25:30 -0400 I can't get my head around the proper query logic on this Friday. I have a FILE with mv FIELD containing strings. I want to query records where at least one of the FIELD values doesn't begin with SF... or SH To be clear: I don't want records if any of the following occurs: FIELD = 'SF123' FIELD = 'SH456' FIELD = 'SF123':@VM:'SH456' but I do want records if any of these occur: FIELD='PQ789' FIELD='SF123':@VM:'XY789' FIELD='SF123':@VM:'SH456':@VM:'GH789' I tried SELECT FILE WITH FIELD UNLIKE SF...SH... and SELECT FILE WITH FIELD UNLIKE SF... AND FIELD UNLIKE SH... but those include records where FIELD='SF123':@VM:'SH456'. Then I tried SELECT FILE WITH NO FIELD LIKE SF...SH... and SELECT FILE WITH NO FIELD LIKE SF... AND NO FIELD LIKE SH... but that throws out records where FIELD='SF123':@VM:'SH456':@VM:'GH789' which I need to keep. I've tried some others variants using 'EVERY' but to no avail. So, I'm as a loss short of writing a I-descriptor. Anyone have their logic cap on today? -- Jeff Butera, Ph.D. Administrative Systems Hampshire College [EMAIL PROTECTED] 413-559-5556 Email gives the illusion of progress even when nothing is happening. unknown --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ The im Talkathon starts 6/24/08. For now, give amongst yourselves. http://www.imtalkathon.com?source=TXT_EML_WLH_LearnMore_GiveAmongst --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Universe: IF statements in parargraphs don't work anymore
On Line 6 don't you need to go to a label to execute a command instead of trying to directly execute it? Date: Thu, 5 Jun 2008 09:59:00 -0700 From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: [U2] Universe: IF statements in parargraphs don't work anymore IF statements don't work in my paragraphs any more. They worked yesterday. No upgrades or changes that I know of. LOGIN.TEST Your 'VOC' has been modified to use long file names. Illegal IF statement. Illegal IF statement. CT VOC LOGIN.TEST LOGIN.TEST 0001 PA 0002 PTERM CASE NOINVERT 0003 LONGNAMES ON 0004 TERM ,8 0005 IF @TTY = phantom THEN GO END.PARAGRAPH 0006 IF @ACCOUNT = louie THEN LOUIEB 0007 END.PARAGRAPH: 0008 * CT VOC IF IF 0001 K 0002 215 0003 * UniVerse release.: 10.2.7 UniVerse syntax..: PICK AIX 5.2 Louie Bergsagel North Coast Electric --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Its easy to add contacts from Facebook and other social sites through Windows Live Messenger. Learn how. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] HP 4250dtn printer using PCL commands from Universe Basic program with hex conversion code
The tray coding is not always straightforward 1, 2, 3. The manual might have a clue if there is a difference. Date: Wed, 14 May 2008 09:14:18 -0500 From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org CC: [EMAIL PROTECTED] Subject: [U2] HP 4250dtn printer using PCL commands from Universe Basic program with hex conversion codes ... Tray 3 selection not working I am trying to send a report to the HP4250 printer to tray 3 using PCL codes (hex = 1B266C3548), but is not working. It always defaults to tray 2 when jobs are sent from host Universe no matter what PCL tray code I use. Any Microsoft Office print jobs work fine and select the correct trays. All 3 trays are setup : Default paper size = Letter Tray behavior = Use requested tray always tray1: paper size = Envelope paper type = Preprinted tray2: paper size = Letter paper type = Plain tray3: paper size = Letter paper type = Bond I am on Universe 10.1.23 with Windows Server 2003 I have several cases with HP Support concerning this - but they haven't been very helpful - just point me to links to PCL commands (which I already have). I am hoping someone in the U2UG has experience doing this ... Any help would be appreciated. Bob Bob Utech, Senior I.T. Coordinator Information Technology Department (218) 879-3321 ext. 174 Visit RAM on the Web at www.rammutual.com This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager and delete this email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Windows Live SkyDrive lets you share files with faraway friends. http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_s kydrive_052008 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Guaranteed unique sequential keys
Use the suggestion about a read to verify the non-existence of the record and then loop around until the time() function changes to a unique id. From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: RE: [U2] Guaranteed unique sequential keys Date: Thu, 24 Apr 2008 11:02:26 -0500 Consider using a lock-and-write thing... --Bill SUBROUTINE SUB.LOCK.AND.WRITE.R2 ( R.This, This.File, Record.ID ) prompt '' open This.File to F.This.File else gosub Error.Opening.File gosub Lock.And.Write goThe.End *--- -- *--- -- Lock.And.Write: Lock.Test = recordlocked (F.This.File, Record.ID) *crt 'This.File___ ' : F.This.File : ' ___ ' : ' [] ' : *input Ans begin case case Lock.Test = 0 ;recordlocku F.This.File, Record.ID write R.This on F.This.File, Record.ID release F.This.File, Record.ID case 1; gosub Error.Record.Locking end case return *--- --- Error.Opening.File: crt @(-1) crt @(-5) crt crt crt crt crt crt crt crt crt crt crt crt ' Big Problem...' : @(-6) crt crt ' _ ' crt ' \\ ' : This.File crt ' \ Error Opening File \' crt ' \\Contact HK.IT ' crt ' [X] ' crt '' : input Ans, 1 Ans = upcase(Ans) begin case case Ans = 'X' ; null case 1 ; go Error.Opening.File end case return to The.End *--- --- Error.Record.Locking: crt @(-1) crt @(-5) crt crt crt crt crt crt crt crt crt crt ' Big Problem...' : @(-6) crt crt ' _ ' crt ' \\ ' : This.File crt ' \ Error, Record Lock \' crt ' \\Contact HK.IT ' crt crt ' Open New Gull Session, Try UNLOCK.ME ' crt ' [X] ' crt ' ' : input Ans, 1 Ans = upcase(Ans) begin case case Ans = 'X' ; null case 1 ; go Error.Record.Locking end case return to The.End *--- --- The.End: RETURN END -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Wolverton Sent: Thursday, April 24, 2008 9:59 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Guaranteed unique sequential keys And on this part ... potentially give me the wrong sequence should two events occur within the same millisecond (unless it is ruled out that this is not possible). I was only partially kidding about the 'two items a second' thing -- even if this were NOT possible today, in the lifetime of your software, you must plan on this being a reality with the next piece of hardware you get... I know of several programs we had to 'touch' once we started having 'overwrites' of data due to using a Date/TimeInSeconds stamp *way* back in the 80s. DW --- 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/ _ Spell a grand slam in this game where word skill meets World Series. Get in the game. http://club.live.com/word_slugger.aspx?icid=word_slugger_wlhm_admod_april08 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Old Attributes Question
I downloaded a copy of Universe Guide to Proverb from the IBM website that was of some use for decoding correlatives. To: u2-users@listserver.u2ug.org Subject: [U2] Old Attributes Question From: [EMAIL PROTECTED] Date: Thu, 13 Mar 2008 08:11:57 -0500 Does anyone know of a document describing the commands and syntax when building an attribute? Including the older reverse polish style? Charles Shaffer Senior Analyst NTN-Bower Corporation --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Need to know the score, the latest news, or you need your Hotmail.-get your fix. http://www.msnmobilefix.com/Default.aspx --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] INCLUDE weirdo
It is a maintenance nightmare from the 1980s that needs to be corrected. Date: Wed, 5 Mar 2008 12:14:57 +0100 From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: Re: [U2] INCLUDE weirdo Womack, Adrian skrev: Does anyone else think it's bad practice to have code in INCLUDES? I do !Warning this is a classical religious war issue! Surely it would be much better to have the INITIATE.FEEDBACK GIVE.FEEDBACK routines written as subroutines, and then simply call them from the appropriate spots. If the code in either of those routines needs to be changed, you'll need to also recompile all the programs using the include. But as subroutines all you need to do is recompile the subroutine in question. And what's worse: Every time you add a variable in the include you must search all routines that use the include to check that they do not use that name .. unless you have a rigid naming convention to prevent such name reuse. Although, INCLUDES are fantastic for things like common equate definitions. Well - the same argument applies here, but the naming convention often comes quite naturally - at least in my experience. -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] CSV output
Are you remembering back to the good old days of Pr1me and Information when that was user maintainable? From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: RE: [U2] CSV output Date: Thu, 14 Feb 2008 17:20:23 +0200 Hi Is there any way to change the prompt to something like BR299? It would really help to know where I am, whilst hopping from branch to branch. Thanks --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Need to know the score, the latest news, or you need your Hotmail.-get your fix. http://www.msnmobilefix.com/Default.aspx --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UB] Beep Error
From a program, CRT @BELL or CRT CHAR(7) Some terminal emulators recognized ctrl-g Date: Thu, 14 Feb 2008 10:32:27 -0500 From: [EMAIL PROTECTED] Subject: [U2] [UB] Beep Error To: u2-users@listserver.u2ug.org How do I send a rudimentay ascii audio error beep message when an end-user makes a keyboard error? --Bill --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Distributed files poll
Years a ago a company where I worked, moved to distributed files to improve performance. They were especially addressing batch processing. The distributed files allowed users to get to the entire database and batch processes to act on the part files. The company is still using them today. Subject: [U2] Distributed files poll Date: Wed, 23 Jan 2008 15:56:10 -0600 From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org How many sites use distributed files? Any issues you have with them? Do they impact system performance? Which would you prefer, a distributed file or a 64-Bit file to get around the 2 gig limit. Brenda L Price Senior Programmer Analyst Affiliated Acceptance Corporation Sunrise Beach, MO (800)233-8483 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Climb to the top of the charts! Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Recall Question
.L RELLEVEL RELLEVEL 001 X 002 10.0.11 003 PICK 004 PICK.FORMAT 005 10.0.11 Running Universe the BREAK.ON 'O' feature gives me an error message. Any insight on this? I am guessing it is because of the pick format. _ You keep typing, we keep giving. Download Messenger and join the im Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Recall Question
RetrieVe: syntax error. Unexpected literal string. Token was 'O'. From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: RE: [U2] Recall Question Date: Thu, 6 Dec 2007 19:49:09 + Hi I'm running 10.2 in PICK flavor and it works for me. What is the error? Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Hutchings Sent: 06 December 2007 19:29 To: u2-users@listserver.u2ug.org Subject: [U2] Recall Question .L RELLEVEL RELLEVEL 001 X 002 10.0.11 003 PICK 004 PICK.FORMAT 005 10.0.11 Running Universe the BREAK.ON 'O' feature gives me an error message. Any insight on this? I am guessing it is because of the pick format. _ You keep typing, we keep giving. Download Messenger and join the im Initiative now. http://im.live.com/messenger/im/home/?source=TAGLM --- 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/ _ Your smile counts. The more smiles you share, the more we donate. Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Standards [was:OCONV Extraction Question - Good Practice]
The online Help Basic has a lot of the flavor differences indicated. From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: RE: [U2] Standards [was:OCONV Extraction Question - Good Practice] Date: Wed, 28 Nov 2007 13:19:23 -0500 [chop] IBM and RD give us programmers the same box of crayons respectively. It's up to us to draw with them. Mark Johnson That is only true if you utilize the base BASIC code statements. Each flavor has its own special functions and user exits, but they both contain the same core BASIC statements. If you emphasize using the flavor's tweaked language to write applications, then a standard MV BASIC style does not really exist in any of your code. You have a flavor-specific MV BASIC style. IF/THEN blocks and FOR/NEXT loops are BASIC standards. IFS() is not in the D3 manual, so the proceeding argument can only be valid on flavors that have IFS(). I have no clue what it does, so I can't comment further on that. I think that someone should set up a statement cross-reference guide that shows descriptions and flavor compatibility. If there already is one, I'd love to see it. Example: UV UD D3 QMReality DCOUNT Count data segments in an MV array [X] [x] [x] [x] [x] It would also be nice to see parameter syntax for each flavor, if there are differences. If they are the same syntax then a single syntax example would suffice. Glen Batchelor IT Director All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: [EMAIL PROTECTED] Web: http://www.all-spec.com Blog: http://blog.all-spec.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Your smile counts. The more smiles you share, the more we donate. Join in. www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Using VI instead of ED for EDIT-LIST
The sites I've been around someone creates a voc pointer to SAVEDLISTS named SVL or SLV to save keystrokes. Date: Thu, 11 Oct 2007 12:16:40 +1000 From: [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: [U2] [UV] Using VI instead of ED for EDIT-LIST Hi All, just a quick trick I discovered today: I like editing savedlists using EDIT-LIST but I hate using ED. UV.VI SAVEDLISTS listname Works fine but typing SAVEDLISTS is tedious. But if you edit the EDIT-LIST verb in your VOC and replace ED SAVEDLISTS with UV.VI SAVEDLISTS EDIT-LIST runs VI to edit your list. cheers, Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Help yourself to FREE treats served up daily at the Messenger Cafi. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLt agline --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Format Issue with AE
rellevel 10.0.11 PICK PICK.FORMAT One of the developers using AE noticed a strange result. After making some modifications and Formatting the result, the subroutine labels that were previously mixed case were converted to all upper case. Is this just a feature of AE or is there some configuration setting that can be changed? Ron Hutchings _ See what youre getting intobefore you go there --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Speeding up a big BY.EXP select
The comment about the WHEN-BY.EXP connection was removed a few releases back. Now, if you use WHEN it will pick off only the multi-value that matches and the rest do not display. __ From: Stevenson, Charles [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] Speeding up a big BY.EXP select Date: Thu, 9 Aug 2007 11:57:15 -0400 Without a doubt: SELECT BIGFILE BY @ID BY.EXP MV.ATTRIBUTE - It has always frosted my shorts that in order for WHEN to kick in, you need BY.EXP even if you don't care about the sort order. So, Given that sorting is syntactically necessary, and Given that you don't really care about the order, you should, without a doubt: SELECT BIGFILE BY @ID BY.EXP MV.ATTRIBUTE Reason: _S_U_B_S_E_Q_U_E_N_T_ use of the resultant list. All the select list entries for each record will be lumped together so the disk read of that record occurs once, for the 1st mv occurrence. Subsequent requests for values from that record will still be in cache. If you sort by MV.ATTRIBUTE before @ID, you will have multiple reads on the Example: 1st sort: BY @IDBY.EXP MV.ATTRIBUTE Resultant List: X}1|7}0 X}1|7}0 X}2|7}0 Z}3|7}0 X}3|7}0 X}2|7}0 Y}7|7}0 Y}7|7}0 Y}8|7}0 Z}10|7}0 Z}3|7}0 X}3|7}0 Z}10|7}0 Y}8|7}0 Z}5|7}0 Z}5|7}0 The select (or saved) list generated by BY.EXP selections has value subvalue marks in it, the extra stuff telling RetrieVe (or READNEXT) where to dig out the relevant value subvalues. Notice that the 1st column is in id order, the 2nd will bounce around. This is significant when the list is millions long. cds P.S. I'm going to post a question about UVTSORT config parameter separately. I don't know its impact here. -Original Message- From: Boydell, Stuart I have a large file with an MV set I need to do an exploding sort against (about 2 million records, about 20 MVs per record). I'm not actually after any particular sort order but it's taking hours. I'm wondering if there is any efficiency advantage by telling it to use a primary sort on the ID or just to sort on the MV attribute? My (probably flawed) reasoning is that if the primary sort is on the id then the sort process wouldn't have to build up one big explode - as it would have a primary sort by record, it then only needs to explode each record at a time. Eg. SSELECT BIGFILE BY @ID BY.EXP MV.ATTRIBUTE Or SSELECT BIGFILE BY.EXP MV.ATTRIBUTE Anyone know the answer to that one? Stuart Boydell --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Messenger CafC) open for fun 24/7. Hot games, cool activities served daily. Visit now. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Software Packages
Does anyone have a name of a company that produces church management software? It should include membership and attendance and probably giving managment. _ Booking a flight? Know when to buy with airfare predictions on MSN Travel. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Tony Jones/WA/QBE/Insurance is out of the office.
Maybe he should have said he would be out from 14430 to 14435. This is the u2 list after all. __ From: Ron Sharcott [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: RE: [U2] Tony Jones/WA/QBE/Insurance is out of the office. Date: Thu, 5 Jul 2007 10:04:11 -0700 The US? Metric? Maybe in science but think back to the recent lost satellite that was caused by an error between standard and metric because metric was assumed by everyone except the vendor for a part. If the red on that image is supposed to be countries that use metric then someone is pulling your leg. Invert the colours and you might get countries that use metric. Personally, I think that the dates should be standardized to YY/MM/DD. It makes sense to show general to most specific. Look at mailing addresses and you see the same issue. Country on the last line when maybe it should be first? Ron Sharcott (3635) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles Sent: Thursday, July 05, 2007 9:44 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Tony Jones/WA/QBE/Insurance is out of the office. I will be out of the office starting 04/07/2007 and will not return until 09/07/2007. five months? :-) Clearly, he's using European-style (or should I just say non-American) dates. The USA leads the way in other innovations too: http://upload.wikimedia.org/wikipedia/commons/1/17/Metric_system.png (The funny thing is, the US really is an innovator. Go figure.) --- 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/ _ Missed the show? Watch videos of the Live Earth Concert on MSN. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [AD] UniVerse Programmer needed in New Jersey
Has anyone actually run across someone with only 1-5 years experience? __ From: Jerry Banker [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: RE: [U2] [AD] UniVerse Programmer needed in New Jersey Date: Fri, 29 Jun 2007 08:28:22 -0500 No, they're looking for a woman :-) -Original Message- From: john reid [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 7:52 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [AD] UniVerse Programmer needed in New Jersey 'Must be able to mutitask' Is that like having the capability to alter the biocharacteristics of a task, sort've on the fly?' Just kidding john On 6/28/07, Barry Rogen [EMAIL PROTECTED] wrote: Position: Full time, permanent U2 programmer Environment: UniVerse, residing on HP systems Location:Northern New Jersey Experience Level: 1 - 5 years Type Business: Manufacturing Requirements/Expectations: Must be able to mutitask and work in a challenging, fast paced environment. EDI knowledge is necessary. Terrific opportunities for technical growth and training. Solid programming skills expected. 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 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- john --- 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/ _ Need a break? Find your escape route with Live Search Maps. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] WRITE issues??
In the old days if someone set the disk lock key on the physical drive you would get results like you described. I don't think current disk drives function that same way. __ From: Pamela J Robbins [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: Re: [U2] WRITE issues?? Date: Mon, 21 May 2007 13:44:21 -0400 The more I think about this, I can't imagine it being a software problem or a hardware problem. It doesn't make sense. It has to be user problems. I did find a program that didn't have locks, but that's been fixed and doesn't apply here. Pamela J Robbins wrote: Has anyone seen a problem like this? The user claims they changed a record, then checked to make sure it actually changed. They find everything updated, but on checking days later, finds the data back in it's original state. We've had several claims like this over the past week and a half and it's with different sets of programs. Could it be a hardware failure? TIA, Pam -- Pamela J Robbins New Bolton Center Senior Programmer AnalystSchool of Veterinary Medicine [EMAIL PROTECTED] University of Pennsylvania 610-925-6438 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Make every IM count. Download Messenger and join the im Initiative now. Its free. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] FILE EXPORT
STOPM simply allows a text message to be added. STOPM File not opened! Under the pick flavor of Universe that I am currently on that is the only way for the compiler to allow text. Under the ideal flavor I was able to add a text message to the STOP command. The M does not force an input response from the user. __ From: Les Hewkin [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: RE: [U2] FILE EXPORT Date: Fri, 30 Mar 2007 08:54:29 +0100 Do you have a connection to both machines from one PC If so then you can use a terminal emulator like Wintegrate to do a bridge copy or some people call it a peer to peer copy. You have two sessions, one contacted to each machine, you tell your emulator what you want to copy and where you want it to go and set it running. I have done this in the past when working on remote machines. Les Sherlock Hewkin Project Manager - Financial Systems 01604 592289 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anita Panda Sent: 30 March 2007 06:27 To: u2-users@listserver.u2ug.org Subject: [U2] FILE EXPORT I think I was not clear in my question.Now i need to activities to be done. firstly,I have a universe instance on a different Machine located at USA and the other in INDIA. Both of them are stand-alone system.I by no means ,am able to get the data from the UNIVERSE USA to my UNIVERSE INDIA.No what I need is if there is any way of the user in USA can send me the DATA file from USA to INDIA so that the same DATA file could exist in INDIA without again creating the same file and inserting data.Is there any means without floppy,CD and magnetic tape.Please help me in this regard. I have got a huge BP file on a word document.Now its not feasible to type the whole file in the Universe Instance .Is there any way without typing the code to import the whole BP file into the Universe Instance. Thanks, Anita =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ html head meta http-equiv=Content-type content=text/html; charset=UTF-8 /head body P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and any attachments are confidential and intended solely for the use of the addressee only. If you have received this message in error, you must not copy, distribute or disclose the contents; please notify the sender immediately and delete the message. /SPAN/P P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is attributed to the sender and may not necessarily reflect the view of Travis Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis Perkins may not be concluded by means of e-mail communication. /SPAN/P P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail transmissions are not secure and Travis Perkins accepts no responsibility for changes made to this message after it was sent. Whilst steps have been taken to ensure that this message is virus free, Travis Perkins accepts no liability for infection and recommends that you scan this e-mail and any attachments. /SPAN/P P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, Northampton, NN5 7UG. /SPAN/P /BODY /HTML --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Interest Rates near 39yr lows! $430,000 Mortgage for $1,399/mo - Calculate new payment --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please
RE: [U2] UniVerse I-descriptor Help
You are also going to need the INT function that operates on multi-values, !INTS. __ From: Moderator [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: [U2] UniVerse I-descriptor Help Date: Mon, 26 Mar 2007 14:04:44 -0400 REPOSTED FOR NON-MEMBER: Laure Hansen [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Hello, I'm trying to avoid having to write a subroutine to, basically, always round up the result of a division between a multi-value field and a single-value one, in an I-descriptor (UV 10.1). My MV field is named CONS, my single value one is names UNITS, the formula is CONS / REUSE(UNITS). The result will obviously be a multi-value. If the result is an integer, I want it as is. When it's not, I want it rounded up to the nearest integer. The data must be examined value by value. CONS and UNITS both are integers. Thanks in advance! Laure Hansen, City of Redwood City Information Technology www.redwoodcity.org http://www.redwoodcity.org/ 1017 Middlefield Road Redwood City, CA 94063 Tel: 650-780-7087 Fax: 650-556-9204 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Watch free concerts with Pink, Rod Stewart, Oasis and more. Visit MSN Presents today. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Upper Case Only
Within the pick environment there is situation where you are forced to use upper case: List Voc with @id like XREF... and with Type = F The interpreter won't recognize most of this statement. _ Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month. Intro*Terms --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Upper Case Only
I was using pick as a generic term. I am currently working on an AIX platform running Universe with the pick flavor and the LIKE keyword works. My point was that it has to be in upper case unless you have really mucked up the VOC with extaneous synonyms. __ From: Bill H [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: RE: [U2] Upper Case Only Date: Thu, 15 Mar 2007 12:02:10 -0700 Ron: In PICK mode there is no LIKE keyword. Comparisons use the normal =, #, etc operators. So your example should be: LIST VOC WITH @ID = XREF] AND WITH TYPE = F ...or LIST VOC = XREF] WITH TYPE = F (notice the upper-casing) :-) Hope this helps. Bill Ron Hutchings wrote... Within the pick environment there is situation where you are forced to use upper case: List Voc with @id like XREF... and with Type = F The interpreter won't recognize most of this statement. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Get a FREE Web site, company branded e-mail and more from Microsoft Office Live! --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Upper Case and Editors
The comment regarding upper case coding for upper case text messaging raised my dander. If you were typing a report and a word processor upper case looks ridiculous. The same as displaying information on a user interface screen, mixed case has a more professional appearance. Code that is well formatted reads much clearer to me in upper case, with nice periods between words. It also make using system search utilities easier. The comment about using ED was out of left field. Which editor is included with every system and does not require any special setup to run? I feel my productivity is not diminished a bit by using ED. I am slowed by trying to analyze code that has random mixed case use in the commands. i.e. Locate LoCate LocaTe loCate or Readu readu. Just because the compiler recognizes it does not mean it is a good idea. I'll use my antiquated line editor until they tear my cold dead fingers from the keyboard. Ron _ Rates near 39yr lows! $430K Loan for $1,399/mo - Paying Too Much? Calculate new payment --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [BB] Internal functions in Basic
This reminds me of the way the FORTRAN77 compiler treated subroutines in the source code. Original Message Follows From: Rick Nuckolls [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: Re: [U2] [BB] Internal functions in Basic Date: Mon, 18 Dec 2006 11:00:30 -0800 (PST) One way to accomplish this would be to allow multiple subroutine blocks within a single source file. The code (in one file) of: SUBROUTINE ONE( ARG1, ARG2) MYVAR = 1 CALL TWO(ARG2, ARG1) ;* reverse them END SUBROUTINE TWO(ARG1, ARG2) PRINT MYVAR ; * UNDEFINED!! out of scope PRINT ARG1, ARG2 END would print the two arguments in reverse order since the CALL TWO(ARG2, ARG1) reverses them from TWO'S point of view. In the above case, the catalogged subroutine would have two arguments and would start executing the first subroutine, returning at the first END statement. If code or a PROGRAM statement preceded the first SUBROUTINE or FUNCTION, then the variables in that block would scope to the rest of the file unless declared in a subroutine argument. PROGRAM X ;* optional line COMMON /MYCOM/ AA,BB,CC FOO = 9 CALL ONE( 1 , 2 ) CALL TWO(1) END SUBROUTINE ONE( ARG1, FOO) PRINT ARG1, FOO ;* prints 1 2 in this example PRINT AA,BB,CC ;* defined from above common DELTA = AA-BB ;* invisible to other blocks END SUBROUTINE TWO( ARG1) PRINT ARG1, FOO ;* prints 1 9 in this example END Note that if SUBROUTINE X was substituted for PROGRAM X, no variables or common from X would be within the scope of ONE or TWO. And yes, each internal subroutine or function should get a new set of stack variables each time it is invoked, even if it is a recursive invocation, so the following example would print out the factorial of 20 (I hope!). PROGRAM FACT20 DEFFUN FACT(N) CALLING FACT PRINT FACT( 20) END FUNCTION FACT( N) IF (N 1 ) THEN RETURN N * FACT(N-1) END ELSE RETURN N END END Womack, Adrian wrote: I'd really appreciate a way to write an internal function which can have parameters and can contain it's own local variables (although global variables would be OK). Often it's just not worth the effort to write a full blown external function that's only called a few times by one program. Perhaps these could be defined after the final END statement in the program. Something like: . . ANS = MYFUNCT(12, 34) CRT MYFUNCT(56, 78) END DEFFUN MYFUNCT(I, J) { FUNCT.VAR = I * J RETURN (FUNCT.VAR) } 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/ -- View this message in context: http://www.nabble.com/-BB--Internal-functions-in-Basic-tf2837863.html#a7934450 Sent from the U2 - Users mailing list archive at Nabble.com. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Find sales, coupons, and free shipping, all in one place! MSN Shopping Sales Deals http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Sending to the HOLD file
If you are describing the HOLD directory or the HOLD directory all of the suggestions are accurate. The one comment about loggin off to reset can be accomplished by executing SETPTR 0 with no other subcommands and it assumes the defaults. I am in a shop that is Pick flavor of Universe and everyone refers to the HOLD file when they are really describing the Pick system spool directory that is accessible through form name manipulation. Original Message Follows From: Bob Woodward [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: U2-Users List u2-users@listserver.u2ug.org Subject: [U2] Sending to the HOLD file Date: Wed, 29 Nov 2006 16:24:56 -0800 Hi folks. I'm pulling what little hair I have left out by the roots trying to figure out what I thought would be a simple process from TCL. I just want to be able to send an AD-HOC report to the HOLD file without having to go through a PROC. I thought it was just going to be an SP-ASSIGN command then run the report with the (P option but I now know that won't get it. Can anyone offer up a QD TCL command for this? Thanks, 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/ _ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] SELECT sub-command
We are on UV 10.0.11 PICK flavor Someone has encoded a NO.OPTOMIZE sub-command on some selects on one of our files. I cannot find documentation regarding using this sub-command on a SELECT. Removing it gives no detectable difference. Does anyone have insight into the use of this sub-command? _ Get the latest Windows Live Messenger 8.1 Beta version. Join now. http://ideas.live.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Unidata Query
Is ENUM fieldname supported in Unidata? It works great in Universe. Original Message Follows From: Martin Scholl [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: RE: [U2] Unidata Query Date: Mon, 14 Aug 2006 14:08:33 -0400 If I create the CNT dictionary entry in the VOC, it does not work only in the file. I get an 'Illegal Attribute Name' message. Though I thought that if the query processor can't find a field in the file dictionary, it looks for it in the VOC. That's how 'F1' etc work. The EVAL '1' worked fine. I have ECLTYPE 2. I didn't find it in the documentation though. Martin Scholl Pres. HIPAAsuite 18910 New Hampshire Ave Brinklow, MD 20862 Phone: 301-924-5537 Fax: 301-570-0139 [EMAIL PROTECTED] www.HIPAAsuite.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King Sent: Monday, August 14, 2006 12:12 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Unidata Query I hadn't thought about the TOTAL EVAL 1 that David and Mark mentioned and it's a grand idea though it does require either ECLTYPE U or the SORT command to be entered in lower case in ECLTYPE P. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com ** Check out scheduled Connect! training courses at http://www.PrecisOnline.com/train.html. --- 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] Unidata proc manual
The buffer stuff is exactly where the confusion for non-proc'-ies happens. I had to figure out that a proc was counting down the number of times it was executing a section of commands to perform copies of reports. Original Message Follows From: Allen E. Elwood [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: RE: [U2] Unidata proc manual Date: Tue, 8 Aug 2006 13:24:06 -0700 Well, anything you can do in Uniquery can be used in a proc, and they do have the online Uniquery documentation. I have not really seen any 'proc' language per se as there really isn't one. i.e., there are no commands that only work in a proc *that I'm aware of*. None of that buffer stuff, etc. Just do the things in the exact same order that you would do it at Uniquery and it just works like magic. I was actually quite happy when M2K went from Microdata to Unidata, as I got to 'forget' all the proc commands as they were no longer necessary. However, I've dealt almost exclusively with Manage-2000 so there could be other stuff that others are using that I'm unaware of. hth! Allen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Karjala Koponen Sent: Tuesday, August 08, 2006 13:00 To: u2-users@listserver.u2ug.org Subject: RE: [U2] Unidata proc manual I've never seen one. I came from a Prime environment to UniData and, of course, didn't have a clue how to interpret all the procs. I finally found the MicroData manuals from before the company's conversion to UniData and used those. Based on my experience, I'd guess that proc manuals for other environments would generally work. The trick, of course, is knowing when a command or syntax is different or has different results between UniData and the manual you have at hand. I worked on building mechanisms that allowed me to use paragraphs and other documented procedures in a proc environment. Seemed to work. Always thought that as procs are a (semi)supported environment that UniData could have a manual that would allow a person to understand procs. Karjala -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 08, 2006 12:50 PM To: U2 Subject: [U2] Unidata proc manual Has anyone ever seen a unidata proc manual? I can't find any reference, other than some information on user exits -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.7/411 - Release Date: 8/7/2006 --- 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] Changed BASIC varname1,-1
How could shipping ever not match allocation? Will wonders never cease? LOL Original Message Follows From: Allen E. Elwood [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: RE: [U2] Changed BASIC varname1,-1 Date: Tue, 23 May 2006 10:44:08 -0700 snip The output is eventually to be used to adjust inventory at the LOT/PART level if shipping does not match allocation. snip --- 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] Multiple Data Files
NO, I used distributed files effectively in a previous implementation. Mark captured the essence of what I am seeing in this implementation. The suggestion of control/config/catchall files in this structure makes some sense to keep a handle on this. The implementation I am using is not sharing the dictionary. I found the responses enlightening. Thanks. Ron Original Message Follows From: [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: RE: [U2] Multiple Data Files Date: Wed, 17 May 2006 11:39:45 +0100 I suspect that the Ron is talking about distributed files.. Ron - this is a mechanism where you can split the data over several individual part files, but still be able to see it all together as one logical file. This means that you can open the file as a whole, and read records or select the whole file or you could open an individual part file and read records or select the records in the individual part file. This is mainly used for two purposes. One is where you have a file size limit and you need to be able to store more data than the file can possibly hold. For example, a 32 bit Universe file can only have 2gb of data. If you need to have more than that amount you have two choices - convert the file to 64 bit if the underlying OS will allow it, or to distribute the data across part files. The second purpose is to split the data into more manageable and logical chunks. For example, if you have invoice transactions that you keep for many years, it may make sense to have a part file for each year of data. So you would have a distributed file called INVOICES, with part file of INVOICES.06, INVOICES.05, INVOICES.04 etc. You would usually also define a bucket file called, for example, INVOICES.REST, which would hold all the INVOICES records that you didnt want to store in an individual part file. That way, you could store most of you very old invoices in INVOICES,REST, and the more recent ones in the part file for the year in which they were raised. The advantage of doing this is that you if you want to run reports for this year, you only need to select INVOICES.06, and that will only contain the invoices raised for this year, so it can run much quicker. If you want to do reports for last year, then you can run the same programs or RECALL statements against INVOICES.05, and that will then give you data for last year. If you want to run reports for everything, then you run the same programs or RECALL statements against INVOICES, and you will get the data for everything. The limitation is that the information which decides which part file a record is to be stored in must be part of the key. In the INVOICES example, the year must be part of the key to the INVOICES file. There are downsides to using distributed files. One is that when you open the whole file, Universe actually opens all the part files as well. The number of files that can be opened at any one time by a process is usually a hard OS limit. Universe overcomes this OS limit by using the concept of a rotating file pool, where once the OS limit is reached, the file that has not been used the longest is closed, and the slot used for the new file to be opened. Normally, this is not much of a performance hit, but if you are calling subroutines frequently that open files, and especially open distributed files with lots of part files, then it can become an issue. For more information on how to create and manage distribute files do a HELP on DEFINE.DF and LIST.DF. Bob Woodward [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 17/05/2006 00:04 Mail Size: 5276 Please respond to u2-users@listserver.u2ug.org To u2-users@listserver.u2ug.org cc Subject RE: [U2] Multiple Data Files Entity Investment Banking Europe - IBEU If you are meaning multiple data record structures inside of a single file then for me, it's a lot more manageable to keep things like control records in a single file/table than to have many files/tables with only one or a few records/rows. If this is not what you mean then your question has me totally confused. BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Hutchings Sent: Tuesday, May 16, 2006 2:33 PM To: u2-users@listserver.u2ug.org Subject: [U2] Multiple Data Files I came to the Pick world by way fo Prime Information through Universe with the Prime Flavor. I am currently working on an implementation of Universe with the Pick flavor. I have come across examples fo Multiple Data Files in the application and am having a difficult time understanding the purpose of this file structure. Can anyone share some practical uses for these file structures? --- 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] Multiple Data Files
I came to the Pick world by way fo Prime Information through Universe with the Prime Flavor. I am currently working on an implementation of Universe with the Pick flavor. I have come across examples fo Multiple Data Files in the application and am having a difficult time understanding the purpose of this file structure. Can anyone share some practical uses for these file structures? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Maximum heading length
The heading will also wrap at the maximum setting of the SETPTR or where the TERM width is set. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] OT: Unix Version of PR1MOS EDitor
Does anyone know of any software for Unix which is compatible with the old PR1MOS Editor? I had to blow the dust off my old copy of the Hacker's Guide to the Prime to remind myself about the Primos ED command. Dare I ask why you would want to find a Unix equivalent? I'll bet he is longing for the GMODIFY commands within ED! --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Deciphering Pick UniBasic statement
IF P(2)-AR(12)=28 THEN CC=CC+1; INS 0 BEFORE AR(14)1,1; DEL AR(14)1,9; ELSE IF AR(13)=DATE() THEN CC=CC ELSE INS 1 BEFORE AR(14)1,1; DEL AR(14)1,9 Here is my interpretation: IF P(2)-AR(12)=28 THEN CC=CC+1 INS 0 BEFORE AR(14)1,1 DEL AR(14)1,9 END ELSE IF AR(13)=DATE() THEN CC=CC END ELSE INS 1 BEFORE AR(14)1,1 DEL AR(14)1,9 END END Good Luck! --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Good Programming Practice Question.........
I understand the concept of tagging changed lines but this seems to suggest that deletions are commented out instead of removed. After four or five changes you get confused about what is executing and what isn't. I am a strong proponent of removing deleted lines of code. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: Counting (was: RE: [U2] TCL beginner)
Universe supports the ENUM command that does the same thing as adding our favorite CNT I-descriptor to the dictionary or VOC. It is always available without editting dictionaries or vocs. It does add a column to the output. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Prime number file modulos
You can shorten your prime search routine's execution by limiting the search for factors to the square root of the number being tested for primality. If a number is composite(not prime) it has to have a factor smaller than its square root. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Formatting Data
The use of the callable routine !FOLD was suggested a day or two ago. It is very affective in that it naturally breaks on space. If you use the remove to display the folded text it save a great deal of coding. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] command.editor
We recently upgraded to UV10 and discovered that COMMAND.EDITOR has been included. We used this long ago on Prime Information but now we cannot locate manuals for some of its subcommands. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] OT Wumpus!
There were versions of Adventure in PRIMOS in FTN. The wizard password was XYZZY. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Catastrophe in realloc
Running on AIX 4.3.3, Universe 9.6 I have a job processing a sequential file in HOLD. It processes about a third of the file then halts with the error Catastrophe in realloc: invalid storage prointer IOT/Abort trap. I have looked through the probrams and files and nothing seems to be wrong. I was able to successfully process the file on our test system which runs on a separate server, same AIX, same Universe revisions. Does anyone recognize this error and can point me in a direction? Thanks, Ron --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Internal Subroutine
We ran across a call to a routine named $CP$ and can find no references to it. Can anyone shed some light on this? We are running Universe 9.6. _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/