Re: [U2] ARGUS

2005-11-10 Thread Mark Johnson
I never heard of Argus. Perhaps it's with the other MCD 4GL's (sic) like Wizard, ALL and Realcalc. - Original Message - From: "John Kent" <[EMAIL PROTECTED]> To: Sent: Thursday, November 10, 2005 11:20 PM Subject: [U2] ARGUS > Anyone have any help documentation on how to use the above 4G

Re: [U2] Taking night classes

2005-11-10 Thread Mark Johnson
Thanks Larry. I often wonder what the next thing I should invest my brain in. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, November 10, 2005 5:18 PM Subject: [U2] Taking night classes > Sometimes I get questions from Universe and Unidata programmers who are > unemp

Re: [U2] Sort help needed

2005-11-07 Thread Mark Johnson
Sidebar: Did (does) any system require the null expression for DICT in an OPEN statement. Haven't used them since 1978 when I accidentally forgot it and never looked back. Just curious. Mark Johnson - Original Message - From: "Allen E. Elwood" <[EMAIL PROTECTED]&

Re: [U2] [UV] PRINT @(-23)

2005-11-02 Thread Mark Johnson
Give Pete Schellenbach an email. He's extremely supportive of users of Accuterm. Quick turnaround. - Original Message - From: "Dianne Ackerman" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 02, 2005 9:22 AM Subject: Re: [U2] [UV] PRINT @(-23) > Using Accuterm. The printer is fine b

Re: [U2] Week of the year (UV)

2005-10-30 Thread Mark Johnson
Zero standards. Dozens of Styles. Mark Johnson. - Original Message - From: "Bill_H" <[EMAIL PROTECTED]> To: Sent: Friday, October 28, 2005 1:02 PM Subject: RE: [U2] Week of the year (UV) > Wol: > > As Kevin alluded to earlier, the program, and the conseque

Re: [U2] [UV][OT]Embed command in CSV file? [ad]

2005-10-23 Thread Mark Johnson
ome other advice on this forum to generate HTML which has had some success but is limited in ease of adding fields or making changes. Perhaps this is my opportunity to get into XML. Thanks Mark Johnson - Original Message - From: "Tony Gravagno" <[EMAIL PROTECTED]> To: Sent

Re: [U2] Double Indexes

2005-10-21 Thread Mark Johnson
I putzed around with correlative-based indexed fields and got a lot of errmsg static. I'll try your suggestions. I'm trying to use the system instead of maintain manual xref files. This system is crammed full of 2M, 3M, 6Million record files and there is a lot of NUM1:NUM2 and NUM2:NUM1 (example)

Re: [U2] [UV][OT]Embed command in CSV file?

2005-10-21 Thread Mark Johnson
Any advice on making better CSV's for eventual MV to Excel exports. I've used CSV's for years (avoiding A1 containing ID) and have been using HTML for some formatting. The HTML problem is I usually have to create the spreadsheet with its formatting, save as HTML and edit the 'text' of the HTML. SL

Re: [U2] Double Indexes

2005-10-21 Thread Mark Johnson
10.18" TO 1 >SELECT FILE WITH CUST = "12345" TO 2 >MERGE.LIST 1 INTERSECT 2 >[EMAIL PROTECTED] wrote: - >>To: >>From: "Mark Johnson" >>Sent by: [EMAIL PROTECTED] >>Date: 21/10/2005 13:50 >>Su

Re: [U2] Translate question

2005-10-20 Thread Mark Johnson
n a READV, so that if you > >use it > >for more than one field in a record, or for multiple reads on a file > >in a > >Basic program, the OPEN being repeated was a killer in terms of > >performance > >(our software vendor did both, c

[U2] Double Indexes

2005-10-20 Thread Mark Johnson
ing the 11,000 quick DATE items and then hashingly goes through them looking for CUST. If I try SELECT FILE WITH DATE = "10.18" then SELECT FILE WITH CUST = "12345" it still takes longer than I would expect. Is a double INDEX a strange animal. Does U2 support indexing virtual f

Re: [U2] Translate question

2005-10-20 Thread Mark Johnson
r multiple reads on a file in a > Basic program, the OPEN being repeated was a killer in terms of performance > (our software vendor did both, constantly!) > > I am surprised that no other responders raised the efficiency issue! > > Susan Lynch > F.W. Davison > - Original Mes

Re: [U2] Translate question

2005-10-20 Thread Mark Johnson
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 > ---- > > > -Original Message- > Fr

Re: [U2] Translate question

2005-10-18 Thread Mark Johnson
> >"X;15" not work. > > The difference is in "ICONV" vs "OCONV" > > The first "15" is for ICONV's and the second "15" is for OCONV's > > AFAIK, "standard" over all implementations... > > HTH > &g

[U2] Translate question

2005-10-17 Thread Mark Johnson
I've always used the OCONV(ID,"TFILE;X;15;15") form for translates. What is the difference between the first and second '15's. I've seen "X;;15" work and "X;15" not work. Thanks in advance. Mark Johnson --- u2-users mailing list u2-users@li

Re: [U2] Basic vs Execute Select

2005-10-14 Thread Mark Johnson
r if there was more info about the actual application... > > > Ralph Burton <[EMAIL PROTECTED]> wrote: > I would use a straight Select in basic program and not use an Execute or Perform. > > OPEN "FILES" TO F.FILES ELSE ... > > SELECT F.FILES > > >

Re: [U2] Basic vs Execute Select

2005-10-14 Thread Mark Johnson
> Do you mean "accounted for"? > > Bill > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson > > Sent: Wednesday, October 12, 2005 7:58 AM > > To: u2-users@listserver.u2ug.org > > Subje

Re: [U2] Basic vs Execute Select

2005-10-12 Thread Mark Johnson
You're kidding. I requested 'counted for', not counted. The earlier SELECT thread brought up the concept of records added during the processing. Thus, how could you insure that all records were processed, even those latecomers. Mark Johnson - Original Message - From

Re: [U2] help with multivalue and when

2005-10-11 Thread Mark Johnson
ct it as follows: ED DICT ORDER.LOG COMBO 002 ACTION:ACT.DATE or to the effect. Insure ACT.DATE is oconv'd D2/ Then you would select ORDER.LOG WITH COMBO = "PCK10/15/05" My 1 cent. Mark Johnson P.S. Is this RESULTS. Nice to see it's still around. - Original Message

[U2] Basic vs Execute Select

2005-10-10 Thread Mark Johnson
A recent thread debated the speed of these 2 SELECT methods. My question is what would be the preferred way to insure that all records may be counted for on an active system instead of a dormant system. Thanks in advance. Mark Johnson --- u2-users mailing list u2-users@listserver.u2ug.org To

Re: [U2] Fw: More U2 programming hints

2005-10-09 Thread Mark Johnson
his type of select? If users are > updating this file they could insert data into a group which you may already > passed. > > > > You would only use this type of select when no one is updating this file. > > > > Regards, > > Jeff Marcos > > > > -Original Mes

Re: [U2] Fw: More U2 programming hints

2005-10-09 Thread Mark Johnson
he least important thing you're concerned > about is speed.. > > > > > > >Regards, > > > >Jeff Marcos > > > > > > > >-Original Message- > > > >From: [EMAIL PROTECTED] > > > >[mailto:[EMAIL PROTECTED

Re: [U2] Fw: More U2 programming hints

2005-10-09 Thread Mark Johnson
I disagree with BASIC SELECT being the only one susceptible to this situation. I've gotta believe that using an EXECUTE SELECT, the processor could be past groups being currently updated. It affects both. My 1 cent. Mark Johnson - Original Message - From: "Jeff Marcos" &l

Re: [U2] more serious notes on GOTO

2005-10-07 Thread Mark Johnson
Some versions of BASIC have POP whereby one return address is removed from the stack. Sort of like a RERETURN. Glad we don't have that one. My 1 cent. - Original Message - From: "Keith W. Roberts" <[EMAIL PROTECTED]> To: Sent: Friday, October 07, 2005 12:16 PM Subject: RE: [U2] more serio

Re: [U2] OPEN vs TRANS

2005-10-07 Thread Mark Johnson
ld with no side effects. If I need another field, I use OPEN and READ. Thanks Mark Johnson - Original Message - From: "Timothy Snyder" <[EMAIL PROTECTED]> To: Sent: Friday, October 07, 2005 5:21 PM Subject: RE: [U2] OPEN vs TRANS > "Allen E. Elwood" <[EM

Re: [U2] OPEN vs TRANS

2005-10-07 Thread Mark Johnson
I agree. That's what we consultants are for. To help our clients make intelligent decisions. - Original Message - From: "Larry Hiscock" <[EMAIL PROTECTED]> To: Sent: Friday, October 07, 2005 7:12 PM Subject: RE: [U2] OPEN vs TRANS > Sometimes you have to educate your clients as to what t

Re: [U2] Fw: More U2 programming hints

2005-10-06 Thread Mark Johnson
06, 2005 9:05 AM Subject: RE: [U2] Fw: More U2 programming hints > You could always build an index by date. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Mark Johnson > Sent: Thursday, October 06, 2005 7:36 AM > To: u2-users@l

Re: [U2] the 4 letter word

2005-10-06 Thread Mark Johnson
e readable and manageable than its alternate. My 1 cent Mark Johnson - Original Message - From: "Serguei" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 05, 2005 3:47 AM Subject: Re: [U2] the 4 letter word > And the next thing GOTO supporters will try to

Re: Re[2]: [U2] the 4 letter word

2005-10-06 Thread Mark Johnson
Who's the 'they'. The defenders or the offenders? Signed, A Defender Mark Johnson. - Original Message - From: "David Tod Sigafoos" <[EMAIL PROTECTED]> To: "Mark Johnson" Sent: Tuesday, October 04, 2005 8:48 PM Subject: Re[2]: [U2] the 4 letter w

Re: [U2] Fw: More U2 programming hints

2005-10-06 Thread Mark Johnson
ist) to READNEXT from. Please no flames on my exposed word called 'habit'. We all have habits, both good and bad and only when proven that my habits are bad can I consider changing them. Actual proof, not guesses and/or first-training. Thanks Mark Johnson - Original Message - Fro

Re: [U2] Fw: More U2 programming hints

2005-10-06 Thread Mark Johnson
I can't see how a BASIC SELECT can be slower than EXECUTE "SELECT". It doesn't have to go through to get 'xxx items selected' before it processes the first one. I also don't believe the mechanical difference once it begins, ie 'find the next group' etc. Wouldn't you think that this at least spares

Re: [U2] the 4 letter word

2005-10-06 Thread Mark Johnson
crank record player too?? <> > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Mark Johnson > Sent: Monday, October 03, 2005 20:08 > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] the 4 letter word > > > Being one o

Re: [U2] Java calss calls a universe subroutine

2005-10-03 Thread Mark Johnson
ys to skin a cat. So to answer your question, you make up your own list of variables to provide and variables to obtain and place them in the parameter list and let the sub do its magic. Mine were ANSWER and TOMMY. My 2 cents Mark Johnson - Original Message - From: "Vance, Kathy" &

Re: [U2] the 4 letter word

2005-10-03 Thread Mark Johnson
Being one of the most (four letter word) supporters (probably because I understand how to use it properly), notice I didn't bring it up. Mark Johnson - Original Message - From: "Marilyn Hilb" <[EMAIL PROTECTED]> To: Sent: Monday, October 03, 2005 2:21 PM Subject:

Re: [U2] Good Programming Practice Question.........

2005-10-03 Thread Mark Johnson
I do like your use of the word 'strategy'. That probably better defines a programmer's approach to solving any particular problem, especially given the diverse environments one may encounter. Mark Johnson - Original Message - From: "Timothy Snyder" <[EMAIL P

Re: [U2] Good Programming Practice Question.........

2005-10-02 Thread Mark Johnson
time it's just a regular OPEN. I also did mention its value when first installing on a new environment. Yes, it also works as CALL OPENER("DICT CUSTOMER", D.CUSTOMER) and with all the D3 comma'd files. I wouldn't have offered it (nor would have Spectrum printed an article ab

Re: [U2] Fw: More U2 programming hints

2005-10-01 Thread Mark Johnson
n examples but this should clear it up. Likewise Extraneous OPEN "FILE" TO F.FILE ELSE STOP EXECUTE "CLEAR-FILE (DATA FILE" more effecient: OPEN "FILE" TO F.FILE ELSE STOP CLEARFILE F.FILE Mark Johnson - Original Message - From: "Stevenson, Charles"

Re: [U2] Fw: More U2 programming hints

2005-10-01 Thread Mark Johnson
My A-Z meant from the beginning of the file to the end, not sorted, merely to go through the entire file, a-z. - Original Message - From: "Larry Hiscock" <[EMAIL PROTECTED]> To: Sent: Saturday, October 01, 2005 12:20 PM Subject: RE: [U2] Fw: More U2 programming hints

[U2] Fw: More U2 programming hints

2005-10-01 Thread Mark Johnson
At the risk of being verbose, this topic is near and dear to me based on the sheer volume of programs and styles I've observed in my many years of MV. While many may offer positive suggestions, I'm sure I'm not alone in offering up code snippets that should be avoided. Remember, nothing is complete

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
That's almost a contradiction. If the UD compiler doesn't like a D3 command it will simply reject it. If it had the capacity to recognize it as a variant, it would probably allow it to be compiled. LOCATE is a great example of prior conflicts and current allowances. I think a pre-compiler is one

Re: [U2] Good Programming Practice - Axiom - ........

2005-09-30 Thread Mark Johnson
D3 has LOOP READNEXT ID ELSE EXIT UNTIL 0 DO REPEAT FYI. - Original Message - From: "Allen E. Elwood" <[EMAIL PROTECTED]> To: Sent: Friday, September 30, 2005 4:33 PM Subject: RE: [U2] Good Programming Practice - Axiom - > I beg to differ. As an old dog, I've learned a couple

Re: [U2] GT vs > (was RE: U2 Users Digest... (really Standards))

2005-09-30 Thread Mark Johnson
A few years ago I was on a pretty good multi-person phone interview with a large Ohio software company when the topic of 'standards' came up. I responded that I respect the 'house rules'. Then they asked whether I use the 4 letter word and when I replied yes, you'd have thought I was I was dressing

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
BTW, Microdata supports all the current blocked IF/THEN/ELSE and READ/THEN/ELSE constructs. It originally didn't support READ/THEN but that was fixed in 3.0 circa 1980. My old 1 cent. Mark Johnson - Original Message - From: "Larry Hiscock" <[EMAIL PROTECTED]> To: Se

Re: [U2] GT vs > (was RE: U2 Users Digest... (really Standards))

2005-09-30 Thread Mark Johnson
I agree with the <=, >= etc use of the chevrons is cluttering with dynamic arrays. However since the = sign by itself is pretty consistent, EQ may be overkill. I do use NE though. My 1 cent. - Original Message - From: "Ross Morrissey" <[EMAIL PROTECTED]> To: Sent: Friday, September 30,

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
A simple argument for blocked if's and one command per line is when you get an errmsg for that line and it have multiple suspects. My 1 cent - Original Message - From: "Allen E. Elwood" <[EMAIL PROTECTED]> To: Sent: Friday, September 30, 2005 2:59 PM Subject: RE: [U2] Good Programming Pra

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
the near future. I've inherited a lot of code that says IF X=1 THEN PRINT X END of which I consolidate. I'm betting that it can remain as one line pretty much forever. My 1 cent. Mark Johnson - Original Message - From: "Kevin King" <[EMAIL PROTECTED]> T

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
I don't understand. Please explain. Thanks Mark Johnson - Original Message - From: "Allen E. Elwood" <[EMAIL PROTECTED]> To: Sent: Friday, September 30, 2005 12:26 PM Subject: RE: [U2] Good Programming Practice Question. > It's been two days without

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
Never heard of the 2 indent rule. Mark Johnson - Original Message - From: "Rex Gozar" <[EMAIL PROTECTED]> To: Sent: Friday, September 30, 2005 10:59 AM Subject: RE: [U2] Good Programming Practice Question. > Essentially I agree with Louis' "jus

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
I challenge # 4 specifically. That takes away the entire concept of Equate Aliases which is pretty useful and a huge step towards consistently named fields in data files. I don't use them on purpose but for those clients that embrace it, it's pretty nice. Also, no-one has mentioned the 4 letter w

Re: [U2] Programming Metrics (was "Good Programming Practice Question.........")

2005-09-30 Thread Mark Johnson
I endorse this in another regard. Sometimes, you may have a nice DICT sub written as an ITYPE that you cannot pass other files or stuff to and the sub does all the work. Then you can share that sub with English and Data/Basic. I miss this in D3. My 1 cent. Mark Johnson - Original Message

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
QuickBasic Editor whereby you could double click on a sub or function and get a whole separate screen of just that sub. As separate entities, ie one entry point, they're different than our multi-entry point internal subs (and procs). Thanks Mark Johnson - Original Message - From: "Ric

Re: [U2] Programming Metrics (was "Good Programming Practice Question.........")

2005-09-30 Thread Mark Johnson
live programs as UPDATE.NEW, UPDATE.V2, UPDATE.NEW2 and likewise archived programs as UPDATE.OLD, UPDATE, BKUP, UPDATE.HOLD. Keep the live version as UPDATE and datestamp all the archives in a separate file, ie BP.ARCHIVE UPDATE_093005. I'm sure I'll have more as will many others. My 2

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
7;s like SB, Eclipse and others. That's the great thing about standards, there's so many to choose from. My 1 cent. Mark Johnson - Original Message - From: "Louis Windsor" <[EMAIL PROTECTED]> To: Sent: Friday, September 30, 2005 9:40 AM Subject: Re: [U2] Goo

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
like some > f-correlatives I've seen. > > Colin Alfke > Calgary, Canada > > >-Original Message- > >From: Mark Johnson > > > >Define tricky looking code. > >Thanks. > --- > u2-users mailing list > u2-users@listserver.u2ug.org >

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
Files that can't open are usually solved pretty quickly either after installing the software or making the changes. The downstream elaborate errmsgs for OPEN "CUSTOMER" TO F.CUSTOMER ELSE PRINT "CANNOT OPEN THE CUSTOMER FILE. PLEASE CONTACT YOUR PROGRAMMER. PROGRAM TERMINATING" ; STOP OPEN "INVENT

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
Susan: As one who straddles many platforms, I make local versions of consistently named subroutines, ie GET.PORT, GET.USER, GET.ACCOUNT, GET.IDS, OPENER etc. Thus once I install them on any platform, my regular coding is more straightforward. My 1 cent. Mark Johnson - Original Message

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
I believe I didn't represent myself properly. I meant why have a GOSUB OPEN.FILES subroutine when you only need to open them once. Sorry for the confusion. Mark Johnson - Original Message - From: "Susan Joslyn" <[EMAIL PROTECTED]> To: Sent: Friday, September 30, 200

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
Fair enough. Mark Johnson - Original Message - From: "Serguei" <[EMAIL PROTECTED]> To: Sent: Friday, September 30, 2005 4:29 AM Subject: Re: [U2] Good Programming Practice Question. > The one you don't understand what it is doing when you see

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mark Johnson
estion it would become a popular thread. Perhaps a compilation of the various methods for each MV element could be made (or acquired) and each could pick (no pun intended) what they like the most. Thanks Mark Johnson - Original Message - From: "Kevin King" <[EMAIL PROTECTED]> To:

Re: [U2] Good Programming Practice Question.........

2005-09-29 Thread Mark Johnson
I think that there are a lot of good choices to choose from but there is no one *best* choice that we can all agree with. We've all come from separate environments that supported their own standards and we're coming to a focal point here debating the undebatable. I wonder if there could be a compi

Re: [U2] Good Programming Practice Question.........

2005-09-29 Thread Mark Johnson
ber of elements in ARRAY is really big. If you expect it to have 1 to > 10 elements an extra variable only makes your code more difficult to > maintain. > > On REMOVE I completely agree with you - it just makes it more difficult to > understand the code without giving anything in

Re: [U2] Good Programming Practice Question.........

2005-09-29 Thread Mark Johnson
A good example of interpeted vs non-interpeted code is that PROC can have the same label more than once. It will only reference the first one though. My 1 cent. - Original Message - From: "Keith W. Roberts" <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Wednesday, September 28, 200

Re: [U2] Good Programming Practice Question.........

2005-09-29 Thread Mark Johnson
Define tricky looking code. Thanks. - Original Message - From: "Serguei Poliakov" <[EMAIL PROTECTED]> To: Sent: Thursday, September 29, 2005 5:09 AM Subject: Re: [U2] Good Programming Practice Question. > I thinks the better to say - if the code looks tricky, there is something

Re: [U2] Good Programming Practice Question.........

2005-09-29 Thread Mark Johnson
What's the real need to have OPEN's in a sub. Isn't the main purpose of subs to allow repeated access of the same code. What's wrong with top-down coding with the OPENs, INCLUDES and other housekeeping in the beginning. I also think that any programming to accomodate the hardware limitations of th

Re: [U2] Good Programming Practice Question.........

2005-09-29 Thread Mark Johnson
I'm redundant in my prior post. Sorry. I would also suggest archiving BP UPDATE_092905 in separate file, BP.ARCHIVE for example. This way, a FIND (SEARCH) won't grab false positives when looking for a program. I wrote an article for Spectrum on this very topic. Mark Johnson

Re: [U2] Good Programming Practice Question.........

2005-09-29 Thread Mark Johnson
y thesaurus-like with the different words for New and Old. The worse was ABRIDGED.UPDATE. One client's main cust maint is IMPROVED.CUSTMAINT.SUB.2. C'mon. If my methods can hurt me, then they haven't yet. Mark Johnson - Original Message - From: "Jeff Schasny" <

Re: [U2] Good Programming Practice Question.........

2005-09-29 Thread Mark Johnson
lames please. I like testing subs at TCL and the external OPEN's get in the way. Mark Johnson - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, September 28, 2005 8:43 AM Subject: RE: [U2] Good Programming Practice Question. > I may have missed some

Re: [U2] Good Programming Practice Question.........

2005-09-29 Thread Mark Johnson
There's no such a thing as MV standards. Period. Personal standards, yes. VAR standards, yes. MV Standards, absolutely none. This thread, while starting on noble grounds of 'good' programming practices, will eventually turn into a pissing contest of implied standards. My 1 cent. - Original M

Re: [U2] Good Programming Practice Question.........

2005-09-27 Thread Mark Johnson
RETURN TO. Mark Johnson P.S. I would also love to see an analyzer program that identifies whether OPENed files READ, WRITE, CLEAR and/or DELETE. It could be a comment at the end of the OPEN statement. Often times I FIND a BP file for CUSTOMER and WRITE but they're not necessarily attached. OPE

Re: [U2] Good Programming Practice Question.........

2005-09-27 Thread Mark Johnson
Another good suggestion: Use: LAST=DCOUNT(ARRAY,CHAR(253)) FOR I=1 TO LAST blah NEXT I instead of FOR I=1 TO DCOUNT(ARRAY,CHAR(253)) I know that REMOVE is pretty promoted here but most times I use a FOR/NEXT loop because I don't want to maintain a separate mv variable for using any other associate

Re: [U2] Good Programming Practice Question.........

2005-09-27 Thread Mark Johnson
I'll toss in 2 cents on 'standards'. If maintaining an existing environment, should you add a new standard (yours) or should you adhere to the primary one already there. For example, I use OPEN "CUST" TO F.CUST ELSE STOP whereas one app has OPEN "CUST" TO CUST.FILE ELSE STOP I agree with many of

[U2] Searching For Source Code

2005-09-16 Thread Mark Johnson
ow if these original developers are still around or not. I would like to get a copy of the source code. I'm not looking for any dissertation on software licensing or copy protecting. Just a copy of older source code that a potentially defunct company may have distributed. Thanks in advance. Mark

Re: [U2] Tracking down how fields are filled

2005-09-09 Thread Mark Johnson
king subroutine and that 139 or 140 are literal. Plus, theres so many indirect updates with variables that work but are hard to identify. This sort of goes back to my earlier request for a file analyzer that illustrates the READS, WRITES etc. Good luck. Mark Johnson - Original Message - From

Re: [U2] RE: Named Common

2005-09-07 Thread Mark Johnson
IIRC there was a scanning program that would identify which programs opened, read, wrote and/or deleted specific files. Anyone recall such a utililty. Thanks in advance. Mark Johnson - Original Message - From: "Stevenson, Charles" <[EMAIL PROTECTED]> To: Sent: Tuesday, Se

Re: [U2] RE: Named Common

2005-09-05 Thread Mark Johnson
cessfull static company that is pretty happy where they are. He knows that I'm more than happy to represent his best interests when the time comes. It's just not here yet. Thanks. Mark Johnson - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Saturday, September 03, 2005

Re: [U2] Prime number file modulos

2005-09-05 Thread Mark Johnson
Re: 500 byte frames: Just my Microdata clients. Mark Johnson - Original Message - From: "Stewart Leicester" <[EMAIL PROTECTED]> To: Sent: Sunday, September 04, 2005 8:36 PM Subject: Re: [U2] Prime number file modulos > From: "Dan Fitzgerald" <[EMAIL PR

Re: [U2] Prime number file modulos

2005-09-03 Thread Mark Johnson
So let's ask the heavy hitters on this forum. How does the TCL verb PRIME do its magic. Thanks in advance. - Original Message - From: "Ron Hutchings" <[EMAIL PROTECTED]> To: Sent: Saturday, September 03, 2005 12:41 PM Subject: Re: [U2] Prime number file modulos > You can shorten your pr

Re: [U2] Prime number file modulos

2005-09-02 Thread Mark Johnson
aucoups of restores in my day as well as fresh formatting for the first install and never waited past the load-in for these periods. My 1 cent. Mark Johnson - Original Message - From: "Dan Fitzgerald" <[EMAIL PROTECTED]> To: Sent: Friday, September 02, 2005 9:01 PM Subject:

Re: [U2] RE: Named Common

2005-09-02 Thread Mark Johnson
flamed. Please don't make these assumptions. Ask first either in public or off-line. A Little Disappointed Mark Johnson - Original Message - From: "gerry-u2ug" <[EMAIL PROTECTED]> To: Sent: Friday, September 02, 2005 6:22 PM Subject: RE: [U2] RE: Named Common > and

Re: [U2] Prime number file modulos

2005-09-02 Thread Mark Johnson
isors to test is the SQRT of the object plus 1 to accommodate the fraction. I learned this method in a 1974 Fortran class in college. My 1 cent Mark Johnson Happy Labor Day - Original Message - From: "Allen E. Elwood" <[EMAIL PROTECTED]> To: Sent: Friday, September 02,

Re: [U2] TCL beginner

2005-09-02 Thread Mark Johnson
I use a TCL command that I created called COUNTER. It requires the dict item in the file called COUNTER that represents the value 1. At tcl type COUNTER CUSTOMER STATE The proc goes like this: PQN HSORT A2 H BY A3 H BREAK-ON A3 H TOTAL COUNTER DET-SUPP P I use this quite extensively for this exac

Re: [U2] Prime number file modulos

2005-09-02 Thread Mark Johnson
me under-sizing, the differences aren't worth policing? Thanks in advance. Mark Johnson - Original Message - From: "Dan Fitzgerald" <[EMAIL PROTECTED]> To: Sent: Friday, September 02, 2005 4:39 PM Subject: Re: [U2] Prime number file modulos > Yeah... the problem wit

Re: [U2] Prime number file modulos

2005-09-02 Thread Mark Johnson
I found the resize program and all it did was place the new mod in 013 of the DL/ID. Its only proof was that it was numeric and not 'even'. Pretty pathetic. Thanks Mark Johnson - Original Message - From: "Allen E. Elwood" <[EMAIL PROTECTED]> To: Sent: Friday,

Re: [U2] Date ICONV In English

2005-09-02 Thread Mark Johnson
ing: READ REC FROM FILE, ID MAT ALL="" FOR I=1 TO 40 ; ALL(I)=FIELD(REC,CHAR(254),I) ; NEXT I writing: Z=CHAR(254) ; Y=CHAR(253) REC=CUSTNO:Z:ORDN:Z:AMT:Z:Z:Z:Z:Z:Z BBB=DATEANS REC=REC:Z:Z:Z:BBB REC=REC:Z:Z:A:Y:B:Y:C:Z:TOTALPRICE WRITE REC ON FILE, ID I swear on a stack of bibles that

Re: [U2] RE: Named Common

2005-09-02 Thread Mark Johnson
illsets before my clients need them. I would love to learn SB+, JBase or Open Insight but I am so busy now with standard MV code. Plus, if I were to find the time, I would probably develop skills outside of MV. No flames please. Thanks. Mark Johnson - Original Message - From: "Stevens

Re: [U2] Date ICONV In English

2005-09-02 Thread Mark Johnson
1997 when I got on board with half of their dates that way and the rest as ICONV'd. But in 1999 it was justified to repair for obvious Y2K reasons. Mark Johnson. The Y2K situation didn't produce a whole lot of revenue for me. Day 10,000 was more profitable although not record breaki

Re: [U2] RE: Named Common

2005-09-02 Thread Mark Johnson
ew skillsets before my clients need them. I would love to learn SB+, JBase or Open Insight but I am so busy now with standard MV code. Plus, if I were to find the time, I would probably develop skills outside of MV. No flames please. Thanks. Mark Johnson - Original Message - From: "St

Re: [U2] Date ICONV In English

2005-09-02 Thread Mark Johnson
subroutine just for this process. Sorry for the confusion. Mark Johnson - Original Message - From: "Gordon J Glorfield" <[EMAIL PROTECTED]> To: Sent: Friday, September 02, 2005 9:55 AM Subject: Re: [U2] Date ICONV In English > Mark, > > What is your objection to

Re: [U2] Date ICONV In English

2005-09-02 Thread Mark Johnson
-Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson > Sent: Friday, September 02, 2005 7:00 AM > To: u2-users@listserver.u2ug.org > Subject: [U2] Date ICONV In English > > Is there any simple method short of an Itype or called routi

Re: [U2] Programs slowing down after many iterations

2005-09-02 Thread Mark Johnson
I second that request. I've only inherited regular COMMONs with the occasional COMMONs buried in an INCLUDE. I've never come across NAMED COMMONS. Thanks Mark Johnson - Original Message - From: "Chauhan, Savita" <[EMAIL PROTECTED]> To: Sent: Friday, September 02

Re: [U2] Prime number file modulos

2005-09-02 Thread Mark Johnson
e (my microdatas are currently the slowest, but sized properly). I'm checking to see if there's an erroneous resize program or an erroneous resize programmer. Not truly understood back in the day (circa 1978), but prime numbers were stringently insisted when learning MV101. Thanks. Mark Jo

[U2] Date ICONV In English

2005-09-02 Thread Mark Johnson
ion to put the year first, but I would like to know of a process code that may help. Thanks in advance. Mark Johnson --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] UniSubroutine: ErrorCode: 30106: Wrong number of arguments supplied to the subroutine

2005-09-02 Thread Mark Johnson
across any apps that use the NAMED COMMON concept. Is that a recent addition to the MV world or just not that popular. Thanks in advance. Mark Johnson - Original Message - From: "Perry Taylor" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 30, 2005 1:30 PM Subject: RE: [U2]

[U2] Prime number file modulos

2005-08-30 Thread Mark Johnson
rstand the concept of prime numbers and the many forms of hashing so let's not deviate into a hashing thread debate. I'm just interested to learn first-hand observations on native systems with non-prime file modulos. Thanks in advance. Mark Johnson --- u2-users mailing list u2-users@li

Re: [U2] REMOVE results as promised.

2005-08-29 Thread Mark Johnson
and can be used. I will post a single program with all 10 tests for your convenience this evening. Thanks. Mark Johnson - Original Message - From: "Rex Gozar" <[EMAIL PROTECTED]> To: Sent: Monday, August 29, 2005 8:14 AM Subject: RE: [U2] REMOVE results as promised. > M

Re: [U2] REMOVE results as promised.

2005-08-28 Thread Mark Johnson
Thanks for the thanks. Mark Johnson I'm curious of the DIM A(5) method on other platforms. I dare not try it on my Microdata clients. - Original Message - From: "Tom Dodds" <[EMAIL PROTECTED]> To: Sent: Monday, August 22, 2005 11:31 AM Subject: RE: [U2] REMOV

Re: [U2] REMOVE results as promised.

2005-08-28 Thread Mark Johnson
ark, > > > > There is another fast method to consider > > > > A="" > > FOR I=1 TO 5 > > IF A = "" THEN > > A := I > > END ELSE > > A := @VM : I > > END > > NEXT I > > > > It will tak

Re: [U2] REMOVE results as promised.

2005-08-28 Thread Mark Johnson
I believe I covered this test with its relative results. Fortunately the system was slow enough to cause differences in the tests. If you are coming up with different (shorter) times, then you're missing the point. All tests need to be done on the same system. The fastest one was still the DIM A(

Re: [U2] REMOVE results as promised.

2005-08-28 Thread Mark Johnson
Has anyone tested my reported D3 best method (DIM A(5) on another system? All of the alternate replies have been one or 2 tests on diverse systems. All 9 tests should be done on the same system to get relativity. My 1 cent. - Original Message - From: "Rex Gozar" <[EMAIL PROTECTED]> To:

Re: [U2] REMOVE results as promised.

2005-08-22 Thread Mark Johnson
> There is another fast method to consider > > A="" > FOR I=1 TO 5 > IF A = "" THEN > A := I > END ELSE > A := @VM : I > END > NEXT I > > It will take less then 1 second to finish on our system. > Dzevad > > - Or

<    1   2   3   4   5   >