RE: [U2] Replication - Unidata
We have people using it. Not with RFS at the moment though. Which version are you running? As the latest 6.1 or or 7.1 releases are better options. Have you broken up your replication into multiple replication servers? What have IBM or your support provider advised on this? Robert This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] IBM U2 UniData ODBC sample working program
Angelo Do you mean ODBC from UniData (BCI) or into UniData (UniODBC?) For BCI, check the (new) knowledge base at: www.mvopen.org/kb/ There is an article on there Accessing SQL Data through BCI. This takes you through the steps and there is demo data/programs available. For ODBC, I have a similar article - but I can't post it yet! (I'm still waiting for the official publication before I'm allowed to do that). But if you email me offlist I can send you a copy. Brian After searching the archive and to no avail, I would like to know if anyone has a sample working program or (BCI.DEMO) working that could share a copy of it. Cheers, Angelo --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Summer Workshops
Brian I have at least 2 who would probably be interested in this, even more so it it featured RedBack to .net Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian Leach Sent: 02 June 2006 12:08 To: u2-users@listserver.u2ug.org; [EMAIL PROTECTED] Subject: [U2] Summer Workshops All I am proposing running a series of short, one day/half day summer workshops in the UK covering some of the new and recent additions to the U2 products, for those of us who cannot get to the IOD conference in the US. Example topics will include: - Creating and Consuming web services from U2 - Working with XML within U2 - Introduction to UniObjects.net If anyone on the list: - would be interested in attending - can suggest anyone else who might wish to attend - wishes to suggest other topics of interest please contact me off-list ([EMAIL PROTECTED]). I don't need firm commitments at this stage but I need to gauge the level of interest to see whether it is worth pursuing. The workshops will probably be held in the Oxford area (depending on numbers/interest etc) and there would be a small charge to cover expenses and room hire. It will also be a good opportunity to feed back comments to the U2UG board! Thanks, Brian --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] IBM U2 UniData ODBC sample working program
Bingo Brian, It's ODBC from UniData (BCI) and this document Accessing SQL Data through BCI looks' like it has what I need. Once I get a working sample program I will post it just so it will get documented in the list so it can be searched, Or maybe my search criteria UniData ODBC sample in the U2UG in http://www.u2ug.org/ and then cliked on Search the Site and Forum http://www.u2ug.org/index.php?name=Search was not enough? Cheers, Angelo Collazo System Administrator Silver Line Windows 800-234-4228 ext.4495 732-509-8820 fax -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Friday, June 02, 2006 4:12 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] IBM U2 UniData ODBC sample working program Angelo Do you mean ODBC from UniData (BCI) or into UniData (UniODBC?) For BCI, check the (new) knowledge base at: www.mvopen.org/kb/ There is an article on there Accessing SQL Data through BCI. This takes you through the steps and there is demo data/programs available. For ODBC, I have a similar article - but I can't post it yet! (I'm still waiting for the official publication before I'm allowed to do that). But if you email me offlist I can send you a copy. Brian After searching the archive and to no avail, I would like to know if anyone has a sample working program or (BCI.DEMO) working that could share a copy of it. Cheers, Angelo --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] interface into Unidata
Yes, we do it all the time. My preferred method: 1. Use a database trigger to write to a tickler file 2. Use a phantom process that reads from the tickler file 3. Do the update 4. Delete tickler record Of course in order for all this to happen you must be able to filter and format the data in an agreed format with the 3rd party software, using ftp or some other method of delivery, email notifications and exception reports. Thanks, David A. Green DAG Consulting (480) 813-1725 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brad Davis Sent: Thursday, June 01, 2006 9:44 AM To: u2-users@listserver.u2ug.org Subject: [U2] interface into Unidata Does any know how to write an agent to interface into Unidata, in order to interface all Unidata updates into a third party product. Thanks, Brad --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Universe Java Web Client
AM: This answer helps a lot. Thanks. --Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Adrian Merrall Sent: Thursday, June 01, 2006 6:10 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universe Java Web Client Bill, Did one trial app using the apache version of jsf (myfaces). Myfaces passes the jsf spec but has a lot of extended components to allow you to do more or easier stuff (Oracle are donating all their jsf work to the apache myfaces project). All the back end work in Myfaces/jsf is servlets so anything you can do with UOJ in any other servlet based framework you can do in jsf/myfaces which means the whole UOJ thing. Note that myfaces and jsf are looking seriously at ajax but because of the jsf model it will take them some work. Sun are pretty committed to both jsf and ajax and I listened to an interesting podcast yesterday on some of the stuff they are doing to integrate the two (go to javaposse.com and listen to podcast # 56). If you are just starting out and at the investigation/trial stage you should definitley also have a look at the new google web toolkit (code.google.com/webtoolkit). Very, very impressive. The host calls in gwt are also servlets so would also have no trouble using uoj. HTH Adrian Wendy Smoak is doing a lot of stuff with jsf/myfaces so If you are just starting out, On 6/1/06, Brutzman, Bill [EMAIL PROTECTED] wrote: Is anyone doing JSF (Java Server Faces), and/or AJAX, not using RedBack? --Bill --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] [UV] How can this be non-numeric?
Program TIP.LIST: Line 242, Nonnumeric data when numeric required. Zero used. It's got to be ANS that is nonnumeric, but how? Here's the code: 239: IF (ANS# AND ANS # B) THEN 240: IF ANS MATCHES '0N' THEN 241: IF ANS0 THEN 242: IF SCRATCHANS# THEN Could be the line number is not right, object source don't line up, but here's VLIST of same: 00239: IF (ANS# AND ANS # B) THEN 00239 00BD8 : 106 ne ANS = $R44 00239 00BE0 : 106 ne ANS B = $R46 00239 00BE8 : 008 and$R44 $R46 = $R48 00239 00BF0 : 2DE testfw $R48 00CB0: 00240: IF ANS MATCHES '0N' THEN 00240 00BF8 : 0E0 match ANS 0N = $R49 00240 00C00 : 2DE testfw $R49 00CA0: 00241:IF ANS0 THEN 00241 00C08 : 0A6 gt ANS 0 = $R50 00241 00C10 : 2DE testfw $R50 00C88: 00242: IF SCRATCHANS# THEN 00242 00C18 : 060 dyn_extractSCRATCH ANS 0 0 = $R51 00242 00C24 : 106 ne $R51 = $R52 00242 00C2C : 2DE testfw $R52 00C70: UV 10.0.16, HPUX TIA, Chuck Stevenson --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Unit testing and UniObjects for Java
On 5/8/06, Brian Leach [EMAIL PROTECTED] wrote: Wendy Sorry for the long answer, and some of this sounds like it may be too late, but you've hit a hobby horse of mine here ! (Wow, was it that long ago?) Anyway: Good stuff. :) This is another one of those posts we need to save. May I put the text on the Pick Wiki? But don't worry, you're not too late. What you described is more or less how I write my application code. Each file has a pair of S.A51.WRITE.FILENAME and S.A51.READ.FILENAME subroutines, etc. Probably no two of them have the same set of parameters, but we try. :) The question of unit testing UOJ comes from a different place: framework development. Ever since I discovered Spring JDBC, I've wanted... Spring UOJ. The Spring Framework uses the Template Method pattern (and unchecked exceptions) to turn the mess of try/catch and duplicate code you end up writing to do simple JDBC operations, into three or four lines. Likewise, [what may eventually become] Spring UOJ makes calling a subroutine look like this: UojTemplate ut = getUojTemplate(); //fill Object[] array of params ut.call( subroutineName, params ); However, there *is* a use case for a simple read without forcing people to write and catalog a subroutine. (Less so for a write, IMO.) So I wrote the 'read' method for the template... and discovered that the design of UOJ makes it *really* hard to unit test. Part of this is simple frustration with not having the source code, and not having the 'asjava.jar' file publicly available makes it hard to ask questions on other lists. (More on that later-- we need to get the UOJ jars into the public Maven repository on ibiblio, but I'm not sure what license they're under.) -- Wendy --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Duplicate Print Jobs
We've had this problem before. Had to set the buffer on the printer from 'Auto' to the maximum setting and all was well. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, June 02, 2006 11:41 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Duplicate Print Jobs quote who=Craig Bennett Karl, When we print very large jobs, either to HP laser printers with a JetDirect card, or to label printers, on a JetDirect print server, the job prints fine, then starts over. I've been thinking it might be a buffer overflow, but can't track it down. We have had similar issues due to a flaky network cables -- the jobs kept erroring and AIX would just restart the job. What platform are you on? perhaps it is your local queue config -- I would try sending a large job from an non-U2 source and see what happens. We are on AIX 5.2, but could set the printer up on a PC somewheres. How large a job? Do you know? One printer is dedicated to checks, so it may be tough to get a big enough job to test with, however that's not as bad as it is now. The other printer is a label printer and it's going to be a bear to trouble shoot. Our month-end jobs, which go to an Okidata 421 don't have any problems like this. They have different problems... Thanks, Karl Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- karl _/ _/ _/ _/_/_/ __o _/ _/ _/ _/_/ _-\._ _/_/_/ _/_/_/ (_)/ (_) _/ _/ _/ _/ .. _/ _/ arl _/_/_/ _/ earson[EMAIL PROTECTED] -- IT Director, ATS Industrial Supply, Inc. http://www.atsindustrial.com Toll-free: 800-789-9300 x29 Direct2Desk: 801-978-4429 Facsimile: 801-972-3888 -- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Universe Java Web Client
On 6/2/06, Brutzman, Bill [EMAIL PROTECTED] wrote: This answer helps a lot. Thanks. Okay, okay, so we're still curious what you want to do with Universe, JSF, and AJAX. :) One of the things on my really long list of things to do is a web front end for the 'demo' app that ships with UniData. And then to re-do it with different combinations of webapp frameworks and middleware. Lately I've been playing with Sun Java Studio Creator, which is an IDE for creating JSF apps. Hooking a JSF component up to a web service is trivial with Creator. I haven't come back around to see how far IBM has come with 'native' web services for UniData, though. I wasn't all that impressed with the plain old XML handling last time I looked. All in my spare time, of course... -- Wendy --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] How can this be non-numeric?
Usually the non-numeric in an array is something silly like a , - or a . as they will pass num() tests. However, in your case I would expect the matches '0N' to pick those up. It looks like ANS is user input. Any chance there are non-printable chars in there? Although I wouldn't expect them to pass through either. Maybe your UV version allows one of the above through??? Hth Colin Alfke Calgary Canada -Original Message- From: Stevenson, Charles Program TIP.LIST: Line 242, Nonnumeric data when numeric required. Zero used. It's got to be ANS that is nonnumeric, but how? Here's the code: 239: IF (ANS# AND ANS # B) THEN 240: IF ANS MATCHES '0N' THEN 241: IF ANS0 THEN 242: IF SCRATCHANS# THEN --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] How can this be non-numeric?
If ANS is a very long string of numeric characters it will cause this. It will pass the pattern match (and the other tests) because each digit is numeric, but as a whole it is not considered a number Iirc, you had another of these around a year ago but I don't recall the resolution -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stevenson, Charles Sent: 02 June 2006 17:31 To: u2-users@listserver.u2ug.org Subject: [U2] [UV] How can this be non-numeric? Program TIP.LIST: Line 242, Nonnumeric data when numeric required. Zero used. It's got to be ANS that is nonnumeric, but how? --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] How can this be non-numeric?
any includes? what was entered when the message rendered? On 6/2/06, Kevin King [EMAIL PROTECTED] wrote: That would be my guess, that the line number isn't right. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles Sent: Friday, June 02, 2006 10:31 AM To: u2-users@listserver.u2ug.org Subject: [U2] [UV] How can this be non-numeric? Program TIP.LIST: Line 242, Nonnumeric data when numeric required. Zero used. It's got to be ANS that is nonnumeric, but how? Here's the code: 239: IF (ANS# AND ANS # B) THEN 240: IF ANS MATCHES '0N' THEN 241: IF ANS0 THEN 242: IF SCRATCHANS# THEN Could be the line number is not right, object source don't line up, but here's VLIST of same: 00239: IF (ANS# AND ANS # B) THEN 00239 00BD8 : 106 ne ANS = $R44 00239 00BE0 : 106 ne ANS B = $R46 00239 00BE8 : 008 and$R44 $R46 = $R48 00239 00BF0 : 2DE testfw $R48 00CB0: 00240: IF ANS MATCHES '0N' THEN 00240 00BF8 : 0E0 match ANS 0N = $R49 00240 00C00 : 2DE testfw $R49 00CA0: 00241:IF ANS0 THEN 00241 00C08 : 0A6 gt ANS 0 = $R50 00241 00C10 : 2DE testfw $R50 00C88: 00242: IF SCRATCHANS# THEN 00242 00C18 : 060 dyn_extractSCRATCH ANS 0 0 = $R51 00242 00C24 : 106 ne $R51 = $R52 00242 00C2C : 2DE testfw $R52 00C70: UV 10.0.16, HPUX TIA, Chuck Stevenson --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- john --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] How can this be non-numeric?
We get this error when users enter 1.x or 1X or 2B, etc on code like that. Brenda -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King Sent: Friday, June 02, 2006 11:48 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] How can this be non-numeric? That would be my guess, that the line number isn't right. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles Sent: Friday, June 02, 2006 10:31 AM To: u2-users@listserver.u2ug.org Subject: [U2] [UV] How can this be non-numeric? Program TIP.LIST: Line 242, Nonnumeric data when numeric required. Zero used. It's got to be ANS that is nonnumeric, but how? Here's the code: 239: IF (ANS# AND ANS # B) THEN 240: IF ANS MATCHES '0N' THEN 241: IF ANS0 THEN 242: IF SCRATCHANS# THEN Could be the line number is not right, object source don't line up, but here's VLIST of same: 00239: IF (ANS# AND ANS # B) THEN 00239 00BD8 : 106 ne ANS = $R44 00239 00BE0 : 106 ne ANS B = $R46 00239 00BE8 : 008 and$R44 $R46 = $R48 00239 00BF0 : 2DE testfw $R48 00CB0: 00240: IF ANS MATCHES '0N' THEN 00240 00BF8 : 0E0 match ANS 0N = $R49 00240 00C00 : 2DE testfw $R49 00CA0: 00241:IF ANS0 THEN 00241 00C08 : 0A6 gt ANS 0 = $R50 00241 00C10 : 2DE testfw $R50 00C88: 00242: IF SCRATCHANS# THEN 00242 00C18 : 060 dyn_extractSCRATCH ANS 0 0 = $R51 00242 00C24 : 106 ne $R51 = $R52 00242 00C2C : 2DE testfw $R52 00C70: UV 10.0.16, HPUX TIA, Chuck Stevenson --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] How can this be non-numeric?
Stevenson, Charles wrote: Program TIP.LIST: Line 242, Nonnumeric data when numeric required. Zero used. It's got to be ANS that is nonnumeric, but how? Here's the code: 239: IF (ANS# AND ANS # B) THEN 240: IF ANS MATCHES '0N' THEN 241: IF ANS0 THEN 242: IF SCRATCHANS# THEN I'd want to know what the value of ANS actually is. Only thing I can think of off-hand is that ANS = +, maybe -, though I'm not sure if UV or various flavors consider those values greater than numeric zero. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] How can this be non-numeric?
I'm on Universe 10.1.11 and I execute the following code: INPUT ANS SCRATCH = 'HELLO' IF (ANS# AND ANS # B) THEN IF ANS MATCHES '0N' THEN IF ANS0 THEN IF SCRATCHANS# THEN PRINT SCRATCHANS END END END END STOP And if I enter 1.x or 1X or 2B for ANS the program runs fine without error. When I debug through it I see that all those inputs return a false from ANS MATCHES '0N'... must be a wrong line number or something, I'd get a debug in there and find out for sure! Pete -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brenda Price Sent: Friday, June 02, 2006 2:07 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] How can this be non-numeric? We get this error when users enter 1.x or 1X or 2B, etc on code like that. Brenda -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King Sent: Friday, June 02, 2006 11:48 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] How can this be non-numeric? That would be my guess, that the line number isn't right. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles Sent: Friday, June 02, 2006 10:31 AM To: u2-users@listserver.u2ug.org Subject: [U2] [UV] How can this be non-numeric? Program TIP.LIST: Line 242, Nonnumeric data when numeric required. Zero used. It's got to be ANS that is nonnumeric, but how? Here's the code: 239: IF (ANS# AND ANS # B) THEN 240: IF ANS MATCHES '0N' THEN 241: IF ANS0 THEN 242: IF SCRATCHANS# THEN Could be the line number is not right, object source don't line up, but here's VLIST of same: 00239: IF (ANS# AND ANS # B) THEN 00239 00BD8 : 106 ne ANS = $R44 00239 00BE0 : 106 ne ANS B = $R46 00239 00BE8 : 008 and$R44 $R46 = $R48 00239 00BF0 : 2DE testfw $R48 00CB0: 00240: IF ANS MATCHES '0N' THEN 00240 00BF8 : 0E0 match ANS 0N = $R49 00240 00C00 : 2DE testfw $R49 00CA0: 00241:IF ANS0 THEN 00241 00C08 : 0A6 gt ANS 0 = $R50 00241 00C10 : 2DE testfw $R50 00C88: 00242: IF SCRATCHANS# THEN 00242 00C18 : 060 dyn_extractSCRATCH ANS 0 0 = $R51 00242 00C24 : 106 ne $R51 = $R52 00242 00C2C : 2DE testfw $R52 00C70: UV 10.0.16, HPUX TIA, Chuck Stevenson --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] How can this be non-numeric?
fei: Aix 5.3. Uv 10.1.12 ANS='0+' or ANS='0++' Both will match '0N'. And ANS is 0. And you'll get the non-numeric for the extraction. But IF NUM(ANS) will fail. As to why anyone would type in 0+ rog Tony Gravagno wrote: Stevenson, Charles wrote: Program TIP.LIST: Line 242, Nonnumeric data when numeric required. Zero used. It's got to be ANS that is nonnumeric, but how? Here's the code: 239: IF (ANS# AND ANS # B) THEN 240: IF ANS MATCHES '0N' THEN 241: IF ANS0 THEN 242: IF SCRATCHANS# THEN I'd want to know what the value of ANS actually is. Only thing I can think of off-hand is that ANS = +, maybe -, though I'm not sure if UV or various flavors consider those values greater than numeric zero. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] How can this be non-numeric?
This little program brought a couple of interesting matches out: FOR N = 0 TO 255 X = CHAR(N) IF X MATCHES '0N' THEN CRT N: matches NEXT N On UD (5.1.27 and 6.0.12) char(0) and char(253) are valid numbers. Colin Alfke Calgary Canada -Original Message- From: Stevenson, Charles Program TIP.LIST: Line 242, Nonnumeric data when numeric required. Zero used. It's got to be ANS that is nonnumeric, but how? Here's the code: 239: IF (ANS# AND ANS # B) THEN 240: IF ANS MATCHES '0N' THEN 241: IF ANS0 THEN 242: IF SCRATCHANS# THEN --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] IBM U2 UniData ODBC sample working program
Angelo - I have lots - i will send one on to you off list if that is ok Symeon. On 02/06/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Angelo Do you mean ODBC from UniData (BCI) or into UniData (UniODBC?) For BCI, check the (new) knowledge base at: www.mvopen.org/kb/ There is an article on there Accessing SQL Data through BCI. This takes you through the steps and there is demo data/programs available. For ODBC, I have a similar article - but I can't post it yet! (I'm still waiting for the official publication before I'm allowed to do that). But if you email me offlist I can send you a copy. Brian After searching the archive and to no avail, I would like to know if anyone has a sample working program or (BCI.DEMO) working that could share a copy of it. Cheers, Angelo --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] How can this be non-numeric?
Could pattern matching be affecting the outcome? Pattern Description 0X or ... Any number of characters, including no characters. nX n number of any character. 0A Any number of alphabetic characters, including none. nA n number of alphabetic characters. n-mA n to m number of alphabetic characters. n-mX n to m number of any characters. 0N Any number of numeric characters, including none. nN n number of numeric characters. n-mN n to m number of numeric characters. textExact text. Text must be enclosed in quotation marks. Ron Sharcott (3635) -Original Message- From: Peter Veenhof [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 12:00 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] How can this be non-numeric? I'm on Universe 10.1.11 and I execute the following code: INPUT ANS SCRATCH = 'HELLO' IF (ANS# AND ANS # B) THEN IF ANS MATCHES '0N' THEN IF ANS0 THEN IF SCRATCHANS# THEN PRINT SCRATCHANS END END END END STOP And if I enter 1.x or 1X or 2B for ANS the program runs fine without error. When I debug through it I see that all those inputs return a false from ANS MATCHES '0N'... must be a wrong line number or something, I'd get a debug in there and find out for sure! Pete -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brenda Price Sent: Friday, June 02, 2006 2:07 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] How can this be non-numeric? We get this error when users enter 1.x or 1X or 2B, etc on code like that. Brenda -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King Sent: Friday, June 02, 2006 11:48 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] How can this be non-numeric? That would be my guess, that the line number isn't right. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles Sent: Friday, June 02, 2006 10:31 AM To: u2-users@listserver.u2ug.org Subject: [U2] [UV] How can this be non-numeric? Program TIP.LIST: Line 242, Nonnumeric data when numeric required. Zero used. It's got to be ANS that is nonnumeric, but how? Here's the code: 239: IF (ANS# AND ANS # B) THEN 240: IF ANS MATCHES '0N' THEN 241: IF ANS0 THEN 242: IF SCRATCHANS# THEN Could be the line number is not right, object source don't line up, but here's VLIST of same: 00239: IF (ANS# AND ANS # B) THEN 00239 00BD8 : 106 ne ANS = $R44 00239 00BE0 : 106 ne ANS B = $R46 00239 00BE8 : 008 and$R44 $R46 = $R48 00239 00BF0 : 2DE testfw $R48 00CB0: 00240: IF ANS MATCHES '0N' THEN 00240 00BF8 : 0E0 match ANS 0N = $R49 00240 00C00 : 2DE testfw $R49 00CA0: 00241:IF ANS0 THEN 00241 00C08 : 0A6 gt ANS 0 = $R50 00241 00C10 : 2DE testfw $R50 00C88: 00242: IF SCRATCHANS# THEN 00242 00C18 : 060 dyn_extractSCRATCH ANS 0 0 = $R51 00242 00C24 : 106 ne $R51 = $R52 00242 00C2C : 2DE testfw $R52 00C70: UV 10.0.16, HPUX TIA, Chuck Stevenson --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Universe Java Web Client
On 5/31/06, Brutzman, Bill [EMAIL PROTECTED] wrote: Is anyone doing JSF (Java Server Faces), and/or AJAX, not using RedBack? Yes. The question was so vague that I'm tempted to leave it at that. ;) Honestly I'm happier in the 'Action Framework' world (Struts, WebWork) than with JSF, but I have a foot in both camps. I'm really not sure what you're asking, because your JSF application code (whether or not it's using AJAX) should be well insulated from any details about where the data is coming from. -- Wendy --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] How can this be non-numeric?
I had the same thought, but the only thing that will match a '0N' pattern is an empty string () or a string of 1 or more numeric digits (0-9). The should have been handled by the first IF -- IF (ANS# AND ANS # B) THEN ... Larry Hiscock Western Computer Services http://www.wcs-corp.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Sharcott Sent: Friday, June 02, 2006 1:03 PM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] [UV] How can this be non-numeric? Could pattern matching be affecting the outcome? Pattern Description 0X or ... Any number of characters, including no characters. nX n number of any character. 0A Any number of alphabetic characters, including none. nA n number of alphabetic characters. n-mA n to m number of alphabetic characters. n-mX n to m number of any characters. 0N Any number of numeric characters, including none. nN n number of numeric characters. n-mN n to m number of numeric characters. textExact text. Text must be enclosed in quotation marks. Ron Sharcott (3635) -Original Message- From: Peter Veenhof [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 12:00 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] How can this be non-numeric? I'm on Universe 10.1.11 and I execute the following code: INPUT ANS SCRATCH = 'HELLO' IF (ANS# AND ANS # B) THEN IF ANS MATCHES '0N' THEN IF ANS0 THEN IF SCRATCHANS# THEN PRINT SCRATCHANS END END END END STOP And if I enter 1.x or 1X or 2B for ANS the program runs fine without error. When I debug through it I see that all those inputs return a false from ANS MATCHES '0N'... must be a wrong line number or something, I'd get a debug in there and find out for sure! Pete -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brenda Price Sent: Friday, June 02, 2006 2:07 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] How can this be non-numeric? We get this error when users enter 1.x or 1X or 2B, etc on code like that. Brenda -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King Sent: Friday, June 02, 2006 11:48 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] How can this be non-numeric? That would be my guess, that the line number isn't right. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles Sent: Friday, June 02, 2006 10:31 AM To: u2-users@listserver.u2ug.org Subject: [U2] [UV] How can this be non-numeric? Program TIP.LIST: Line 242, Nonnumeric data when numeric required. Zero used. It's got to be ANS that is nonnumeric, but how? Here's the code: 239: IF (ANS# AND ANS # B) THEN 240: IF ANS MATCHES '0N' THEN 241: IF ANS0 THEN 242: IF SCRATCHANS# THEN Could be the line number is not right, object source don't line up, but here's VLIST of same: 00239: IF (ANS# AND ANS # B) THEN 00239 00BD8 : 106 ne ANS = $R44 00239 00BE0 : 106 ne ANS B = $R46 00239 00BE8 : 008 and$R44 $R46 = $R48 00239 00BF0 : 2DE testfw $R48 00CB0: 00240: IF ANS MATCHES '0N' THEN 00240 00BF8 : 0E0 match ANS 0N = $R49 00240 00C00 : 2DE testfw $R49 00CA0: 00241:IF ANS0 THEN 00241 00C08 : 0A6 gt ANS 0 = $R50 00241 00C10 : 2DE testfw $R50 00C88: 00242: IF SCRATCHANS# THEN 00242 00C18 : 060 dyn_extractSCRATCH ANS 0 0 = $R51 00242 00C24 : 106 ne $R51 = $R52 00242 00C2C : 2DE testfw $R52 00C70: UV 10.0.16, HPUX TIA, Chuck Stevenson --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] How can this be non-numeric?
I think Piers Angliss nailed it (once again): If ANS is a very long string of numeric characters it will cause this. It will pass the pattern match (and the other tests) because each digit is numeric, but as a whole it is not considered a number I tested it and that will cause the error. Furthermore, I have had a similar rash of errors lately where a few users must have asticky keyboard or something. Their ANS gets sometimes get tested as a file id, errors out because 256 character limit. So this one would be consistent with that. Iirc, you had another of these around a year ago but I don't recall the resolution Yes, it was similar and I believe you solved that one for me, too, Piers. I think it involved numeric strings with spaces in it passing the NUM( ) test, but failing when actually used as a number. I tried to look it up on the list archive, but the search is down. By the way, that bug was in a sister program to this one. _ Let me respond to the other suggestions. Some overlapped I think I cover averything here. And thank-you to those who answered. _ It looks like ANS is user input. yes Any chance there are non-printable chars in there? yes Although I wouldn't expect them to pass through either. Maybe your UV version allows one of the above through??? I don't think so. _ We get this error when users enter 1.x or 1X or 2B, etc on code like that. won't pass the MATCHES '0N' test. _ That would be my guess, that the line number isn't right. I *think* if source and object line up with VLIST, the line numbers are ok. Has anyone seen otherwise. _ any includes? 1. but I think it's clean. Nested includes and comments at the end of an INCLUDE line have been known to mess up line numbers. E.g.: INCLUDE PGMS ABC.H ;* this goofs up line counts But I don't know if that's still true at 10.0. _ what was entered when the message rendered? don't know. I caught this after the fact in uv/errlog. _ Only thing I can think of off-hand is that ANS = +, maybe -, though I'm not sure if UV or various flavors consider those values greater than numeric zero. Nope. I tested to be sure. They don't pass MATCHES '0N' test. _ fei: Aix 5.3. Uv 10.1.12 ANS='0+' or ANS='0++' Both will match '0N'. And ANS is 0. And you'll get the non-numeric for the extraction. YEOW! I tested this. and it's ok for me on 10.0.16, HPUX. Sounds like you've got a bug to report! _ On UD (5.1.27 and 6.0.12) char(0) and char(253) are valid numbers. tested. not a problem here. ___ Thanks again, everyone. Chuck Stevenson --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Universe Java Web Client
We here need a new religion for GUI apps. Right now we are green-screen with mostly Dynamic Connect and a little wIntegrate. Because our back-end is HP-Ux, and .Net apps are not supported on a Unix drive, a Microsoft solution is not viable. We would not want an intermediary Microsoft server (which could fail) between PC clients and host. Thus, Java. While Swing is tempting, Swing is rich without reach. We do not want to have to someday re-write Swing apps to be browser compatible for remote access. While I am encouraged by DE, RedBack, SB+, Adobe-Flex, and an abundance of third-party tools, for us these products are pricey. The pack seems to be narrowing to u2Logic and JSF. The comments from people on this list have been a big help and are much appreciated. Regards, --Bill Because we host UniVerse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Wendy Smoak Sent: Friday, June 02, 2006 1:27 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universe Java Web Client On 6/2/06, Brutzman, Bill [EMAIL PROTECTED] wrote: This answer helps a lot. Thanks. Okay, okay, so we're still curious what you want to do with Universe, JSF, and AJAX. :) One of the things on my really long list of things to do is a web front end for the 'demo' app that ships with UniData. And then to re-do it with different combinations of webapp frameworks and middleware. Lately I've been playing with Sun Java Studio Creator, which is an IDE for creating JSF apps. Hooking a JSF component up to a web service is trivial with Creator. I haven't come back around to see how far IBM has come with 'native' web services for UniData, though. I wasn't all that impressed with the plain old XML handling last time I looked. All in my spare time, of course... -- Wendy --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Universe Java Web Client
The U2Logic AJAX approach seems especially interesting. I haven't downloaded their tools and put them through the paces but I've seen it work. Personally, I've fallen head over heels in love with .Net and the Micro$oft integration and power but the rapid response and connectivity of AJAX type tools coupled with the price is definitely worth exploring IMO. There's still Uniobjects out there too at that magic price point of $0. Good Luck in your search. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill Sent: Friday, June 02, 2006 7:56 PM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] Universe Java Web Client We here need a new religion for GUI apps. Right now we are green-screen with mostly Dynamic Connect and a little wIntegrate. Because our back-end is HP-Ux, and .Net apps are not supported on a Unix drive, a Microsoft solution is not viable. We would not want an intermediary Microsoft server (which could fail) between PC clients and host. Thus, Java. While Swing is tempting, Swing is rich without reach. We do not want to have to someday re-write Swing apps to be browser compatible for remote access. While I am encouraged by DE, RedBack, SB+, Adobe-Flex, and an abundance of third-party tools, for us these products are pricey. The pack seems to be narrowing to u2Logic and JSF. The comments from people on this list have been a big help and are much appreciated. Regards, --Bill Because we host UniVerse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Wendy Smoak Sent: Friday, June 02, 2006 1:27 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Universe Java Web Client On 6/2/06, Brutzman, Bill [EMAIL PROTECTED] wrote: This answer helps a lot. Thanks. Okay, okay, so we're still curious what you want to do with Universe, JSF, and AJAX. :) One of the things on my really long list of things to do is a web front end for the 'demo' app that ships with UniData. And then to re-do it with different combinations of webapp frameworks and middleware. Lately I've been playing with Sun Java Studio Creator, which is an IDE for creating JSF apps. Hooking a JSF component up to a web service is trivial with Creator. I haven't come back around to see how far IBM has come with 'native' web services for UniData, though. I wasn't all that impressed with the plain old XML handling last time I looked. All in my spare time, of course... -- Wendy --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Universe Java Web Client
Wendy Smoak wrote: Brutzman, Bill wrote: Is anyone doing JSF (Java Server Faces), and/or AJAX, not using RedBack? Yes. The question was so vague that I'm tempted to leave it at that. ;) I'm really not sure what you're asking, because your JSF application code (whether or not it's using AJAX) should be well insulated from any details about where the data is coming from. I agree with Wendy's last paragraph. I just wrote a blog entry in response to this request about Java, JSF, Ajax, RedBack, insulation of code, etc. I hope some people find it useful: http:// remove this anti-spam textNebula-RnD.com/blog/tech/2006/06/mvc.html Of course you're welcome to have a look around the rest of the blog, register if you want, I'll let you know when I post new entries if you like, otherwise you won't hear from me. Tony Gravagno Nebula RD TG@ removethisNebula-RnD.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Universe Java Web Client
Bill Brutzman wrote: We here need a new religion for GUI apps. Right now we are green-screen with mostly Dynamic Connect and a little wIntegrate. Because our back-end is HP-Ux, and .Net apps are not supported on a Unix drive, a Microsoft solution is not viable. Have a gander at a blog article I wrote on the topic of Linux and .NET: http:// removethisNebula-RnD.com/blog/tech/2006 It's about half-way down the page. We would not want an intermediary Microsoft server (which could fail) between PC clients and host. I won't contest your choices but I think it's funny that you're not selecting a Microsoft server because it might fail. In my experience any box is subject to fail regardless of the OS, chips, or anything else in it. :) Thus, Java. While Swing is tempting, Swing is rich without reach. We do not want to have to someday re-write Swing apps to be browser compatible for remote access. While I am encouraged by DE, RedBack, SB+, Adobe-Flex, and an abundance of third-party tools, for us these products are pricey. Are you considering the session pooling aspects of these products? Depending on how you write your app you can get as good as 100 users to one license or as not so good as one user per license. And these pricey products? In very rough numbers for some of these you can purchase for anywhere from $150 to $300 per user license, and with yearly support fees of about $50-60. Have a look at another blog entry to help determine how many licenses you might really need, and that might prompt some new discussion about just how pricey tools might be: It's the same page as above, article titled How many licenses do I need? The pack seems to be narrowing to u2Logic and JSF. I saw a posting yesterday that XLr8 for Eclipse was free. Then I read on their website that it's free to XLr8 users under current maintenance agreements. As I understand it XLr8 runs over RedBack. So buying XLr8 means buying RedBack plus the development tool plus session licenses - if you're concerned about pricey you really need to take another look at the numbers for the various products in this industry. Per the u2Logic web page, XLr8 runs on Microsoft's IIS (Ver. 5 or 6) using ASP programs for the front end but that conflicts with your pre-requisite for not running on a Microsoft server. DesignBais uses the exact same technology, costs less for the base product, and doesn't need the additional (pricey) RedBack to provide session management. If any of these points are causing you to reconsider your options, please feel free to drop me a note and we can talk about what's available in this market and how various products may or may not suit your needs. HTH Tony TG@ removethisNebula-RnD.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Universe Java Web Client
Comments interspersed... From: Tony Gravagno [EMAIL PROTECTED] Reply-To: u2-users@listserver.u2ug.org To: u2-users@listserver.u2ug.org Subject: RE: [U2] Universe Java Web Client Date: Fri, 2 Jun 2006 19:27:13 -0700 The pack seems to be narrowing to u2Logic and JSF. I saw a posting yesterday that XLr8 for Eclipse was free. Then I read on their website that it's free to XLr8 users under current maintenance agreements. As I understand it XLr8 runs over RedBack. So buying XLr8 means buying RedBack plus the development tool plus session licenses - if you're concerned about pricey you really need to take another look at the numbers for the various products in this industry. XLr8 for Eclipse is free and no longer requires RedBack. The Web site has been updated to that fact. Therefore, there is no tool cost, no session license cost, and no charge per Web transaction as other products are charging. Per the u2Logic web page, XLr8 runs on Microsoft's IIS (Ver. 5 or 6) using ASP programs for the front end but that conflicts with your pre-requisite for not running on a Microsoft server. DesignBais uses the exact same technology, costs less for the base product, and doesn't need the additional (pricey) RedBack to provide session management. If any of these points are causing you to reconsider your options, please feel free to drop me a note and we can talk about what's available in this market and how various products may or may not suit your needs. XLr8 can run under IIS or Apache Tomcat, producing HTML/JavaScript code that is not rendered on the fly by IIS or Tomcat making it 3 to 7 times faster than anything out in the U2 market. Reading, writing, deleting, and subroutine calls are handled by AJAX and are fast or faster than telnet screens. But unlike DesignBais, which you represent by the way, this product can be modified, enhanced, added to by anything you find on the internet. The code produced by XLr8 is open and runs on either IE or Firefox. Again, something DesignBais has not been able to say. So how does U2logic do it. Well, if you have been using our free U2Editor since December of last year you would know. On June 23rd when we release this product, Tony, you too will see what XLr8 developers have know for a long time: U2logic produces quality products, that are affordable and are bring U2 developers into the modern age. Doug Averch President www.u2logic.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/