[U2] Dynamic Array oddity very useful

2008-08-19 Thread Dennis Bartlett
Way back I was most impressed by the use of X=NOT(X) as a means of doing a toggle. Now I've found another wonder... Over on the jBase forum someone posted this: A = 'DEF' A2 = 'XYZ' A0 = 'XXX' A0 = 'ZZZ' CRT A When run gives XXX]ZZZ]DEF]XYZ So A0 = X is a way quicker way of writing A = X

Re: [U2] Uniobjects for Java

2008-08-19 Thread Adrian Merrall
Charles, PHP calls a method in a U2 object, which uses Uniobjects for Java to invoke a UniBasic Subroutine on our Unidata 7.1 redhat based server. Recently I have intermittently received the following error message. I haven't seen any replies on this so I'll take a guess (no harm in making a

Re: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Jeff Butera
On Tue, 19 Aug 2008, Dennis Bartlett wrote: A = 'DEF' A2 = 'XYZ' A0 = 'XXX' A0 = 'ZZZ' CRT A So A0 = X is a way quicker way of writing A = X : @fm : A This doesn't appear to work on Unidata (7.1.x). I get ZZZ XYZ Jeff Butera, Ph.D. Administrative Systems Hampshire College [EMAIL

Re: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Martin Phillips
Hi Dennis, So A0 = X is a way quicker way of writing A = X : @fm : A I'm not sure that this is a safe assumption. I have taken a quick look at the documentation for various mv products and they tend not to define what will happen. Trying your example with UV does not produce the result

RE: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Bjorn Behr
Dennis I agree with you, this work well in UniVerse, but I get ZZZ]XXX]DEF]XYZ as the ZZZ get's inserted last. Is this just a typo on your side? Bjorn Quote: When run gives XXX]ZZZ]DEF]XYZ Important Notice: This email is subject to important restrictions, qualifications and disclaimers (the

RE: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Louie Gouws
Hi Dennis On UniVerse the output is: ZZZ]XXX]DEF]XYZ Which makes more sense, since the A0 insert the value at the beginning After each step the result of A is as follows: A='DEF' DEF A2='XYZ' DEF]XYZ A0='XXX' XXX]DEF]XYZ A0='ZZZ' ZZZ]XXX]DEF]XYZ Louie Ps. Maybe

Re: [U2] Re: U2 Users Digest V1 #2326

2008-08-19 Thread Charles_Shaffer
That makes perfect sense. I am only handling UniSessionException and UniSubroutineException in the routine. If I am understanding correctly, I should add a catchall exception. Sort of a KitchenSinkException to account for other exceptions. Thanks a lot. Charles Shaffer Senior Analyst

Re: [U2] Uniobjects for Java

2008-08-19 Thread Charles_Shaffer
Adrian says In your code sample, the two possible uniobjects exceptions are being swallowed. It would be worth adding some log4j statements in there to at least log the stack trace and see. On this subject, something is wrapping the NoSuchNameException in a java.lang.Exception so the

[U2] Print to PDF

2008-08-19 Thread Amy Raisanen
We just got started building a web application and got stumped trying to create a pdf with the information the user has already provided us. How do we create a pdf and also create an auto filled pdf application/form? Are we going to need to purchase software? Universe 10.2.10, PICK Any

Re: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Mats Carlid
That is then flavour dependent - in information flavour there is a zero element , that's where the overflowing elements go ( if any) in a matparse. -- mats Martin Phillips skrev: Hi Dennis, So A0 = X is a way quicker way of writing A = X : @fm : A I'm not sure that this is a safe

RE: [U2] Print to PDF

2008-08-19 Thread Brutzman, Bill
Google iText. iText is a java-based tool for creating pdfs. --Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Amy Raisanen Sent: Tuesday, August 19, 2008 9:20 AM To: u2-users@listserver.u2ug.org Subject: [U2] Print to PDF We just got started

Re: [U2] Print to PDF

2008-08-19 Thread Bob Rasmussen
On Tue, 19 Aug 2008, Amy Raisanen wrote: We just got started building a web application and got stumped trying to create a pdf with the information the user has already provided us. How do we create a pdf and also create an auto filled pdf application/form? Are we going to need to purchase

RE: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Anthony Youngman
I think you're muddling dynamic and dimensioned arrays - a dynamic array can't have an element 0 :-) Sounds like somebody, when writing jBase, saw the feature of -1 and thought they'd be clever with 0. Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Martin Phillips
Hi Mats, Yes, a dimensioned array has a zero element in Information/Ideal/PIopen flavours but a dynamic array has no such element. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB +44-(0)1604-709200 --- u2-users mailing list

[U2] What Next?

2008-08-19 Thread Al DeWitt
For the last 14 years or so I have been doing programming support and light DBA work; first in Universe (Prime Information) and now in Unidata (Pick). I'm basically a one-trick pony (UniBasic and System Builder) because my goal has always been to move into a business analyst role, but that has

Re: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Mats Carlid
Anthony Youngman skrev: I think you're muddling dynamic and dimensioned arrays - a dynamic array can't have an element 0 :-) Blushing:yes I did. -- mats Sounds like somebody, when writing jBase, saw the feature of -1 and thought they'd be clever with 0. Cheers, Wol -Original

Re: [U2] What Next?

2008-08-19 Thread doug chanco
several suggestions: 1. datastage 2. .net (in particular asp.net/c#) 3. jBASE (in my opinion despite the fact its not as well used as U2, its got a good future (in my opinion)) 4. maybe some system admin stuff (in particular I love aix) dougc Al DeWitt wrote: For the last 14 years or so I

RE: [U2] What Next?

2008-08-19 Thread Brutzman, Bill
Consider becoming an assassin... 1. The pay is good. 2. The hours are flexible. 3. The target audience is very subdued. --Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Al DeWitt Sent: Tuesday, August 19, 2008 12:16 PM To:

RE: [U2] What Next?

2008-08-19 Thread Garry Smith
XML, XSD, XSLT and CSS Then wrap all that into a VB/C# .net application and if your brain doesn't explode from looking at all the MS API's then take on either Redback/U2 WDE or SQL Admin, SQL and SQL reporting. Does anyone know who Joe Celko is? Or counter grain - Linux, PHP, Ruby, and the

RE: [U2] What Next?

2008-08-19 Thread jpb-u2ug
From what I have seen and have read, Java or C#, if you want to stay in programming. Learn the .NET framework but I wouldn't bet on Microsoft supporting it for long. Seems they change what they will support every time they change their operating system. With Java you can program in everything from

Re: [U2] Unidata to Universe port

2008-08-19 Thread Doug Miller
I would stick to your core reason for a topic of discussion first before discussing all the differences and what's involved in migrating. We have had somewhat limited exposure trying to implement NLS for a few of our end users and were not successful in the past. The product may have been

[U2] SOAP in Unidata 6.1

2008-08-19 Thread Larry Hiscock
Does anyone have a working SOAP example in Unidata (UD 6.1) that they'd be willing to share? Preferably one that works with a free (or demo) webservice that I can use to test. I've done webservices before in .NET, but not in Unidata. The example in the manuals looks pretty simple, but doesn't

RE: [U2] Dynamic Array oddity very useful

2008-08-19 Thread Boydell, Stuart
[UV] However, there's no An,0 to insert an MV, it just overwrites the attribute. A2 = DEFvHIJ A2,0 = ZZZ CRT A ;*- aZZZ -Original Message- On UniVerse the output is: ZZZ]XXX]DEF]XYZ Which makes more sense, since the A0 insert the value at the beginning After each step the result of A

[U2] UniBasic Oddities

2008-08-19 Thread David A. Green
Since we're on the subject of UniBasic Oddities, I was wondering how many flavors support the following syntax like my 6.0 PE edition. A = One:@VM:Two PRINT A11, 2 This compiles and prints Two. David Green --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit

RE: [U2] UniBasic Oddities

2008-08-19 Thread Jef Lee
Our 10.1.11 does the same. In fact: A = One:@VM:Two PRINT A11,1 PRINT A11,2 PRINT A21,2 Produces One Two With the last line a blank output. It seems strange in a way, but logical. Jeffrey Lee Senior Analyst/Programmer IT Vision Australia Pty Ltd (ABN: 34 309 336 904) PO Box 881,

RE: [U2] UniBasic Oddities

2008-08-19 Thread Ray Wurlod
There is no field #2. Therefore A2 is . Therefore any value in it must be . - Original Message - From: Jef Lee [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org u2-users@listserver.u2ug.org Subject: RE: [U2] UniBasic Oddities Date: Wed, 20 Aug 2008 09:20:09 +0800 Our 10.1.11

Re: [U2] UniBasic Oddities

2008-08-19 Thread Ray Wurlod
VLIST it. All flavors of UniVerse should support it. - Original Message - From: David A. Green [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Subject: [U2] UniBasic Oddities Date: Tue, 19 Aug 2008 16:18:57 -0700 Since we're on the subject of UniBasic Oddities, I was