Re: [U2] RE: Cleaner Case Statement

2007-07-27 Thread Scott Ballinger
On 7/27/07, MAJ Programming <[EMAIL PROTECTED]> wrote: > > [snip] > BTW, using IF X = 1 ELSE GOSUB 100 is also very hard to read. Sure it > compiles but source code should be readable for the programmers who have > to > visually interpet these things. EVERY IF should have an THEN as it's > predomin

Re: [U2] I need a favor

2007-07-27 Thread MAJ Programming
Did ever using CLIENT-MASTER.FILE ever compile. I just tried D3 and it didn't work. I don't recall it ever working. That was the golden rule, no dashes, asterisks, slashes or plus signs in variable names as they are operators. My 1 cent - Original Message - From: "Charlie Rubeor" <[EMAIL P

Re: [U2] [u2] : Cleaner Case Statement

2007-07-27 Thread MAJ Programming
I'll defend ON GOSUB here. I inherit a ton of prior code and can see the value in maint programs. If each field on the screen is labeled 10, 20, 30 and within that section there is a closing statement before the RETURN labeled 15 PRINT @(x,y):REC<1>:, then I've enjoyed have the NEW record cycler b

Re: [U2] [u2] : Cleaner Case Statement

2007-07-27 Thread MAJ Programming
I think this should not be an exercise in using other forms of logic. The CASE construct is actually pretty self documenting. - Original Message - From: "Manu Fernandes" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 25, 2007 12:44 PM Subject: Re: [U2] [u2] : Cleaner Case Statement > Try

Re: [U2] RE: Cleaner Case Statement

2007-07-27 Thread MAJ Programming
I think that CASE 1;Null is an old technique. If the prior conditions don't prevail, then don't bother. Otherwise every IF statement with a THEN would have ELSE NULL. BTW, using IF X = 1 ELSE GOSUB 100 is also very hard to read. Sure it compiles but source code should be readable for the programme

Re: [U2] [u2] : Cleaner Case Statement

2007-07-27 Thread MAJ Programming
I agree with Martin. The CASE statement is just a more human readable form of multiple IF statements. I switch TO case statements when the logic becomes a little convoluded and I only want one result. That, in essense is the purpose of CASE, only one should fall true (or none if you omit the bailo

RE: [U2] I need a favor

2007-07-27 Thread Ray Wurlod
Would prefer to see author name in change history, and an As Function button. A set of option buttons would be useful to select account flavor. ABORT 201 will not work in UniVerse non-Pick flavors nor, I suspect, in UniData BASICTYPE "U". I used the utility with no file name, yet it still added

RE: [U2] Another gripe about IBM not letting end users access the articles in the knowledge base

2007-07-27 Thread John Jenkins
Brenda There have been a few postings about this in the group: Basically your support/software provider has to submit a form to U2 Business Connect (U2BC) authorising access for your Company and named individuals. There is one form for OEM / ISV partner end users and one for Distributor end users.

RE: [U2] Another gripe about IBM not letting end users access the articles in the knowledge base - Final Result

2007-07-27 Thread John Jenkins
WHOOPS Saw the superseding post - hopefully it'll get sorted - no, it shouldn't be this difficult and I don't know why you hit a glitch. It *should* be pretty straight-forward... Sorry you had a problem. Regards JayJay --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscrib

RE: [U2] I need a favor

2007-07-27 Thread Eric Neu
Very Nice. When I write "one-time" utilities to fix an issue there's always bits of code I reuse from past programs. Things like "an escape while processing in the main loop". Something like the following... 0058 * Provide an Escape 0059 IF SYSTEM(14) THEN 0060 INPUT ANS,1 0061 IF ANS=C

Re: [U2] I need a favor

2007-07-27 Thread john reid
Are you at the point of taking suggestions (not for the purpose of tooting the collective 'my horn'?) about making the dropped code a little more robust. If so, here's a couple of mine: add 'ON ERRORs' on the WRITEs if you havent done so... provide for opens of DICTs or maybe just OPEN "","" TO .F

RE: [U2] I need a favor

2007-07-27 Thread Tom Dodds
I agree, it works well and I like the format of the code it generates. Good job Tom Dodds -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cordes, Tom (contractor) Sent: Friday, July 27, 2007 9:42 AM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2]

RE: [U2] I need a favor

2007-07-27 Thread Cordes, Tom (contractor)
I like it. Works well. Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles Barouch Sent: Thursday, July 26, 2007 11:02 AM To: u2-users@listserver.u2ug.org Subject: [U2] I need a favor All, I just put up a new (free) tool on my site. It takes

RE: [U2] [UV] What Is the "SCRATCH" Folder ?

2007-07-27 Thread Brutzman, Bill
Doug: # find . -name smb.conf ./etc/opt/cifsclient/pam/smb.conf ./etc/opt/samba/smb.conf < perhaps this file ./opt/cifsclient/pam/newconfig/etc/opt/cifsclient/pam/smb.conf ./opt/samba/examples/VFS/block/smb.conf ./opt/samba/examples/dce-dfs/smb.conf ./op

RE: [U2] UniOledb error "out of memory"

2007-07-27 Thread Noah Hart
No, I've run the -g as high as 512 without any effect. Noah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lettau, Jeff Sent: Friday, July 27, 2007 8:41 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] UniOledb error "out of memory" No I haven't.

RE: [U2] UniOledb error "out of memory"

2007-07-27 Thread Lettau, Jeff
No I haven't. But without the -g setting, it should reserve 256 megs and I can't imagine that the oledb driver needs more then this to run. If you happen to have a system that isn't in production to play with the settings, then this may be something to try. Jeffrey Lettau ERP Systems Mana

Re: [U2] [UV] What Is the "SCRATCH" Folder ?

2007-07-27 Thread doug chanco
look at your smb.conf (located whereever you installed samba to on the HP system) if not sure do find / -name "smb.conf" -print this should find it for you, once you find it vi/cat/more the file (BUT DO NOT CHANGE ANYTHING UNLESS YOU KNOW WHAT YOU ARE CHANGING) my guess is that you will fin

RE: [U2] UniOledb error "out of memory"

2007-07-27 Thread Noah Hart
Have you had any success playing with the '-g' startup parameter? Regards, Noah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lettau, Jeff Sent: Friday, July 27, 2007 6:43 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] UniOledb error "out of me

[U2] [UV] What Is the "SCRATCH" Folder ?

2007-07-27 Thread Brutzman, Bill
On our HP-Ux UniVerse system, I am using Samba to copy files to a WinXP machine via Windows Explorer. It works ok except that it pops up a confirm dialog box asking... do I want to overwrite a file in the SCRATCH folder. The SCRATCH folder has perhaps 100 files that are named things like

RE: [U2] UniOledb error "out of memory"

2007-07-27 Thread Lettau, Jeff
I've had this exact problem. The only solution is to stop and start SQL to clear the memory. It appears to be a problem with SQL2005 wanting to hold onto the memory on the server because it feels it needs it and then the unioledb simply doesn't have enough memory available to it to run because SQ

Re: [U2] I need a favor

2007-07-27 Thread john reid
Slick... j On 7/26/07, Charles Barouch <[EMAIL PROTECTED]> wrote: > All, > I just put up a new (free) tool on my site. It > takes very little time to use and I'd appreciate it if some of you would > beat on it and let me know what you think. > > > http://www.keyally.com/fasterskel/Main.php5 > >

RE: [U2] [jBASE] SELECT operator precedence

2007-07-27 Thread Brian Leach
Marco You might want to send this to the JBASE group - not the U2 group! They are completely different products. You can find the jBase group on Google Groups: http://groups.google.com/group/jBASE Email: [EMAIL PROTECTED] Brian > -Original Message- > From: [EMAIL PROTECTED] > [mailt

[U2] [jBASE] SELECT operator precedence

2007-07-27 Thread Marco Manyevere
I expected the following three SELECT statements to be equivalent but they dont seem to be: >CLEARSELECT [528] List '0' cleared. jsh rbk ~ -->SELECT ACCOUNT WITH CATEGORY EQ 1000 OR GE 1002 AND LE 173218 Records selected >CLEARSELECT [528] List '0' cleared. jsh rbk ~ -->SELECT ACCOUNT WITH CA