Re: [U2] Question about updating customer's systems...

2011-06-16 Thread Dan McGrath
I would also suggest either of the following: 1) If possible, run Dev/Test/Prod on separate machines. Obviously, this requests budget, but if your production system is the lifeblood of your company, it is worth it. Otherwise: 2) Have the accounts set up with appropriate file permissions

Re: [U2] Logical error

2011-06-08 Thread Dan McGrath
In UniBasic, you could just do: CRT CHAR(27):[44m -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of sathish Sent: Wednesday, 8 June 2011 11:24 PM To: u2-users@listserver.u2ug.org Subject: [U2] Logical error Hi,

Re: [U2] File Item Count Limit?

2011-06-02 Thread Dan McGrath
Assuming you're talking about a hash file, I'd hazard a guess that it would be only limited by: 1) File size 2) The ability of the tools to handle the file record list (such as SELECT) 2.1) I.e, memory limitations and 2.2) The count variable (assuming it is a 32bit signed int, that gives you a max

Re: [U2] Pondering recent thread on compact framework

2011-05-31 Thread Dan McGrath
While you have a lot of great points in here Tony. I have to strongly disagree with the Don't ask why, just get on the bandwagon Asking why doesn't mean you won't do it. Asking why is fundamental to understanding the real reasons. If you don't understand the real reasons, you are doing no

[U2] Multi-Value DM Comparisons WAS: uv 2 ud

2011-05-31 Thread Dan McGrath
Out of curiosity, is there anywhere that has a comprehensive Multi-Value DB comparison? Something like the Relational DB comparison on Wikipedia(http://en.wikipedia.org/wiki/Comparison_of_relational_database _management_systems) but more relevant to the MV world? -Original Message- From:

[U2] u2ug

2011-05-30 Thread Dan McGrath
u2ug has been unavailable for at least a day. Is it just me? ### The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The

Re: [U2] Uniobjects - What Is It?

2011-05-19 Thread Dan McGrath
Kevin, Have you seen the PHP PDO driver article on u2devzone.com? Although it is a 'build it yourself article', it does come with the source code so you should be able to just compile and use it. -Original Message- From: u2-users-boun...@listserver.u2ug.org

Re: [U2] Pondering recent thread on compact framework

2011-05-18 Thread Dan McGrath
Tony, there is (at least) a fourth option that I see 4) Not directly connecting to U2 from the mobile phone, but some intermediate web server in between. Using a REST or Webservices API from the mobile device would probably be far more common than directly connecting to U2. For anyone (if

Re: [U2] Pondering recent thread on compact framework

2011-05-18 Thread Dan McGrath
Good points there David, which I notice a lot of people don't consider when dismissing the benefits of an app vs web. Another point is the better offline capabilities of a native app. I'm a lot of people on Vodafone over here in Australia (myself include) can understand the importance of this.

Re: [U2] Pondering recent thread on compact framework

2011-05-18 Thread Dan McGrath
layouts? Or are you talking about smartphone apps? From: Dan McGrath 4) Not directly connecting to U2 from the mobile phone, but some intermediate web server in between. Using a REST or Webservices API from the mobile device would probably be far more common than directly connecting

Re: [U2] Pondering recent thread on compact framework

2011-05-18 Thread Dan McGrath
Sorry, that should have been I'm sure a lot of people as opposed to I'm a lot of people I can assure everyone, I am just a single person. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Thursday

Re: [U2] Using DICT items in basic program

2011-05-16 Thread Dan McGrath
If you are using UniData you can create an I-type dictionary. For the location (attribute 2 in the dictionary) put either EXTRACT(@RECORD,2,2,0) or, alternatively, if you already have a D-Type dictionary for the 2nd field (let us call it ADDRESS for arguments sake), you could put

Re: [U2] Unidata RESIZE CONCURRENT

2011-05-03 Thread Dan McGrath
Upgrade to 7.2.8 before you try it. We tried this on 7.2.5 in Dev and required a reboot from corruption. We were informed we need to upgrade 7.2.8 to get the fix for it. As always, I'd suggest doing anything new a few times on a Dev server before trying it on a Production server. Cheers, dan

Re: [U2] Unidata RESIZE CONCURRENT

2011-05-03 Thread Dan McGrath
**Denver, CO 80237 **USA Tel: +1.720.475.8055 Email: wterh...@rs.com Web: www.rocketsoftware.com/u2 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Tuesday, May 03, 2011 4:23 PM To: U2 Users List

Re: [U2] Disclosing technology - Was 'Has anyone ever heard of Kyle Stetson?'

2011-04-10 Thread Dan McGrath
Just as an aside, there are better reasons for not making your underlying technology public knowledge. A lot of companies have it in their security policy to not disclose this information. Knowing a company's underlying architecture makes it easier to look for specific vulnerabilities or execute

Re: [U2] U2UG Elections 2010 - Request For Comment

2011-03-17 Thread Dan McGrath
-Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Tuesday, 15 March 2011 9:13 PM To: u2-users@listserver.u2ug.org Subject: [U2] U2UG Elections 2010 - Request For Comment Hi all, I've posted an open letter

[U2] U2UG Elections 2010 – Request For Comment

2011-03-15 Thread Dan McGrath
Hi all, I've posted an open letter regarding the U2UG elections to the nominees. I'd love to see more dialogue around these elections as I feel I don't really know what I'm voting for when I place my votes. http://u2tech.wordpress.com/2011/03/15/u2ug-elections-2011/ Along with this, I also

Re: [U2] Is this worth rewriting?

2011-03-03 Thread Dan McGrath
I blame it on current work conditions. It's contagious. :) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of fft2...@aol.com Sent: Thursday, 3 March 2011 6:39 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Is

Re: [U2] Is this worth rewriting?

2011-03-03 Thread Dan McGrath
...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Thursday, 3 March 2011 4:24 PM To: U2 Users List Subject: Re: [U2] Is this worth rewriting? Actually, (at least in UniData) it is a performance improvement :). It has to do with how BASIC compiles the code into the object file and tags each line with a line number

Re: [U2] Is this worth rewriting?

2011-03-03 Thread Dan McGrath
...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Wednesday, March 02, 2011 9:10 PM To: U2 Users List Subject: Re: [U2] Is this worth rewriting? Yes, in the real instruction that gets send down those long multi-stage pipe lines in our multi-core

Re: [U2] Is this worth rewriting?

2011-03-02 Thread Dan McGrath
If you are running UniData, you can also move the TEA, EAT, ATE, YAM, AMY MYA outside of the FOR M loop if you exclude CM. Inside you can than do TEACM = TEA1,CM, etc Of course, as stated by others, whether it is worth the changing/testing time cannot be known unless you have actually

Re: [U2] Is this worth rewriting?

2011-03-02 Thread Dan McGrath
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Wednesday, March 02, 2011 7:30 PM To: U2 Users List Subject: Re: [U2] Is this worth rewriting? 2 points of note for you. 1) In regards to B), I think I should just clarify that despite # also being able to be written

Re: [U2] Is this worth rewriting?

2011-03-02 Thread Dan McGrath
for IBM at the time as his day job, lost his mind and sat in the corner laughing to himself before they finally gave him a padded suit. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Wednesday, March

Re: [U2] Is this worth rewriting?

2011-03-02 Thread Dan McGrath
Actually, (at least in UniData) it is a performance improvement :). It has to do with how BASIC compiles the code into the object file and tags each line with a line number. Each time it jumps to a line or progresses to the next it must process the line number to update it for when it shows

[U2] New Rocket U2 'Developer Zone'

2011-02-24 Thread Dan McGrath
Just putting it out there for anyone who did not attend one of the U2U conferences and like me, didn't hear about it through any other channel. www.u2devzone.com/ I think they are still sorting out some of the kinks, but it looks promising. Cheers, Dan

Re: [U2] Clear Message Initiative - Logging Errors to a U2 File

2011-02-09 Thread Dan McGrath
That only holds if you have implemented it wrong. Spend some time to think about how you would implement it. 1. Have a subroutine/function which handles the error. That is, it displays it as appropriate, as well as logging details as required. You pass it an error number and optional text for the

Re: [U2] Does UV have a BLOCK command

2011-02-08 Thread Dan McGrath
...@listserver.u2ug.org] On Behalf Of Wols Lists Sent: Tuesday, February 08, 2011 2:17 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Does UV have a BLOCK command On 08/02/11 00:31, Dan McGrath wrote: From my testing with the aforementioned project, directly cataloguing in the VOC results

Re: [U2] A new DML?

2011-02-08 Thread Dan McGrath
Development doesn't necessarily equate to innovation. U2 is under constant development, but I wouldn't count much of it as innovation, just (slowly) trend following. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of

Re: [U2] Does UV have a BLOCK command

2011-02-08 Thread Dan McGrath
(mvdbs.com) Sent: Wednesday, 9 February 2011 12:44 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Does UV have a BLOCK command Does it not check within the same BP file as the calling routine first; as cataloging is not then necessary? djm Dan McGrath-2 wrote: 3. Once for the VOC

Re: [U2] Does UV have a BLOCK command

2011-02-08 Thread Dan McGrath
routine first; as cataloging is not then necessary? djm Dan McGrath-2 wrote: 3. Once for the VOC, once for the Local Catalog and once for the Global Catalog. - Learn and Do Excel and Share http://mvdbs.com http://mvdbs.com -- View this message in context: http://old.nabble.com

Re: [U2] Does UV have a BLOCK command

2011-02-07 Thread Dan McGrath
I know you said no subroutines, but really, what is the issue with the following GOSUB CodeBlockThatDoesX ... CodeBlockThatDoesX: block code block code if condition then RETURN block code RETURN ;* End CodeBlockThatDoesX -Original Message- From:

Re: [U2] Does UV have a BLOCK command

2011-02-07 Thread Dan McGrath
It is also a way of breaking code up into understandable, single purpose blocks of code. This increases the chance someone will fully comprehend it quickly. Large runs of code, even if they do not have sections that a reused are someone else's nightmare in 5 years time. -Original

Re: [U2] Does UV have a BLOCK command

2011-02-07 Thread Dan McGrath
I had many months ago as part of a project I'm working on (performance pre-processor for UniBasic). I've recreated a (no-scientific) test to get some rough numbers. X=0 LOOPS = 99 STIME = SYSTEM(9) FOR I = 1 TO LOOPS X += 1 NEXT I CRT SYSTEM(9) - STIME X=0 STIME

Re: [U2] Does UV have a BLOCK command

2011-02-07 Thread Dan McGrath
, the VOC, memory etc. All interesting stuff. Dan McGrath-2 wrote: I had many months ago as part of a project I'm working on (performance pre-processor for UniBasic). It's quite clear from the above timings that the line count is a bigger performance overhead then using GOSUB/RETURN

Re: [U2] Does UV have a BLOCK command

2011-02-07 Thread Dan McGrath
To: U2 Users List Subject: Re: [U2] Does UV have a BLOCK command We used to try to write machine-efficient code. Now machines are so fast, our emphasis is on people-efficient, ie easier to maintain. On 8 February 2011 12:58, Dan McGrath dmc...@imb.com.au wrote: I had many months ago as part

Re: [U2] What do you do with CallHTTP?

2011-02-06 Thread Dan McGrath
http://databases.about.com/od/sqlserver/a/mssql_editions.htm SQL Server 2008 Workgroup per processor (not per core) = $3899 That's unlimited client access. Where are the UniData licensing options that really compete with that for small business? (as you pointed out U2 on a single connection

Re: [U2] What do you do with CallHTTP (and everything)?

2011-02-06 Thread Dan McGrath
I couldn't agree more Tony. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno Sent: Monday, 7 February 2011 9:02 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] What do you do with CallHTTP?

[U2] PickWiki

2011-02-06 Thread Dan McGrath
I seem to recall a while ago that there were plans to upgrade PickWiki to utilise MediaWiki. What ended up happening? Was the idea scrapped? (Question spurred from Tony's sig) ### The information transmitted

Re: [U2] PickWiki

2011-02-06 Thread Dan McGrath
@listserver.u2ug.org Subject: Re: [U2] PickWiki From: Dan McGrath I seem to recall a while ago that there were plans to upgrade PickWiki to utilise MediaWiki. What ended up happening? Was the idea scrapped? (Question spurred from Tony's sig) That's another community project that stalled, but this one was my

Re: [U2] What do you do with CallHTTP?

2011-02-03 Thread Dan McGrath
The problem as I see it Tony is twofold. 1) By having to pay for something as elemental as language bindings, you are effectively limiting U2 to already established companies. Why would a start-up pay to experiment with U2 when there are better supported *free* development stacks with larger

Re: [U2] U2U Australia

2011-02-03 Thread Dan McGrath
Dan, Yes, I and my sister Eleanor have registered. See you there! Cheers, Kate Kate Stanton Walstan Systems Ltd 4 Kelmarna Ave, Herne Bay, Auckland 1011, New Zealand Phone: + 64 9 360 5310  Mobile: + 64 21 400 486 Email: k...@walstan.com On 3 February 2011 10:41, Dan McGrath dmc...@imb.com.au

Re: [U2] Universe Books?

2011-02-03 Thread Dan McGrath
Brian Leach has some. http://www.brianleach.co.uk/pages/books.htm -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Michael McGlothlin Sent: Friday, 4 February 2011 10:31 AM To: U2 Users List Subject: [U2] Universe

[U2] U2U Australia

2011-02-02 Thread Dan McGrath
Anyone on here registered for U2U Aus yet? I want to try and put faces to names (or email addresses) when I'm there :) ### The information transmitted in this message and attachments (if any) is intended only

Re: [U2] What do you do with CallHTTP?

2011-02-02 Thread Dan McGrath
There are people who work on/drive cars much older than that. Yes, they still work, are functional and can sometimes look amazing. When it comes to utility though, they rarely match the total feature set available on the newer cars. Side Passenger Airbags, smoother rides, 5 star safety ratings,

Re: [U2] What do you do with CallHTTP?

2011-02-02 Thread Dan McGrath
the stuff that does it for you, but I don't think you are. Jerry On 2/2/2011 9:42 PM, Dan McGrath wrote: There are people who work on/drive cars much older than that. Yes, they still work, are functional and can sometimes look amazing. When it comes to utility though, they rarely match the total

Re: [U2] UUID [was Data in Dict]

2011-01-26 Thread Dan McGrath
We also are using a form of UUID instead of sequential numbering on most of our new files. A lot easier to handle and makes maintenance easier. Thanks for the Stuart, I wasn't aware of that. For those using UniData, you can use the VOC as follows instead: UUID 0001 S 0002 !/etc/ncs/uuid_gen

Re: [U2] 3.99 x 3 = 11

2011-01-20 Thread Dan McGrath
With I-types, are you aware you can store whatever you want in Attribute 1 after the data type? This is where we store any additional information required as such data integrity checks, date last changed, etc. Log out issues with dictionary compilation must be specific to UniVerse (?) as we

Re: [U2] Sparse array population in Pick

2010-12-09 Thread Dan McGrath
You could quite easily come up with an escaping scheme to convert any tag name into a valid escaped dictionary name. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of fft2...@aol.com Sent: Friday, 10 December 2010

Re: [U2] Sparse array population in Pick

2010-12-09 Thread Dan McGrath
Escaping/Encoding. As in how strings in C, C++, PHP, etc use \n to indicate a new line. How you escape can be arbitrarily determined if you are writing the code. For example, reserve the $ sign as the escape character. $$ gives you a literal $ in the tag name, $S gives you a space, $Q gives you

Re: [U2] Sparse array population in Pick

2010-12-09 Thread Dan McGrath
100% agree, but this is pick doesn't mean disregard all rules of good DB design. Fair enough, MVDBs are designed around not subscribing to the 1st norm form rule; we should still present out data in the most structured manner possible, for this will give us the greatest flexibility if/when the

Re: [U2] Sparse array population in Pick

2010-12-09 Thread Dan McGrath
this issue and it causes as many headaches. I wish we had a system that used pick style where and only where it was appropriate. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Friday, 10 December

Re: [U2] INPUTIF statement in Universe

2010-10-26 Thread Dan McGrath
Hi Eric, We get around this by using an optimistic locking strategy if and only if there must be user input between the original record read and final record write. Depending on the usage of your system, this might prove to be a better solution? Regards, Dan -Original Message- From:

Re: [U2] How many will be selected?

2010-10-19 Thread Dan McGrath
In UD it is HASH(record key, file modulo, type) to return a key's group. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: Wednesday, 20 October 2010 5:19 AM To: U2 Users List Subject: Re: [U2] How

Re: [U2] Sequential Files Question

2010-09-08 Thread Dan McGrath
Yes, it will. Note: It will drop into the 'ELSE' clause if the file didn't exist to start with. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Al DeWitt Sent: Thursday, September 09, 2010 8:55 AM To:

Re: [U2] Sequential Files Question

2010-09-08 Thread Dan McGrath
OUTFILE it gives me an Unitialized Variable, zero assumed error. Al DeWitt -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Wednesday, September 08, 2010 6:29 PM To: U2 Users List Subject: Re: [U2

Re: [U2] Sequential Files Question

2010-09-08 Thread Dan McGrath
] and I'm sent to the colon prompt. Al DeWitt -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Wednesday, September 08, 2010 7:20 PM To: U2 Users List Subject: Re: [U2] Sequential Files Question If you

Re: [U2] AUTO: Haydon Bishop is out of the office. (returning26/07/2010)

2010-07-22 Thread Dan McGrath
Aside from the usual Haydon Bishop is out of the office, I think he should remove the I will respond to your message when I return, as we never get a response! -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Haydon

Re: [U2] UI standards

2010-07-12 Thread Dan McGrath
Even though I tend not to agree with everything Mr Spolsky writes, I'll second his book User Interface Design for Programmers. The interesting thing about Microsoft's User Experience Guidelines is that MS doesn't follow them in their own office software, although, I wouldn't say following them

Re: [U2] UniJDBC calling UV subroutine: MESSAGE command limitations?

2010-06-29 Thread Dan McGrath
I just checked on our system and I can call MESSAGE within a PHANTOM if it is executed from a normal session. With this in mind, a possible work around would be to run a 24/7 phantom that either accepts data from a named piped/socket or polls a file and sends out a message based on the data

Re: [U2] @LOGNAME... Changing @variables

2010-06-17 Thread Dan McGrath
I looked into this and there appears to be 2 different type of system variables in UniData. There are those like @AM which cannot be changed and those like @LOGNAME which can be. It is not required to pass them to a subroutine to change those that can be. A program will not compile if you assign

[U2] Langauge Def for Notepad++

2010-05-27 Thread Dan McGrath
Hey all, I seem to recall someone saying that they had a Notepad++ language def that would work for UniData. Does anyone know where I could get this or who it was that created it? Cheers, Dan

Re: [U2] Code 128 Soft Font

2010-05-20 Thread Dan McGrath
Depending on the month of the year... In fact, I just recently had to ask for a new Windows license in the last week for a new service we are to run. But that's beside the point. I have friends working in purely Linux shops, with the odd exception for a manager's desktop. Now, you wouldn't want

Re: [U2] -1 and Null values

2010-05-03 Thread Dan McGrath
use of NOT() when data might be alpha, in case that changes to give runtime error. Kate Stanton Walstan Systems Ltd 4 Kelmarna Ave, Herne Bay, Auckland 1011, New Zealand Ph: +64 9 360 5310 Fax: +64 9 376 0750 Mobile: +64 21 400 486 Email: k...@walstan.com - Original Message - From: Dan

[U2] -1 and Null values

2010-05-02 Thread Dan McGrath
Hi all, Hopefully I'm not going crazy, but I could have sworn in UD 7.1 that doing a -1 to append an empty string would not actually appended anything. For example: REC = 'A' REC-1 = '' Would result in REC equaling 'A', not 'A':@AM In fact, I even have some in-house tools I wrote

Re: [U2] UD: Phantoms

2010-04-08 Thread Dan McGrath
process could no longer PAUSE until UniData was restarted. Dean Armbruster System Analyst 757-989-2839 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Wednesday, April 07, 2010 6:45 PM To: U2 Users

Re: [U2] UD: Phantoms

2010-04-07 Thread Dan McGrath
Bill, I get similar results to your test program. INPUT PauseTime FOR I = 1 TO 10 StartTime = TIME() PAUSE PauseTime StopTime = TIME() CRT Total time taken is : OCONV(StopTime - StartTime, 'MTS'): CRT , expected : OCONV(PauseTime, 'MTS') NEXT I Run from ECL Input = 5, Times

Re: [U2] UD: Phantoms

2010-04-07 Thread Dan McGrath
as the time taken. PAUSE will now not work again in your session, time to log out. :( -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Thursday, 8 April 2010 8:34 AM To: U2 Users List Subject: Re: [U2] UD

Re: [U2] BDT is anyone using it?

2010-04-05 Thread Dan McGrath
We looked into using, but it had way too many issues, which meant wED was still far more productive/useful for us. For the record, locking code was not one of the issues. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf

Re: [U2] Pick on Mac

2010-03-30 Thread Dan McGrath
MaxOSX is built on Darwin which largely comes from FreeBSD. Regards, Dan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David Jordan Sent: Tuesday, 30 March 2010 9:11 PM To: U2 Users List Subject: Re: [U2] Pick on

[U2] Regex searching UD files

2010-03-29 Thread Dan McGrath
I've written a small utility to be able to run egrep on a UD file (not UD directory), however its implementation is not ideal. Essentially, I select the file I'm searching, writing each record one at a time to a temp UNIX file and running egrep on it as follows !egrep -q -f

Re: [U2] Regex searching UD files

2010-03-29 Thread Dan McGrath
directory then run grep across that. Stuart Boydell -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Monday, 29 March 2010 17:08 To: U2 Users List Subject: [U2] Regex searching UD files I've written

Re: [U2] Regex searching UD files

2010-03-29 Thread Dan McGrath
the file to a temporary directory then run grep across that. Stuart Boydell -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Monday, 29 March 2010 17:08 To: U2 Users List Subject: [U2] Regex

Re: [U2] ECLTYPE U mode [was RE: Regex searching UD files]

2010-03-29 Thread Dan McGrath
, Suite 400 **Denver, CO 80237 **USA Tel: +1.720.475.8055 Email: wterh...@rs.com Web: www.rocketsoftware.com/u2 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Monday, March 29, 2010 3:13 PM To: U2

Re: [U2] Pick Pocket Guide

2010-03-23 Thread Dan McGrath
Hi Clif, I'd be interesting in reading. I write the occasional piece and probably should use more encompassing terms to enhance future search-ability and to promote the database style. Regarding ECL/TCL/etc, since I'm normally in Unix/Linux land, I normally think of them as shells, which brings

Re: [U2] UD - Error Logging

2010-03-22 Thread Dan McGrath
Far be it from me to suggest how they actually implement the logging in the code base, but it is hard to go past the log4* libraries. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Doug Sent: Tuesday, 23 March 2010

Re: [U2] UD - Error Logging

2010-03-15 Thread Dan McGrath
Of course log files belong in the bin directory! I get tripped up every second time I got hunting for them... -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David Wolverton Sent: Tuesday, 16 March 2010 12:12 PM

Re: [U2] UD - Error Logging

2010-03-15 Thread Dan McGrath
Location, if fixed: $UDTHOME/log[s]/server/ $UDTHOME/log[s]/client/ This allows client and server logging to be on separate mount points if the admin desires, without needing the configuration options If configurable, just make the parameter a path relative to $UDTHOME Saved_logs: Yes.

Re: [U2] Decoding URL in UniBasic

2010-03-03 Thread Dan McGrath
Hi Charles, Just to add to Doug, I'll assume you are encoding '\' as '\\' well? Otherwise you would have no way to send the string '\' without it being (incorrectly) decoded as just ''. If this is the case, don't forget to SWAP '\\' with '\' before you fix up the rest. So it should look

[U2] How do associations, @NS and @NV work in UniData Dictionaries?

2010-02-25 Thread Dan McGrath
Does anyone have a quick example of how Associations, @NS and @NV work in UniData? I'm trying to work out associations in dictionary items but cannot get them to do anything. For example, in a record 1,1 = A 1,2 = B 2,1 = Apple 2,2 = Banana I created 3 dictionary items. LETTER

Re: [U2] U2UG Elections

2010-02-04 Thread Dan McGrath
I'll third that, through mvopen.org -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter S. Goldberger Sent: Friday, 5 February 2010 9:02 AM To: U2 Users List Subject: Re: [U2] U2UG Elections Logged in to u2ug.org

Re: [U2] U2UG Elections

2010-02-04 Thread Dan McGrath
Sorry, u2ug.org. I was reading mvopen.org and wonder what that was, so naturally typed it instead. :) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Friday, 5 February 2010 9:05 AM To: U2 Users

Re: [U2] UD7.1 BDT

2010-01-31 Thread Dan McGrath
For those who use StackOverflow, the question is also posted here: http://stackoverflow.com/questions/2156751/u2-basic-developer-toolkit -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of danmcg...@gmail.com Sent:

Re: [U2] UD7.1 BDT

2010-01-31 Thread Dan McGrath
Thanks Doug, I was aware of that. I just want to know if anyone on 7.1 currently uses it since I was told at U2U that it should work fine. As to the [ad], I would love too try it, however we appear to be allergic to most technology here. :( It would take me 5 months to get a trial install

Re: [U2] U2 Web Services

2010-01-21 Thread Dan McGrath
Thanks to all who responded to the question. As always, I'm being made to jump around different projects, so I may get back to some of you in the near future. Regards, Dan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On

Re: [U2] UniVerse RetreiVe how do I query a file for all of its column's values?

2010-01-20 Thread Dan McGrath
Hi Evan, It is not often you would do something like this as it is generally not required in the U2 World. We may be able to provide you with better solutions if we understood what you are trying to achieve by listing every column? Unidata/UniVerse files are a lot more complex than SQL Tables in

[U2] U2 Web Services

2010-01-18 Thread Dan McGrath
Hi all, Are there any people out there currently using U2 Web Services in production? Do you find it stable? From the information I have, I cannot see how we can send SOAP Faults depending on the results of a subroutine call (For example, an error message parameter # ), which makes it

Re: [U2] Credit Card info

2010-01-17 Thread Dan McGrath
Indeed. You don't want to be on the wrong side of those requirements either, VISA can come down pretty hard... As always with this sort of stuff, don't attempt to reason your own scheme. Find out what you should REALLY be doing from an official source. -Original Message- From:

Re: [U2] SELECTs on FILEs

2009-12-14 Thread Dan McGrath
...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Sunday, December 13, 2009 5:15 PM To: U2 Users List Subject: [U2] SELECTs on FILEs Hi all, Just a quick question on SELECTs for UD. I was under the impression that performing a wildcard SELECT with @ID would only result the key section

[U2] SELECTs on FILEs

2009-12-13 Thread Dan McGrath
Hi all, Just a quick question on SELECTs for UD. I was under the impression that performing a wildcard SELECT with @ID would only result the key section of a FILE been read. Eg, SELECT MYFILE WITH @ID = prefix] Is this incorrect? Does it actually result in the entire FILE being

Re: [U2] UniData - TANDEM verb

2009-12-08 Thread Dan McGrath
, Dec 7, 2009 at 8:57 PM, Dan McGrath dmc...@imb.com.au wrote: Dave, Did you check if they had the TANDEM VOC entry. Depending on their setup, it may have been removed meaning only administrators can access it. -Original Message- From: u2-users-boun...@listserver.u2ug.org

Re: [U2] PORT.STATUS affecting program

2009-12-08 Thread Dan McGrath
: wterh...@rs.com Web: www.rocketsoftware.com/u2 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: Monday, December 07, 2009 9:11 PM To: U2 Users List Subject: Re: [U2] PORT.STATUS affecting program

[U2] Test

2009-12-07 Thread Dan McGrath
List still down? :( ### The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or

[U2] PORT.STATUS affecting program

2009-12-07 Thread Dan McGrath
Hi all, just wondering if anyone has encountered this before? I was running some tests and discovered that doing a PORT.STATUS PID pid CALL.STACK on a program that is waiting to open a named pipe with OSOPEN caused it to bomb out. I looked and it didn't have an ON ERROR statement, so I

Re: [U2] UniData - TANDEM verb

2009-12-07 Thread Dan McGrath
Dave, Did you check if they had the TANDEM VOC entry. Depending on their setup, it may have been removed meaning only administrators can access it. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of BraDav Sent:

[U2] [AD] Code Coverage Project

2009-11-30 Thread Dan McGrath
It does sound like an amazing tool, but I believe they are completely different. mvScan looks to be a static code analysis tool. -Original Message- Brian Leach has an amazing tool called mvScan... http://www.brianleach.co.uk/pages/mvscan.htm --Bill

Re: [U2] Code Coverage Project

2009-11-29 Thread Dan McGrath
Hey Charlie, If you get it working in jBASE can you send a copy back so I can create a jBASE branch for it? If you need me to explain what is going on in a section, feel free to ask. Cheers, Dan -- Message: 3 Date: Sat, 28 Nov 2009 07:10:38 -0600 From: Charlie Noah

Re: [U2] Code Coverage Project

2009-11-27 Thread Dan McGrath
Yes, we use it in QA to ensure that we have tested all major sections so that we are more confident in sending it to User Acceptance Testing and then Production. However, we doing use it in production support and programming too. Say you have a large processing program with several complex

Re: [U2] Code Coverage Project

2009-11-27 Thread Dan McGrath
understand what this one does. :) Thanks. T * From: Dan McGrath** For those that are interested, I have setup a project ** on SourceForge for a Statement Level Code Coverage ** Tool for UniBasic. It is based on the prototype for a ** similar tool we now use at my current employer.** ** Although

[U2] Code Coverage Project

2009-11-26 Thread Dan McGrath
Hi all, For those that are interested, I have setup a project on SourceForge for a Statement Level Code Coverage Tool for UniBasic. It is based on the prototype for a similar tool we now use at my current employer. Although this version is incomplete, it still enables statement level

Re: [U2] Code Coverage Project

2009-11-26 Thread Dan McGrath
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan McGrath Sent: 26 November 2009 21:35 To: U2 Users List Subject: [U2] Code Coverage Project Hi all, For those that are interested, I have setup a project on SourceForge for a Statement Level Code Coverage Tool for UniBasic. It is based

  1   2   >