Re: [U2] [UV] Typo leads to discovery of new feature
Except in one regard - we have seen a bug in 10.x that breaks this behaviour. It has affected two sites - one on Solaris and one on HPUX and has caused a lot of grief (one was a bank) Brian On Wed, 13 Oct 2004 12:30:29 +1000 "Ray Wurlod" <[EMAIL PROTECTED]> wrote: >The stuff in quotes is a format specification. > >It's equivalent to using the Fmt function, for example Fmt(10.,'2') or Fmt(10.,'02'). >'2' is the same as '2 decimal places', '02' is the same as '0 decimal places with a >scaling factor of 2'. > >Originally from Pick, this shorthand is recognized in all flavours in BASIC. > >- Original Message - >From: Barry Brevik <[EMAIL PROTECTED]> >To: "U2-users (E-mail)" <[EMAIL PROTECTED]> >Subject: [U2] [UV] Typo leads to discovery of new feature >Date: Tue, 12 Oct 2004 16:06:57 -0700 > >> >> I was writing some test code when a slip of the fingers resulted in some weird >> syntax, >which then proceded to compile, and produced some interesting output. >> >> Anybody have any idea what this code thinks it is doing? >> >> PRINT 10.2 >> PRINT 10.'2' >> PRINT 10.'02' >> >> program output: >> 10.2 >> 10.00 >> 1000 >--- >u2-users mailing list >[EMAIL PROTECTED] >To unsubscribe please visit http://listserver.u2ug.org/ > > >This email was checked by MessageLabs SkyScan before entering Microgen. This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Memo: Re: [U2] [UV] Typo leads to discovery of new feature
HI Brian, Can you elaborate on what this bug was? UV 9.6 on HPUX about to move to UV10.0.19. thanks, asvin "Brian Leach" <[EMAIL PROTECTED] on 13 Oct 2004 10:44 Please respond to [EMAIL PROTECTED] Sent by:[EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: bcc: Subject:Re: [U2] [UV] Typo leads to discovery of new feature Except in one regard - we have seen a bug in 10.x that breaks this behaviour. It has affected two sites - one on Solaris and one on HPUX and has caused a lot of grief (one was a bank) Brian ** HSBC Bank plc may be solicited in the course of its placement efforts for a new issue, by investment clients of the firm for whom the Bank as a firm already provides other services. It may equally decide to allocate to its own proprietary book or with an associate of HSBC Group. This represents a potential conflict of interest. HSBC Bank plc has internal arrangements designed to ensure that the firm would give unbiased and full advice to the corporate finance client about the valuation and pricing of the offering as well as internal systems, controls and procedures to identify and manage conflicts of interest. HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority. _ This transmission has been issued by a member of the HSBC Group "HSBC" for the information of the addressee only and should not be reproduced and / or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line
Craig Cant it be read ONCE and put into one (or more) named common variables? Split over several variables the size won't count, various programs can reference it, you can consolidate multiple constants into one delimited variable (thus reducing number of constants) -Original Message- From: Craig Bennett [mailto:[EMAIL PROTECTED] Sent: Tuesday, 12 October, 2004 11:54 AM To: [EMAIL PROTECTED] Subject: Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line Hi Wally, > 32765 is the limit for contants. No, it is not configurable. Time for > a subroutine? thats depressing, this IS a subroutine. I have a large amount of text in need to include in the program object which I would STRONGLY prefer not read from disk. There is a maximum line length too isn't there Craig --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ - GWK BEPERK/LIMITED (REG: 1997/022252/06) POSBUS 47 PO BOX 8730 DOUGLAS Direkteure/Directors: NB Jacobs, FJ Lawrence, J v/d S Botes, JH Coetzee, JGD Smit, JF Jacobs, AO M|ller, JW Smit, JP Snyman, JG Stander, JH van Dyk(MD/BD), JG Jacobs, A M|ller, M van Zyl, Sekr/Secr: E van Niekerk. Hierdie e-pos is onderworpe aan 'n vrywaring beskikbaar by: http://www.gwk.co.za/DisclaimerVrywaring.asp This e-mail is subjected to the disclaimer that can be viewed at: http://www.gwk.co.za/DisclaimerVrywaring.asp --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Readu lock lost after 1 hour.
I have tested your programs with one major difference on my UV9.6: PGM2 eventually abandoms the wait but does not go into the THEN block, i.e., the 'READU END' is not displayed. As per Martin's email, the time to wait is controlled by the LOCK.WAIT. Sibut Pascal <[EMAIL PROTECTED]> wrote:Dear all, I had problem in a batch application so I have written 2 small test programs PGM1 OPEN "TEST" TO TEST ELSE STOP "CANT OPEN TEST" READU R.TEST FROM TEST,"1" THEN LOOP SLEEP 60 REPEAT END END PGM2 OPEN "TEST" TO TEST ELSE STOP "CANT OPEN TEST" CRT OCONV(TIME(),"MTS") : " READU START" READU R.TEST FROM TEST,"1" THEN CRT OCONV(TIME(),"MTS") : " READU END" END END I have launch PGM1 on a first telnet session and let it run. Then, I have launch PGM2 on a second telnet session. I was expecting the PGM2 waits until I kill PGM1. Instead of that I get the following output from PGM2: 10:56:08 READU START 11:56:09 READU END - It seems the locks are automatically released by UV after one hour ??? Is something wrong in my configuration ? Does this mean the READU locks are released after one hour ? Is there a tunable parameter to adjust this delay ? Can anybody help me ? I am using UV 9.5.2.1 on an alpha server Unix tru64 V5.1 Thanks and regards, == The EFG Mail Gateway made the following annotation(s). == Disclaimer This e-mail is confidential. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete the copy from your system. EFG is not responsible for, nor endorses, any opinion, recommendation, conclusion, solicitation, offer or agreement or any information contained in this communication. EFG cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. If you suspect that the message may have been intercepted or amended, please call the sender. Should you require any further information, please contact the Compliance Manager on [EMAIL PROTECTED] === --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ - ALL-NEW Yahoo! Messenger - all new features - even more fun! --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Typo leads to discovery of new feature
>The 'xx' is masking. >>PRINT 10.'02' I use that all the time instead of FMT(), but what seems odd to me is the ".", unless UV accepts "10." to be the same as "10.0" or "10". Barry --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
[U2] [UD] License count update
Howdy folks, Just a question regarding updating license counts "on the fly" without physically issuing the 'stopud' and 'startud' command following the udtconfig file update for NUSERS parameter. I hear there's a kill command such as the following to essentially restart "smm" to re-read the updated configuration/license information without having users logoff... :WHAT Hardware : Sun Station Operating system : Solaris O.S. version : 2.7 UniData version : 6.0.3 $ kill -HUP How will this affect a system which has users connected and their existing udt processes; or will it? Just want to check with y'all out there and see if anyone's done this on the fly and how it works. Danke, Andy Pflueger Ivy Hill Corporation Louisville, KY --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Typo leads to discovery of new feature
The general argument for rejecting a pattern of digits ending with a decimal point and not followed by any decimal places (e.g. "10.") is that such a pattern often indicates a typo. The argument for accepting such a pattern, representing an integer constant, is that we've always done it that way. I don't favor a change to the representation of numeric constants, but I'd favor a change to the BASIC compiler to eliminate the implicit FMT. The implicit FMT has historically been more costly than beneficial, and still is so. The compiler would catch more typos if the absence of an operator between 2 expressions were always flagged as an error. > -Original Message- > From: Barry Brevik > > [...] what seems odd to me is the "." > > [...] UV accepts "10." to be the same as "10.0" or "10". > > Barry --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Typo leads to discovery of new feature
Not to start anything here, but has anyone ever written up something along the lines of "lint" for Pick Basic? Don Kibbey Financial Systems Manager Finnegan, Henderson, Farabow, Garrett & Dunner LLP --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Tuning uvconfig parameters in universe 9.6
W liEcie z wto, 12-10-2004, godz. 09:21, Jawed Akhtar - ISD pisze: > Hi, > We are running universe 9.6 with GLobus on 64 bit HP-UX 11.0. I want to know; > Welcom to the Globus club ;) > 1. How could I know if universe is running in 64 bit mode. Login as uvadmin - probably root if I know Temenos run CONFIG ALL and check field 64BIT_FILES if value eq 1 You running Universe in 64 bit file mode > 2. What parameters of uvconfig are exhausting in universe and how to tune them. > Users are locked frequently once in a day. look at TXMEM,FSEMNUM,GSEMNUM,PSEMNUM,FLTABSZ,GLTABSZ,RLTABSZ,MFILES > 3. What should be file system size and kernel parameters of HP-UX for better > performance of universe. Out environment size is around 20 GB and users are 250+. > look at the parameters connected with disks and shared memmory > Thanks in advance > > Regd > Jawed Regards, Radoslaw > --- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UD] License count update
>From the 5.0.1 readme (yes - it's been around for a number of years) I've used 'kill -HUP smm.pid' regularly on Unix. I can't say that I've used 'stopsmm -r' or tried it on Windows... You don't want to 'fat finger' a kill -9 smm.pid, though... :-) Issue 7795 - Problem description UniData -- Prior to this release, when any changes were made for licensing purposes through the confprod utility, UniData had to be stopped and started again for those changes to take effect. Beginning at this release you no longer have to stop and start UniData. On UniData for UNIX, after changing the licensing information and obtaining an authorization code, execute either of the following commands from the UNIX prompt: kill -HUP smm_pid_ID or stopsmm -r On UniData for Windows NT, you use the stopsmm -r command. Note: Certain functions require that UniData be stopped, such as executing cntl_install, changing a file from recoverable to nonrecoverable, changing the udtconfig file, etc. Wally Terhune Manager - U2 Advanced Technical Services IBM DB2 Information Management Software Tel: 303.294.4866 Fax: 303.294.4832 [EMAIL PROTECTED] www.ibm.com/software/data/u2/support - Open, Query, Update, Search - Online! Andy Pflueger <[EMAIL PROTECTED] il.com>To Sent by: U2 User Group Mailing List [EMAIL PROTECTED] <[EMAIL PROTECTED]> stserver.u2ug.org cc Subject 10/13/2004 01:24 [U2] [UD] License count update PM Please respond to u2-users Howdy folks, Just a question regarding updating license counts "on the fly" without physically issuing the 'stopud' and 'startud' command following the udtconfig file update for NUSERS parameter. I hear there's a kill command such as the following to essentially restart "smm" to re-read the updated configuration/license information without having users logoff... :WHAT Hardware : Sun Station Operating system : Solaris O.S. version : 2.7 UniData version : 6.0.3 $ kill -HUP How will this affect a system which has users connected and their existing udt processes; or will it? Just want to check with y'all out there and see if anyone's done this on the fly and how it works. Danke, Andy Pflueger Ivy Hill Corporation Louisville, KY --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ [demime 1.01d removed an attachment of type image/gif which had a name of graycol.gif] [demime 1.01d removed an attachment of type image/gif which had a name of pic10680.gif] [demime 1.01d removed an attachment of type image/gif which had a name of ecblank.gif] --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
[U2] writeseq
I am using a writeseq to build a record for flat file, I have 5 to 15000 records I am build into one item, after each record I append it to the flat file item however there is a blank line appended each time it writes ? Is there a way to omit the blank line when it writes? Thanks D Raven e Fax (815)4259364 P.O. Box 17811, Irvine CA 92623-7811 --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] writeseq
Do you have a or at the end of the record you're writing? The system is adding one on there so you really don't need to add one in your code. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Raven Sent: Wednesday, October 13, 2004 4:17 PM To: [EMAIL PROTECTED] Subject: [U2] writeseq I am using a writeseq to build a record for flat file, I have 5 to 15000 records I am build into one item, after each record I append it to the flat file item however there is a blank line appended each time it writes ? Is there a way to omit the blank line when it writes? Thanks D Raven e Fax (815)4259364 P.O. Box 17811, Irvine CA 92623-7811 --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line
Hi Wally, 32765 is the limit for contants. No, it is not configurable. Time for a subroutine? I just reread the first few chapter of the UniData basic manuals and there it was. Could you tell me the maximum line length in a UniData basic program? thanks, Craig --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line
Hi ennis, Cant it be read ONCE and put into one (or more) named common variables? I could do that, but I am trying to have the data cached by a process (object loaded) without having to read the data. This works nicely on UV and has the advantage that you can load the program into shared memory so that a font only gets loaded once for the system. I think I'm going to have a bash at run/length encoding the font data to reduce the size of the font program. Craig --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] writeseq
Or is it something as simple as having the word processor you are using to look at the file wrapping at just the wrong spot. I use writeseq a lot and have never had this problem. My bet is with Kevin's solution Colin -Original Message- From: Kevin King [mailto:[EMAIL PROTECTED] Do you have a or at the end of the record you're writing? The system is adding one on there so you really don't need to add one in your code. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Raven I am using a writeseq to build a record for flat file, I have 5 to 15000 records I am build into one item, after each record I append it to the flat file item however there is a blank line appended each time it writes ? Is there a way to omit the blank line when it writes? Thanks D Raven --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Readu lock lost after 1 hour.
Readu locks should always be for the shortest period of time. Having locks open for long periods of time can cause issues such as the lock table filling up causing other issues. The performance issues can be significant and this is why RDBMS go to optimistic locking. Unless the record is locked because someone opened the record and went to lunch, it may be better to consider other methods. If it is related to workflow processes consider using task synchronization locks. Regards David Jordan --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
[U2] [UV] Strange Select Results?
Why when I execute this: EXECUTE Tcl CAPTURING SelectX Returning SelectY do I get this? :: Tcl/ STRING: T r L=64 `SELECT PU.SHIP.TIMES WITH ITEM = "336DB-1.1/2" AND STATUS <= "4"' :: SelectX/ STRING: T r L=73 `~1 record(s) selected to SELECT list #0.' :: SelectY/ NUMBER: -1 Should SelectY not equal 1? PS: It should select 1! System Information: O/S: Windows 2003 UV : UniVerse 10.1 Regards Bjvrn Behr Programmer HYFLO Southern Africa (Pty) Ltd Tel : +27 11 386 5800 Fax : +27 11 444 5391 Mail: [EMAIL PROTECTED] WWW : http://www.hyflo.co.za --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/