Re: [U2] Source file of cataloged program? (UV)

2010-09-21 Thread mats
 Hi it's  stored in the catdir file, last line IFRC (uv). -- mats - Mats Carlid ADB-Krafter AB m...@adbk.se [1] www.adbk.se [2

Re: [U2] EREPLACE Function

2010-08-24 Thread mats
: CLEAN = CONVERT(SCRUB, ' ', DIRTY)   -- mats   - Mats Carlid ADB-Krafter AB m...@adbk.se [1] www.adbk.se [2]   *46 (8) 445 26 70

Re: [U2] Trouble sending reply emails

2010-03-25 Thread Mats Carlid
Dianne are You sure that the bounce comes from the listserver? ( To check that select show all headers and look for @listserver.u2ug.org in any of the Received - headers.) If they bounce eralier ask Your mail admin. -- mats Dianne Ackerman skrev: Does anyone have any idea why I would

Re: [U2] Mapping files.

2009-11-30 Thread Mats Carlid
To bad, I used the same method long time ago. 'The only difference' was that it was universe files on two unix machines ;-) If the gotcha got me ? Sure. -- mats Paul Parkinson skrev: Thanks Mas, tried that didn't work Kind Regards Paul Parkinson Director, Ideal Business Services

Re: [U2] Universe web connectivity

2009-09-24 Thread Mats Carlid
dictionary with some options. Why our own? AFAIK there wasn't anything usefull out there in1998 when we started programming seriously. Maybe there was but AFAIKThen there wasn't. Drawbacks? It starts a universe process for each call. --mats Matthew Day skrev: Hi, We currently have a system

Re: [U2] Automatic Invoice - PO Matching Software

2008-11-17 Thread Mats Carlid
on paper beginning this new year. and now it's coming down under... -- mats Tony G skrev: From: Hans Morawa We are looking for a electronic invoice processing system that matches invoice with purchase orders automatically and works on/or with a UniVerse platform

Re: [U2] Normal SELECT behavior? [UD]

2008-11-05 Thread Mats Carlid
A possible solution : LIST POH F1 WITH EVAL '*':F1 = '*000700' works in universe that has no udt.options to set. ( unidata has EVAL hasn't it ?) -- mats David A. Green skrev: Is this normal SELECT behavior? I get the same results when I use NO.INDEX. Is there an UDT.OPTIONS I can use? I

Re: [U2] UV 10.1 catdir problems

2008-09-03 Thread Mats Carlid
on the items that have historically manifested this problem! Is this normal? Does Universe change the ls -l time on the catdir items or should I be on the lookout for some program doing this? uv does maintain a usage count in the catdir files. -- mats A couple of examples: $50BB, modified a second

Re: [U2] UV 10.1 catdir problems

2008-09-03 Thread Mats Carlid
. -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] call mysub vs. call @mysub

2008-08-27 Thread Mats Carlid
resides. ( You may also use $ instead of (the first only?) * ) In unidata ( I think) global cataloging places the routine in shared memory and thus will be faster on first call. -- mats Ross Ferris skrev: Does this hold true across U2? And/or do you get same sort of benefit from global

Re: [!! SPAM] Re: [U2] RE:french characters

2008-08-26 Thread Mats Carlid
on the web too ... if You can weed out what they used... ) HTH -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] RE:french characters

2008-08-25 Thread Mats Carlid
-- mats Irina Lissok skrev: We have a problem with FRENCH characters. Using READSEQ to read the record from the file which contains FRENCH characters. It reads in but French characters has been substituted with blanks or with legitimate English characters. When we are trying to load this data

Re: [U2] Dynamic Array oddity very useful

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

Re: [U2] Dynamic Array oddity very useful

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

Re: [U2] uniobjects help needed!

2008-08-06 Thread Mats Carlid
each request. The same may be true for uvrpc as well. Can't help with the uvrpc protocol syntax - sorry! -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] File pointer question

2008-06-13 Thread Mats Carlid
Nice idea - but change @WHO to @PATH to catch the situation that you have two accounts with the same name under different paths. When we were bit by this - as PI newbees in the early 80's - we just banned logto's and never used'em since. -- mats [EMAIL PROTECTED] skrev: I was bit

Re: [U2] HP 4250dtn printer using PCL commands from Universe Basic program with hex conversion codes ... Tray 3 selection not working

2008-05-14 Thread Mats Carlid
You have nobanner in setptr don't You? -- mats Bob Utech skrev: I am trying to send a report to the HP4250 printer to tray 3 using PCL codes (hex = 1B266C3548), but is not working. It always defaults to tray 2 when jobs are sent from host Universe no matter what PCL tray code I use. Any

Re: [U2] COMMON

2008-04-04 Thread Mats Carlid
. This may be universe only - don't know. -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] COMMON

2008-04-03 Thread Mats Carlid
still points to the old account. -- mats Dennis Bartlett skrev: Hi I have a subroutine that WRITESEQ to a record in a type 1 file called INTEGRITY. Is there anyway I can open the file once (in the subroutine) and thereafter use the same file handle (to avoid opening the file each time

Re: [U2] blank lines in code / mixed case

2008-03-10 Thread Mats Carlid
LS=ls alias CP=cp and You're done . (Assuming Korn shell ) If You don't have an environment file add one line in Your .profile: ENV=~mike/environment.sh ( substitute your login name and create the file in your login directory) Cheers -- mats --- u2-users mailing list u2-users

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Mats Carlid
convention often comes quite naturally - at least in my experience. -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Piping to a unix command with echo

2008-02-15 Thread Mats Carlid
Unix is supposed to not process any special characters inside single quotes so drop the change commands and use SQUOTE . -- mats Marco Manyevere skrev: Im trying to process the contents of a string generated in Universe with an external program by shelling out to the OS as follows: CHANGE

Re: [U2] Piping to a unix command with echo

2008-02-15 Thread Mats Carlid
Yes You're right - but anyway You should be better off with single quotes. -- mats Marco Manyevere skrev: Problem is STR1 may contain a ', then echo will not know where the string ends, hence the need to escape it. - Original Message From: Mats Carlid [EMAIL PROTECTED] To: u2-users

Re: [U2] UniVerse 10.2 Error code: 2 2 on OpenSUSE

2008-02-14 Thread Mats Carlid
Universe comes with a bootscript to be placed in the startup scripts folder that is not executed - sthg like uv.rc. HTH -- mats DeanNapper skrev: Hi. I have installed UniVerse 10.2 onto OpenSUSE and all was well until I restarted the host, now UniVerse reports the following when starting

Re: [U2] A few simple questions

2007-12-07 Thread Mats Carlid
I'd just chmod g+x master and add uvadm to the guest list of the group that owns the master file by editing the /etc/group file. We run root as the uv admin here - don't know if it's typical or not... -- mats Oaks, Harold skrev: snip However, in ...ibm/uv/bin the file 'master' which

Re: [U2][UV] Dynamic File MINIMUM.MODULUS Calculation

2007-12-03 Thread Mats Carlid
record ( if not there will be pointers and/or lengths instead ) and there will be some unused characters where no record fits at the end of the page. I don't know the sizes of these things but I'd feel lucky if I had a file where they totalled less than 48bytes per page. -- mats Perry Taylor

Re: [U2] Universe and triggers

2007-09-12 Thread Mats Carlid
really be nice and usefull to have triggers in directories too. -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Binary data corruption on copy

2007-08-24 Thread Mats Carlid
Louie Bergsagel skrev: What do you mean by 50 different filesystems? 50 directory / Type 19 files? On unix machines you split each disk into up to a handfull partitions called filesystems wich may be mounted ( made accessible) individually. -- mats --- u2-users mailing list u2-users

Re: [U2] RE: Cleaner Case Statement

2007-07-30 Thread Mats Carlid
. Don't judge him/her to fast or hard - notice that this is THE ONLY WAY to write this according to the strucutural programming school ... -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] UniData 7.1 vs. MS SQL 2005 performance

2007-07-19 Thread Mats Carlid
Anthony W. Youngman skrev: In message [EMAIL PROTECTED], Mats Carlid [EMAIL PROTECTED] writes Anthony W. Youngman skrev: At which point, you hit my hobbyhorse ... In the real world ... - relational database theory has ABSOLUTELY NOTHING whatsoever to do with the real world. It's an exercise

Re: [U2] [UV] Conversion code for week number

2007-07-18 Thread Mats Carlid
365.247525 Sorry. -- mats Mats Carlid skrev: A final (?) note on year calculation shortcuts: Had Dick chosen jan 1 in a year divisible by 400 as day 1 then INT(DAY / 365.247525 ) would have worked all the time. But selecting a '400-year' starting on a sunday would result in quite long internal

Re: [U2] [UV] Conversion code for week number

2007-07-17 Thread Mats Carlid
on a sunday ( it didn't). 365.25 can only work for a limited time as it doesn't observe the 100 and 400 year rules ... -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] UniData 7.1 vs. MS SQL 2005 performance

2007-07-17 Thread Mats Carlid
relations where the all the attributes where real numbers so the general defintion may be to much even for mathematicians to cope with -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] create a select list

2007-05-22 Thread Mats Carlid
an conversion code for this so You may have to write an user exit for that And of course there may be a proper way to handle it in inteconnect too... -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Using all attributes in a record

2007-05-02 Thread Mats Carlid
a trick for building a mv array quickly You're thinking about: arr = loop code to calc next.value while more.values arr := @AM:next.value repeat del arr1 HTH -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http

Re: [U2] Using all attributes in a record

2007-05-02 Thread Mats Carlid
Jef Lee skrev: Mats, I think (foggy recollection) that it was the difference between DUMMY='' CHK=1 ARR='' FOR I = 1 TO 1 ARRI=CHAR(MOD((I-1),26)+65) NEXT I * Check time here FOR I = 1 TO 1 DUMMY=ARRI NEXT I * Check

Re: [U2] Multivalue Column

2007-04-18 Thread Mats Carlid
Q2:Use matparse cf. basic manual - has examples. -- mats Sanjeebkumar Sarangi skrev: Hi, Suppose, I have a multivalue column. How can I get the sum of all the values ? If I want to create an array of the elements present in the multivalue column, then how can I do it ? Please

Re: [U2] PATHNAME and DIRECTORY

2007-04-04 Thread Mats Carlid
created gets stored within it. The answer may depend on what You use to create them -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: Spam:[U2] Universe I-descriptor help

2007-03-27 Thread Mats Carlid
But there is a !INTS - function. -- mats IT-Laure Hansen skrev: Thanks everyone for the formula. I should have waited until the caffeine kicked in. But I'm still having problems, and this I am guessing is strictly a Universe I-descriptor question. Looks like the system is not treating

Re: [U2] @Variables

2007-03-22 Thread Mats Carlid
last needed it) -- mats Please advise. --Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Buffington, Wyatt Sent: Thursday, March 22, 2007 9:56 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] @VARIABLES We define variables for the various

Re: [U2] Upper Case Only

2007-03-16 Thread Mats Carlid
, and the minis. ) -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [UD] CALL @progname

2007-03-16 Thread Mats Carlid
- it should IMHO result in a time about the same as the function call... -- mats David Wolverton skrev: Actually - I just ran a test, and was surprised somewhat: 1,000,000 Iterations of ways to do a call... CALL PROGNAME (direct)7047 CALL *PROGNAME (global)7766 CALL @PROGNAME

Re: [U2] Error in report generation.

2007-03-13 Thread Mats Carlid
program that use them ) If the program stays as simple (small) as it is now a gosub is neater than an external routine: ... read x from y else null gosub sub ... sub: print ... return ... end hth -- mats Hi You need to pass REC as a parameter to the subroutine see below

Re: [U2] Error in report generation.

2007-03-13 Thread Mats Carlid
Hi You need to pass REC as a parameter to the subroutine see below: -- mats Sanjeebkumar Sarangi skrev: Hi I tried to generate a report by writing a small program. But I got an error as below. ERROR: RUN TEST.BP MAIN MAIN 45 record(s) selected to SELECT list #0. Program SUB

Re: [U2] Universe vs. Unidata

2007-02-28 Thread Mats Carlid
1000. Try it on both setups and You'll know ... HTH -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [UV] SPOOLER

2007-01-26 Thread Mats Carlid
A simple su $1 in the spooler driver before lp should make the user the owner of the print job and allow 'm to cancel the job. Disclaimer: Not tested. HTH -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [UV] SPOOLER

2007-01-26 Thread Mats Carlid
Maybe in hpux - I don't know - but in some unixes root su's without password and the drivers do run as root. -- mats Barry Rogen skrev: Would have to include the user password in the feed to satisdy the 'su' command however. Barry Rogen PNY Technologies, Inc. Senior Programmer/Analyst (973

Re: [U2] [UV] globally catalogued program

2006-12-13 Thread Mats Carlid
to the catalog directory. -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Somewhere other than HOLD

2006-10-27 Thread Mats Carlid
When in universe use the relatively new option of setptr 'USEROPTS' to pass your options to the pritner driver script - then You may continue to use FORM and BANNER for what they are intended for. my 2 vre -- mats Charlie Rubeor skrev: Don't know if this will help, but here is what I did

Re: [U2] Need help - UV intermittent roving file open error

2006-08-25 Thread Mats Carlid
In infomation flavour (and probably in ideal flavour) you can resize dimensioned arrays. -- mats Womack, Adrian wrote: Dimensioned arrays can be resized - BUT arrays defined in common can't. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL

Re: [U2] [UV] FIND vs LOCATE- speed?

2006-08-03 Thread Mats Carlid
. But You need a good number of searches to pay for the time used to sort. -- mats Barry Brevik wrote: When using FIND or LOCATE on a dynamic array, is one faster than the other, and is there any reason to sort the array to (hopefully) improve the speed of FIND or LOCATE? I don't need to use

Re: [U2] A Generous Offer

2006-06-28 Thread Mats Carlid
Oh no - not again - no meeting in Sundbyberg, Sweden ! ;^) -- mats Results wrote: George: Full(er) details at http://www.Intl-Spectrum.com. Here's the list: Cincinnati, OH Sept. 25 - 26 Kings Island Resort Sponsor: Ashwood Computer Services http://www.ashwoodcomputer.com/ Seattle

Re: [U2] Universe Java

2006-05-30 Thread Mats Carlid
Are there plugins available for u2 Basic in JEdit? Such as keyword colouring, syntax check or autoindent.. Can't see any on the JEdit site. -- mats Wendy Smoak wrote: On 5/29/06, Anthony Dzikiewicz [EMAIL PROTECTED] wrote: So, all of you Java guys and gals what do you use to develop

Re: [U2] OPEN Statement DICT Default

2006-05-09 Thread Mats Carlid
You mean sthg like: FOR I=31 TO 365 STEP 28 PRINT (I,'DMAL')[1,3] NEXT I Tried 'DMBL' but the abbreviations were only two characters. But printing the actual string is somewhat shorter ... -- mats Mark Johnson wrote: I specifically remember being taught X=STR(0,5-LEN(X)):X

Re: [U2] [UV] Forcing Subroutine to be Re-read

2006-05-03 Thread Mats Carlid
don't know but it could be worth to try. -- mats. [EMAIL PROTECTED] wrote: Hi all, UV9.6.1.14 HPUX 11 I have a background processor that calls a number of subroutines. Everytime I make a change to any of the subroutines, I have to shutdown the job and restart it because the subroutine

Re: [U2] survey

2006-04-11 Thread Mats Carlid
We solely use the information and ideal flavours - information for legacy systems originating from prime information and ideal for newer applications. Running uv10.1 on Solaris 8 and 10. -- mats [EMAIL PROTECTED] wrote: What flavors of universe are people using? I've only ever seen

Re: [U2] Unix Device Number

2006-03-17 Thread Mats Carlid
df shows all currently used mount points in its last columns and the device in column 1. HTH -- mats phil walker wrote: Hi, The output of list.readu returns the device and inode number of a Universe file. I can resolve the inode number by using find . -inum xx, but if I am positioned

Re: [U2] Unix Device Number

2006-03-17 Thread Mats Carlid
df shows all currently used mount points in its last columns and the device in column 1. oops ... I have an alias on df to df -k plain df gives the info too but in a different format. HTH -- mats phil walker wrote: Hi, The output of list.readu returns the device and inode number

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

2006-02-15 Thread Mats Carlid
Yes that's what was so fascinating 'bout simula when I got aquainted with it back in '70 but it wasn't called OO by then ... -- mats Serguei wrote: You not an OOP expect, are you? I have been using OOP since it appeared in Turbo Pascal long before and windows tools appeared and our

Re: [U2] CAll Stack

2006-02-07 Thread Mats Carlid
In universe I get it like this: CMD = 'PORT.STATUS PORT ':@USER.NO:' LAYER.STACK ' EXECUTE CMD CAPTURING TEXT -- mats Andrew Lakeland wrote: It's possible to access the call stack from debugger using the T command, anybody know if it's also possible to access

Re: [U2] [UD] Best practices

2006-01-30 Thread Mats Carlid
?? Apologies if I've missunderstood the question: You need to index on the same name that's You use in your SELECT's or SELECTINDEXes to have an effect ! If You haven't written them yet use the meaningfull PRODUCT. -- mats Arnold Bosch wrote: I have a question / concern regarding the D

Re: [U2] UniVerse:ED:Query

2006-01-23 Thread Mats Carlid
Simple use another delimiter any special character will do... hth --mats Hari T. K. Varma wrote: Hi All, In ED I would like how can I change/replace a text containing the delimiter itself i.e. \ as part of the text to be replaced e.g. 0001: FIRST^253HARI/PROG In the above

Re: [U2] Difference between IBM Universe and IBM UniData

2006-01-23 Thread Mats Carlid
to release 9, probably way earlier... -- mats Bruce M Neylon Health Care Management Group --- 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

Re: [U2] records with unprintable characters

2005-12-14 Thread Mats Carlid
Sometimes great minds think the same thought;-) -- mats Scott Ballinger wrote: Sorry Mats, I should read deeper into the stack before jumping in... Didn't notice that you had already suggested the same convert bad.chars to null solution. /Scott --- u2-users mailing list u2-users

Re: [U2] records with unprintable characters

2005-12-13 Thread Mats Carlid
to '' in record write record ... repeat HTH --mats Carl Sadlier wrote: Does anyone have a program or suggestions on how to clean up a file that has control characters and unprintable characters that are not Subvalue,Value or Field markers? Thanks, Carl --- u2-users mailing list u2-users

Re: [U2] Comparing object code [Was: Deciphering Pick UniBasic statement]

2005-12-12 Thread Mats Carlid
timestamp - at least in solaris - all that's needed is write permission in the directory. -- mats -- more snipped --- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [UV] is there an equivalent to the UD ALL UniQuery keyword?

2005-12-04 Thread Mats Carlid
Yes I know that's why I asked if it would do. It was by no means clear if formatting and headings were required... BTW what does ud LIST ... ALL do when there are multiple dict entries for the same field? Does it list all of them and if not - how does it select wich one to use ? --mats

Re: [U2] [UV] is there an equivalent to the UD ALL UniQuery keyword?

2005-12-02 Thread Mats Carlid
Would LIST.ITEM be an answer ? At least it lists all the fields... -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Associated MVs

2005-12-01 Thread Mats Carlid
-1 relation between the values in the fields and the PH entries are not much more than a shorthand notation for listings. HTH -- mats Bill_H wrote: Is it possible to assocate the same dictionary item (field definition) to more than one association phrase? I'm doing some conversion work

Re: [U2] Shell Dispatch Quoting

2005-11-10 Thread Mats Carlid
- (( For the curious: /usr/ucb is where the Berkely command versions are kept on solaris )) -- mats Intentional overquoting to faciliate comparisons. Stevenson, Charles wrote: For working at TCL, typing SH -c and proper quote marks, too, is just

Re: [U2] Strange $INCLUDE behavior

2005-10-19 Thread Mats Carlid
was not altered after the object code. In one instance we now know it was the first warning of an faulty disk drive soon thereafter to be replaced... -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Strange $INCLUDE problem

2005-10-18 Thread Mats Carlid
Piers Angliss wrote: valid variable name no longer than seven characters UV has discriminated common names up to 31 characters since release 8 - maybe earlier - in my release 4 docs it says 7 - haven't kept the inbetweens. -- mats --- u2-users mailing list u2-users

Re: [U2] connection from UniBasic to a SQL database [was What are you using to develop your web pages...] {Unclassified}

2005-10-14 Thread Mats Carlid
://www.mysql.com/company/legal/licensing/opensource-license.html (commonly known as the GPL) or under acommercial license http://www.mysql.com/company/legal/licensing/commercial-license.html. from www.mysql.com/products/connector/odbc -- mats --- u2-users mailing list u2-users@listserver.u2ug.org

Re: [U2] Date Conversion Codes

2005-10-13 Thread Mats Carlid
that: iconv( 20051013,D) = 13801 --mats cds From: Richard Lewis And did you know you can get that result without multiple conversions? Try: DYMD[4'',2'',2] instead of: DYMD[4,2,2]}MCN ___ From: [EMAIL PROTECTED] 0007: dwamdby[, ,,2

Re: [U2] help with multivalue and when

2005-10-11 Thread Mats Carlid
-- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] OPEN vs. TRANS

2005-10-07 Thread Mats Carlid
Bob Woodward wrote: I believe, for the most part, you are correct, but doesn't TRANS also do some work with the system delimiters? Such as a LOWER() or RAISE() function on the data that is returned? TRANS does indeed return the field LOWER-ed. -- mats Something in the back of my head

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Mats Carlid
it. But if you've understood the algorithm and the code still doesn't make sense emediately, then -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] CLEARINPUT - Universe

2005-09-29 Thread Mats Carlid
but there is good documentation of INPUTCLEAR ... maybe it's only a synonym thrown in to faciliate migration from some other pick dialect ? -- mats Anthony Dzikiewicz wrote: I don't know why I cant find the CLEARINPUT statement documented. Maybe it was a suggestion from the group way back

Re: [U2] LPTR / SETPTR / print from a specific tray

2005-09-21 Thread Mats Carlid
And in postscript : - /DeferredMediaSelection true /MediaPosition 0 setpagedevice Substitute the tray number for 0 . Warning: I've seen the MediaPosition to physical tray mapping vary between individual printers- -- mats Burwell, Edward

Re: [U2] RE: Named Common

2005-09-06 Thread Mats Carlid
the same name for it's common ... What's really needed is a 'local static' modifier. -- mats David A Barrett wrote: How on earth do You implement a persistent local variable without using named common ?? - -- mats @USER0 @USER1 @USER2 @USER3 @USER4 This is also in the manual

Re: [U2] RE: Named Common

2005-09-03 Thread Mats Carlid
How on earth do You implement a persistent local variable without using named common ?? -- mats PS I started using mv when Olof was in Rosenbad... :-) Clue in case somebody on this list is not on first name base with swedish prime minsters: Olof is Olof Palme --- u2-users mailing

Re: [U2] UniSubroutine: ErrorCode: 30106: Wrong number of arguments supplied to the subroutine

2005-09-02 Thread Mats Carlid
to be too dangerous if/when coexisting with another application or general subroutines in the same environment and thus _never_ used it - I tend to forget that it exists. Perhaps my fortran background with a similar common concept played a role... ;-) -- mats --- u2-users mailing

Re: [U2] [UV] Select Question

2005-07-14 Thread Mats Carlid
) one traversal of the file. So yes You'd save overhead - lot's of wall clock time and io but probably not that much cpu. hth -- mats [EMAIL PROTECTED] wrote: Hi all, Can someone tell me the diference between the following two examples of executing an external select? SELECT FILE TO LIST

Re: [U2] [UV] Select Question

2005-07-14 Thread Mats Carlid
and timed it for proof - both ways printed emediately. (But I had to SELECTV for the list variable case ) -- mats -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mats Carlid Sent: Thursday, July 14, 2005 06:22 AM To: u2-users@listserver.u2ug.org Subject: Re

Re: [U2] THE variable names

2005-07-12 Thread Mats Carlid
( attibutes ) . except in the common case that there is only one level of marks (and that the first and third are adjusted to that level of course ) -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] I can't delete a file.

2005-06-21 Thread Mats Carlid
OS file doesn't exist or You don't have permissions either (not) write permissions on the file or write in the directory emediately above the file or list permissions somewhere higher up int the hierarchy. -- mats Cisar Riba Cervera wrote: Hello Can help me I can't delete a file

Re: [U2] OCONV of no affect.

2005-06-20 Thread Mats Carlid
line :(and a processor cycle or two not storing CONV ): PRINT OCONV( REC6, (IF REC5=N THEN MD2 ELSE D2/ ) ) :^) -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] OCONV of no affect.

2005-06-20 Thread Mats Carlid
Mark Johnson wrote: Mats: Will that work. I've always thought any boolean in an () results in either a 0 (false) or 1 (true). Why not save another line :(and a processor cycle or two not storing CONV ): PRINT OCONV( REC6, (IF REC5=N THEN MD2 ELSE D2/ ) ) You're right, booleans do

Re: [U2] Include Vs Call - Software Maintenance

2005-05-20 Thread Mats Carlid
mean they don't return anything and IMNSHO shouldn't have one. ( We use return (dum) as a workaround ) -- mats Mark Johnson wrote: snip This causes me to think of the complement to subs and that is functions. Functions are quite useful in VB (et al) yet don't show up at all in legacy code

Re: [U2] I'm in an Array quandry, any suggestions...

2005-05-20 Thread Mats Carlid
.. But of course you may user readnext to step thru an array with this technique -- if you keep in mind that it is an old image of the array that you processing - and mostly it doesn't matter as the array doesn't change. -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe

Re: [U2] I'm in an Array quandry, any suggestions...

2005-05-19 Thread Mats Carlid
? -- mats Because READNEXT doesnt specify what cell you want. It just says get the next one whatever number that is. So for Readnext you'd only need a pointer to the last char position of the last delimiter viewed. You wouldn't need to know what cell number that represents. Will --- OK

Re: [U2] I'm in an Array quandry, any suggestions...

2005-05-18 Thread Mats Carlid
? -- mats 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] I'm in an Array quandry, any suggestions...

2005-05-16 Thread Mats Carlid
grow. On the other hand - a possible reason to use dynamic arrays for efficiency might be a number of LOCATEs ... -- mats Cheers, Wol --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Validating an email adress

2005-05-04 Thread Mats Carlid
To check the domain I use this for unix only and You may have to add the path to nslookup. If someone does not understand the swedish message - if any -:) it translates to Nonexistent mail adress domain -- mats --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe

Re: [U2] Validating an email adress

2005-05-04 Thread Mats Carlid
Oops the paste didn't work as expected - looked good but disappeared when sending - but here it goes: Mats Carlid wrote: To check the domain I use: EXECUTE \SH -c nslookup -q=MB \:DOMAIN:\\ CAPTURING RESULT

Re: [U2] uvo.net UvBasic .Net

2005-04-28 Thread Mats Carlid
U2 are 'semi-compiling' like pascal and java... That is the source code is parsed and transformed to a low level - easely parsed - language that is interpreted at run time. -- mats Roger Glenfield wrote: Isn't Universe/Unidata still using a runtime interpreter instead of generating assembler

Re: [U2] [UV] ACOS problem (floating point numbers)

2005-04-15 Thread Mats Carlid
that arccos is the _inverse function_ to cos like: x = arccos ( cos(x)) -- mats --Tom Pellitieri Toledo, Ohio --- 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

Re: [U2] UD, NFA

2005-04-14 Thread Mats Carlid
Hi Bjvrn at the very least You need to change the ip-adress from localhost to the real one... -- mats Bjvrn Eklund wrote: Unidata 5.2, Solaris 8 Hi, does anyone know if you can use NFA (network file access) to access DIR-type files. I would like to run a program on one machine but the source

Re: [U2] [UV] reference a variable indirectly?

2005-04-13 Thread Mats Carlid
VARS-1 = VAR VALS-1 = VAL END RETURN END FUNCTION VAL( VAR ) !! Hashed version COMMON /..SET/ VARS(N), VALS(N) HASH = MOD( SEQ(VAR[1,1])*LEN(VAR), N )+1 RES = LOCATE VAR IN VARS(HASH)1 SETTING II THEN RES = VALS(HASH)II END RETURN (RES) END -- mats --- u2-users mailing list u2

Re: [U2] Extending U2 with gci/CALLC -- Factory Floor Automation - Serial Connectivity ?

2005-04-12 Thread Mats Carlid
We have used cgi. Or rather an ex-client did. This was way back (release 5?, 6 and 7 ) and the first re-make of uv was quite a nightmare with lots of errors - later makes were just adventorous. -- mats Ed Clark wrote: As a curiosity, how many people have used universe gci or the unidata

  1   2   >