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 ? Jacques G

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

2012-09-10 Thread Jacques G.
) 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-Users mailing list U2

[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.
' 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 To: U2 Users List Subject: Re: [U2] [UV] uvcs Memory

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

2011-11-16 Thread Jacques G.
that these environments 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 To: U2

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

2011-11-11 Thread Jacques G.
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 mailing list U2-Users

[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 = STAT15 IPCS.DT = STAT16 SEC.PASSED =

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 jh...@samsill.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wed, June 1, 2011 10:53:51

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 u2list0...@curt.com To: U2 Users List

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

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] 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

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

2011-01-06 Thread Jacques G.
...@listserver.u2ug.org [mailto:u2-users-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

[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 precisonl...@gmail.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Mon,

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

2010-08-24 Thread Jacques G.
Hello, I use: configSections sectionGroup name=UO.NET section name=General type=System.Configuration.DictionarySectionHandler/ section name=ConnectionPooling type=System.Configuration.DictionarySectionHandler/ /sectionGroup /configSections

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

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

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.
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 IF FVAR

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 wantA9995 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

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.Since

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

[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

[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

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 jh...@samsill.com To: U2 Users List u2-users@listserver.u2ug.org Sent:

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] 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] 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

[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 list U2-Users

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 a

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

2009-10-07 Thread Jacques G.
On Wed, 7 Oct 2009, Jacques G. wrote: 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. If you're talking about an actual (dumb) terminal, good

Re: [U2] Looking for an OCONV/ICONV

2009-09-04 Thread Jacques G.
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] On Behalf Of Jacques G. Sent

[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. ___

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 bi...@hkmetalcraft.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Wednesday, July 15,

[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] [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 lhan...@redwoodcity.org To: Jacques G. jacque...@yahoo.com Sent: Tuesday, July 7, 2009 2:23:54 PM Subject: RE: [U2] [UV] Using

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 br...@brianleach.co.uk To: u2-users@listserver.u2ug.org Sent:

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

[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 of passing

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

2009-03-21 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

[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] [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

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 grin) VB.NET was for people familiar with VB or Basic, C#, J# for people familiar with Java. There is a Cobol .NET.

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 bi...@hkmetalcraft.com To:

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] AUTOLOGOUT and ON.ABORT

2009-03-02 Thread Jacques G.
inactivated in uvconfig On Fri, Feb 27, 2009 at 5:21 PM, Jacques G. jacque...@yahoo.com 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) copied

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 NETHEN ... or IF LEN(VARIABLE) 0 - Original Message From: Timothy

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.AM

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

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 ID

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] 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 TO VOC

Re: [U2] [UV] Deadlock report ?

2009-02-23 Thread Jacques G.
@listserver.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. jacque

[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

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 stuart.boyd...@spotless.com.au To: u2-users@listserver.u2ug.org

[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.
(@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 that does this... --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe

Re: [U2] [UV] Named commons

2008-02-12 Thread Jacques G.
%3)' ERRCODE = DIGEST(MD5, @USERNO:TD$UTCSECS:TD$MILLIS, 1, RESULT) RESULT = DOWNCASE(OCONV(RESULT, MX))---- DISPLAY RESULT END Jacques G. wrote: Hello, I wanted to know if a Named common is visible from every session on the server ? I need to generate

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

[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

[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)

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

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

RE: [U2] Changed BASIC varname1,-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.VARNB =

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 I can.

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

RE: [U2] UODOTNET.DLL

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

[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: ?xml version=1.0 encoding=utf-8 ?FooFoobarXXX/Foobar/Foo To: ?xml version=1.0 encoding=utf-8 ? Foo FoobarXXX/Foobar /Foo __ Do You Yahoo!?

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?

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 ?

[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

[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

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 can

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 much of a

[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.

RE: [U2] [UV] Create hashed file in subdirectory?

2006-01-06 Thread Jacques G.
I've used Multi-files like this on Unidata, I tried the following in Universe 10.1.8: Notice that in the second part that I add, I specify 18 503 and 1 as parameters. For some reason, CREATE-FILE uses the 18 as both the file type and modulo. The LISTFILES command confirms that the second part

RE: [U2] [UV] Create hashed file in subdirectory?

2006-01-06 Thread Jacques G.
I tried a few things to arrive at this syntax for Pick flavor: CREATE.FILE DATA TEMP.JAG,TRAVAIL.KK 503,1,16 (Modulo,Separation,Type) The problem I had was when I do: HELP CREATE.FILE at the TCL level I only get examples for a different flavor. Those examples had spaces instead of commas. I

RE: [U2] [UD] BASIC LOCKs

2005-12-29 Thread Jacques G.
PORT.STATUS will let you know if a PHANTOM is running, but you either have to be root or you have to change the permissions to allow you to see this. The Universe function GET.USERS will also let you know if a phantom is running. It also has the advantage that it won't give you the message:

RE: [U2] [UD] BASIC LOCKs

2005-12-29 Thread Jacques G.
It is part of Universe. The source for that function is in: APP.PROGS under the name: GET.USERS.B Its parameters are: SUBROUTINE GET.USERS(PI.USERS,MAX.PI.USERS,SYS.USERS,USER.INFO, CODE) The variable USER.INFO can be exploited thus: NB.US = DCOUNT(USER.INFO,@AM) ;* Number of users FOR

Re: [U2] [UD] BASIC LOCKs

2005-12-29 Thread Jacques G.
it! (v9.6) Thanks, Dianne Jacques G. wrote: __ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http

RE: [U2] [UD] BASIC LOCKs

2005-12-29 Thread Jacques G.
However on that same machine that shows only 'me', a PORT.STATUS does show everything ? For PORT.STATUS it must have certain permission bits set. (+s if I remember correctly) otherwise it only shows the jobs of the user running PORT.STATUS. It's quite possible that whatever program is

Re: [U2] Using Esc

2005-12-20 Thread Jacques G.
We've had code in place for nearly 20 years to handle, at least a little bit, this type of problem. In fields with lots of text, we call a sub for the input that permits most of the editing commands found in line editors (e.g. c/x/a/, append, etc.) Not a great solution, but better

Re: [U2] Using Esc

2005-12-20 Thread Jacques G.
I am sick of having to write filter routines for the control characters. It doesn't look good to the users either. On the plus side, many terminal emulators can have their keyboard re-programmed so that when you press a key it sends the key that you want. I've used this feature to send the

[U2] RE: [UV] uvdlockd command

2005-12-14 Thread Jacques G.
When I do: uvdlockd -? I see the following options: uvdlockd [options] -- -t timerinterval timer to have daemon check for deadlocks

  1   2   >