RE: [U2] UV - Tracking file writes Unclassified}
If all you want is counts, you can enable collection of file statistics using FILE.USAGE.CLEAR command. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Universe/NT Rel. 10.0.10: How to run a program written and compiled in one flavor in another flavor?
Dave, Brian, all, I get around the problem of the SELECT and COPY syntax differences by making a copy of the pick-flavored verbs (some platforms already have them) and I always execute COPYP and SELECTP and SSELECTP in my BASIC EXECUTE statements. Likewise you could create COPYI that is always the prime flavored even in a pick-flavored-account and then your hard-code can execute prime copy syntax -- which, granted, is easier to execute from within a basic program because its all on one command line rather than hitting return and responding to a prompt... I have to get even trickier in SB+ -- which will not officially run in Prime and Reality flavored accounts. I can't get to their source code to control the verb, so I continuously swap-out the verb in before-and-after routines. And of course I avoid using SB+ for selections when I can. But F3 lookups are so fantastic and I'm loathe to reinvent them. So I swap out the verb when I have to. Yes, it's risky -- there could be a failure by another process executing SELECT at the same moment. But -- I minimize when I use it and I've been lucky. I've proposed (for years) to IBM that SB+ create the P verbs as part of the SB-enablement of an account and then change all the source code to execute those P-verbs at all times. It's a simple fix, has no downside and then voila! SB+ runs in all flavors. But I digress. (and fantasize that if anyone else thinks this is an issue perhaps they'll put their own weight behind my request.) :) Susan -- Date: Mon, 10 Jul 2006 10:52:28 +0100 From: Brian Leach [EMAIL PROTECTED] Subject: RE: [U2] Universe/NT Rel. 10.0.10: How to run a program written and compiled in one flavor in another flavor? Dave The program flavor and $OPTIONS statement dictate the way the program is compiled: determining the specific object code generated. Which means that the BASIC code itself will run the same, regardless of the flavor of the account in which is runs. What won't work the same, of course, are flavor-dependent differences in any commands that you execute. For some commands, the simplest option is to create and execute your own synonyms by copying them from the appropriate flavor VOC. So for HUSH you might substitute the PICK flavor HUSH and call it PICK.HUSH. In a couple of places these are already provided: the COPY command has COPYI and COPYP versions in the VOC. Some aren't, e.g. CREATE.FILE has totally different syntax depending on flavor. It's the words 'any other flavor' that stand out. The main thing to catch you out is the differences in the enquiry syntax between PICK-like and INFORMATION-like flavors. Avoid using metacharacters on selections (SURNAME = SMITH]) and use LIKE instead (works across flavors), and ensure that you use double quotation marks around literals. Brian --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UODOTNET.DLL
Hello, Anyone here know what causes this error ? System.IndexOutOfRangeException: Index was outside the bounds of the array. at IBMU2.UODOTNET.UniRPCPMessage.ReadHeaderLength() at IBMU2.UODOTNET.UniRPCPMessage.Receive(BinaryReader aDataIn) at IBMU2.UODOTNET.UniRPCConnection.ReadPacketInternal() at IBMU2.UODOTNET.UniRPCConnection.Call(Byte anEncryptionType) at IBMU2.UODOTNET.UniSubroutine.Call() The System.IndexOutOfRangeException: Index was outside the bounds of the array error, when it happens is difficult to get rid of. We sometimes stop and restart the unirpc daemon and it sometimes goes away. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Universe/NT Rel. 10.0.10: How to run a program written and compiled in one flavor in another flavor?
Susan, Better Better, the U2UG committee tasked with bringing good ideas to IBM will be holding a Birds of a Feather session at the IOD. Since you'll be speaking (twice!) at the IOD Conference, stop by and raise the issue. IBM has assured us that if BB brings something up, it will be considered. -- Charles Barouch [EMAIL PROTECTED] - Consulting [EMAIL PROTECTED] - ETL/Migration/Integration (718) 762-3884x1 Susan Joslyn wrote: | Dave, Brian, all, | | I get around the problem of the SELECT and COPY syntax differences by | making | a copy of the pick-flavored verbs (some platforms already have them) and I | always execute COPYP and SELECTP and SSELECTP in my BASIC EXECUTE | statements. Likewise you could create COPYI that is always the prime | flavored even in a pick-flavored-account and then your hard-code can | execute prime copy syntax -- which, granted, is easier to execute from | within a basic program because its all on one command line rather than | hitting return and responding to a prompt... | | I have to get even trickier in SB+ -- which will not officially run in | Prime and Reality flavored accounts. I can't get to their source code to | control the verb, so I continuously swap-out the verb in before-and-after | routines. And of course I avoid using SB+ for selections when I can. But | F3 lookups are so fantastic and I'm loathe to reinvent them. So I swap | out | the verb when I have to. Yes, it's risky -- there could be a failure by | another process executing SELECT at the same moment. But -- I minimize | when | I use it and I've been lucky. | | I've proposed (for years) to IBM that SB+ create the P verbs as part of | the SB-enablement of an account and then change all the source code to | execute those P-verbs at all times. It's a simple fix, has no downside | and | then voila! SB+ runs in all flavors. But I digress. (and fantasize that | if | anyone else thinks this is an issue perhaps they'll put their own weight | behind my request.) :) | | Susan | | | -- | | Date: Mon, 10 Jul 2006 10:52:28 +0100 | From: Brian Leach [EMAIL PROTECTED] | Subject: RE: [U2] Universe/NT Rel. 10.0.10: How to run a program written | and | compiled in one flavor in another flavor? | | Dave | | The program flavor and $OPTIONS statement dictate the way the program is | compiled: determining the specific object code generated. Which means that | the BASIC code itself will run the same, regardless of the flavor of the | account in which is runs. What won't work the same, of course, are | flavor-dependent differences in any commands that you execute. | | For some commands, the simplest option is to create and execute your own | synonyms by copying them from the appropriate flavor VOC. So for HUSH you | might substitute the PICK flavor HUSH and call it PICK.HUSH. In a couple | of | places these are already provided: the COPY command has COPYI and COPYP | versions in the VOC. Some aren't, e.g. CREATE.FILE has totally different | syntax depending on flavor. | | It's the words 'any other flavor' that stand out. The main thing to catch | you out is the differences in the enquiry syntax between PICK-like and | INFORMATION-like flavors. Avoid using metacharacters on selections | (SURNAME | = SMITH]) and use LIKE instead (works across flavors), and ensure that | you | use double quotation marks around literals. | | Brian | --- | 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] ODBC to Open Office
Albert I believe OpenOffice uses JDBC for this. I had a play with it a while back (well over a year) but didn't really get anywhere as I was not familiar enough with OpenOffice configuration in this area and found the OpenOffice documentation at the time poor at best. If I find some time I'll take another look (possible - but not very I admit)- or if anyone has had any success I'd be interested as well. Regards JayJay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Al DeWitt Sent: 12 July 2006 20:32 To: u2-users@listserver.u2ug.org Subject: [U2] ODBC to Open Office We are running UniData 6.0.12. We currently have ODBC and use it to import data into Excel. We are thinking of migrating to Open Office's Calc. What ODBC driver do I need to do this with? Anybody have any instructions? Thanks Albert L. DeWitt Jr. Senior Programmer Analyst Stylmark, Inc. (V) 763-574-8705 (F) 763-574-1052 [EMAIL PROTECTED] --- 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] UODOTNET.DLL
Jacques Is there any chance you are passing a null reference to/from the call? I've seen various errors if one of the subroutine arguments is never assigned. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacques G. Sent: 13 July 2006 16:53 To: u2-users@listserver.u2ug.org Subject: Re: [U2] UODOTNET.DLL Hello, Anyone here know what causes this error ? System.IndexOutOfRangeException: Index was outside the bounds of the array. at IBMU2.UODOTNET.UniRPCPMessage.ReadHeaderLength() at IBMU2.UODOTNET.UniRPCPMessage.Receive(BinaryReader aDataIn) at IBMU2.UODOTNET.UniRPCConnection.ReadPacketInternal() at IBMU2.UODOTNET.UniRPCConnection.Call(Byte anEncryptionType) at IBMU2.UODOTNET.UniSubroutine.Call() The System.IndexOutOfRangeException: Index was outside the bounds of the array error, when it happens is difficult to get rid of. We sometimes stop and restart the unirpc daemon and it sometimes goes away. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- 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] asymmetric encyption
Hi, has anyone got some implementation in PICK (UVI, U2, JBASE) BASIC (or somethig similar) of asymmetric encryption algorithm (public-key encryption)? i.e. RSA? I'll be gracefull:-) L --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UODOTNET.DLL
I'm using a program I used to test all of my web services on a different server yesterday. On this new server all I changed was the server address, the login password and UV account. For passing the parameters, I use my test XML files which contain the neccessary information. On this particular server all of the web services are giving me the same error message. --- Brian Leach [EMAIL PROTECTED] wrote: Jacques Is there any chance you are passing a null reference to/from the call? I've seen various errors if one of the subroutine arguments is never assigned. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacques G. Sent: 13 July 2006 16:53 To: u2-users@listserver.u2ug.org Subject: Re: [U2] UODOTNET.DLL Hello, Anyone here know what causes this error ? System.IndexOutOfRangeException: Index was outside the bounds of the array. at IBMU2.UODOTNET.UniRPCPMessage.ReadHeaderLength() at IBMU2.UODOTNET.UniRPCPMessage.Receive(BinaryReader aDataIn) at IBMU2.UODOTNET.UniRPCConnection.ReadPacketInternal() at IBMU2.UODOTNET.UniRPCConnection.Call(Byte anEncryptionType) at IBMU2.UODOTNET.UniSubroutine.Call() The System.IndexOutOfRangeException: Index was outside the bounds of the array error, when it happens is difficult to get rid of. We sometimes stop and restart the unirpc daemon and it sometimes goes away. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- 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/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/