RE: [U2] Mime Type: application/dynamicarray

2004-06-17 Thread Tony Gravagno
I do a fair amount of work with the guts of HTTP clients and servers, and with other RFC-standard protocols, as well as custom protocols over TCP. At first thought I don't see the value in a specialized type like this. The few client/server processors that would use it would need to implement

RE: [U2] How keep '\' in unix/uniVerse filenames?

2004-06-17 Thread LeRoi Keiller
Wow, the 'for F in...' works a treat, while the xargs option is a bomber. You would expect xargs would work, but nope. But thanks for the first option! -Original Message- From: Logan, David (SST - Adelaide) [mailto:[EMAIL PROTECTED] Sent: Friday, 11 June 2004 11:00 To: [EMAIL PROTECTED]

Re: [U2] Mime Type: application/dynamicarray

2004-06-17 Thread Craig Bennett
Tony, I do a fair amount of work with the guts of HTTP clients and servers, and with other RFC-standard protocols, as well as custom protocols over TCP. Me too (anyone want to license my ASN.1/BER routines?), but I was thinking of email and similar payloads attached to messages -- associate the

[U2] [jBASE] .Net Provider not needed

2004-06-17 Thread Mike Street
Dawn, Speaking of jBASE, you don't need RD's .NET provider with jBASE, as you can connect to it natively. It shows how much RD knows about their competitor's products though, when they are offering jBASE users the opportunity to trade-in their jBASE seats for D3 seats, just for the privilege of

[U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Adrian . Womack
LOOP code WHILE READNEXT id DO more code REPEAT This format of the READNEXT statement is used in a couple of places in the UniVerse BASIC manual. It looks like READNEXT is returning a Boolean. If I look up READNEXT in the manual (or in HELP from TCL) - there is no mention of this

RE: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Piers Angliss
Personally I use it all the time (except I'm even sloppier and I drop the DO ) It's been around for as long as I can remember so I think it just isn't documented I find it pretty readable but I take your point on using undocumented features - boy, will I be in trouble if IBM ever change it. Piers

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Louis Windsor
The format - LOOP WHILE READNEXT ID code REPEAT was the suggested standard where I used to work. Louis - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 17, 2004 4:57 PM Subject: [U2] [UV] WHILE READNEXT id DO : LOOP : code : WHILE

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Louie Gouws
Hi Adrian, I personally use: EOF=0 LOOP READNEXT id ELSE EOF=1 code UNTIL EOF DO code REPEAT It is much clearer(i hope) to the next guy looking at the code. Louie. Adrian wrote: LOOP code WHILE READNEXT id DO

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Mark Johnson
For any of the newbies on this forum, there are a few things to mention about READNEXT. First, it is not married to or dependent upon LOOP...REPEAT. That's just one of the popular ways it's used. I've seen and used it in different structures. Second, the dynamics of WHILE/UNTIL behave

RE: Unclassified RE: [U2] .Net Provider for Unidata or Universe

2004-06-17 Thread Marc Harbeson
Will one need to use UO.NET with 6.1 or will it also work with 5.x and 6.0? -Original Message- From: Leroy Dreyfuss [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 8:02 PM To: [EMAIL PROTECTED] Subject: Re: Unclassified RE: [U2] .Net Provider for Unidata or Universe Folks,

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Mark Johnson
READNEXT is a statement that lends itself to many expressions of its use. IBM could only document its standard use and not all the possible combinations if burying it inside of LOOPs etc. This statement has many 'standards' and usually the house standard prevails as it should be consistent within

RE: Unclassified RE: [U2] .Net Provider for Unidata or Universe

2004-06-17 Thread George Smith
LeRoy, Thanks for update. Glad I heard you through the noise. George R Smith Programmer/Analyst 479.684.3382 direct 479.684.3403 fax www.budgetext.com CONFIDENTIALITY NOTICE: The materials in this electronic mail transmission (including all attachments) are private and

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Dave S
I like to use : LOOP WHILE 1 DO READNEXT ID ELSE EXIT REPEAT Louis Windsor [EMAIL PROTECTED] wrote: The format - LOOP WHILE READNEXT ID code REPEAT was the suggested standard where I used to work. Louis - Original Message - From: To: Sent: Thursday, June 17, 2004 4:57 PM

RE: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Dave S
Someone required all coders to code that way. Kishor Parmar [EMAIL PROTECTED] wrote:Why do you need the WHILE 1 DO? You could use LOOP READNEXT ID ELSE EXIT code REPEAT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave S Sent: 17 June 2004 14:57 To:

RE: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Peter Gonzalez
That is what I have used for years. It's simple to understand what the program is doing. At 03:03 PM 6/17/2004 +0100, you wrote: Why do you need the WHILE 1 DO? You could use LOOP READNEXT ID ELSE EXIT code REPEAT Peter Gonzalez Senior Programmer Analyst M M Aerospace

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread BNeylon
Why use the WHILE 1 DO? Why not LOOP READNEXT ID ELSE EXIT REPEAT Doesn't the WHILE 1 DO cost? not that it would cost much. :-) Bruce M Neylon Health Care Management Group Dave S [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 06/17/2004 09:56 AM Please respond to u2-users To:

RE: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Nick Cipollina
You could even try LOOP READNEXT ID ELSE EXIT [Code goes here] REPEAT This works just fine. -Original Message- From: Dave S [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 9:57 AM To: [EMAIL PROTECTED] Subject: Re: [U2] [UV] WHILE READNEXT id DO I like to use

[U2] Resizing Dynamic file to hashed file

2004-06-17 Thread André Nel
I want to resize a bunch of Dynamic files back to hashed files using the resize command. The following is an extract of the resize command from the UniVerse manual. The part that I am questioning is in italic and highlighted. RESIZE Use RESIZE to reorganize a file with a new file type,

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Dave S
If you are running on some old school system, it may cost you. But don't these programs on Unidata all get compiled into C ? [EMAIL PROTECTED] wrote: Why use the WHILE 1 DO? Why not LOOP READNEXT ID ELSE EXIT REPEAT Doesn't the WHILE 1 DO cost? not that it would cost much. :-) Bruce M Neylon

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Simon Lewington
[EMAIL PROTECTED] ... LOOP code WHILE READNEXT id DO more code REPEAT I prefer: 100 [code] GOTO 300 200 [more code] GOTO 100 300 READNEXT ID THEN GOTO 200 --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

[U2] relative speed of Retrieve SELECT vs Basic SELECT, LOOP READNEXT,READ. was: [UV] WHILE READNEXT id DO

2004-06-17 Thread Stevenson, Charles
Please let me deflect this thread before it degenerates into a GOTO war. Which would you suppose is much faster: 1: T0=TIME() FOR I = 1 TO 100 EXECUTE 'SELECT VOC WITH TYPE = V COUNT.SUP' LOOP WHILE READNEXT ID NULL ;* GOSUB DO.STUFF REPEAT

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread BNeylon
If you are running on any system it will cost you. The only question is, do you mind paying the price? Little things do add up. If you are on UniData run this. Plug in your own huge file. OPEN 'MASTER' TO MASTER ELSE STOP SELECT MASTER START.CPU = SYSTEM(9) LOOP READNEXT ID ELSE EXIT REPEAT

RE: [U2] Resizing Dynamic file to hashed file

2004-06-17 Thread Jeff Fitzgerald
No problems that I'm aware of in using RESIZE to convert dynamic to static. Hardest part is making good guesses for modulo and type. I think the text you quoted is saying that you can't use RESIZE to change the SPLIT.LOAD, MERGE.LOAD, etc. for a dynamic file. HTH Jeff Fitzgerald Fitzgerald

RE: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Allen E. Elwood \(CA\)
You realize this does not conform to the ANSI structured programming principles? I have a version dated 1982 and goto's are not allowed... Or was this just a joke? In which case you certainly got me! :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Peter Gonzalez
Now we all know that you are kidding, right? Rule number 1 when we traine new programmers. NO GOTOs! At 07:02 PM 6/17/2004 +0100, you wrote: [EMAIL PROTECTED] ... LOOP code WHILE READNEXT id DO more code REPEAT I prefer: 100 [code] GOTO 300 200 [more code] GOTO 100 300 READNEXT ID

Re: [U2] Resizing Dynamic file to hashed file

2004-06-17 Thread iggchamp
They are referring to the fact that you cannot change things like MINIMUM.MODLUS , SPLIT.LOAD, etc. You can refer to the CONFIGURE.FILE for details on that. HTH I want to resize a bunch of Dynamic files back to hashed files using the resize command. The following is an extract of the resize

RE: [U2] relative speed of Retrieve SELECT vs Basic SELECT, LOOP READNEXT,READ. was: [UV] WHILE READNEXT id DO

2004-06-17 Thread Allen E. Elwood \(CA\)
I'm pretty sure the internal select (method 2) selects just the next group at a time and feeds from that until it needs another. In this method you can get instant results, pretty much like doing a LIST. So this method would be good where output is being fed to the crt, and you might not want to

Re: [U2] relative speed of Retrieve SELECT vs Basic SELECT, LOOP READNEXT,READ. was: [UV] WHILE READNEXT id DO

2004-06-17 Thread Glenn Herbert
At 02:16 PM 6/17/2004, you wrote: [snipped] Note: SELECT F is a BASIC select, not Retrieve's (not the MV Query Language's) verb. It does not really select the file, it merely sets up for the subsequent READNEXTs to truly read the next key. So READNEXT ID;READ REC FROM F, ID involve going to

RE: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Glenn Herbert
Is BASIC structured? :-p If your answer is yes, then the GOTO should probably not be allowed (except in rare cases). If your answer is no, then GOTO away!! (caveat: if not abused!) As Yoda says: GOTO is the evil not; incorrect the usage is! At 02:46 PM 6/17/2004, you wrote: You realize this

RE: [U2] Resizing Dynamic file to hashed file

2004-06-17 Thread Mike Rajkowski
Andri Wrote: From this I read that I cannot use the resize command to resize a dynamic file back to a hashed file. However I have tested the command on a Dynamic file and it resizes back to hashed file and I can read the file. Any comments out there? Yes, dont believe everything you read.

Re: [U2] relative speed of Retrieve SELECT vs Basic SELECT, LOOP READNEXT,READ. was: [UV] WHILE READNEXT id DO

2004-06-17 Thread Dave S
Looks like someone has too much time on their hands today Stevenson, Charles [EMAIL PROTECTED] wrote:Please let me deflect this thread before it degenerates into a GOTO war. Which would you suppose is much faster: 1: T0=TIME() FOR I = 1 TO 100 EXECUTE 'SELECT VOC WITH TYPE = V COUNT.SUP' LOOP

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Dave S
No thanks. I don't have any time for that today or tomorrow either. We are running SB+ here and don't write this little loopy d loop routines here anyway. [EMAIL PROTECTED] wrote: If you are running on any system it will cost you. The only question is, do you mind paying the price? Little

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread BNeylon
That's OK. I'm used to hearing, but that's the way we've always done it :-) Have a good one. Bruce M Neylon Health Care Management Group Dave S [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 06/17/2004 03:21 PM Please respond to u2-users To: [EMAIL PROTECTED] cc:

RE: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Allen E. Elwood \(CA\)
Good point Glenn, Any programming language that supports constructs which allow the development of loops and subroutines that do not need GOTO's can be used to create structured programs. Another hallmark of structured programs is the usage of text labels instead of numeric. So, GOSUB

[U2] Universe Redback Java Problem

2004-06-17 Thread Tsombakos, John
I don't know if anyone can help with this but here goes... I'm toying around with using Redback with Java - kicked off by an article in the latest International Spectrum Magazine (Using Redback with PHP). I couldn't get PHP to work with Java, so I went straight to a Java app. I am able to get

RE: [U2] relative speed of Retrieve SELECT vs Basic SELECT, LOOP READNEXT,READ.

2004-06-17 Thread Stevenson, Charles
It is my understanding that UniData (at least...don't know about UniVerse) cache's the SELECT in Method 1. You can see this from ECL by timing a huge select, then CLEARSELECT, then re-issue the original select. The second run will come back much quicker. Caching can be controlled for.

RE: [U2] relative speed of Retrieve SELECT vs Basic SELECT, LOOP READNEXT,READ. was: [UV] WHILE READNEXT id DO

2004-06-17 Thread Stevenson, Charles
Looks like someone has too much time on their hands today Actually, the question grows out of a real need for a phantom to repeatedly loop through a file all day long. My problem is that the phantom does not have too much time. I thought the repeated overhead associated with executing a SELECT

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Dave S
I worked for one company that required us to take a programming test. We had to code a program without any goto's to pass the test. Once employed, all programmers were required to follow the programming standards there. [EMAIL PROTECTED] wrote: That's OK. I'm used to hearing, but that's the

RE: [U2] Universe Redback Java Problem

2004-06-17 Thread Wendy Smoak
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tsombakos, John Now, here's the rub.. My initial testing is using Mac OS X. But, when the routine returns a multi-valued item, the value of the SubValue (@SM) character is wrong, so I can't pull sub-values out of a result.

Re: [U2] relative speed of Retrieve SELECT vs Basic SELECT, LOOP READNEXT,READ.

2004-06-17 Thread Susan Lynch
In response to Charles Stevenson, who said: IIRC, UD routinely (usually? often? always?) stores data more like UV's large records. - Unidata stores a key/displacement table at the beginning of each group, and does not

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Mark Johnson
I'd love to see this test. What's the hatred with the GOTO's. If they're so bad, then let's vote to remove them from the compiler. Let's remove RETURN TO and CLEAR while we're at it as well. - Original Message - From: Dave S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Mark Johnson
Don't forget that the second set has the benefit of the first set leaving some of the data in virtual memory, hence the second set would have been longer. my 1 cent How about this on your similar UD system. Correct typing implied. OPEN MASTER ELSE STOP SELECT MASTER START=SYS9 10 READNEXT ID

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Mark Johnson
Very good question. Is BASIC Structured. And who defines the structures. I was on a phone interview with a prospective employer a few years ago and during that conversation he brought up the concept of GOTO's. I completely understand GOTO's (most on this forum are GOTO-phobic) and use them

RE: [U2] D3 Shutting down

2004-06-17 Thread Ross Ferris
I thought it has been covered many times in comp.databases.pick news group Ross Ferris Stamina Software Visage  an Evolution in Software Development -Original Message- From: [EMAIL PROTECTED] [mailto:owner-u2- [EMAIL PROTECTED] On Behalf Of Tony Gravagno Sent: Wednesday, 16 June 2004

RE: [U2] .Net Provider for Unidata or Universe

2004-06-17 Thread Ross Ferris
AND YET, I think one of the strengths of the Cache camp is that they basically rolled a large number of Mumps implementations into a single, unified product, got rid of the fractional infighting (please don't pick me up on factional - our niche is less than whole), and now I see their ads every

RE: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Ross Ferris
Last time I looked UD Basic was still interpreted ... happy to be wrong (I thought jBASE was the only environment that went the real compiler route) Ross Ferris Stamina Software Visage  an Evolution in Software Development -Original Message- From: [EMAIL PROTECTED] [mailto:owner-u2-

FW: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Allen E. Elwood \(CA\)
(resending this one sans joke that apparently was non-pc) Good point Glenn, Any programming language that supports constructs which allow the development of loops and subroutines that do not need GOTO's can be used to create structured programs. Another hallmark of structured programs is the

RE: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Ken Wallis
Mark Johnson wrote: This appears to be the semi-annual GOTO holy war. But only one side is fighting. Leave it alone Mark. Nothing good came of it last time, and nothing good will come of it this time. Those who believe GOTOs have their uses will not be convinced otherwise by a thread on a

RE: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Allen E. Elwood \(CA\)
Hi Mark, GOTO-phobia (love that term :-) Don't know about you, but I have seen programs that were 5000 lines long, filled with goto's that needed upgrading to fit a new release and required hundreds of hours to upgrade instead of 20. When done, they became very 'quirky' and impossible to debug.

RE: [U2] .Net Provider for Unidata or Universe

2004-06-17 Thread GarryS
I've heard of MUMPS and interviewed at a hospital were that was used. Was that written in U2 ... Mumps was a DEC implementation? Garry Smith Dir. Info Systems Charles McMurray Company V# 559-292-5782 F# 559-346-6169 -Original Message- From: Ross Ferris [SMTP:[EMAIL PROTECTED] Sent:

RE: [U2] .Net Provider for Unidata or Universe

2004-06-17 Thread Tom Firl
I've heard of MUMPS and interviewed at a hospital were that was used. Was that written in U2 ... Mumps was a DEC implementation? My understanding is that MUMPS/Cache is somehow related to Revelation. I don't know if that's true or not, just one of those things a long-time MV programmer

RE: [U2] .Net Provider for Unidata or Universe

2004-06-17 Thread Tony Gravagno
Dawn M. Wolthuis wrote: Cache' blankets the Java market with ads as well... I have no clue whether their marketing strategy is working to grow them significantly beyond their initial MUMPs base, but I'm definitely curious. Dawn, I've had loose discussions with MV VARs about Cache' for quite

RE: [U2] .Net Provider for Unidata or Universe

2004-06-17 Thread David Jordan
I think U2 is about 4.5Million seats and when you add other PICK environments it comes to over 6 Million seats. With IBM U2 Marketing they cannot advertise outside the DB2 brand. The U2UG can, to some extent. What the User Group can do strategically is what Dawn is talking about, whether it