Re: [U2] Presentation on Python to UniVerse

2011-12-17 Thread DavidJMurray (mvdbs.com)

No other software is required to make this work - except the intercall
library and python.

But, to help with the python coding, there is ctypesgen -
https://code.google.com/p/ctypesgen/ - which will create a python to intcall
library.

The other files, intcall.h and the *.so files are free from Rocket and
supplied with UV. See the InterCall documentation.

Good luck.

djm 


George Gallen-2 wrote:
 
 We are running UV 10.1 on RHEL.  Do you know if it will interface with
 this level? Is there any other software (licenses) required
 to allow the interface to work?
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32995017.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-16 Thread DavidJMurray (mvdbs.com)

Crikey, you are hitting the holiday spirit(s) early...


George Gallen-2 wrote:
 
 Wow...Models too, what was she wearing? Now that gives a new twist to
 Leg-a-see.
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32989244.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-16 Thread DavidJMurray (mvdbs.com)

ctypes with Python work were ever there is a intcall library file. On
MS-Windows, there is a Uvic32.dll and on Linux a corresponding .so file.

These are used by ctypes to enable Python to communicate with U2.

I have not done any speed tests, but simple record reads are as fast as the
program runs and spits out the data. But, since all the interface software
that Rocket provides uses the RPC - which is a network connection to the
database with some server software doing all the data gathering. So, the
transfer speed will never be as good as a direct access approach to the
database.

I have a library for Python using ctypes and intcall, and will make the next
version available after I complete the unit tests.



George Gallen-2 wrote:
 
 Will it work with linux? Or just windows? 
 
 
 It worked, but it was too slow. It would average 2-3 seconds for a record
 read because of all the layers.
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32989737.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Graph DataBase

2011-12-16 Thread DavidJMurray (mvdbs.com)

I also, to some extent, agree with Dawn.

The mv, NF**2, post relational, PICK, or whatever the correct model name is,
it is not a relational database. There are very strict definitions to a
relational database, namely, but not complete, normalisation, SQL, joins
etc.

Yes, the mv model can emulate a relational database. But, it you throw away
the dict part of a file, the data is actually in a form of a document.

And, if you go way back to the definition of a database model created for
analysis - Entity-Relationship by Chen in the early 1980's, the mv model is
very close to the ER model. So, if you add back the dictionaries, the
database model could be a DDERDBMS - Dictionary Driven Entity-Relationship
Data Base Management System.

Anyway, whatever mongoDB classify themselves as, so should the PICK model.

But then, U2 is not that well known, as it is not marketed to end users per
se. It is an embedded database for VAR's. The focus is on the application,
not the underlying database. This could be seen as a problem in some
markets. So, it could be seen to be lost energy promoting the database to
end users or developers within the nosql market as U2 is not open source,
hence costs money, does not scale that well (sharding and/or federation) and
is not really for high volume loads within a web service delivery
environment.

It's a good solid product for well established actively-promoted vertical
market applications which need to extend to the surrounding I.T. ecosystem.



Dawn Wolthuis wrote:
 
 I do disagree with this. If neo4j meets the not-determined criteria
 (except by marketing departments) then MV products do too. MV  vendors
 might have suggested they are relational at varying points in their
 history (again marketing depts) but they do not meet Relational or at
 least SQL-only DBMS criteria. We are very much in the not-SQL-only camp
 whether we proclaim it or not. No product in that mix does everything. I
 put Tom del's nodal logo on a blog entry in 2006. It is someone in the MV
 space that has the nodal domains. We are NoSQL, no doubt, but we can
 decide to stay in our MV sandbox rather than joining the game if we so
 choose. --dawn
 
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Graph-DataBase-tp32982649p32989771.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Graph DataBase

2011-12-16 Thread DavidJMurray (mvdbs.com)

I also, to some extent, agree with Dawn.

The mv, NF**2, post relational, PICK, or whatever the correct model name is,
it is not a relational database. There are very strict definitions to a
relational database, namely, but not complete, normalisation, SQL, joins
etc.

Yes, the mv model can emulate a relational database. But, it you throw away
the dict part of a file, the data is actually in a form of a document.

And, if you go way back to the definition of a database model created for
analysis - Entity-Relationship by Chen in the early 1980's, the mv model is
very close to the ER model. So, if you add back the dictionaries, the
database model could be a DDERDBMS - Dictionary Driven Entity-Relationship
Data Base Management System.

Anyway, whatever mongoDB classify themselves as, so should the PICK model.

But then, U2 is not that well known, as it is not marketed to end users per
se. It is an embedded database for VAR's. The focus is on the application,
not the underlying database. This could be seen as a problem in some
markets. So, it could be seen to be lost energy promoting the database to
end users or developers within the nosql market as U2 is not open source,
hence costs money, does not scale that well (sharding and/or federation) and
is not really for high volume loads within a web service delivery
environment.

It's a good solid product for well established actively-promoted vertical
market applications which need to extend to the surrounding I.T. ecosystem.


Dawn Wolthuis wrote:
 
 I do disagree with this. If neo4j meets the not-determined criteria
 (except by marketing departments) then MV products do too. MV  vendors
 might have suggested they are relational at varying points in their
 history (again marketing depts) but they do not meet Relational or at
 least SQL-only DBMS criteria. We are very much in the not-SQL-only camp
 whether we proclaim it or not. No product in that mix does everything. I
 put Tom del's nodal logo on a blog entry in 2006. It is someone in the MV
 space that has the nodal domains. We are NoSQL, no doubt, but we can
 decide to stay in our MV sandbox rather than joining the game if we so
 choose. --dawn
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Graph-DataBase-tp32982649p32989774.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Presentation on Python to UniVerse

2011-12-15 Thread DavidJMurray (mvdbs.com)

In case anyone is interested, I am doing a presentation to the local Python
Users Group - Northern VA, USA - on using ctypes in Python to access
UniVerse.

It's tonight.

See: http://nova-python.dcpython.org/events/39802302/

Cheers,

djm


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32983185.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-15 Thread DavidJMurray (mvdbs.com)

Interesting idea.

From the comments from the audience and the experience, I will probably 
make some changes to the ppt and then in the new year stick it on my blog
with notes. I did poorly with my smart-art UniVerse Model - couldn't be read
from a distance, well actually not even close up (:

As I am not a VAR, just a consultant/developer/contractor who has to program
in the U2 environment. I consider it a legacy programming toolchain. Lets
just leave it at that, as I'm not interested in another  flame war. This
point of view has been beaten to death numerous times this year. It's now
too close to Christmas for another one.

Happy Merry New Christmas Year to all.

djm
  


Charles_Shaffer wrote:
 
 
Are you considering posting a white paper on the presentation? And/or 
 with slides?
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32985833.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Is SB+ object-oriented?

2011-12-13 Thread DavidJMurray (mvdbs.com)


SB+ is not object-oriented. It is actually highly-functional in nature - the
underlining PROCESS call structure is:

@RTN.FLAG = PROCESS(@PARMS, @VALUE)

Where @RTN.FLAG is an output, @PARMS is an input and @VALUE is normally the
output, but can be used as an input also. This is common to all the
processes.

Check the International Spectrum magazine for Jan/FEB 2010 -
http://www.intl-spectrum.com/mag/JANFEB.2010/default.aspx - where there is
an article regarding this. It is for Revelation and will not work in
UniBasic due to the inability to dynamically name NAMED COMMON's. But worth
a read.

But, why would you want to?

Just use Python or java or C# or VB.net and intercall if you want to go that
route.

djm


WJhonson wrote:
 
 
 Can Pick BASIC code simulate an object oriented environment?
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Is-SB%2B-object-oriented--tp32963143p32970947.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Universe and SQL

2011-12-11 Thread DavidJMurray (mvdbs.com)


I wrote a small article way back in 2007 using the ECL CONNECT verb and the
ODBC driver to access mysql.

http://mvdbs.com/2007/10/08/universe-odbc-to-mysql/

It works OK.

djm


WJhonson wrote:
 
 
 But can Universe, access SQL tables which are *not* in Universe?
 They are just other SQL tables in other places around the network that
 usually is update by other non Pick software.
 
 Can Universe also access those tables?
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Universe-and-SQL-tp32948798p32958062.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] U2 Platform Block Diagram

2011-12-11 Thread DavidJMurray (mvdbs.com)

Hi all,

Some time ago (years I think) I remember seeing a block diagram breakdown of
the UniVerse or Unidata platform. The database at the bottom, UniBasic
above, SOAP server off to one side, interfaces to the other.

I wanted to use it for a presentation, but for the life of me, I can not
find a copy.

Does anyone know of this diagram? And has a copy?

Thanking all in advance,

Cheers,

djm
 

-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/U2-Platform-Block-Diagram-tp32958073p32958073.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Code Collaboration

2011-11-16 Thread DavidJMurray (mvdbs.com)


PICK is a highly proprietary database development environment which is SOLD
to VAR's.

Therefore, it is not much of a hobbyists tool for development. Therefore,
assuming that most programmers are employed by a company, who owns the code
anyway?

Nor is it an open source development environment, as an application is
really meant to have the database embedded. Rather difficult to achieve to
when you can't even get a RRP on a license. And would a VAR really want some
odd-ball software installed into THEIR products embedded database?

What actually is missing and would be of significant interest (to me) and
help is a list of design and analysis patterns. These already exist for
other environments via books and websites. And there has been periodically
discussions here on the best way to generally do things e.g. processing
lists via removing items from the front of the list.

But, this really should be a Rocket Software initiated process as it is
THEIR product and it adds value for all.

...2 cents worth...



WJhonson wrote:
 
 
 Attempts at making Pick code collaboration projects have been mostly
 unsuccessful.  Why?
 How can we create a true collaborative project and Would Anyone Come ?
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Code-Collaboration-tp32856673p32857145.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Code Collaboration

2011-11-16 Thread DavidJMurray (mvdbs.com)


The contractual obligations between a employee, contractor and software
vendor differ.

I always abide by the contractual obligations.

I have no issues with group collaborations. But I would not use U2 or a PICK
derivative for such a project as I can not legally obtain a licensed copy of
U2 (not that I have contacted Rocket to purchase a license). The Personal
Editions have a strict license which does not include production; which I
would have thought that a group collaboration project would full under.



WJhonson wrote:
 
 
 You don't believe in group collaboration?
 
 My client is the end user, not the vendor.
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Code-Collaboration-tp32856673p32857388.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Code Collaboration

2011-11-16 Thread DavidJMurray (mvdbs.com)

Well, it's not really worth a fight as I am not a lawyer, but from the wed
site:

This edition is designed for single-user personal development and training
as well as sales demos. It is not for remarketing or use in production
environments.

The use of 'personal development and training' is quite explicit to me. I
would have thought that producing an application is production and if it was
supplied for code/application development, then it would not be limited to 2
users and small files as part of any development is the testing of a normal
working environment - large files and multiple users - all which can not be
done on a PE edition.

But, it's neither here nor there really as how can you develop an
application on an environment when you are locked out of important bug fixes
and work arounds and such stuff when you are not a VAR. 

Which begs the point; any VAR here can inform if they get their in-house
development and testing U2/SB+/Web Dev software for free?


WJhonson wrote:
 
 
 That license does not mean production of code
 Rather it means a production environment meaning in use by an end user
 who isn't a developer
 
 Of course developers can use the PE to develop code, that's the very point
 of making it free to developers.
 
 
 
 
 
 
 
 
 -Original Message-
 From: DavidJMurray (mvdbs.com) nab...@mvdbs.com
 To: u2-users u2-users@listserver.u2ug.org
 Sent: Wed, Nov 16, 2011 12:24 pm
 Subject: Re: [U2] Code Collaboration
 
 
 
 The contractual obligations between a employee, contractor and software
 endor differ.
 I always abide by the contractual obligations.
 I have no issues with group collaborations. But I would not use U2 or a
 PICK
 erivative for such a project as I can not legally obtain a licensed copy
 of
 2 (not that I have contacted Rocket to purchase a license). The Personal
 ditions have a strict license which does not include production; which I
 ould have thought that a group collaboration project would full under.
 
 WJhonson wrote:
  
  
  You don't believe in group collaboration?
  
  My client is the end user, not the vendor.
  
  
 
 
 Learn and Do
 xcel and Share
 
 ttp://mvdbs.com http://mvdbs.com 
 - 
 iew this message in context:
 http://old.nabble.com/Code-Collaboration-tp32856673p32857388.html
 ent from the U2 - Users mailing list archive at Nabble.com.
 ___
 2-Users mailing list
 2-us...@listserver.u2ug.org
 ttp://listserver.u2ug.org/mailman/listinfo/u2-users
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Code-Collaboration-tp32856673p32857475.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Code Collaboration

2011-11-16 Thread DavidJMurray (mvdbs.com)


Then Rocket should change the licensing info on their web site:

This edition is designed for single-user personal development and training
as well as sales demos. It is not for remarketing or use in production
environments.

I take 'personal development' as self-training.

What you say contradicts the above.


Daniel McGrath wrote:
 
 
 Prior to joining Rocket, that is exactly what I did to open-source a
 cut-down version of a code coverage tool I had written:
 http://sourceforge.net/projects/ucov/. There is no reason why developers
 could not work on this code using the PE editions of the databases.
 
 Regards,
 
 Dan McGrath
 U2 Product Manager
 Rocket Software
 4600 S. Ulster Street **Suite 1100 **Denver, CO 80237 * USA
 Tel: +1.720.475.8098 * Fax: +1.617.630.7392
 Email: dmcgr...@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 DavidJMurray
 (mvdbs.com)
 Sent: Wednesday, November 16, 2011 1:24 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] Code Collaboration
 
 
 
 The contractual obligations between a employee, contractor and software
 vendor differ.
 
 I always abide by the contractual obligations.
 
 I have no issues with group collaborations. But I would not use U2 or a
 PICK derivative for such a project as I can not legally obtain a licensed
 copy of
 U2 (not that I have contacted Rocket to purchase a license). The Personal
 Editions have a strict license which does not include production; which I
 would have thought that a group collaboration project would full under.
 
 
 
 WJhonson wrote:
 
 
 You don't believe in group collaboration?
 
 My client is the end user, not the vendor.
 
 
 
 
 -
 
 Learn and Do
 Excel and Share
 
 
 http://mvdbs.com http://mvdbs.com
 --
 View this message in context:
 http://old.nabble.com/Code-Collaboration-tp32856673p32857388.html
 Sent from the U2 - Users mailing list archive at Nabble.com.
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Code-Collaboration-tp32856673p32857488.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Code Collaboration

2011-11-16 Thread DavidJMurray (mvdbs.com)

Good to get that sorted.

Back to code collaboration.



Daniel McGrath wrote:
 
 
 It is 'personal development' as opposed to 'commercial development'. That
 is also development as in software development, not as in self-improvement
 development.
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Code-Collaboration-tp32856673p32857553.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Suggestions for flattening Multivalues...

2011-11-09 Thread DavidJMurray (mvdbs.com)


Try MongoDB - It's a good match to a mvdbms and has drivers for most common
programming environments.

djm


phil walker-2 wrote:
 
 Why are you using MySql if you are after free you could use Postgresql
 which I believe supported nested tables built in?
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Suggestions-for-flattening-Multivalues...-tp32813168p32813844.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [ot] Is it just me.....

2011-11-03 Thread DavidJMurray (mvdbs.com)


I thought first of oranges due to the starting 'sun kissed' phrase.

Personally, I find Yellowtail reasonable scoffing wine.



George Gallen-2 wrote:
 
 Or was I the only person that wasn't thinking wine during this commercial?
 
 http://www.youtube.com/watch?v=uS0fwYKCvIE
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/-ot--Is-it-just-me.-tp32752050p32774020.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UD Re-indexing

2011-11-03 Thread DavidJMurray (mvdbs.com)


From a lot of the questions posted here, I have assumed that not many people
actually have support contracts these days. Or the support mechanism is too
difficult or complicated and it's quicker to ask here.


slestak wrote:
 
 
 Do you have a support contract with Rocket?
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/UD-Re-indexing-tp32761594p32774068.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [ot] Is it just me.....

2011-11-03 Thread DavidJMurray (mvdbs.com)


Oh, stop w[h]ining

ha ha ha, ho ho ho

arrgh hum... cough

yes


George Gallen-2 wrote:
 
 What caught my attention was the repeated use of .. GO-TO
 Kinda gave me shivers.although, wine is not an object oriented
 proceduremore of an object disoriented!
Since the object is to become disoriented, so maybe it is
 appropriate
 
 I knowSAD...very sad.
 
 -
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/-ot--Is-it-just-me.-tp32752050p32774094.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Why Pick U2?

2011-11-03 Thread DavidJMurray (mvdbs.com)


Dan,

Did you complete the article regarding ramdisks and U2?

djm


Daniel McGrath wrote:
 
 I've used them in development, but not in Production.
 
 I am just about to post an article that includes usage; I just haven't had
 time to finish proof-reading it.
 
 For windows, check it this question:
 http://superuser.com/questions/34388/whats-the-best-ramdisk-for-windows
 
 Regards,
 Dan
 
 -Original Message-
 
 Is anyone using a RAMDisk with U2 files?
 
 I have noticed that there are two types of ram disks within Linux - tmpfs
 and /dev/ram1 which can be used to create a small file system.
 
 Does anyone have any practical experience on these options?
 
 Is there an effective option for MS-Windows?
 
 Cheers,
 djm
 
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Why-Pick-U2--tp32061959p32775910.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Free Software for DataBasic

2011-09-08 Thread DavidJMurray (mvdbs.com)

Over the last weekend, I noticed that the pickwiki.com (the common mv code
website) does not have any games programmes.

I can remember playing the star-trek and adventure games on a Ultimate (or
Altos I think), many years ago.

Does anyone have any remnant or complete code that they can (legally) and
would be willing to contribute to pickwiki.com?



-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Free-Software-for-DataBasic-tp32424680p32424680.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Why Pick U2?

2011-08-25 Thread DavidJMurray (mvdbs.com)


I mean using the existing RAM within the system to create and mount a small
file system which a temporary U2 file can be created and used; rather than a
complete SSD device.



John Thompson-15 wrote:
 
 Its expensive... and it seems fairly safe as IBM, HP, and Dell are all
 selling it now...
 
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Why-Pick-U2--tp32061959p32335366.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Why Pick U2?

2011-08-25 Thread DavidJMurray (mvdbs.com)


I was looking at writing a similar article/blog post as I am reading on
coalesced hashing at the moment.

I'll wait until yours appears.



Daniel McGrath wrote:
 
 
 I am just about to post an article that includes usage; I just haven't had
 time to finish proof-reading it.
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Why-Pick-U2--tp32061959p32335579.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UniVerse backups to disk

2011-08-18 Thread DavidJMurray (mvdbs.com)


Chris Lee-17 wrote:
 
 
 What's the best way to achieve this, is it necessary to use UniVerse's
 built-in uvbackup utility ?
 
 

In the past for a small client who had a overnight 'dead' period, I used a
simple windows script (UniVerse on MS-Windows) to backup using uvbackup to a
scratch disk, which was flagged to be backed up later, via the network
backup server. The backup software did not have a plugin for UniVerse (I'm
not sure that any enterprise backup software does) as is common for
MS-Exchange/MS-SQL etc. which are data structure and transaction processing
aware.

The issue with backing up out of the UniVerse environment is the lack of
control over incomplete transactions and caching. Always best to use
uvbackup if possible.



-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/UniVerse-backups-to-disk-tp32284751p32289120.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Can this Selection be done? Either UV or SQL?

2011-08-11 Thread DavidJMurray (mvdbs.com)


The LSELECT is actually from IBM/Rocket and can be found here:

https://u2devzone.rocketsoftware.com/accelerate/articles/u2-select/u2-select



kebbon.irwin wrote:
 
 
 I think if you look up old posts on LSELECT, you may find an acceptable
 answer.  It is a program that creates and uses work files, but once
 written, it works like a verb.  I got it from the list and now use it
 regularly
 Cheers,
 Kebbon
 
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Can-this-Selection-be-done--Either-UV-or-SQL--tp32227537p32244342.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] u2ug

2011-05-30 Thread DavidJMurray (mvdbs.com)


No, it is not just you.

Maybe maintenance is happening.


Dan McGrath-2 wrote:
 
 u2ug has been unavailable for at least a day.
 
 Is it just me?
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/u2ug-tp31736911p31737148.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Pondering recent thread on compact framework

2011-05-19 Thread DavidJMurray (mvdbs.com)



George Gallen-2 wrote:
 
 Maybe we should have a mini thead on Cool things I've got my UV system to
 do with a 
 mobile device! - or at the least, cool things, I've got my system to do
 with a mobile
 device - just not in UV 
 
 I don't see this as a UV deficit, but rather a knowledge deficit in the
 sense that if we don't
 know what we can't do, it's hard to want to do it, or realize that we
 should be doing it!
 

What about just - Cool things I've got my MV system to do!



-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Pondering-recent-thread-on-compact-framework-tp31651311p31658267.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Git and U2

2011-03-03 Thread DavidJMurray (mvdbs.com)

Thanks everyone for your replies.

As it looks like I will now be hosting on google code (as its free) I have a
choice of subversion or mercurial.

Weekend reading will be in order...

Cheers,

djm


DavidJMurray (mvdbs.com) wrote:
 
 Has anyone used Git and U2 - either UniVerse or Unidata - together?
 
 Or any other suggestions for a version control - open source is preferred?
 
 Thanks in advance,
 
 djm
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Git-and-U2-tp31053109p31060218.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV PE Linux

2011-03-02 Thread DavidJMurray (mvdbs.com)

In Rockets last newsletter - 28 Feb 2011 - they state that UniVerse 11.1 on
Linux as PE will be available real soon now...


Bob Little-4 wrote:
 
 I see UniData PE for Linux and UniVerse PE for Windows, but I don't see
 UniVerse PE for Linux.
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/UV-PE-Linux-tp31048789p31050189.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Git and U2

2011-03-02 Thread DavidJMurray (mvdbs.com)

Has anyone used Git and U2 - either UniVerse or Unidata - together?

Or any other suggestions for a version control - open source is preferred?

Thanks in advance,

djm


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Git-and-U2-tp31053109p31053109.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Unidata programming books?

2011-03-01 Thread DavidJMurray (mvdbs.com)

This was recently covered with respect to UniVerse. See -
http://old.nabble.com/Universe-Books--to30840562.html in this forum.

Cheers,

djm


newuser1 wrote:
 
 Hi,
   I recently discovered this wonderful forum and I really would like to
 expand my unibasic/unidata programming skills especially writing
 subroutines. Can anyone recommend me some good books on this? We're using
 Unidata 7.1. 
 
 Thank you
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Unidata-programming-books--tp31040442p31040445.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Does UV have a BLOCK command

2011-02-26 Thread DavidJMurray (mvdbs.com)

Just continuing on how the SUBROUTINE, FUNCTION, and SUBR are related.

http://mvdbs.com/2011/02/26/dry-subroutines/

Comments and suggestions always appreciated.

Cheers,

djm


DavidJMurray (mvdbs.com) wrote:
 
 
 I often used the SUBR function within UniBasic as it can be interchanged
 with FUNCTION definitions etc; which enables a write-once, use everywhere
 approach (within UniBasic, derived fields, and in SB+ via some small
 wrapper code).
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Does-UV-have-a-%22BLOCK%22-command-tp30867376p31021151.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] New Rocket U2 'Developer Zone'

2011-02-25 Thread DavidJMurray (mvdbs.com)

A good collection of articles, similar to what IBM had. 

And as a non-VAR person, I can access it! Bonus

djm


Dan McGrath-2 wrote:
 
 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/ 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/New-Rocket-U2-%27Developer-Zone%27-tp31010223p31016325.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Friendfeed and U2 EDA similarities

2011-02-25 Thread DavidJMurray (mvdbs.com)

I am putting the finishing touches to a py2ic package using ctypes to
interface to intercall.

I want to include unit testing due to the multiple platforms, but unit
testing in python is new to me, so I'm just pottering along and learning as
I go.

When I'm finished, I was going to have a look at a F-Correlative interpreter
in python, but maybe a EDA to PostgreSQL using python might be more
interesting.

djm


slestak wrote:
 
 Oh, but pls do. I'll help.
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Friendfeed-and-U2-EDA-similarities-tp30953121p31016359.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Scripps Networking Services - softwaresearch.com

2011-02-24 Thread DavidJMurray (mvdbs.com)

As a side but related - has anyone had dealings with softwaresearch.com -
Larry Okeson?

I'm on the job hunt and am trying to identify the good from the bad.

Cheers,

djm


Bessel, Karen wrote:
 
 Has anybody heard about a job opportunity with this company, contact names
 Dan Maxwell and/or Jenna Wade?
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Scripps-Networking-Services-tp30839704p31008805.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Friendfeed and U2 EDA similarities

2011-02-24 Thread DavidJMurray (mvdbs.com)

Then I won't get carried away and write a python middle-ware driver.


slestak wrote:
 
 
 I do not know.  I have not worked at the site that had exposure to EDA 
 in almost 6 years.  My current gig is not using it.
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Friendfeed-and-U2-EDA-similarities-tp30953121p31008830.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Friendfeed and U2 EDA similarities

2011-02-21 Thread DavidJMurray (mvdbs.com)

So, no-one is actually doing active development and clever things with EDA? I
was just wondering since UniVerse now has EDA, someone must be doing
something wonderful with it besides ticking boxes in a tender document?

Or is it a secret-squirrel VAR thing? :)

Cheers,

djm



David Jordan wrote:
 
 The main benefit for EDA is to be able to tell clients that your
 application runs on Oracle, DB2, SQL Server, etc.  
 
 The question is, how much of the Database needs to be put on the external
 database to satisfy a customer's expectation.  Do you just transport
 information for enquiry/data warehouse data or do you transfer the whole
 transaction database.
 
 One are to be aware is that most pick applications are pessimistic locking
 and SQL databases prefer optimistic locking for performance.   It would
 usually require U2 to the only application updating the database.
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Friendfeed-and-U2-EDA-similarities-tp30953121p30979366.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [SPAM?]Re: silly company names

2011-02-21 Thread DavidJMurray (mvdbs.com)

And lets not forget Kodak - 
https://secure.wikimedia.org/wikipedia/en/wiki/Kodak#Kodak_name
https://secure.wikimedia.org/wikipedia/en/wiki/Kodak#Kodak_name 



slestak wrote:
 
 I am  not in marketing by any means, but isnt the chore for branding
 to make something that sticks whether it is a word or not?  Sony is
 not a real word, but a great company name.
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Frustrated-with-Rocket---Unidata-7.2-tp30955027p30979398.html
Sent from the U2 - Users mailing list archive at Nabble.com.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Friendfeed and U2 EDA similarities

2011-02-19 Thread DavidJMurray (mvdbs.com)

Is anyone using the EDA features of U2?

I assume that at least one VAR must have wanted the ability to use another
DBMS besides the U2 one as the amount of effort in implementing EDA is no
small task.

I was just interested in the applications and purpose of EDA.

Cheers,

djm


DavidJMurray (mvdbs.com) wrote:
 
 
 The method is very, very similar to the U2 EDA.
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Friendfeed-and-U2-EDA-similarities-tp30953121p30967550.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV on Linux question...

2011-02-18 Thread DavidJMurray (mvdbs.com)


Well, it is sort of the OS. The OS, as the likes of Red Hat, are a
collection of utilities, of which cut is one. 

To deal with the changing versions of these utilities, many enterprise
versions of Linux will freeze the utilities versions in a release called LTS
- Long Term Support. Overtime, 1-2 years, many of these utilities; mySQL,
Apache, PHP, and Python, in particular get stuck on old versions.

This is why many enterprise applications, of which U2 is one, will specify
which brand and release of the OS it will successfully install and run on.
If this was not so, then supporting of the ever moving versions of Linux
would be a nightmare.

This is one of the main disadvantages of Linux and is how Red Hat, Ubuntu,
and Suse market their enterprise versions of Linux - a Long Term Supported
frozen version of utilities (security fixes are one of the few changes that
are backported) that they will support.

Fedora, in particular, ubuntu, and others are rather bleeding edge with the
versions of utilities which they provide and it is always a continuous chore
of dealing with the install and running of applications which break due to
the changes. I use Ubuntu for the pretty desktops and boring plain CentOS
for servers for these reasons.

Cheers,

djm



George Gallen-2 wrote:
 
 apprantly, it's not the OS, it's the version of cut.
 
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/UV-on-Linux-question...-tp30953691p30959790.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Friendfeed and U2 EDA similarities

2011-02-17 Thread DavidJMurray (mvdbs.com)

Found an small interesting article about how the web site friendfeed store
their data within MySQL rather than using a non-sql database.

The method is very, very similar to the U2 EDA.

If anyone is interested in this EDA technique -
http://bret.appspot.com/entry/how-friendfeed-uses-mysql

or my article - http://mvdbs.com/2011/02/17/friendfeed-and-eda/

Cheers,

djm



-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Friendfeed-and-U2-EDA-similarities-tp30953121p30953121.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV on Linux question...

2011-02-17 Thread DavidJMurray (mvdbs.com)


Even though Fedora is sort-of (but not) the 'community' version of Red Hat,
there are major differences between the two; which are not clearly
documented when it comes to commercial applications - installing and
running.

If you have to use U2 on a 'freedom' version of Red Hat, I suggest that you
have a look at CentOS - centos.org and use that instead of Fedora.


George Gallen-2 wrote:
 
 I noticed an issue with the '/usr/uv/bin/uv -admin -stop' command
 
 Which works fine with RedHat Enterprise
 but gives an error with Fedora 14 (and 13) - seems that cut command wants
 it's numbers to start
  with 1 NOT 0
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/UV-on-Linux-question...-tp30953691p30955980.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Does UV have a BLOCK command

2011-02-10 Thread DavidJMurray (mvdbs.com)

A Try/Catch construct is similar to the SQL TRANSACTION block - (BEGIN
TRANSACTION/END TRANSACTION) where if any statement within the block fails,
the sequence is stopped and action is taken. Within context to the SQL
TRANSACTION, a rollback is performed.

My thoughts come from the opening of multiple files at the start of a
routine. Each file is opened with either an OPEN statement, the SB+
SB.FILE.VAR.S routine, or similar and then a error check is performed. If an
error occurred, then there is no point in continuing with opening the other
files and some sort of error message and abort is performed.

This can get messy with a moderately large number of files to open and
really is just repeated grunt code. Using a Try/Catch construct around the
file open statements, if and when a open fails, the construct automatically
exits to an exception block and performs the error logging etc.

This is just a more elegant and tidier method than multiple OPEN ... ELSE
... END with common code or if using SB+ - CALL SB.FILE.VAR.S(); IF RTN.FLAG
NE 0 THEN ... END for each open.

A Try/Catch can also be used around other code sequences where a failure in
one statement should abort the total sequence; eg. socket handling.

A CASE construct is not the same as the Try/Catch - though internally, if
would involve a CASE for the detection and selection on the error code and
what action to perform on failure.



Ron Hutchings wrote:
 
 
 Since I was following this thread, I just could get it out of my head why
 the CASE syntax didn't do what you want.
 
 The other thing that did occur to me, is it seems like your imposed
 restrictions would have applied to using the DEFFUN construct.  You could
 define several functions and use them at will throughout your code or wrap
 IF-THEN-ELSE logic around them as needed.
 
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Does-UV-have-a-%22BLOCK%22-command-tp30867376p30896461.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Does UV have a BLOCK command

2011-02-09 Thread DavidJMurray (mvdbs.com)

Dan,

That makes sense. Something was nagging me from the back of the brain; I
think that I was getting confused between the CALL and SUBR statements.

I often used the SUBR function within UniBasic as it can be interchanged
with FUNCTION definitions etc; which enables a write-once, use everywhere
approach (within UniBasic, derived fields, and in SB+ via some small wrapper
code).

It took me a while to find it - in the UniVerse Basic Reference manual, the
use of SUBR does not require a catalog if the called routine is in the same
object file as the calling routine.

Interestingly enough, this is also implied in the SUBROUTINE documentation.


Dan McGrath-2 wrote:
 
 David,
 
 I just tested it and it doesn't. If it isn't catalogued it doesn't find
 it, regardless of whether or not the object code is in the same
 directory.
 
 -Original Message-
 
 Does it not check within the same BP file as the calling routine first;
 as cataloging is not then necessary?
 
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Does-UV-have-a-%22BLOCK%22-command-tp30867376p30882672.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Does UV have a BLOCK command

2011-02-08 Thread DavidJMurray (mvdbs.com)

I had a look at the idea back in 2007 - in UniBasic and SB+.
http://mvdbs.com/2007/08/01/try-and-catch/ and
http://mvdbs.com/2007/08/16/try-and-catch-part-2/ .

SB+ was easier as RTN.FLAG is used throughout the system and can quite
easily be used as the exception catch.

Within UniBasic, there is already @SYSTEM.RETURN.CODE and @USER.RETURN.CODE.
@SYSTEM.RETURN.CODE is currently used by a number of statements e.g.
PERFORM; so it should be possible to just extend upon that.

It really would be a nice feature to be added. Anyone here a paid-up member
to the Rocket U2 club and can put a word in?

Cheers,

djm


Symeon Breen wrote:
 
 A try/catch/exception concept in unibasic would be great.
 
 However to do it properly would probably require a fair bit of effort
 inside
 u2, as they would have to start exposing exceptions to the language e.g.
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Does-UV-have-a-%22BLOCK%22-command-tp30867376p30872606.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Does UV have a BLOCK command

2011-02-08 Thread DavidJMurray (mvdbs.com)

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, 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/Does-UV-have-a-%22BLOCK%22-command-tp30867376p30879242.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Does UV have a BLOCK command

2011-02-07 Thread DavidJMurray (mvdbs.com)

UniBasic, at times really, does need a try/except statement.

Most modern programming languages have some variation on:

TRY
  stuff
  stuff
EXCEPT
  stuff
  stuff
ELSE
  stuff
  stuff
FINALLY

It should not be that difficult to implement; maybe a request to Rocket
might get it added to uniBasic?

djm


George Gallen-2 wrote:
 
 I want to setup a block of commands,  and be able to exit out of the block
 if needed.
 Right now I use a LOOP/REPEAT with an EXIT statement before the REPEAT.
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Does-UV-have-a-%22BLOCK%22-command-tp30867376p30868800.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Does UV have a BLOCK command

2011-02-07 Thread DavidJMurray (mvdbs.com)

Has anyone measured the overheads of the various methods of subroutine calls
within UniBasic?

Is it of significance?

djm


Kate Stanton wrote:
 
 Why not use a subroutine?  
 Personally, I like subroutines!
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Does-UV-have-a-%22BLOCK%22-command-tp30867376p30868821.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Does UV have a BLOCK command

2011-02-07 Thread DavidJMurray (mvdbs.com)

Dan,

Interesting stuff. How was the subroutine cataloged? At all?

Is there not a hierarchical system that UniBasic goes through attempting to
find the subroutine?

I would have thought the search would have taken significantly more effort
as it may have to read from multiple files; the current BP file, 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
 
 
 Sorry for the overkill :)
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Does-UV-have-a-%22BLOCK%22-command-tp30867376p30869331.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] A new DML?

2011-02-07 Thread DavidJMurray (mvdbs.com)

Have a look at Antler - http://www.antlr.org/ and
http://pragprog.com/titles/tpdsl/language-implementation-patterns

I have also looking into this as a method to extend UniBasic with a
pre-processor.

djm


slestak wrote:
 
 
 I think I will be tinkering with this soon.  I have to believe Intercall 
 should give the best perfomance available, since it is at the lowest
 level.
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Re%3A-UUID--was-Data-in-Dict--tp30772851p30869344.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] A new DML?

2011-02-05 Thread DavidJMurray (mvdbs.com)


Thanks for you kind comments.

Remember to comment any article that you find of value.

Cheers,

djm


slestak wrote:
 
 Thank You David!
 
 Nice blog.
 
 On Fri, Feb 4, 2011 at 11:10 PM, DavidJMurray (mvdbs.com)
 nab...@mvdbs.com wrote:


 Yes, it is possible to use intercall with Python using the ctypes module:

 http://mvdbs.com/2010/07/05/python-to-intercall/

 Cheers,

 djm


 slestak wrote:

 This might be a way to call the Intercall routines.

 http://docs.python.org/extending/extending.html

 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Re%3A-UUID--was-Data-in-Dict--tp30772851p30854045.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] A new DML?

2011-02-05 Thread DavidJMurray (mvdbs.com)

Jeff,

I have not tried ctypes etc on a 64-bit platform, but if SWIG had issues,
then I would not be surprised if ctypes also had some issues. Is there not a
64-bit intercall with 64-bit UniVerse?

djm
 

Jeffrey Butera wrote:
 
 On 2/4/2011 11:10 PM, DavidJMurray (mvdbs.com) wrote:
 Yes, it is possible to use intercall with Python using the ctypes module:
 http://mvdbs.com/2010/07/05/python-to-intercall/
 
 We previously attempted to use SWIG to get python to call InterCall, but 
 ran into issues with python (64 bit) and intercall (32 bit).  We didn't 
 want to completely reinstall python from source and compile as 32 bit.
 
 Does the ctypes module in python allow calling 32-bit intercall libs 
 from a 64-bit install of python?
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Re%3A-UUID--was-Data-in-Dict--tp30772851p30854198.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] A new DML?

2011-02-05 Thread DavidJMurray (mvdbs.com)


Fixed. Thanks for that.

djm



slestak wrote:
 
 

 http://mvdbs.com http://mvdbs.com
 I attempted to and got an error regarding the  wordpress captcha. Not 
 that I entered it incorrectly, just a wp malfunction.
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Re%3A-UUID--was-Data-in-Dict--tp30772851p30854926.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] A new DML?

2011-02-04 Thread DavidJMurray (mvdbs.com)


Yes, it is possible to use intercall with Python using the ctypes module:

http://mvdbs.com/2010/07/05/python-to-intercall/

Cheers,

djm


slestak wrote:
 
 This might be a way to call the Intercall routines.
 
 http://docs.python.org/extending/extending.html
 
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Re%3A-UUID--was-Data-in-Dict--tp30772851p30849962.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Universe Books?

2011-02-03 Thread DavidJMurray (mvdbs.com)


Since  no one else mentioned them, Rocket Software does have all the manuals
online as PDF's.

http://www.rocketsoftware.com/u2/resources/technical-resources

Cheers,

djm



-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Universe-Books--tp30840562p30840802.html
Sent from the U2 - Users mailing list archive at Nabble.com.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Free software licence

2010-10-18 Thread DavidJMurray (mvdbs.com)


Brian Leach wrote:
 
 All
 
  
 
 I've been planning for a while to release my system scanning tools
 (mvScan) as free/open software.
 
 
 
 Has anyone any insight to share on this?
 
 
 Confused
 
  
 Brian
 
 
 

This might be of interest - http://civiccommons.com/2010/10/roi-of-open/

Cheers,

David J Murray

-- 
View this message in context: 
http://old.nabble.com/Free-software-licence-tp29982865p29992624.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Stumped with TRANS...

2010-10-18 Thread DavidJMurray (mvdbs.com)



FFT2001 wrote:
 
 Has anyone done a timing test to compare a SUBR which uses a common
 section 
 to store an opened file variable
 
 vs a TRANS ?
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 

I did a simple timing and comparison test some time ago:

http://mvdbs.com/2006/01/25/timing-trans-and-read/
http://mvdbs.com/2006/01/25/timing-trans-and-read/ 

Cheers,

David J Murray


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Stumped-with-TRANS...-tp29910397p29995851.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Stumped with TRANS...

2010-10-18 Thread DavidJMurray (mvdbs.com)



phil walker-2 wrote:
 
 Universe does some caching around TRANS from memory. So if you want to
 only do lookups your results may indicate a good solution. However, for
 update it will not work, and depending on the number of files being
 accessed, you may find there are issues with the cache being
 rotated.
 
 
 

Yes, I also believe that there is file caching for the TRANS. I thought that
where was a UniVerse parameter for tuning the memory allocation etc.?

Like most things, the programming philosophy and techniques has to be
supported by the system settings.

As a side issue, there are also a series of routines within UniVerse itself
(no SB+) for doing file open caching - see 
http://mvdbs.com/2007/11/05/appprogs-open-tools/
http://mvdbs.com/2007/11/05/appprogs-open-tools/ 

Cheers,

David J Murray


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Stumped-with-TRANS...-tp29910397p29996275.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Stumped with TRANS...

2010-10-18 Thread DavidJMurray (mvdbs.com)


phil walker-2 wrote:
 
 The trouble with using common for things is when you get into
 client/server development. You cannot guarantee the common will be
 available to you.
 
 
 

Yes, it can get rather messy keeping track of individual user sessions when
a common background process(s) does the heavy lifting, but I thought that
THE 'RedBack' thingy did all that magic?

Or whatever it is now called - U2 WDE?

Cheers,

David J Murray


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Stumped-with-TRANS...-tp29910397p29996429.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users