Re: [U2] [UV] Messing with file triggers and error 30107

2014-04-08 Thread Jacques G.
Hello, If the program being called by the trigger is catalogued globally and that program was changed by an installation, you need to drop the trigger and re-add it otherwise it will fail when the trigger is called. From: Peter Cheney To: U2 Users List Se

Re: [U2] [UV] Do you avoid TRIGGERS because of the difficulty using DEBUG or RAID with them? Was: Universe Triggers

2013-08-02 Thread Jacques G.
Trigger are useful to find programs that update files incorrectly.   When this happens,  I create a trigger that will create a sequential file with the content of SYSTEM(9001) on Universe in order to identify the chain of calling programs. From: "Hona, David

[U2] [UV] and the Hebrew character set

2013-07-20 Thread Jacques G.
?  (Must dictionnary elements be changed from left justified to right justified ?) Jacques G. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] [UV] XDOMOpen returning -1

2013-03-20 Thread Jacques G.
Hello, On a new installation of UV I'm the following command returns a -1: XDOMOpen( xmlData, XML.FROM.STRING, hDOM ) Any idea what causes this ?  I encountered the same error 5-6 years ago but forgot how it was originally solved.  Can it be due to insufficient memory ? Jacq

Re: [U2] [U2[UV] @TIME and TIME() not reliable

2012-09-10 Thread Jacques G.
t;MTS") We have a setup for temporary locks that expire after a given time these temporary locks were being created as already expired.  It's a problem when a server can't determine the correct internal time. Thanks Jacques G. ___ U2-U

[U2] [UV] Using Global sign certificates in UV

2012-06-04 Thread Jacques G.
Hello, The URL of a webservice I need to use has a port number in it ei: Acceptance = "https://Leonardo.Rafael.be:9101/CustomerOrder/OrderManagementService/01/"; The libraries U2 libraries I'm using are somehow interpreting: Leonardo.Rafael.be:9101 as the complete hostname (which it doesn't

[U2] [UV] Connecting to a WebService with UV using Authentication Certificate

2012-05-15 Thread Jacques G.
something like this ?) Jacques G. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] Unusual code

2012-03-16 Thread Jacques G.
It isn't unusual for a multi-lingual system where the Y/N flags would be stored as boolean values and the text corresponding to the letters Y/N would be stored in a file somewhere.  Many languages have 'N' for no but have a different letter for Yes.  (Si, Oui, Ja for example). _

[U2] [UV] Strange mask behavior

2012-01-25 Thread Jacques G.
Hello, I had this small test program on UV 11.1.3:  A = 5143546011  CRT A "(###) ###-"  CRT FMT(A,"(###) ###-") I was expecting to have:  (514) 654-6011   (North American formatted phone) However I am getting: 514) 354-6011 514) 354-6011 Any idea why ? ___

Re: [U2] [UV] uvcs Memory leak problems on 11.1.3

2011-11-16 Thread Jacques G.
vironments are better suited to 'handling' the xml and simply passing data arrays to the universe layer to work on. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jacques G. Sent: 11 November 2011 20:05 T

Re: [U2] [UV] uvcs Memory leak problems on 11.1.3

2011-11-16 Thread Jacques G.
ply passing data arrays to the universe layer to work on. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jacques G. Sent: 11 November 2011 20:05 To: U2 Users List Subject: Re: [U2] [UV] uvcs Memory leak problems o

Re: [U2] Simplify, or why mathematicians make better programmers

2011-11-16 Thread Jacques G.
Why does your example have : Real which is a type found in languages of the Pascal family such as: Pascal, Modula2 and possibly Delphi .  (Considered obsolete in Delphi) in a program which uses C family syntax ?  C++, C#, Java  none of which have the Real type.  

Re: [U2] [UV] uvcs Memory leak problems on 11.1.3

2011-11-11 Thread Jacques G.
which produce the output of the "top" command once a minute,  so the memory used by a process extracted from the output of the top command and logged. Has anyone else experienced anything like this ? Jacques G. ___ U2-Users mailin

Re: [U2] UniObjects.Net error message

2011-06-02 Thread Jacques G.
You could check if the files it tries to open exists. If using Universe, verify your uverrlog in the uv account. It may have additionnal information. - Original Message From: "Holt, Jake" To: U2 Users List Sent: Wed, June 1, 2011 10:53:51 AM Subject: Re: [U2] UniObjects.Net error me

[U2] [UV] Obtaining a file creation date and time without locking it

2011-06-02 Thread Jacques G.
Hello, Currently I have code that does something like this: EQU TM.LIMIT TO 3 ;* File useable if created less than TM.LIMIT seconds ago. OPENSEQ PATH.HOUSE:"ipcs.txt" TO F.IPCS ELSE RETURN STATUS STAT FROM F.IPCS THEN CLOSESEQ F.IPCS IPCS.TM = STAT<15> IPCS.DT = STAT<16> SEC.PASSED

Re: [U2] Mailing List Hacked

2011-04-19 Thread Jacques G.
It could be useful if the listserver had an option to surpress the email addresses of the sender. This way, a poster's email couldn't be harvested. Mailing lists managed by Yahoogroups do this. - Original Message From: "u2list0...@curt.com" To: U2 Users List Sent: Tue, April 1

Re: [U2] [UV] UniVerse Uptime

2011-02-17 Thread Jacques G.
On Unix, there is an uptime command.that will tell you how long the server has been running. If you don't always restart Universe when the server reboots, you can modify the uv.rc script: /u1/uv/bin/sample/uv.rc This script is executed when Universe starts. You could execute the Unix

Re: [U2] [UV] UODOTNET.DLL and 64bit windows.

2011-02-17 Thread Jacques G.
Hello, I wanted to know if anyone here uses the Uodotnet.dll with 64bit versions of Windows. Particularly windows 2003. If so, which version of the uodotnet.dll do you use ? I am getting an Uodotnet error 81011 saying that the host is unknown. I am able do open a telnet session to the hos

Re: [U2] Does UV have a "BLOCK" command

2011-02-11 Thread Jacques G.
It sounds like you're used to using a GOTO and aren't allowed to do so anymore because of company standards Gosub Block_code1 Gosub Block_code2 IF condition else GOSUB BlockCode3 END. You can put your "blocks" in a subroutine - Original Message From: George Gallen To: U2 Users

Re: [U2] [UV] Invalid SELECT list specification keyword ignored.

2011-01-06 Thread Jacques G.
-boun...@listserver.u2ug.org] On Behalf Of Jacques G. Sent: 05 January 2011 20:58 To: U2 Users List Subject: [U2] [UV] Invalid SELECT list specification keyword ignored. Hello, I have the following command: SSELECTY VOC FROM 9 TO 10 (10 It works fine from the TCL level but when used in a PERFORM statement

[U2] [UV] Invalid SELECT list specification keyword ignored.

2011-01-05 Thread Jacques G.
Hello, I have the following command: SSELECTY VOC FROM 9 TO 10 (10 It works fine from the TCL level but when used in a PERFORM statement in a program I get the: Invalid SELECT list specification keyword ignored. Error message: Any ideas ? __

Re: [U2] "too many values in sort"

2010-10-26 Thread Jacques G.
You can try saving your list of keys you want to sort and use Unix's sort program on that savedlist. Use the port number on your saved list to make sure it is unique. - Original Message From: Kevin King To: U2 Users List Sent: Mon, October 25, 2010 11:54:25 AM Subject: [U2] "too ma

Re: [U2] adding UO.NET section to web.config

2010-08-24 Thread Jacques G.
Hello, I use: - Original Message From: Symeon Breen To: U2 Users List Sent: Tue, August 24,

Re: [U2] @LOGNAME on Unidata

2010-06-17 Thread Jacques G.
On Universe you can use SYSTEM(19) instead of @LOGNAME. It might exist on Unidata too. I don't know if @LOGNAME gets it from the Unix environment LOGNAME variable. If so, there may be a Unix script that is changing the environment variable. You can try: - Original Message Fro

Re: [U2] QSORT (Or something like that)

2010-05-25 Thread Jacques G.
Hello, I adapted a Heapsort algorithm a while back that I had obtained from a book (Turbo Algorithms circa 1989). The original had been written in Turbo Basic or Turbo Pascal, I forget which. I adapted it so that I could use work dimmed arrays (even if they were smaller than the dynamic arra

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-21 Thread Jacques G.
>If your file is opened, then comparing it to an empty string is what will >cause an invalid data type error. >WHY!!! >If the datatypes don't match, then the result of the comparison is >FALSE, not INVALID. >It is logically correct to do such a comparison. The result I am looking >for is the

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-20 Thread Jacques G.
Using dimmed matrixes is still a lot faster. If you have a dynamic array of 10,000 items and you wantA<9995> when you extract it, it will parse the whole until it passes 9994 @AM then it will extract whatever is between the 9994 and 9995. Having it in a dynamic array is like having a poin

Re: [U2] OPENSEQ and Abnormal termination of UV

2010-05-20 Thread Jacques G.
>Oh - that reminds me of something else I'd call a bug. It might well have been >fixed by now (I met it in 9.6) but you couldn't safely use a file variable in >an IF statement. Can't remember the details, but it was something like >FVAR = "" >some conditional code >OPEN FILE TO FVAR >more code

Re: [U2] import data to excel sheet...

2010-04-13 Thread Jacques G.
You can also use tr for this. For example to convert CHAR(13) to CHAR(10): tr '\r' '\n' < source.csv > destination.csv - Original Message From: "charles_shaf...@ntn-bower.com" To: U2 Users List Sent: Tue, April 13, 2010 8:36:44 AM Subject: Re: [U2] import data to excel sheet...

Re: [U2] import data to excel sheet...

2010-04-12 Thread Jacques G.
Hi Jaweed, If you already produced a number of files with the CHAR(13) as the end of line separator, you probably still handle them with excel, if you change the file extension from .csv to .txt and when you are in Excel import wizard, specify that the origin of the file is "Macintosh".Sinc

Re: [U2] Regex searching UD files

2010-03-30 Thread Jacques G.
I found a way to do it with compiled dictionary elements (on UV). 1- I create a dictionnary element called EGREP.ARGS that always returns "X": 0001: I 0002: "X"[1,1] 0003: 0004: EGREP.ARGS 0005: 1L 0006: M 2- I create a dictionnary element called "EGREP" which is defined like this: 0001: I 0002:

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

2010-03-29 Thread Jacques G.
You can write the equivalent of the egrep command in Pick basic that you could call from the TCL. If you need a working example to write (to see what command line options are normally supported), it there are a number of versions of grep/cgrep/egrep/fgrep on freshmeat.net. Most likely written

Re: [U2] Pick on Mac

2010-03-29 Thread Jacques G.
If there is no build for Mac OS, U2 runs on Linux and there are Linux versions that can be installed on a Mac so it might work. - Original Message From: Martin Phillips To: U2 Users List Sent: Mon, March 29, 2010 5:47:26 PM Subject: Re: [U2] Pick on Mac Hi Will, > Are there are

[U2] [UV] USERS vs Analyze.shm -x

2010-03-16 Thread Jacques G.
Hello, When logging into the uv account, if I run this paragraph: PA USERS ANALYZE.SHM -X The number of users logged on as reported by USERS is often different than that which is reported by ANALYZE.SHM -x.Anyone know if there is a version where this has been fixed ?This was apparent

Re: [U2] windows/dos my documents environment variable

2010-03-05 Thread Jacques G.
Hi, This works for Windows in the English language. In French, it would be: %userprofile&\Mes documents. The directory name changes depending on the language windows is in. - Original Message From: "Holt, Jake" To: U2 Users List Sent: Thu, March 4, 2010 10:10:19 AM Subject: Re

[U2] [UV] On Linux

2010-03-05 Thread Jacques G.
Hello, I've it mentioned a few times that Universe is available on Linux. On what flavor of Linux is it available ? Has anyone here been using it and are there any issues versus how it works on UNIX ? Jacques ___ U2-Users mailing list U2

Re: [U2] AccuTerm File Transfer

2010-02-15 Thread Jacques G.
A possitility is to mount a remote disk from a Windows system into a partition on the Universe server. The Universe program can create its files there. The Windows clients can also mount this file system. - Original Message From: Tony Gravagno <3xk547...@sneakemail.com> To: u2-users

[U2] UODOT.NET and performance counter errors on Windows 2003

2010-01-31 Thread Jacques G.
Hello, When deploying web services which use UODOTNET.DLL on a Windows 2003 environment, I frequently encounter security errors pertaining to "performance counters". I never have these errors when deploying on XP machines. Anyone here have a procedure that gets rid of that error every time ?

Re: [U2] [UV] odd problem with read statement assigning variable with random data with else clause in pick flavor

2009-12-23 Thread Jacques G.
>Firstly READU will not execute the ELSE clause when the item is locked. >It will just sit there and wait for the lock to be released. On Universe, it will wait for however long the timeout is on a READU, after that it will execute the else statement. The system default is 15 minutes on Univer

Re: [U2] [UV] Where is the COMMON block reserved ?

2009-11-19 Thread Jacques G.
Hello, I have a question pertaining to how the shell used by the connection pooling works as it relates to memory allocation. In the following cases: Case 1: Program 1 has a number of variables and matrixes declared in a common section it calls Program 2 which has the same common matrixes a

Re: [U2] [UV] Storing / Displaying the Euro symbol

2009-10-07 Thread Jacques G.
We are using terminal emulators. Putty and HostAccess are the most frequently used. - Original Message From: Bob Rasmussen To: U2 Users List Sent: Wed, October 7, 2009 4:06:48 PM Subject: Re: [U2] [UV] Storing / Displaying the Euro symbol On Wed, 7 Oct 2009, Jacques G. wrote

Re: [U2] U2 is now Rocket U2

2009-10-07 Thread Jacques G.
I wonder what is the marketing idea behind the name "Rocket" ? To me it invokes late 1950 - 1960's Sputnik/Apollo technology to an epoch when cars designs were made to look like rockets, when there was a hockey player nicknamed "Maurice The Rocket Richard" and people watched "Flash Gordon" on

[U2] [UV] Storing / Displaying the Euro symbol

2009-10-07 Thread Jacques G.
Hello, Anyone here had to display the Unicode Euro symbol on the terminal ? I'd like to store it in a data item and be able to display it. I've looked at the UNICHARS command without luck. Jacques G. ___ U2-Users mailing lis

Re: [U2] Looking for an OCONV/ICONV

2009-09-04 Thread Jacques G.
OCONV() RESULT = VALUE END STATUS = 0 RETURN (RESULT) END Catalog as $ and use as the conversion in the dictionary as U. Best regards, Henry Unger Hitech Systems, Inc. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org]

[U2] Looking for an OCONV/ICONV

2009-09-03 Thread Jacques G.
Is there an OCONV/ICONV I could use to filter out characters invalid for an hexadecimal notation ? Ei anything other than 01234567890ABCDEF ? I had a cheat sheet for special ICONV/OCONV statements but I've seemed to have misplaced it. ___ U

Re: [U2] COMMON misMatch

2009-07-15 Thread Jacques G.
Someone probably compiled the program you were in  while you were in it.   When you went back, you got the new version when you executed it again. - Original Message From: "Brutzman, Bill" To: U2 Users List Sent: Wednesday, July 15, 2009 7:54:47 PM Subject: Re: [U2] COMMON misMatch

Re: [U2] [UV] Using the fixtool utility.

2009-07-07 Thread Jacques G.
It is not the case, I used the uv user which has root permissions and my directories have 777 permissions. From: IT-Laure Hansen To: Jacques G. Sent: Tuesday, July 7, 2009 2:23:54 PM Subject: RE: [U2] [UV] Using the fixtool utility. My (wild) guess is this

[U2] [UV] Using the fixtool utility.

2009-07-07 Thread Jacques G.
Hello, I am trying the following command: /u1/uv/bin/fixtool -file /resize/FOOBAR -logging -logpath /resize/loggin The directory:  /resize/FOOBAR contains: -rwxrwxrwx   1 root   sys    1256974336 Jul  3 07:33 DATA.30 -rwxrwxrwx   1 root   sys    7190597632 Jul  3 07:33 OVER.30

Re: [U2] Paragraphs and procwrite

2009-05-24 Thread Jacques G.
You can have the basic program generate the paragraph dynamically, and save it in the Voc under a temporary name. You can even have that paragraph delete itself when it is done. - Original Message From: Brian Leach To: u2-users@listserver.u2ug.org Sent: Saturday, May 23, 2009 7:45:0

Re: [U2] UV to SAP migration disaster

2009-04-20 Thread Jacques G.
An IBM vendor went to a company I used to work for to try to get them to dump their current Unidata database and switch to DB2, how much new and better it was. One of the advantages he listed was "IBM support". So one guy in our IT department told him: "You really don't know anything about Un

[U2] Re: [UV] Passing a string when a Matrix is expected

2009-04-16 Thread Jacques G.
I came accross a case in legacy code where a subroutine is defined to accept some matrixes as parameter ei: SUBROUTINE FOOBAR(TXT, MAT A, MAT B, MAT C, MAT D, OPTION) One of the calling programs that makes use of this subroutine does this: CALL FOOBAR("HELLO", "", "", "", "", "WORLD") Instead

Re: [U2] uniobjects/web services

2009-04-02 Thread Jacques G.
I recall that someone posted on this list that uniobjects wasn't thread safe, that if you wanted to use threads you should use the .NET version. - Original Message From: Doug Chanco To: u2-users@listserver.u2ug.org Sent: Thursday, April 2, 2009 1:06:46 PM Subject: [U2] uniobjects/web

Re: [U2] [UV] Config parameter for the READU

2009-03-20 Thread Jacques G.
Hi, There is a note from IBM on this: 119628. It mentions that we can't inquire as to the value of SYSTEM(1999) to know if it has been turned off or not as it will always report zero. So it looks like we will have to turn it off to make sure. It may explain some anomalies. I previously thou

Re: [U2] [UV] Config parameter for the READU

2009-03-20 Thread Jacques G.
If the value of SYSTEM(1999) is set to zero does that mean that this featured is turned off and that the READU will wait however long it takes to get the lock or does it mean it is set to the default 3600 waiting value ? - Original Message From: Martin Phillips To: u2-users@listser

[U2] [UV] Config parameter for the READU

2009-03-20 Thread Jacques G.
Hello, I recall reading here a while back that there is a parameter in the (possibly in the uvconfig file) that determines how long READU will wait for a lock when it is taken by someone else. Someone on the list said something to the effect that he set it to wait for one month. What is this

Re: [U2] IDE

2009-03-19 Thread Jacques G.
>Delphi is still here, VB isn't. >(No VB.Net is not VB, it's a completely different technology with the some of >the same keywords. Most of .Net was modelled on Delphi anyway ) VB.NET was for people familiar with VB or Basic, C#, J# for people familiar with Java. There is a Cobol .NET. F

Re: [U2] IDE

2009-03-17 Thread Jacques G.
Using .NET doesn't mean you're stuck with IE. The webpages which make use of dot.net services can be any webserver. You'd just have to develop with your customer's browser to make sure it displays correctly. - Original Message From: "Brutzman, Bill" To: u2-users@listserver.u2ug.org

Re: [U2] UV Timed INPUT

2009-03-11 Thread Jacques G.
I'm typing this from memory: TM.LIMIT = 5 ;* 5 second time limit DT.START = DATE() TM.START = TIME() LOOP IF INPUT XX,-1 THEN INPUT VAR ELSE TM.PASSED = (DATE() - DT.START) * 86400 TM.PASSED += (TIME() - TM.START) IF TM.PASSED > TM.LIMIT THEN EXIT END REPEAT - Original

[U2] Multiple email copies

2009-03-04 Thread Jacques G.
Is anyone else receiving 5 copies of each mail sent to the u2-users list ? Last week I was only receiving 3 copies of each mail. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] DO/WHILE vs IF THEN

2009-03-02 Thread Jacques G.
The case can be tested also if n/y are acceptable: LOOP PRINT "ENTER 'Y' OR 'N' ":;INPUT ANS,1 UNTIL INDEX('NY',UPCASE(ANS),1) REPEAT *-- P.AM will contain a boolean value 0 for N, 1 for Y --* FOR X = 1 TO (X+1) PRINT "ENTER 'Y' OR 'N' ":;INPUT ANS,1 FIND UPCASE(ANS) IN "N":@AM:"Y" SETTING P

Re: [U2] Strange happening...

2009-03-02 Thread Jacques G.
As a rule of thumb, one shouldn't use a string as a boolean unless it's intended to be a boolean like a 0 or a 1. I've encountered many bugs because a test would do: IF VARIABLE THEN Instead of: IF VARIABLE NE "" THEN ... or IF LEN(VARIABLE) > 0 - Original Message From: Timothy

Re: [U2] AUTOLOGOUT and ON.ABORT

2009-03-02 Thread Jacques G.
On Fri, Feb 27, 2009 at 5:21 PM, Jacques G. wrote: > On unix it's an empty file (size zero) we create: > EI: > > touch errlog > > On a windows the equivalent would probably be (from dos prompt when in the > uv account): > copy con errlog > ^Z > > 1 file(s)

Re: [U2] AUTOLOGOUT and ON.ABORT

2009-02-27 Thread Jacques G.
On unix it's an empty file (size zero) we create: EI: touch errlog On a windows the equivalent would probably be (from dos prompt when in the uv account): copy con errlog ^Z 1 file(s) copied. (After typing CTRL-Z you press[RETURN]) I haven't used the errlog in Universe for Windows though.

Re: [U2] Strange happening...

2009-02-27 Thread Jacques G.
In the example of code you have, the loop will exit if your key (variable ID) is equal to an empty string or a string that can be evaluated to zero for example values like these: 0E1,0E10, 0E100 (on Universe) "" (empty string) Will make the loop end: > SELECT FILENAME > LOOP >READNEXT

Re: [U2] DO/WHILE vs IF THEN

2009-02-27 Thread Jacques G.
CTR =0 LOOP WHILE CTR < 4 CTR+=1 PRINT CTR REPEAT FOR CTR = 0 TO 4 PRINT CTR NEXT CTR CTR = 0 LOOP CTR += 1 PRINT CTR IF CTR > 4 THEN EXIT REPEAT If you're going to use a counter, might as well use a for loop. Your test didn't work because you didn't test the limit after each inc

Re: [U2] AUTOLOGOUT and ON.ABORT

2009-02-26 Thread Jacques G.
If you turn on the errlog file in /u1/uv you may get a message in there for an AUTOLOGOUT. I'm pretty sure I've seen such messages in the past. You will have the user name, the PID and some text describing the error. The errlog file only keeps the last 1001 error messages so you might want to

Re: [U2] [UV] HP, Cron, Como, Execute, Capturing . Not

2009-02-24 Thread Jacques G.
If it's just to get the file names and not the other information like the group owners, permission bits why not simply do a pointer to the directory then select the directory ? EI: IF @USERNO < 0 THEN TMP.NAME = (65536 + @USERNO):".TMPTR" END ELSE TMP.NAME = @USERNO:".TMPTR" OPEN "", "VOC

Re: [U2] [UV] HP, Cron, Como, Execute, Capturing . Not

2009-02-23 Thread Jacques G.
You may want to check into the /uvtmp for files that start with "capture" and read those for a hint. I've seen cases where a capturing is stopped because a delete is interrupted because of 644 permission mode, and I've seen "unable to re-open file unit" errors. The "CAPTURING" statement cr

Re: [U2] [UV] Deadlock report ?

2009-02-23 Thread Jacques G.
-6998 | fax: 678-393-5389 nick.gett...@infor.com | www.enroute911.com -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Jacques G. Sent: Monday, February 23, 2009 11:24 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2

Re: [U2] [UV] Deadlock report ?

2009-02-23 Thread Jacques G.
r.u2ug.org Sent: Monday, February 23, 2009 9:59:29 AM Subject: Re: [U2] [UV] Deadlock report ? Take a look at analyze.shm (see the 'Administering Universe" manual), IIRC the -r option in particular should give you just the record locks. On Sun, Feb 22, 2009 at 2:00 PM, Jacques G. wrote

[U2] [UV] Deadlock report ?

2009-02-22 Thread Jacques G.
Hello, I was wondering if there is a deadlock report feature in Universe. We have web services that need to call legacy subroutines and these sometimes make use of READU clauses without the locked statements. Since our pooled webservices have to run between 14 and 92 transactions a minute t

Re: [U2] [UV] How to suppress "not found" message.

2009-02-06 Thread Jacques G.
You can put the commands in a Paragraph: PA HUSH ON SELECT FILEA SELECT list #0 SELECT FILEB HUSH OFF You would save these lines as one item in the VOC choosing a name for it. - Original Message From: "Boydell, Stuart" To: u2-users@listserver.u2ug.org Sent: Thursday, February 5, 20

[U2] Testing for TRANSACTION block

2008-03-04 Thread Jacques G.
If there a way for a subroutine to know that it has been called from within a BEGIN TRANSACTION END TRANSACTION I've got a subroutine somewhere that is calling an illegal command for a transaction block and having hard time finding where the call is coming from. ___

Re: [U2] [UV] Named commons

2008-02-12 Thread Jacques G.
U TD$MILLIS LIT '((SYSTEM(12) * 1000) "R%3")' ERRCODE = DIGEST("MD5", @USERNO:TD$UTCSECS:TD$MILLIS, 1, RESULT) RESULT = DOWNCASE(OCONV(RESULT, "MX"))"----" DISPLAY RESULT END Jacques G. wrote: > Hello, > &g

Re: [U2] [UV] Named commons

2008-02-12 Thread Jacques G.
rmat? If not, you could generate unique identifiers based on the port number (@userno) and current date/time. Alternatively, you could use GCI to integrate the uuidgen function into the Universe shell. rex Jacques G. wrote: > I need to generate UUID's Universe doesn't have a function

Re: [U2] Send regular Windows file with AccuTerm

2008-02-12 Thread Jacques G.
It's been a while since I used Accuterm but I think that it has the Kermit protocol that can be set to transfer binary files. If you have only have ASCII transfer, you can first encode your binary files using either: Base64 or UUENCODE/UUDECODE. Transfer the .b64 or .uue file then decode them

[U2] [UV] Named commons

2008-02-12 Thread Jacques G.
Hello, I wanted to know if a Named common is visible from every session on the server ? I need to generate UUID's Universe doesn't have a function that does this but Unix has a : uuidgen program I can execute to capture UUID's. The problem is that some of our programs run within a TRANSACTIO

[U2] [UV] Using connection pooling with Uniobjects

2007-10-16 Thread Jacques G.
Where I work, we have recently installed Universe 10.2.25 which is supposed to have the connection pooling functionnality for webservices. Is the connection pooling option just something to turn on in Universe options or must a new version of Uniobjects dll be used ? We use version 1.1.7073.0

[U2] [UV] Stacker commands

2007-07-16 Thread Jacques G.
Hello, When the .L command is done at the TCL level, the last executed commands are shown. Anyone here know where those commands are stored ? Jacques G. Pinpoint customers who are looking for what

RE: [U2] PORT.STATUS bug?

2006-10-05 Thread Jacques G.
> Whate else do people turn to? > SYSTEM(9001) is a little different tool, but at > least tangential to the > current discussion. There is GET.USERS which calls the SYSTEM(1302). SYSTEM(1302) isn't supported by IBM but GET.USERS is. CALL !GET.USERS(PI.USERS,MAX.PI.USERS,SYS.USERS,INFO,CODE) S

RE: [U2][UV] Ever see this error ?

2006-08-30 Thread Jacques G.
Checking the universe errlog revealed the problem. The file system was full. I wish they'd document those strange status numbers on the help that is available on the TCL. --- "Allen E. Elwood" <[EMAIL PROTECTED]> wrote: > I've seen an error like this on a WIN version of > Unidata. It was their

Re: [U2][UV] Ever see this error ?

2006-08-29 Thread Jacques G.
Anyone here ever get this error ? The following error appears using AE to try to save a record: [AE] UniBasic WRITE failed, STATUS=40019, -- unrecognized STATUS() after WRITEU. Quit "RECORD" in file "TESTBP" unchanged. Trying to save the same program with ED gives an error also but the ST

Re: [U2] [UV] QSELECT in transaction

2006-07-26 Thread Jacques G.
> is there a way to allow an EXECUTE "QSELECT... " > inside a transaction in a basic program. The HELP BASIC EXECUTE specifies a few verbs that are allowed inside transaction : Have you tried: SELECT FILE SAVING FIELD.NAME ? For example: SELECT CUSTOMERS SAVING KEY.ADR ? It should be the equiv

RE: [U2] RE: Multivalued datatypes considered harmful | The Register

2006-07-26 Thread Jacques G.
> SELECT FName FROM CUSTOMER > WHERE Hobby = "Rollerball" > It will return zero rows; despite the fact that one > of our customers > plays rollerball, because there is no row with a > field just containing > "rollerball"." If Hobby is defined as a multi-value dictionnary item, it should select it.

RE: [U2] Changed BASIC varname<1,-1>

2006-07-20 Thread Jacques G.
> I always use A.VAR := > @AM[1,NOT(NOT(A.VAR))]:NEW.DATA > It is much more reliable and much quicker than <-1> This is probably for people who want the position of the item in the list to be significant. (The empty values being wanted) I find the code is easier on the eyes to do: NB +=1 A.VAR

RE: [U2] Universe/NT Rel. 10.0.10: How to run a program written and compiled in one flavor in another flavor?

2006-07-14 Thread Jacques G.
> 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

RE: [U2] UODOTNET.DLL

2006-07-13 Thread Jacques G.
ts 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: R

Re: [U2] UODOTNET.DLL

2006-07-13 Thread Jacques G.
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.ReadPacketInt

[U2] Re: [UV] Formating a XML string

2006-06-14 Thread Jacques G.
Does Universe have a software tool to format a XML string so that is nicely indented ? Ei from: XXX To: XXX __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- u2-users mailin

Re: [U2] [UV] unirpc daemon, stopping and re-starting it from cron

2006-05-10 Thread Jacques G.
> As above, LANG=C (or similar) must be set for rpcd > to work correctly. other > uv services work fine with LANG set to anything, rpc > needs it tho ... How can I check for the setting of LANG both on my current Universe setup and what its value is within the cron job ?

RE: [U2] [UV] unirpc daemon, stopping and re-starting it from cron

2006-05-10 Thread Jacques G.
> I guess a question is whether this has worked in the > past or is something new that you are trying to do? This is something new. This client is our first client to make use of web services for our application. __ Do You Yahoo!? Tired of spam? Y

[U2] [UV] unirpc daemon, stopping and re-starting it from cron

2006-05-09 Thread Jacques G.
Hello, We have a cron job which does the following: 1- Uses Universe's uv.rc script to stop Universe and unirpc daemon 2- Make a backup of the Production account into a different filesystem on the production machine. 3- Restart Universe & unirps using the uv.rc script 4- Start the backup to tape

RE: [U2] RE: UniBasic code that should work

2006-03-29 Thread Jacques G.
This could be fixed by multiplying the number by 100 so that floating points aren't used at all. (If you know for sure you will never have more than 2 decimals) I'm assuming these are money amounts. I once saw a similar problem where a locate on a list of appartements for 1 would find appartment 1

[U2] Determining other user's PORT

2006-03-23 Thread Jacques G.
Is there another way besides PORT.STATUS and !GET.USERS To get the port of other users ? We have a client that has Universe running on a version of Unix that isn't fully compatible. The PORT.STATUS command gives the following line: Unable to locate uniVerse user data area in kernel. The !GET.

Re: [U2] To DIM a passed Matrix or not ?

2006-03-07 Thread Jacques G.
>In Universe, it isn't necessary to DIM a matrix that has been passed in a subroutine. Just to clarify what I meant here. The DIM or COM is still done but it is done in the calling program. It isn't neccessary to dim it in the SUBROUTINE in Universe.

Re: [U2] To DIM a passed Matrix or not ?

2006-03-06 Thread Jacques G.
I've seen the following: SUBROUTINE FOO(MAT FOOBAR) DIM FOOBAR(100) [... some code] RETURN In Universe, it isn't necessary to DIM a matrix that has been passed in a subroutine. So my question is, are there MV flavors where it is neccessary to do so ? __

Re: [U2] Universe: Version and serial number

2006-02-28 Thread Jacques G.
> >> How do I get version and serial number from a > UniVerse AIX installation? You can write a small basic program: CRT SYSTEM(31) __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---

RE: [U2] [UV] GOSUB variable-name?

2006-02-10 Thread Jacques G.
> On a more serious note...If this is done correctly, > I don't think it > would be very difficult at all to support. If someone who didn't design the system has to maintain it, it is difficult to find out which programs are impacted by a change into one of the subroutines. In normal calls, one c

Re: [U2] Justification for removal of savedlists

2006-02-08 Thread Jacques G.
> If it is at its default of ON, you save a command > stack every time you log > out. These are saved with a name of > &&S.username.userno. The theory is that > when you log back in, the system can reload your > stack and you carry on as Isn't there a limit that can be set in Universe as to how mu

[U2] RE: [UV] Universe on RedHat (which version to use ?)

2006-01-16 Thread Jacques G.
I've downloaded the evaluation version of Universe for RedHat Linux. It seems to be destined for RedHat version 7.1. Does this mean that it will not work with more recent versions such as 8.0 or 9.0 ? If it will work, I'd rather have a newer RedHat than an older version. __

  1   2   >