RE: [U2] SPACE character ignored

2004-05-12 Thread Stevenson, Charles
Do both UV UD behave exactly the same in this regard? How about D3 the other MV-related systems? cds -Original Message- X = '1' Y = '1 ';* note the trailing space character X = Y is true snip --- u2-users mailing list [EMAIL PROTECTED]

RE: [U2] My company is complaining about the U2 emails

2004-05-15 Thread Stevenson, Charles
I'll weigh in with Dan Dave. the language is rich. We should be able to express ourselves without using obviously offensive words. - Chuck chuck-bo-buck Banana-fana-fo-Charlie Stevenson --- u2-users mailing list [EMAIL PROTECTED] http://www.u2ug.org/listinfo/u2-users

RE: [U2] RE: Memo: RE: [UD] Union Query

2004-05-03 Thread Stevenson, Charles
Title: Message Yes it does, albeit syntax is different. 2 ways: LIST.UNION combines savedlists GET.LIST LIST-A TO 1 10 record(s) selected to SELECT list #1. GET.LIST LIST-B TO 2 10 record(s) selected to SELECT list #2. MERGE.LIST 1 UNION 2 19 record(s) selected to SELECT list

RE: [U2] Companies going belly up converting from PICK/MV

2004-05-17 Thread Stevenson, Charles
From: Dawn M. Wolthuis I'm looking for information related to companies that moved or attempted to move from applications based on MV to Oracle or other relational databases and went belly up in the process. I don't know that this is so much a MV-to-Other conversion phenomenon as a general

RE: [U2] Preventing Unix Login

2004-05-21 Thread Stevenson, Charles
Are you asking how or if it is a good idea? If asking How: Disable logins in /etc/profile or if you are more comfortable working in universe disable getting into uv in the uv home directory's VOC UV.LOGIN add somethiong like this bit of code to the top of the paragraph: PA BREAK OFF IF

RE: [U2] [UV] TIME() truncation

2004-05-27 Thread Stevenson, Charles
Karl, Short answer: $OPTIONS TIME.MILLISECOND affects TIME() SYSTEM(12). We are on HP UX also when upgrading from 9.6 TO 10.0.x we blindly inserted $OPTIONS TIME.MILLISECOND at top of all programs so they would function as before. Archives are at http://www.indexinfocus.com/ but I couldn't

RE: [U2] RE: [UV] 10.0.19 - Bug with FMT? Unclassified

2004-06-01 Thread Stevenson, Charles
This one interests me, since we also had trouble with FMT at 10.0.12 .16 We are running 10.0.16 and the L10 v. 10#L problem shows up there exactly as you report it, in both PICK IDEAL flavors. Chuck Stevenson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

[U2] Universe PTERM CASE INVERT / NOINVERT Preferences

2004-06-02 Thread Stevenson, Charles
I am curious about people's experience: 1. Do your end users like or dislike this case-inverting behavior? I think most dislike it. 2. How about programmers and techies? 3. Do you let users configure it for themselves? By the way, Stuart meant paragraph, not phrase. Line 1 would

RE: [U2] [UV] Resizing files from dynamic to hashed.

2004-06-04 Thread Stevenson, Charles
Andre, Be careful when looking at ANALYZE.FILE for dynamic files. The load modulo don't translate well for static files because of large records. The DUM example below is a dynamic file with 7 large records in it. The 7 ids pointers to the corresponding data's residence in OVER.30 easily

RE: [U2] Convert Statement Not Working

2004-06-09 Thread Stevenson, Charles
This one ought to go into the FAQ The following CONVERT statement does work, CONVERT TO amp; IN LINE Does anyone know what's happening here? Well, I'm still proud of my little example when the question was raised in April: CDS.BP C 01 X = 'How much wood would a woodchuck chuck, if

[U2] relative speed of Retrieve SELECT vs Basic SELECT, LOOP READNEXT,READ. was: [UV] WHILE READNEXT id DO

2004-06-17 Thread Stevenson, Charles
Please let me deflect this thread before it degenerates into a GOTO war. Which would you suppose is much faster: 1: T0=TIME() FOR I = 1 TO 100 EXECUTE 'SELECT VOC WITH TYPE = V COUNT.SUP' LOOP WHILE READNEXT ID NULL ;* GOSUB DO.STUFF REPEAT

RE: [U2] relative speed of Retrieve SELECT vs Basic SELECT, LOOP READNEXT,READ.

2004-06-17 Thread Stevenson, Charles
It is my understanding that UniData (at least...don't know about UniVerse) cache's the SELECT in Method 1. You can see this from ECL by timing a huge select, then CLEARSELECT, then re-issue the original select. The second run will come back much quicker. Caching can be controlled for.

RE: [U2] relative speed of Retrieve SELECT vs Basic SELECT, LOOP READNEXT,READ. was: [UV] WHILE READNEXT id DO

2004-06-17 Thread Stevenson, Charles
Looks like someone has too much time on their hands today Actually, the question grows out of a real need for a phantom to repeatedly loop through a file all day long. My problem is that the phantom does not have too much time. I thought the repeated overhead associated with executing a SELECT

RE: [U2] Universe Database Hang (login hang)

2004-06-21 Thread Stevenson, Charles
Do anyone having experience on Universe Database hang. ( note that existing user process still able to run the process and access the database only user which using new session log to the database will hang over there ? ) The system file is not full . When i LIST.READU EVERY (using

[UV] SYSTEM(9001) (was: [U2] SYSTEM(49) on UV)

2004-06-23 Thread Stevenson, Charles
of gratitude. I dug the following from the list archive, http://www.indexinfocus.com/. Until the manual is updated, I hope this documentation is good enough: Subject: [UV] SYSTEM(9001) tells you what program you are in where you came from! From:Stevenson, Charles ([EMAIL PROTECTED]) Date

RE: Re[2]: [U2] Monitoring a count of users logged on

2004-06-25 Thread Stevenson, Charles
I do something similar on UV starting with `cat /.uvhome`/bin/uvlictool report_lic instead of UD's: /usr/ud60/bin/listuser (A question about uvlictool came up in the Universe Database Hang thread this week.) -Original Message- From: Bill Pizer I have this running every 60

RE: [U2] building DICT items

2004-07-01 Thread Stevenson, Charles
Uni_VERSE_ I-types are probably best explained in the Uni_DATA_ manual. They have a much better introduction if you are new to the topic and it is mostly applicable to UV. The UD manual (can't remember which) probably calls them Virtual Attributes or V-items. Start there, then check the UV

RE: [U2] How to use change(), inside a I-Desc (UV)

2004-07-02 Thread Stevenson, Charles
OK. Can't figure out how to execute the change function inside an I-desc. I'm trying to do: CHANGE(@ID,X,(X)) I wrote catalogued: UTIL.BP CHANGE 01: FUNCTION CHANGE( EXPRESSION, SUBSTRING, REPLACEMENT, OCCURRENCE, BEGIN ) 02: RETURN ( CHANGE( EXPRESSION, SUBSTRING, REPLACEMENT,

RE: [U2] building DICT items

2004-07-05 Thread Stevenson, Charles
From: Mark Johnson Not for nothin' but there are some pretty ugly I-type dict items with all the SUBS, EQS, REUSE etc stuff. Before I disagree with some points, let me concur that I-types' MV-handling can be ugly. Although Prime traded the ugly correlative syntax for the inherent simplicity

RE: [U2] Passing a SELECT ID if it's not in the file...

2004-07-09 Thread Stevenson, Charles
What Brian Leach said. I wrote a MAKE.LIST verb that creates an active select list from the contents of the command line. (I think some versions of Pick have that, maybe by a different name. Can't remember.) The program loads a dynamic array from Brian's Get(ARG.)s, then does FORMLIST. The

RE: [U2] Why can't a globally cataloged programs have command line arguments?

2004-07-09 Thread Stevenson, Charles
Oh, joy. It's a stupidity that Prime gave us, Vmark preserved. (don't know about UD.) A line that begins with a * is a comment - if it also has a space in it somwhere after the *.. A line that begins with a * and has no spaces after the * is treated like a globally catalogued program. Note,

RE: [U2] [UV] DATA stack active?

2004-07-20 Thread Stevenson, Charles
@DATA.PENDING is attribute-mark-delimited string holding the data stack. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] (UV) Analyze.shm -s

2004-07-20 Thread Stevenson, Charles
Karl, I'm confused about your removing the hidden .Type30 files: Here's some detail on the files as they currently exist (I removed .Type30 from each file to save space): BOHDR: -rwxrwxrwx 1 vsifax staff 761856 Jul 19 12:21 DATA.30 -rwxrwxrwx 1 vsifax staff 468992 Jul 19

RE: [U2] (UV) Analyze.shm -s

2004-07-20 Thread Stevenson, Charles
From: Karl L Pearson I really didn't remove the .Type30 files from disk, only the email. That would have been pretty daft of me... speaking of daft, the joke's on me! I thought maybe we were swinging at a moving target. cds --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please

RE: [U2] Longstanding aversion to CNAME?

2004-07-23 Thread Stevenson, Charles
UV10 STILL DOES NOT UPDATE INDEXES if the index is part of the ID. From: Norman, David (SAAS) In UV9.4 CNAME didn't update secondary indexes, which left a bit of a mess behind. This has now been fixed, probably from 9.6. Example. A 2-part id: [internal-date]*[something] indexed on date (

RE: [U2] UV: convoluted ITYPE extraction

2004-07-29 Thread Stevenson, Charles
fair 'nuff I once wrote a general purpose LOCATESUB that made LOCATE functionality available to I-descriptors so I wouldn't have to write a separate subroutine each time I needed it. In retrospect, it was overkill. Altho I generally like the technique of reusable general utility subroutines, I

RE: [U2] [UV] Transaction logging manual

2004-08-02 Thread Stevenson, Charles
UV's standard pdf doc set has translog.pdf. Chapter 8 is Universe commands. Userref.pdf has descriptions of TCL commands, including txlg cmds. Look in UV home directory at the motif menus and follow the paths to see the commands that tx logging submenus execute. Look at the verbs in the VOC and

RE: [U2] RE: Copying data between two Universe servers

2004-08-02 Thread Stevenson, Charles
IBM could help us here by writing a backward link in the I_INDEX.MAP that says where the primary file is that the index supposedly references. If there is a mismatch, error out. Is there a situation where the current state, where more than one primary files could point to the same index is a

[U2] [UV] Primary:Index (mis)matching. Was: Copying data between two Universe servers

2004-08-02 Thread Stevenson, Charles
(Lurking Newbies: I hope you are reading this thread. This can sting you really HARD!, as Martin Phillips cites at the bottom. (meaning the bottom of this post being where MP's comments are, not where you'll get stung. Well, maybe...) The issue is this: the path to the index is

RE: Unclassified RE: [U2] RE: Copying data between two Universe servers

2004-08-03 Thread Stevenson, Charles
The way I really hoped would be implemented was to have the index files exist within the file subdirectory, i.e. all files with indexes would be similar in structure to Type30, but have a .index subdirectory within them. So, from then on, the indexes would be tied to the main data

RE: [U2] [OT] SOA Acronym (was Sarbanes-Oxley)

2004-08-06 Thread Stevenson, Charles
Time to move the acronym discussion to u2-community? To be an Acronym it must be pronounceable as a word, Otherwise it's an abbreviation. TLA, pronounced tee-ell-eh is a Three Letter Abbreviation. pronounced 'tla ( hard for English speakers - do any Indo-European languages start words

RE: [U2] U2 .Net Information

2004-08-30 Thread Stevenson, Charles
LeRoy, Are we going to be able to get it at the IBM DB2 Information Management Technical Conference? Karjala Isn't there a pre-conference seminar on the topic, too ? ? ? --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] UV: how best for subr to ask Do I own a readu lock for [file rec0?

2004-09-10 Thread Stevenson, Charles
Thank-you! I couldn't remember or find it for some reason. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David T. Meeks Try using the RECORDLOCKED function... Locked = RECORDLOCKED( file.variable, record.ID ) It will return you a value indicating

RE: [U2] Can't find a character in my source code

2004-09-10 Thread Stevenson, Charles
On UV, I would compile it with the -X option and then look at the cross-reference map. BASIC BP PGM -X ED BP.L PGM ---: F Xspace That would show all lines where variable X is referenced, assigned, etc. I think you have something similar in UD. cds -Original Message- From: [EMAIL

[U2] UV Enhancement Request: Let UniAdmin's Performance Monitor capture to a file

2004-10-04 Thread Stevenson, Charles
I posted the following on the U2Ug.org Enhancements Forum: __ [UV] Let UniAdmin's Performance Monitor capture to a file (UniData may already have this feature?) Rather than just catch realtime data on a screen, I'd like to be able to capture it to a file

RE: [U2] [UD] SYSTEM(40), [UV] SYSTEM(9001) - referencing name of a subroutine from within the subroutine.

2004-10-04 Thread Stevenson, Charles
It was a UD question, but for those interested in UV try SYSTEM(9001): OBJPATH = SYSTEM(9001)1,2 PGMNAME = OBJPATH[ '/', DCOUNT(OBJPATH,'/'), 1 ] or alternate syntax: PGMNAME = FIELD( OBJPATH, '/', DCOUNT(OBJPATH,'/'), 1 ) Forward shash assumes Unix. It also assumes you don't have

RE: [U2] Dimensioned arrays

2004-11-04 Thread Stevenson, Charles
If I understand your problem, you can use INSERT exactly as you would with dynamic arrays: INS newValue1 BEFORE FLD(1)1,VMC INS newValue2 BEFORE FLD(2)1,VMC INS newValue3 BEFORE FLD(3)1,VMC etc. Heck, it is *possible* to INS *attributes*, not just values or subvalues: INS

RE: [U2] Index problem

2004-11-04 Thread Stevenson, Charles
I've been out sick for a month and am jumping into the middle of this thread. I gather that someone wants to maintain an index on a TRANS() result, but is frustrated by UV or UD's failure to maintain the index. Here is a good workaround using my own verb, XSELECT, first implimented when we were a

RE: [U2] Index problem

2004-11-04 Thread Stevenson, Charles
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles Sent: Thursday, November 04, 2004 12:44 PM To: [EMAIL PROTECTED] Subject: RE: [U2] Index problem [snip] Then 2 steps at TCL or pararaph: SELECT ORD.HDR WITH CUST.NAME = XYZ ABC etc

RE: [U2] Index problem

2004-11-05 Thread Stevenson, Charles
From: Doyen Klein I found the manual for uv on IBM site (http://publibfi.boulder.ibm.com/epubs/pdf/25119270.pdf) Any where I can find ... 1. a more detailed internals description of processor mode and dispatch type? Not that I know of. Just the whole VOC section (chapter 3) in the System

[U2] UV slow after reboot

2004-11-10 Thread Stevenson, Charles
For the first day after a reboot, our Universe application seems to be extraordinarily slow; dramatically slower than what I've seen on other systems, and maybe worse than how this system used to be after reboots (subjective assessment). For several hours after reboot users weep and gnash their

RE: [U2] [UV] Random number (RND()) help

2004-11-10 Thread Stevenson, Charles
Barry, On UV10.0.16, HPUX11i, I get a reasonable distribution: 0001: DIM DISTRIB(10) ; MAT DISTRIB = 0 0002: FOR I = 1 TO 99 0003: THIS.NUM = RND(370570) 0004: DISTRIB( 1+ INT( THIS.NUM/37057 ) )+= 1 0005: NEXT 0006: FOR I = 1 TO 10 0007: CRT

RE: [U2] broken up SELECTS

2004-11-11 Thread Stevenson, Charles
One can also create an I-descriptor that returns a true/false (then SELECT ... WITH XYZ.FLAG ... ). Buried in the I-descriptor can be explicit control (via IF,AND,OR, parenthases) of whether or not you do certain expensive tests depending on results of cheaper tests. You can also apply

RE: Unclassified RE: [U2] Quick question on Longnames

2004-11-11 Thread Stevenson, Charles
Yeah, and get rid of Type1 for dirs in uvhome while you're at it (catdir, APP.PROGS, BP, INCLUDE, etc.). And default file types for SAVEDLISTS, PH, COMO, HOLD should be Type19 when they get created, too. The rabble has been 'roused. cds -Original Message- From: [EMAIL PROTECTED]

RE: [U2] UV slow after reboot

2004-11-12 Thread Stevenson, Charles
, November 10, 2004 12:31 PM To: [EMAIL PROTECTED] Subject: Re: [U2] UV slow after reboot Stevenson, Charles wrote: For several hours after reboot users weep and gnash their teeth over the slowness . By the end of a normal workday things seem to be back to normal. I *think* the performance

RE: [U2] UV slow after reboot

2004-11-12 Thread Stevenson, Charles
it was probably the programs themselves being cached. -Original Message- From: Stevenson, Charles For the first day after a reboot, our Universe application seems to be extraordinarily slow; [snip] Has anyone else seen this sort of thing? I'm fishing for ideas here. The only thing I can

RE: [U2] Re assigning universe index file after OS level copy

2004-11-12 Thread Stevenson, Charles
Rod, Try SET.INDEX. The path to the index dir is buried in the header of the data file. SET.INDEX will let you change that. cds -Original Message- From: Rod Hills Is their a way to copy a data/index files and not have to rebuild the index. --- u2-users mailing list [EMAIL PROTECTED]

RE: [U2] [UV] [OT] Writing key .anything to type 19

2004-11-16 Thread Stevenson, Charles
Verbing weirds nouns. (William Safire quote, I think??) CDS P.S. Nouning weirds verbs, too. - I think it was AT T who architected unix. (I checked at dictionary.com, No entry found for architected) Yes, but according to this link there are about 209,000 references

RE: [U2] Re: [UD] problem with hex conversions

2004-11-24 Thread Stevenson, Charles
Bill, You're forgiven - but just cuz it's Thanksgiving tomorrow. Chuck Stevenson, old primate -Original Message- From: Bill H. Goes to show ya...coming from a Pick background I see nothing wrong with the results. :-) --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe

RE: [U2] Universe ON.EXIT

2004-12-06 Thread Stevenson, Charles
From: Womack, Adrian Phantoms under PI/Open would execute the ON.EXIT paragraph when exiting. what does UD do? It's pretty annoying that UniVerse doesn't do the same thing (IMO it should). Agreed. Knowledgebase G21418 mentioned by Clif Oliver has been open since 9/4/97, UV 9.3. For more

RE: [U2] Universe ON.EXIT

2004-12-07 Thread Stevenson, Charles
New uvconfig parameters can control optional behaviour if a proposed enhancement would affect backward compatibility. That leaves it to user to decide which compatibility he wants, PI or older UV. Thanks, Uffe, for the QUIT paragraph tip. Makes sense. That workaround/resolution is not

RE: [U2] UniVerse Backup/Resizing Questions

2004-12-12 Thread Stevenson, Charles
From: Dave Schexnayder Sent: Friday, December 10, 2004 9:13 AM 1) Resizing. When we asked IBM about resizing, their answer was FAST. However, I am not impressed with the product nor the expense, are there any alternatives? 1st, I hope you understand and use dynamic hashed files (type-30

[U2] @TRUE, @FALSE

2005-01-10 Thread Stevenson, Charles
TRUE = (1 EQ 1) ;* If not otherwise defined FALSE = NOT(TRUE) ;* If not otherwise defined Just use @TRUE and @FALSE variables U2 already gives us. VLIST of example in Universe: 1: IF @TRUE THEN CRT 'YES' 1 0 : 2DE testfw 1 E: 1 8 : 046 crtcrlf

RE: [U2] Named Common Issues in UV

2005-01-11 Thread Stevenson, Charles
Richard, Besides the 7 character name limit, here's another scenario that would cause grief. Don't know if it applies to you. It has nothing particularly to do with VB. Consider a single session that LOGTOs different accounts: 1. VBNOTEPAGE3 successfully runs in account A. common is

RE: [U2] Passing parameters to a paragraph?

2005-01-13 Thread Stevenson, Charles
Wendy, (can't believe no response posted yet.) Cn,Prompt Text will take nth word from command line. Similar to GET(ARG.) in basic. In,Prompt Text will take nth word from command line, but if none supplied, will prompt user. [control,]prompt text[,options] is general syntax. P,R,A, s are

RE: [U2] UV-piopen TRANS function

2005-01-19 Thread Stevenson, Charles
Andrea, This is a known conversion issue. I don't think there is a workaround other than to write your own TRANS function replacement. (If you do, be sure to mimic some of the efficient caching of already-read records that TRANS does.) If IBM wanted to, a new UVCONFIG option could be a way

RE: [U2] UV-piopen TRANS function

2005-01-19 Thread Stevenson, Charles
From: Mats Carlid What's wrong with FUNCTION ATRANS( F,K,P,X ) RETURN (RAISE(TRANS(F,K,P,X)) END ? -- looks good, except how about something like: FUNCTION ATRANS( F,K,P,X ) REMOVE DUM FROM K SETTING MORE ; check for any delimiters K = K ; * reset rmv ptr in case

[U2] REMOVE reseting remove pointers.

2005-01-19 Thread Stevenson, Charles
YES! You do need the K=K. Well, either that or SETREM 0 ON K That's better. More explicit. OK, I admit it: I do K=K cuz of 10 yr old PI habits that won't die. PI didn't have SETREM. It is important to reset the remove pointer just in case some future calling program, over which the

RE: [U2] [UD] i-desc mystery

2005-01-21 Thread Stevenson, Charles
Shawn, In your mystery, PTD.POSITION.ID references the _e_n_t_i_r_e_ 75th attribute. It is a dynamic array. It may (or may not) contain value marks. PTD.POSITION.ID[5,5] does a substring extraction, the 5th thru 9th characters of the array, regardless of where or whether there are any value

RE: [U2] [UD] i-desc mystery

2005-01-22 Thread Stevenson, Charles
-Original Message- From: Ray Wurlod Subject: RE: [U2] [UD] i-desc mystery Does UniData have the same MV handling functions as UniVerse? The OP specified [UD] in the subject line. I just watched The Fog of War video of Robert MacNamara's (US Secretary of Defense in 1960s)

[U2] RE: U2] UV-piopen TRANS function

2005-01-22 Thread Stevenson, Charles
Lastly, if you use the REMOVE function within your code, instead of resetting the pointer, just use a temporary variable so that the position of the pointer in the passed in argument is both irrelevant and unchanged. That way you don't inadvertantly affect a piece of code that's working

RE: [U2] Unidebugger

2005-02-01 Thread Stevenson, Charles
From: Susan Joslyn [snip] Gordon, I would think that you could address it with file triggers... any reason why you can't? triggers wont work on type 19 files. Programs have to be type 19 files. Can PRC work around that one? cds --- u2-users mailing list u2-users@listserver.u2ug.org To

RE: [U2] UV - GROUP.STAT.DETAIL

2005-02-03 Thread Stevenson, Charles
TCL verb: RECORD [[DICT] filename [record]] displays the group the record ID hashed to and indicates whether the record was found in the file. PI had a subroutine called !HASH.ID (if I recall correctly). I wish we had the same. I used to use it in my own verb I called PREHASH that would take

[U2] [UV] examples of X[n], X[m,n], X[c,m,n] substring extractions and assignments

2005-02-03 Thread Stevenson, Charles
I wrote these examples up for our own programmers. Might as well share them with the group for the newbies' sakes. __ Suppose X always contains the string 'AB-CD-EF-GH' for each of the following examples: Substring extractions: Y = X[3]-- Y = '-GH'

RE: [U2] [UV] [UD]: examples of X[n], X[m,n], X[c,m,n] substring extractions and assignments

2005-02-04 Thread Stevenson, Charles
Thank-you, Tom. I was hoping someone would be kind enough to speak up about Unidata. Does UD (as does UV) support these alternate syntaxes?: []-Syntax. Alternate Y = X[c,m,n]Y = FIELD( X, c,n,m ) X[c,m,n] = substringX =

RE: [U2] Universe/Linux Performance Issue

2005-02-14 Thread Stevenson, Charles
1. T30FILE. If your MFILES was set to the default, 12, then chances are T30FILE also needs to be tweaked, given that you have so many dynamic files. I assume you compared the old DG uvconfig to the new Linux one and can account for the differences. 2. DISABLE-, BUILD.INDEX. Try disabling

RE: [U2] Universe/Linux Performance Issue

2005-02-14 Thread Stevenson, Charles
1. T30FILE. If your MFILES was set to the default, 12, then chances are T30FILE also needs to be tweaked, given that you have so many dynamic files. I assume you compared the old DG uvconfig to the new Linux one and can account for the differences. -- My MFILES increase was an 'educated guess'.

RE: [U2] Universe/Linux Performance Issue

2005-02-14 Thread Stevenson, Charles
-Original Message- I may soon become a fan of static files if this kind of thing keeps up. Here is the output that you are referring to. Dynamic Files: Slot # Inode Device Ref Count Htype Split Merge Curmod Basemod Largerec Filesp Selects Nextsplit 01900545 59425

RE: Memo: Re: [U2] Uv Error

2005-02-17 Thread Stevenson, Charles
Now THIS is getting interesting! I saw something similar twice. Once a hashed file header was corrupted with a line that should have been written into a como file. Another when a file had data from uv/SYS.MESSAGE written in it. Both occurred in the context of a transaction logging failure. I've

RE: [U2] [UV]Unable to get process lock semaphore

2005-02-17 Thread Stevenson, Charles
Marco, I assume you've contacted the vendor(s) by now? It sounds like a question for IBM support. Since you have no source code, application support, too. If when you get an answer, please post it here. Thanks, cds -Original Message- From: Marco Manyevere I get the error message

RE: [U2] EVAL keyword -- was: uv pe

2005-02-18 Thread Stevenson, Charles
Really?! Yuck. I never knew that. That's just plain mean. 2nd good candidate today for www.u2ug.org forums enhancements. I tried the 'EVAL @RECORDn', but can't seem to get it to work. I've always had to resort to referencing the DICT ID for that loc, and we're using UD. Is there an

RE: [U2] Virtual fields calling Virtual fields

2005-02-18 Thread Stevenson, Charles
inefficient compared to what? And Inefficient measured how? And is said Efficiency necessarily the significant software quality attribute when up against competing attributes such as Maintainability, Reusability, Robustness. Of course, there's no single right answer. I'm just being curmudgeonly.

RE: [U2] Virtual fields calling Virtual fields

2005-02-21 Thread Stevenson, Charles
Some comments interspersed for those not comfortable with virtual fields. The primary context here is UD, but I note some differences between UV UD. Then an example. cds From: Anthony W. Youngman Certainly I would recommend never pointing a virtual field

RE: [U2] Re-Catalog?

2005-02-22 Thread Stevenson, Charles
and the moral of the story is: a Source Control System is very good idea. On a more helpful note, the bottom of the program object file contains, in ascii, the path to the source (unless compiled with -T option). Cataloging moves that binary file to uv/catdir. So you can reverse engineer that

RE: [U2] Subroutine utility

2005-02-22 Thread Stevenson, Charles
Have any of you every seen or heard of a utility that would take a Pick program and identify what programs were called by that program and continue to transverse down those programs until all programs were identified? SoftWhere, Toledo Assoc. Thorough, excellent product. Cheaply priced.

RE: [U2] [UV] MASTER OFF port

2005-02-23 Thread Stevenson, Charles
I've found emperically kill -4 [pid] *seems* to nicely kill uv pocesses, but I'm not sure why. Sometimes I have to repeat the command several times before success. I kinda assumed MASTER OFF must do a kill -4, but have nothing to back that up, just that UV processes seem to disappear

RE: [U2] [UV] DATA statement not executing

2005-02-24 Thread Stevenson, Charles
And, just for the record, you can also stack as many commands as you wish like this: COMMANDS = 'SELECT FILE' COMMANDS-1 = 'PROGRAM2RUN' EXECUTE COMMANDS [ append optional parameters here ] [snip] Generally I prefer this syntax EXECUTE SELECT FILE,//IN. PROGRAM2RUN [snip] EXECUTE SELECT

RE: [U2] [UV] DATA statement not executing

2005-02-24 Thread Stevenson, Charles
but with that syntax, wont PROGRAM2RUN execute regardless of whether or not the SELECT returns results? Yes. Like I said, it was for the record. I've deleted the original post, but I think the question was about this syntax sometimes failing: CLEARDATA DATA 'PROGRAM2RUN' EXECUTE

RE: [U2] Order of criteria

2005-02-24 Thread Stevenson, Charles
Generally speaking, you've got it right, John. A few caveats, notes, gotchas: - Use EXPLAIN keyword to get RetrieVe to show you what it is going to do. - If a field is indexed, and no select list is active when the retrieve command starts, the index will be applied before any actual select

RE: [U2] Order of criteria

2005-02-24 Thread Stevenson, Charles
EXPLAIN is Universe-only, not Unidata. Sorry about that. It goes anywhere on the RetrieVe command line. If run from tcl, output is to the screen. -Original Message- From: Don Verhagen Charles, What is the syntax for the EXPLAIN keyword I don't see it documented in Unidata (6.X) I

RE: [U2] Using an I descriptor in a UniBasic program

2005-03-01 Thread Stevenson, Charles
Bill, This is an example from Universe. I *think* it works on UniData, too. Look at lines 1,2, 8,9,10 of the program. This is a simple example. I use DICT VOC TYPE, because everyone is probably familiar with it. ED CDS.BP BILL 15 lines long. : P 0001: OPEN 'DICT VOC' TO VOC.DCT ELSE

RE: [U2] Using an I descriptor in a UniBasic program

2005-03-02 Thread Stevenson, Charles
Hear, hear! I wholeheartedly agree with Ken on code reuse. Let me add that dictionaries should be under source control. A tool such as SoftWhere that helps you manage where code is reused is also valuable. I think shortcomings in these 2 areas are stumbling blocks that keep people from doing

[U2] looking for Joe Toledo, Toledo Assoicates Inc.

2005-03-02 Thread Stevenson, Charles
, March 02, 2005 7:48 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Using an I descriptor in a UniBasic program Can you provide any web links for SoftWhere Thanks James -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stevenson, Charles Sent: 02 March 2005

RE: [U2] [UV] making 00001 our of 1

2005-03-02 Thread Stevenson, Charles
Speaking of Y2K-related programs, I too wrote one, but it searched the VLIST of the program. That way I didn't care about spacing, etc.. You might find that method helpful. For example, these 4 source lines compile to the same PCODE: VLIST CDS.BP MARK 1: NBR = NBR 5'0'R 1 0 : 09C

RE: [U2] I-Type and Assoc

2005-03-08 Thread Stevenson, Charles
Vincent, I am not sure why you get a one character answer one way and a full word the other. I assume that's either in the nature of how your SQ_CAL_SUB is written called, or from formatting applied differently in the 2 methods. I think we need more context. Manu Fernandes seems to be

[U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-08 Thread Stevenson, Charles
The relevant code ( I am VERY sure source matches object): 072: BEGIN CASE 073: CASE ANS MATCHES '0N' ANS0 074: IF MITM5,ANS# THEN 075: IF MITM7,ANS# THEN GOSUB 200 ; IF ERR THEN GOTO 15 287: 200:*Subroutine For Password Check. 291: IF MITM7,ANS[1,1] = # THEN 310: IF

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-09 Thread Stevenson, Charles
In UniData the '.' and '-' will evaluate as numeric. You might want to check how these would fall through your logic in UniVerse. Colin, But they don't pass MATCHES '0N' test on UD, do they? In UD (and UV) NUM('.1') is true, as is NUM(-1), but this program does not test for NUM(). On UD,

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-09 Thread Stevenson, Charles
Ezhno, Thank-you for your help. Comments interspersed. cds -Original Message- From: Ezhno Cheveyo 072: BEGIN CASE 073: CASE ANS MATCHES '0N' ANS0 074: IF MITM5,ANS# THEN 075: IF MITM7,ANS# THEN GOSUB 200 ; IF Anyhow, the LOCATE command on the

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-09 Thread Stevenson, Charles
-Original Message- From: Andrew Lakeland How about writing a mickey mouse program which goes through the full ASCII char set and see which one passes the logic. I've tried that several variations on the theme. For example: FOR I = 0 TO 255 IF ( 1:CHAR(I) MATCHES '0N') THEN

[no subject]

2005-03-09 Thread Stevenson, Charles
I wrote: Ezhno, Thank-you for your help. Comments interspersed. cds I thanked Ezhno but didn't thank Colin and Andrew. That was rude. Thank-you Colin Andrew, too! I don't have an answer yet, but thank-you for helping me brainstorm. Christopher Robin tried to teach it to me

RE: [U2] [UV] SYSTEM() function

2005-03-09 Thread Stevenson, Charles
Donnie, Here's a post from a year ago that I saved for my own reference. cds -Original Message- From: Stevenson, Charles Sent: Wednesday, June 23, 2004 8:32 AM To: 'u2-users@listserver.u2ug.org' Subject: [UV] SYSTEM(9001) (was: [U2] SYSTEM(49) on UV) From: Leroy Dreyfuss SYSTEM

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-09 Thread Stevenson, Charles
-Original Message- From: Jacques G. There is another possibility. Your non-numeric error could be on a different line of your code. In Universe, if you have a comment next to an include line: $INCLUDE SOMEINC SOMETHING.EQU ;* Include comment The Raid debugger will not show the

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-10 Thread Stevenson, Charles
Could your ANS variable have contained Char(255) ? A string containing Char(255) won't passes the (ANS MATCHES '0N') test. If anyone can show me a string containing characters other than the 10 digits that passes that test, I'd be much obliged. cds --- u2-users mailing list

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-10 Thread Stevenson, Charles
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stevenson, Charles Sent: 08 March 2005 23:26 To: u2-users@listserver.u2ug.org Subject: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0) 4 times in recent months line these have generated the a set of 4 runtime

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-10 Thread Stevenson, Charles
You may be right. I've no experience with unicode stuff, working strictly in English. I'm happy believing Piers Angliss's too-long-string theory. Thanks for the input, cds -Original Message- From: Mats Carlid Sent: Thursday, March 10, 2005 4:39 AM To: u2-users@listserver.u2ug.org

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-10 Thread Stevenson, Charles
didn't try any combinations/derivatives. I also saw another post where a very long number passed the test but failed in the array assignment. Colin Alfke -Original Message- From: Stevenson, Charles Could your ANS variable have contained Char(255) ? A string containing Char(255) won't

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0 N' ANS0)

2005-03-10 Thread Stevenson, Charles
Bill, UV same as D3. UD different (from how I read Colin). UV: Yes No UD: Yes Yes cds -Original Message- From: Bill H. I ran this on D3 (flashed and unflashed). :bptest $options ext ; ans = str('1',1024) ; if ans matches '0N' then crt 'Yes' else crt 'No' ; ans =

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-10 Thread Stevenson, Charles
-Original Message- From: John Solie I'm wondering why y'all are using a ...MATCHES 0N... Usually, I'll use the NUM() function. The code snippet in one of the first messages in this thread would be: BEGIN CASE CASE NUM(ANS) AND ANS 0 more code here Or is NUM() something

RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0)

2005-03-10 Thread Stevenson, Charles
I think we've squeezed enough blood outa this turnip, except for one niggling little question. What's with the creeping number of spaces in the subject line in the various posts?: Subject: RE: [U2] [UV] non-numeric error after passing (ANS MATCHES '0N' ANS0) RE: [U2] [UV] non-numeric error

RE: [U2] [UV] make sure pgm exists before calling it. (Unclassified)

2005-03-17 Thread Stevenson, Charles
Thanks, Mike. Now I remember why I forgot about it. I'm in Pick-flavor and this thing seems to just check to see if the routine is in uv/catdir. We have pick-style cataloguing. I was thinking !EXIST() would resolve the question following the same rules as CALL does for finding a subroutine:

  1   2   3   4   5   >