RE: [U2] [UD] Possible causes of corrupt data on a UniData static file

2007-11-02 Thread Kryka, Richard
[demime could not interpret encoding quoted-printable - treating as plain text] My guess is that you have real records with real Ids that you can access. Then you have other records that appear to have the same Ids but really don't. It sounds like these other records are hashed into the wrong

RE: [U2] How does one safely validate that a session is connected in UniObjects (VB VB.Net)

2007-10-04 Thread Kryka, Richard
Jef Lee wrote: I believe the IsActive property is not entirely accurate... From my tests, you are right about IsActive - it is the results of the last connection (I think) and has nothing to do with the current state. I added a timer function to our VB front end that runs every 60 seconds and

RE: [U2] RE: Get a grip - was ads - was U2 University Last

2007-09-06 Thread Kryka, Richard
I'm totally with Clif on this. I subscribe because there are a few nuggets that I grab onto and save. Most of the stuff that passes by really doesn't affect or interest me, but I just skim and delete it using my adult reasoning capacity - the same adult reasoning capacity that allows me to

RE: [U2] [UV] Weird SEARCH Results

2007-07-31 Thread Kryka, Richard
Original: No control characters. It doesn't matter what I search for, this program will never turn up in the results. If you SELECT ROM.BP, does this program get selected? I'd guess something wrong with the file so the SELECT doesn't get this program. Dick Kryka Director of Applications

RE: [U2] I need a favor

2007-07-26 Thread Kryka, Richard
I got stuck with file names like CLIENT-MASTER, CLIENT-CRED-FILE, etc. You should convert dashes in file names to periods or underscores in the variable names. Otherwise, you get: OPEN 'CLIENT-MASTER' TO CLIENT-MASTER.FILE ... READ CLIENT-MASTER.REC FROM CLIENT-MASTER.FILE, CLIENT-MASTER.ID ...

RE: [U2] Universe Phantom

2007-06-26 Thread Kryka, Richard
Is it possible to issue a phantom from OS? I have several jobs that are run through the Windows scheduler. Simply set up a batch file, and schedule the job to execute the batch file. Sample batch file: echo start UniVerse End Of Day job cd IBM\uv bin\uvsh.exe RUN UVSOURCE END.OF.DAY

RE: [U2] Universe Phantom

2007-06-26 Thread Kryka, Richard
These are all good suggestions, but the issue is I cannot tell if the job failed due to an out of licenses condition. I concur with prior respondents - if it is mission-critical, buy more licenses. The issue for me (and anyone who knows more can correct me) is that you are allowed 10 sessions

RE: [U2] Reverse calculating taxes

2007-05-18 Thread Kryka, Richard
Here is a routine a very smart programmer showed me a long time ago, and I have used it many times since for all kinds of situations like this: TOT.TAX is the total you need to divide up TAX.PCT.ARR is the multi-valued array of various tax percents TAX.AMT.ARR is the returned multi-valued array

RE: [U2] Resize

2005-12-01 Thread Kryka, Richard
Original Message: Just noticed something strange...I RESIZE to these specs and run HASH.HELP. My response: I have noticed that HASH.HELP is strange like this on UV W2K. You can end up resizing the file over and over and over because the recommendations, including the file type, change as you

RE: [U2] Programs slowing down after many iterations

2005-09-01 Thread Kryka, Richard
Part of original message: We scratched our heads over this for quite a while. Eventually, we put a named COMMON statement in the program and listed all of the file variables as part of it. Then we put some code to check if the files were already open in front of the OPEN statements, to avoid

RE: [U2] Uvbackup to disk

2005-07-21 Thread Kryka, Richard
Dan Fitzgerald wrote: Is there an option to uvbackup (without the uvadm gui) to direct output to disk instead of tape? Running UniVerse 10.0.10 on Windows MS 2000 Server, I use this batch file set up as a Windows scheduled job to send the uvbackup output to a another server:

RE: [U2] UVLICTOOL required often, why?

2005-06-08 Thread Kryka, Richard
Part of original from Gwen Buck: Yay! Misery Loves Company! I have the same problem on Win 2K, running UV 10.0.21. My response: We are running UniVerse 10.0.10-2 on MS2000 Server, with up to 100 users with a VB front end using UniObjects. The only time I see an issue with having to use

RE: [U2] Order of criteria

2005-02-24 Thread Kryka, Richard
I agree with Kevin's answer. Also, it may depend on which U2 product/pick-like product you are using. I always try to order the WITH statements so the one selecting the fewest records is first. However, I always place the fields with translates last since I know that translates are much more

RE: [U2] Universe MALLOCTRACING

2005-02-23 Thread Kryka, Richard
One of the things I have done in this situation is to have the purge program sleep for 10 or 15 seconds every several hundred records. I know this is hokey, but it seems to allow the file I/O buffers time to catch up. Dick Kryka Director of Applications CCCS of Greater Denver, Inc. Paragon

RE: [U2] Checking the global catalog?

2005-02-11 Thread Kryka, Richard
You can run MAKE.MAP.FILE and look in the _MAP_ file on UniData or MAP file on UniVerse. The dictionaries of these files is good, so you can list from there. Dick Kryka Director of Applications CCCS of Greater Denver, Inc. Paragon Financial Services 303-632-2226 [EMAIL PROTECTED]

RE: [U2] Named Common Issues in UV

2005-01-11 Thread Kryka, Richard
Colin Alfke wrote: In UniData (not sure about UniVerse) the named common name is only significant for the first 7 digits. So your VBNOTEPAGE3 will be the same as VBNOTEPAGE1. IE. you may think the name is unique but the system doesn't. The name looks like there might be others with a similar

RE: [U2] Testing if a Unidata file has records or not!

2004-11-29 Thread Kryka, Richard
I would do this: SEL.8 = 8 OPEN '', 'TEST.FILE' TO OPEN.FILE THEN SELECT OPEN.FILE TO SEL.8 READNEXT ID FROM SEL.8 THEN HAVE.RECORDS = 1 END ELSE HAVE.RECORDS = 0 END CLEARSELECT SEL.8 END This should work on UV and UD. Dick Kryka Director of Applications CCCS of

RE: [U2] OT MV-Base

2004-11-22 Thread Kryka, Richard
Mark Johnson wrote: I'm gonna try the method whereby all writes go to a single ported file and then UEXECUTE it to the desired destination. I can do multiple writes to different files, albeit they all remain locked. Mark: It has been a while since I wrote similar programs for an mvBase client,

RE: [U2] PICK Assembler Language

2004-11-11 Thread Kryka, Richard
I'm not in front of an MvBase system, but try .? to see a list of the . commands. I don't remember the command, but one of them turns off stacking all executed commands so it stacks just the commands entered at TCL. Unfortunately, as I recall, you have to do this each time you log in, and I

RE: [U2] READU ... THEN _or_ ELSE but not both?

2004-10-29 Thread Kryka, Richard
I like this format: READU RECORD FROM FILE, ID LOCKED END THEN END ELSE END Dick Kryka Director of Applications CCCS of Greater Denver, Inc. Paragon Financial Services 303-632-2226 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED]

RE: [U2] [UV] LOGOFF Equivalent

2004-10-01 Thread Kryka, Richard
Here is my process, gleaned from this group. UV 10.0.10 on MS2000 Server: Start with number 1 and work up to 4 when the lower number doesn't work. Use number 4 only as a last resort. The userno is from the LISTU command and is the same as the PID in the Task Manager. I have never had any luck

RE: [U2] Comparison Unidata and Universe

2004-09-24 Thread Kryka, Richard
I didn't mean to start the editor discussion, but it was informative. Anyway, AFAIK UniData supports only Prime-type dictionaries, while UniVerse supports both Pick and Prime style dictionaries. If converting from a Pick system, UniVerse is easier from a dictionary standpoint. Dick Kryka

RE: [U2] Comparison Unidata and Universe

2004-09-17 Thread Kryka, Richard
I know this is probably not the highest on others lists, but the UniData editor is like god next to the pitiful excuse of an editor that UniVerse provides. I don't understand why IBM doesn't release the UniData editor with UniVerse and do away with the UniVerse version. In addition, the UniData

RE: [U2] Correlative referencing multi-value field in another file

2004-09-01 Thread Kryka, Richard
The translate returns MV data with spaces. Dick Kryka Director of Applications CCCS of Greater Denver, Inc. Paragon Financial Services 303-632-2226 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rod Hills Sent: Wednesday, September

RE: [U2] Error 30107 when calling SubRoutines from UniObjects

2004-05-19 Thread Kryka, Richard
I'm certainly not a VB expert, but I think the failure may have to do with this line: Dim cu As Object = m_uniobject.Subroutine(MVACNOT, 4) Here is a snippet of code from our application: Public Sub Load_Detail() 'Declarations Dim DetailObj As Object Dim ResultArray As Object Const

RE: [U2] D3 Master Dictionary

2004-05-06 Thread Kryka, Richard
Its been a while, but I seem to recall that Pick changed the name from MD to DM. Try placing your BOB there. Dick Kryka Director of Applications CCCS of Greater Denver, Inc. Paragon Financial Services 303-632-2226 [EMAIL PROTECTED] -Original Message- From: Mark Johnson [mailto:[EMAIL