RE: ICONV/OCONV for unix internal timestamp (secs past 00:00 01/01/1970)
Chuck, you need to worry about time zone when rendering the unix epoch time as it is UTC (aka GMT) based. A simple conversion of the unix epoch time to U2 date/time will be incorrect unless you are in Britain in the winter - and who'd be there then ;-) Have a look at http://www.pickwiki.com/cgi-bin/wiki.pl?DateUtility . DateUtility(parseEpochTime,intTimeStamp) will return U2 Date Time based on the local machine time zone. This function could be used as a conversion by wrapping it and globally cataloguing it as $ParseEpochTime OCONV(intTimeStamp,'UParseEpochTime') Cheers, Stuart -Original Message- Behalf Of Stevenson, Charles unix generally keeps track of time as number of seconds past midnight GMT, Jan 1, 1970. Is there a conversion code to convert that to from external date time? If not, have you already written a custom conversion care to share? (I am NOT asking how to roll my own. I just don't want to do so if someone already has it, including figuring out flexability in output format.) Chuck Stevenson ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Universe on XP (Personal Edition)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] That's the problem. Telnet isn't being kicked out. I am doing this (start/stop) from the command line already. No big deal though. I just thought it was kind of odd. We run the 'real' system on unix and linux where I don't have such troubles. Anthony It probably works out quite nicely NOT to suddenly chuck out users and kill your running apps when you shutdown UV. It might have the insignificant side-effect of PREVENTING data data corruption. Seriously though; it is kinda obvious that you want all running processes to finish gracefully before stopping UV isn't it? Stuart ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: How to check if a variable is a filevar
Is there a way of checking to see if a variable is an opened file variable? I can check if it is alpha, numeric, assigned and unassigned but I cannot find anywhere where I can determine a filevar type. isFilevar = (descrinfo(1,PARMS(n)) = 4) ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: We need a web based Forum!
Hi Kate, the web based forum they are talking about is essentially the same as this list. Contrary to some complainants that there is no e-mail notification, there is, in fact, an option for immediate e-mailing of new posts. However, you do need to write your new or response posts on the web site which may be inconvenient for some. For me, for whatever reason (firewall, corp net nanny, etc), I lose about 5% of e-mails from [EMAIL PROTECTED] and the received order is often shuffled so I'm happy to go web. The other advantages I perceive are better file areas - user managed rather than Clif having to do the work, and possibly better apropos discipline. In effect, it's the same, just a different medium. Regards, Stuart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kate Stanton Sent: Wednesday, 21 April 2004 14:35 To: U2 Users Discussion List Subject: Re: We need a web based Forum! My ignorance is showing. What is the difference between a forum and a list (like this)? - Original Message - From: Geoffrey Mitchell [EMAIL PROTECTED] To: U2 Users Discussion List [EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 11:09 AM Subject: Re: We need a web based Forum! Why is that an argument? A forum is not the same as a chatroom. It is just as persistent as email. On Tue, 2004-04-20 at 16:38, Kate Stanton wrote: From New Zealand, the main argument against a forum is that we sleep while you work and vice versa. It is 9:30am here now, and 7:30am in Sydney - expect to hear similar story from Australians in about 2 hours. -- -- -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: What client platform do YOU use (Parallel to GUI thread)
Steve, I run a terminal emulator (Netterm) in 165x64 mode - no more because that's the smallest font I can read on the 17 monitor here. I run this on a Windows client against an aix/UV/SB+ app. The main advantage being that it just gives me lots of read space for programs. And yes, if our users were to use the same resolution (which they don't because they're stuck with SBClient) they could have entry screens reports that filled the whole screen. Stuart Behalf Of [EMAIL PROTECTED] Karl, Sounds interesting. So you have a screen that is 80 columns by 60 rows. Does that mean that you can than do PRINT @(0,60) to get the bottom line of the screen? And can you do 132 by 60?? Steve From: Karl L Pearson [EMAIL PROTECTED] Okay, I'll bite. I use Linux exclusively, other than when forced to run win98 or win2000, which I do on Linux in a VMware Workstation window, with my Linux streaming video or audio running in the background... (my personal touch) Running gnome-terminal in 80x60 mode, I can connect to our traditional 'green screen' APP and see more, especially when coding more 'green screen' parts to our APP. Karl ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: GUI as nice as character-based
[EMAIL PROTECTED] Wait do you mean the Windoze GUI that MS shamelessly stole from Macintosh ? Presume you meant to say that Apple shamelessly stole from Xerox - n'es pas? ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: PDF Manual [Data typing in MV Basic]
cOOL. Saves having to manually delete nasty unwanted plugins from the plugins folder ;-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Colquhoun If you use the above don't forget to install Acrobat reader speedup from: http://www.tnk-bootblock.co.uk/prods/misc/index.php ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: PDF Manual [Data typing in MV Basic]
... except that on first inspection it stops the indexes from working. I normally just move the following plugins out of the plugins directory and Reader goes much faster... Accessibility.api AcroForm.api AcroSign.prc DigSig.api eBook.api MakeAccessible.api -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stuart Boydell Sent: Friday, 2 April 2004 11:03 To: U2 Users Discussion List Subject: RE: PDF Manual [Data typing in MV Basic] cOOL. Saves having to manually delete nasty unwanted plugins from the plugins folder ;-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Colquhoun If you use the above don't forget to install Acrobat reader speedup from: http://www.tnk-bootblock.co.uk/prods/misc/index.php ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: XML or WORD Format???
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anthony Youngman In one word - it's IMPOSSIBLE. The beta version of the Save As XML plug-in, a free download for Acrobat 5.0 (http://www.adobe.com/support/downloads/89a2.htm for Windows and http://www.adobe.com/support/downloads/89a6.htm for Macintosh), allows users to export text from a tagged Adobe PDF file to the eXtensible Markup Language (XML), accessible HTML, or TXT formats. The resulting documents can be re-purposed with a variety of applications, including word processors and screen reader software. ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: PDF Manual [Data typing in MV Basic]
... If anyone knows of a comparable book (its wire bound, remember, so you can lay it down to use a keyboard/mouse) for version 10, PLEASE let me know. To maintain the feel of the original you could take the pdf to your local monastery and have the monks make a fair copy on palimpsest with illuminations and gilt highlighting. But that may take awhile. Alternatively; you could go to Kinko's (tm) and print it on their rainbow coloured endangered trees of the rainforest series paper then have it bound there. ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: The lists are closing
Dear Friends: After 10+ years of either hosting or supporting the info-prime, info-unidata, info-vmark, info-informix, and u2-users etc lists, I have decided to shut down the list server. Congratulations Clif for a fantastic job well done! I *really* want to encourage ALL of you to come over the the www.u2ug.org site and support this effort. This is *exactly* what many of you on this list have wanted over the years. If Not Now, When? 6141 visitors to date in March ... looks like it's Now. Cheers and see you there, Stuart ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: [UV] Index weirdness or ...
This is actually how it's designed to work. The BUILD.INDEX routine, for the sake of efficiency, creates a complex SELECT list comprised of: AKIndexKey:@TM:AKIndexRecord Fantastic, thanks for that Glenn. This behaviour works for me (as long as doesn't get broken in a new release). I'll ask IBM to update the documentation. Cheers, Stuart ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Suppressing detail in UniObjects command
DET.SUPP is not a valid attribute. Any ideas? This works perfectly from the udt prompt. Try ID.SUP DET.SUP (just one 'P'). ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: VB primer help ?
In a universe database I have a file Customers. In an Access database I have some of the fields of that same file as well, populated from the source universe file via a flat file transport and import. Have you not got ODBC available? Now however I need to just update those rows that have changed. If you can link or import the dumpfile to Access then use the Query tool (wizard thing) to build an update query, you should be right. Unless you are doing something other than overwriting based on the primary key, you shouldn't need any code really. If you were to import the whole table from UV to Access you can use the New Query/Find Unmatched wizard to find differences. Hope that helps, Stuart ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Eclipse
Just saw a www.ibm.com/developerWorks seminar on web services. They are using Eclipse as their IDE and I was impressed by the sexiness of the tools (We can get to whether they work or not later). There was a thread on here a few months ago about U2 Eclipse and I was wondering if anyone had built or tried building a plug-in for U2 yet. Anyone have any comments about it? Cheers, -- Stuart ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Common Universe/Unidata files
We have separate applications running on Universe and Unidata. The apps run on separate aix servers. We would like to create a common file that can be accessed by both applications but are not sure of the best approach to take. Any suggestions?? UniObjects for Java? A UOJ session on the UV box does the reads and writes to the UD box and/or visa-versa. /tuppence -- Stuart ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: [UV] paragraph labels
IF some condition THEN GO OUT ...however, there is no OUT: label in the paragraph. Somehow, this works. Is OUT some kinda built-in label? Don't think so, it seems like any undefined label will abort from the paragraph. ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: [UV] Pass by value [was:Need/Want/Would like to know]
Maybe passing a matrix in parentheses DOES pass by value - it passes the value of the matrix reference! Which still contains pointers to the matrix elements ... :-) With respect to the docu, I suspect it's meaningless when talking about matrices because it's not talking about what you think it is. For the same reason that C actively discourages passing structs by value (it's a HORRENDOUS performance hit on anything beyond the trivial), I suspect UV doesn't pass matrix CONTENTS by value for the same reason. Thanks but I'm not convinced. I still think this is buggy behaviour or bad documentation. My reasons for not being convinced are: A scalar and a matrix variable may refer to the same types of things (value, pointer, dyn array etc). Scalar variables with datum over eight bytes are pointers - same as a matrix variable. So in this case there is virtually no difference between a scalar variable and matrix variable. The documentation suggests that the effect of pass-by-value-parentheses will be the same on either scalar or matrix variable. The documentation says : When data is passed by value, the contents of the variable in the main program do not change as a result of manipulations to the data in the subroutine. This rule breaks when passing a matrix variable by value. The compiler will specifically fail on a call xxx((mat array)) type syntax. This specifically excises passing whole dimensioned arrays by value (your HORRENDOUS struct scenario). The compiler does not fail on a call xxx((array(9))) type syntax suggesting to the developer that certain behaviour will be exhibited. This expected behaviour is not manifested. The compiler treats scalar or matrix variables differently. So, to summarise, I feel my thesis is sound and the U2 developers should either amend the documentation of fix the compiler so that passing a matrix variable by value works. Regards, Stuart Note: in researching this I discovered there are 2 types of dimensioned arrays Prime and Pick style. I tested this for both styles of array with negative results. ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: [UV] Pass by value [was:Need/Want/Would like to know]
EQUATE CONST LIT ':' CALL xxx(CONST zzz(n)) Good call! ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: [UV] Pass by value [was:Need/Want/Would like to know]
I say this is a compiler flaw rather than a documentation flaw. While it may prove challenging to dig through the parse-tree to figure out when to make use of the implicit temporary, it should be done for matrix components as it is for scalars. The compiler can do it far more reliably for us than we can manually. Best regards, Gyle Sounds good. Cheers S ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: wIntegrate Trial Version
How do I get the server portion of wIntegrate installed? As far as i know, there isn't a server portion of wintegrate, me thinks he refers to host subroutines, installation instructions: http://www-306.ibm.com/software/data/u2/pubs/library/wintegrate/wintuser.pdf Chapter 2 Getting Started.Installing Host Programs ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
[OT] Damian Conway on Perl 6 -- February 17 - Melbourne
Any Melbournian Perl jockies who might be interested in this? Apologies for the off-topic post. - Subject: Fwd: Damian Conway on Perl 6 -- February 17 Tuesday 17 February, 11am WEHI Lecture Theater (http://www.wehi.edu.au/about/locations.html) Parkville Prof Damian Conway School of Computer Science and Software Engineering, Monash University. Title: The Perl 6 Programming Language Abstract: Perl 6 will be a major improvement on Perl 5 in many ways: syntactically, semantically, psychologically, and performance-wise. This talk looks at what is known, surmised, guessed, wished for, and dreaded about Perl 6. It discusses the history, motivations, syntax, semantics, and likely idioms of the new Perl. About the speaker: Damian Conway holds a Ph.D. in Computer Science and is an Honorary Associate Professor with the School of Computer Science and Software Engineering at Monash University, Melbourne, Australia. He is also the CEO and chief presenter of Thoughtstream Pty Ltd, an I.T. training company based in Australia. Thoughtstream provides world-class Perl training to Fortune 50 corporations, educational institutions, and government agencies around the world. Damian is the author of numerous well-known Perl software modules including: Class::Contract, Text::Autoformat, Parse::RecDescent, Text::Balanced, Lingua::EN::Inflect, Class::Multimethods, Switch, Quantum::Superpositions, NEXT, Filter::Simple, Attribute::Handlers, Inline::Files, and Coy (all available from your local CPAN mirror). A leading member of the international Perl community, Damian was the winner of the 1998, 1999, and 2000 Larry Wall Awards for Practical Utility. He is a member of the technical committee for the annual Open Source Conference, and author of the book Object Oriented Perl. Renowned for his skills as a speaker, and for the entertaining and often off-beat nature of his technical talks, Damian is widely sought-after as a conference speaker. Currently Damian is collaborating with Larry Wall on the design of the new Perl 6 programming language. ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Login question for Universe/SB+
We use UniVerse/NT and SB+. It seems redundant to have to login to UniVerse with a valid user and password, then choose an account, and then login to SB+ with a user and password. Sure does. SB won't change this I'm guessing because their licencing relies on it. What options do we have to avoid this redundant entry. Is there a way to pass the user's authentication information to UniVerse, or the Universe information to SB+? Thanks. SB+ runs in Pick flavoured accounts, in UV the following applies. When you log into an account the UV shell looks for the login process. This could be a paragraph, proc or a basic program. The UV VOC login search hierarchy for a pick flavoured account is: UserName, AccountName, LOGIN. I would reckon the best way to set up the user login, would be at either the AccountName or LOGIN entry level (rather than having to maintain user entries). You could probably get away with setting everyones password to the same thing (and relying solely on unix passwords for security) - dependant on the strictures of your company security policy. The SB.LOGIN verb can take user name and password as command line entries so you don't have to data stack them. Maybe a program that did something like this. program LOGIN *... do any account initialisation setups * eg if @tty = 'phantom' ... * log into SB+ chain 'SB.LOGIN ':@account:',DummyPassword' end Unfortunately SB.LOGIN command line doesn't take terminal emulator entries, so if you have an ASK prompt for the users emulator then you will have to data stack the command. data @account,'DummyPassword','TU.VT220.GUI' chain 'SB.LOGIN' -- Stuart Boydell ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
using locate in compound true/false statement
A mild annoyance at some inconsistence using boolesque statements such as locate. One can use the syntax: loop while locate moon in sky setting sun do ;* a thing of beauty ...repeat yet cannot use: if locate spoon in pudding setting jelly then ... ;* food fight! Just thinking it would be nice if the boolean nature of the first syntax was applicable with something firmer than the wobbly inconsistency of the second. /vent Regards, Stuart ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
[UV/AIX] gzip data to file?
[UV10/AIX] We have a requirement to output (10MB +/- ascii) data into zipped files, the files then being put on a web server for collection. I'm just wondering what the best approach to this might be? How would or have other people approached this? I'm trying to avoid writing the data until after it has been zipped. Rough ideas being... sh - c 'uv prog | gzip -c9 file' Print to a script? Write to a device (or pipe?)? Output to a java widget? Other? Regards, Stuart Boydell ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: [UV] escaping temp in dos diectory
Thanks Ray others who answered, I did in fact end up using SAVEDLISTS. ;-) The reason for using a generic file and not creating one is that 1. I don't know which account it will run in. 2. i don't want the time factor of creating a file and 3. if it can't open the file then it doesn't need to run the script. However, executing the cscript.exe command required the ampersands to be escaped. Quoting all or any part of the string in a myriad of different permutations didn't work. Whereas using the circumflex worked just fine (and it is documented at msdn - I just didn't put in the right search for combination the first time i searched :-S. execute 'dos /c cscript ^savedlists^/myscript.vbs' capturing cap Cheers, Stuart ps. the script reads some stuff from the windows registry, I don't think there's another easier way to do it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ray Wurlod Sent: Tuesday, 3 February 2004 19:31 To: U2 Users Discussion List Subject: Re: [UV] escaping temp in dos diectory TEMP can't be guaranteed to exist. It's created if, during an upgrade, items are found in VOC that are different in type to the replacement that's to be installed in VOC as part of the upgrade. If an account has never been upgraded, there won't be a TEMP file. You'd be better off choosing SAVEDLISTS, which does always exist, but which doesn't help you get over your escaping problem. You *should* be able to use double quotes around the pathname. For example: execute 'dos /c cscript temp/myscript.vbs' capturing cap But this has two pieces of grief. One is that the entire command must also be quoted (for the DOS /C command) if the command contains white space. For example: execute 'dos /C cscript temp/myscript.vbs' capturing cap You can probably fiddle around with the third quote character, for example: execute \dos /C 'cscript temp/myscript.vbs'\ capturing cap The other is that EXECUTE - under what circumstances I can't quite remember - has a tendency to strip a level of quotes. Anyway, try some of those variations. If that doesn't work, create a Type 19 file as part of the command. For example: execute 'DOS /C mkdir mytmp; cscript mytmp/myscript.vbs' capturing cap or even execute 'DOS /C mkdir mytmp; cscript mytmp/myscript.vbs; del /S mytmp' capturing cap - Original Message - From: Stuart Boydell [EMAIL PROTECTED] Date: Tue, 3 Feb 2004 15:25:33 +1100 To: U2-Users [EMAIL PROTECTED] Subject: escaping temp in dos diectory Just a quick curly one, UV 10 Windows. I need to run a script in a temp directory because that's the only one that is generally going to be a type 1/19 in any given account. The ampersands are causing me grief, does anyone know how to escape them? If it's not possible, I'll just write it to a path but I would prefer it to be there for houskeeping. execute 'dos /c cscript temp/myscript.vbs' capturing cap Regards, Stuart Boydell ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: The result of VARIABLE[1,3] + 0
-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Mark Johnson... This brings up another aspect of the text/string situation: Consider this A="00"[1,3] ;*zeros for both lines B="00"[1,2] PRINT (A=B) and you would expect to get false as textually speaking 000 is not 00. But left alone, these 2 variables can be concluded to be numbers and thus equal even though their lengths are different. In this case, you would probably want to usethestring compare function. PRINT COMPARE(A,B) ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
Distributed multipart files [as RE: [UV] Resize - Dynamic or 64 bit?]
I have never come across distributed files in a system and they sound a lot like multiple part files (like SYS.HELP,XXX). What is the difference / advantages / disadvantages between usingdistributed files andmultiple data-part files? Can a distributed file also be a multiple part file? Cheers, Stuart -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of David T. MeeksSent: Friday, 30 January 2004 07:50To: U2 Users Discussion ListSubject: RE: UNCLASSIFIED RE: [UV] Resize - Dynamic or 64 bit? Actually, a DISTRIBUTED file is largely a logical construct. It is a collection of normal files under the umbrella of a master logical file.The components of the DISTRIBUTED file (also called a PART file) can beany hashed file type.The file type that has DATA.30 and OVER.30 is a DYNAMIC file. Dave ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: command shell quoting [was:UNCLASSIFIED RE: mkdbfile: create file in another account]
Title: Message A question: does this quote mangling behaviour occur at real TCL or just from an SB+ SH.SHELL prompt.The SH.SHELL mangles double quotes - so that may be your problem. Note that the double quoteswork without nesting or escaping them in the following command(tested on UV10.0.4 10.0.10): DOS/C "NET USER anuser anuserpassword /ADD /FULLNAME:"an user" /COMMENT:"an applicationuser." /HOMEDIR:E:\uvaccounts\anaccount" -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of HENDERSON MICHAEL MRSent: Wednesday, 28 January 2004 13:54To: 'U2 Users Discussion List'Subject: UNCLASSIFIED RE: mkdbfile: create file in another account Kate You may be striking a bug in the UV "dos /c ..." command, which has some, err, foibles ... 1) The command string MUST be enclosed in single quotes (this is not documented anywhere) so, you must say DOS /c 'my DOS command string', not DOS /c "my DOS command string" 2)If you try to pass a parameter enclosed in double quotes, you are in trouble :-( So DOS /c 'blat.exe -s:"a subject with spaces" ...' just doesn't work, the double quotes get mangled. I have cases opened on both issues with IBM, and have tested a patched version of UV that solves the second problem. I understand this will be released with the next windows 10.0.x version, and presumably included in the subsequent 10.1.x. Dunno when, if ever, the documentation issue will be addressed. The work-round for the second problem that is least awful is to generate a batch file (DOS .bat extension) on the fly in your UniBasic program, and then run that .bat file from the DOS /c command. Call me on (04) 2371828 if you want a better explanation! HTH Mike ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: Converting between Java/UniData dates
Unlike pick time/dates, milliseconds from 1970-01-01 00:00 UTC or epoch is locality independant. If you have an application distributed over time zones, and recording events sequentially is important to you, then you will want to know that an event that occured at 16:00 in Melbourne actually occured BEFORE an event at 15:00 in Perth*. Using milliseconds from epoch will give you a sequentially correct numeric stamp with intrinsic date/time information whereas pick time date will require 2 fields and a bit more work to convert between time zones. To convert the epoch value to a local date/time is simple, however, if the location that the recording event occured was not the same as the location that the conversion program is running in then you would need to take the time zone of the recording event into account when you do the conversion. This gets more complex and is a good reason for IBM to include ISO 8601 standard conversion routines in U2! See wiki http://www.pickwiki.com/cgi-bin/wiki.pl?OpenQuestions Cheers, Stuart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dawn M. Wolthuis Sent: Wednesday, 28 January 2004 13:30 To: 'U2 Users Discussion List' Subject: RE: Converting between Java/UniData dates Why in the world did that do that? Is it in WebAdvisor? So, in the Datatel Colleague and Benefactor products there are hundreds if not thousands of PICK dates and exactly 1 Java date stored? I guess the good thing about standards is that everyone can come up with their own, eh? Smiles. --dawn Dawn M. Wolthuis Tincat Group, Inc. www.tincat-group.com Take and give some delight today. ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action. This footnote also confirms that this email message has been scanned for the presence of computer viruses. ** ___ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users