RE: [U2] Capture Dictionary IDs

2009-05-18 Thread Ken Wallis
Check the documentation on CALCULATE() and its shorthand notation {} in the UniData manuals. Cheers, Ken -Original Message- From within UniBasic, I need to determine the name of a DICTionary field, given the dict field number. While I have the beginnings of some code, some help is

RE: [U2] UV Timed INPUT

2009-03-12 Thread Ken Wallis
David, UniData has a FOR or WAITING clause on the INPUT statement which lets you do exactly this. I'm not sure what the UniVerse equivalent would be. Certainly you wouldn't normally want to be in a tight loop looking for input with INPUT,-1 or INPUTIF, or blocked by a SLEEP when input was

RE: [U2] time Verb

2009-03-09 Thread Ken Wallis
Why do people change the system time to deal with daylight savings changes? On unix systems you just have to set the TZ environment variable correctly - for example the AIX patches associated with this just change the default TZ settings for certain zones. On Windows there is a utility called

RE: [U2] time Verb {Unclassified}

2009-03-09 Thread Ken Wallis
Mike, I'm not sure that is still the way it works. Windows systems may still keep time in localtime, but they have mechanisms to compute UTC or any other localtime from that via the registry. TZEDIT.exe is your friend. Cheers, Ken -Original Message- From: On Behalf Of HENDERSON MIKE,

RE: [U2] [UV] HP, Cron, Como, Execute, Capturing . Not

2009-02-25 Thread Ken Wallis
tee is a pretty standard UNIX tool. I cannot think of a variant which doesn't support it as standard. At worst you'd have to find an open source version and compile it, but it is one of the simplest programs - I doubt it calls anything remotely non-standard. -Original Message- Anthony

RE: [U2] UniData LIMITs

2009-01-30 Thread Ken Wallis
So can't you substitute your bit of code that puts 'WITH CLIENTNO = ':MYBIGCOMMONLISTOFLITERALS into all your SELECTs and SORTs with something that puts 'WITH EVAL SUBR(MYROUTINETHATLOCATESINCOMMONLITERALS,CLIENTNO)' in the same place and get the same results? HTH, Ken -Original

RE: [U2] UniData LIMITs

2009-01-29 Thread Ken Wallis
The problem here isn't that you can only have a certain number of items active in a select list, but that specifying them as explicit item ids on the command line is ugly, bad and only supported up to a certain point. Isn't this a job for QSELECT? PS. As much as I think UniData is a great

RE: [U2] Looking for advice on upgrading from Unidata 6.0 to Unid ata 7.1 o n HP9000 HPUX 11

2009-01-23 Thread Ken Wallis
So long as you don't care about locking! -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Lunt, Bruce Sent: Saturday, 24 January 2009 8:42 AM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] Looking for advice on

RE: [U2] UV - broken file issue [not-secure]

2008-12-18 Thread Ken Wallis
Have you checked what your ulimit is set to currently? -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Hennessey, Mark F. Sent: Friday, 19 December 2008 7:41 AM To: u2-users@listserver.u2ug.org Subject: [U2] UV - broken

RE: [U2] Speeding up processing through large dynamic table

2008-11-17 Thread Ken Wallis
this will be done in a single pass without the need for malloc()ing additional memory. KEN WALLIS * [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Laansma Sent: Tuesday, 18 November 2008 7:19 AM To: u2-users@listserver.u2ug.org

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

2008-11-04 Thread Ken Wallis
I'm pretty sure there is a UDT.OPTIONS that is designed to assist here, but fundamentally, a right justified field that is entirely numeric is treated as a number so it will match 700 with or without leading zeros. You'll have to search out the UDT.OPTIONS for this yourself I'm afraid - I don't

RE: [U2] [UD] NODIRCONVERT

2008-10-30 Thread Ken Wallis
I imagine that is a BASIC statement, not an ECL verb. But I don't have a way to check, so YMMV. Cheers, Ken Edward wrote: Has anyone had experience using this command on unidata 7.1? It appears to not exist on my installation: :NODIRCONVERT ON Not a verb NODIRCONVERT

RE: [U2] [UD] Determining if program running as a phantom

2008-09-16 Thread Ken Wallis
So can you PARSE the LISTUSER() function output using @USERNO (which should be your PID) to find the relevant attribute for your license and digging out the appropriate values which identifies your process type. Alternatively, since it looks like you'd need to check two elements in that array,

RE: [U2] AIX Socket Command?

2008-09-15 Thread Ken Wallis
lsof But this is not installed automatically as part of AIX's (Base Operating System). Prior to AIX 6.1, I believe this program is on the Toolbox for Linux DVD, at 6.1, I understand it moved to the AIX Expansion Pack DVD. You'll need the AIX DVDs and smitty install. Alternatively, this is an

RE: [U2] port.status

2008-09-04 Thread Ken Wallis
jumbled together. Beside the fact that '+s' sounds like it should be sticky. Jerry Banker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Wallis Sent: Wednesday, September 03, 2008 10:04 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2

RE: [U2] port.status

2008-09-03 Thread Ken Wallis
OK, I ignored it the first time, but if this is going to keep rolling then I need to jump in with a correction before people assume it must be correct. This is not the 'sticky' bit. The purpose of the sticky bit on some (older) unix implementations is to keep the text segment of an executable

RE: [U2] default gateway problem

2008-08-07 Thread Ken Wallis
I believe Bob was saying he had done exactly that Doug. My experience is that changing the default gateway can be a pain and the only way to be absolutely sure when this sort of stuff happens is to remove the interface via smitty devices then add it back again and configure it. Sorry. The other

RE: [U2] Is there a UNIDATA equivalent of Universe Itype @RECORD

2008-06-02 Thread Ken Wallis
John, Help us out here. What is it you are having trouble with? UniData supports @RECORD, UniData supports ITYPEs, UniData supports the ITYPE() function in BASIC even. UniData may prefer to refer to ITYPEs as Virtual Fields, and nominally prefers attribute 1 of an ITYPE to be V instead of I,

RE: [U2] [AD] Vacancy - UniVerse team leader - New Zealand Defence Force {Unclassified}

2008-05-21 Thread Ken Wallis
So does this mean we congratulate Mike or Andrew? Cheers, Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MACK ANDREW, MR Sent: Wednesday, 21 May 2008 5:41 AM To: u2-users@listserver.u2ug.org Subject: [U2] [AD] Vacancy - UniVerse team

RE: [U2] anyone done a makeudt on Solaris 10 for UniData 7.1.8 ?

2007-12-05 Thread Ken Wallis
I'm sure someone has. There, that was a stupid answer to go with the stupid question. The issues a customer might face with an upgrade that involves a makeudt are not whether makeudt works - of course it does or they don't ship the release - but what the upgrade is from and what the routines and

RE: [U2] universe syntax for vim?

2007-12-05 Thread Ken Wallis
] universe syntax for vim? Hi Doug, there is an excellent vim syntax file written by Ken Wallis. Email me offlist and I'll send you a copy. Craig Doug Chanco wrote: Anyone have a universe syntax file for vim they would care to share? Rather than create one I was hoping someone already did

RE: [U2] universe syntax for vim?

2007-12-05 Thread Ken Wallis
To: u2-users@listserver.u2ug.org Subject: RE: [U2] universe syntax for vim? Ken, How about sticking on the u2ug wiki? cds From: Ken Wallis Make that http://ftp.users.on.net/~empower_data/vimfiles.zip and I don't think you'll be asked for a username/password. From: Kathleeni M Hunter How about

RE: [U2] Deep and long indentations vs multiple exit points

2007-12-02 Thread Ken Wallis
I realise that I've largely been a lurker of late - making a living working with jBASE pretty much full time now - but I'm afraid I can't let all these apologists for our spaghetti inheritance slide by unchallenged. My view on code structure is very simple: One way in, one way out. Any

RE: [U2] resolving udt error message

2007-09-18 Thread Ken Wallis
[EMAIL PROTECTED] wrote: Can anyone clue me in on how to resolve this error (step-by-step)? When going to the command prompt and starting udt I receive the following error: UniData Release 5.1 Build: (2189) Copyright (C) Ardent Software, Inc. (USA) 1998 All rights reserved. Current

RE: [U2] [ud] makeudt shot in the dark...

2007-08-28 Thread Ken Wallis
John Solie wrote: Hi, I'm wondering if anyone's had success in doing a makeudt with Unidata 7.1.10-64 on AIX 5.3-06 using gcc 4.0.0. Thanks, Not specifically, but try posting the output you're getting and we might be able to provide pointers on where to look next. I typically use gcc 4.0.2

RE: [U2] [ud] Question on Alpha Sorting...

2007-08-28 Thread Ken Wallis
David, Doubtless you'll have coded this by now, but certainly in the situation you describe, I'd store just the 'as typed' case version of the list on disk, then immediately after read, I'd create an in memory 'all uppercase' version in one go - just UPCASE the whole attribute - and I'd probably

RE: [U2] Telnet user can't see SMM process - Unidata 7.1.1 on Alphaserver

2007-08-22 Thread Ken Wallis
Looks like $UDTHOME and $UDTBIN aren't set the same when logging in via telnet as when on the console. Remember on an X desktop you have to explicitly enable sourcing of the normal .profile Cheers, Ken [EMAIL PROTECTED] wrote: A question for the group: I'm looking for assistance with what I

RE: [U2] What's My IP Address ?

2007-05-03 Thread Ken Wallis
[EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] How do I get the client's IP address? On linux you can find this with the who command, but I don't know if it works on all *nixes. This will work if your version of who supports it: EXECUTE 'SH -c who am i', OUT

RE: [U2] Backing up UniData on HPUX

2007-03-28 Thread Ken Wallis
Original Post: I am the new SA for a Unidata implementation running on HPUX. Though I am not a Unidata person, I do know trying to back up any database by backing up the underlying filesystem is going to be disastrous when trying to restore it. I have looked through the Administering

RE: [U2] Access to IBM knowledgebase for in-house developers

2006-11-11 Thread Ken Wallis
Chuck Stevenson wrote: Interestingly, guys like me don't care, because vars like Strategy Seven are nice to us. It would be end users with curmudgeonly vars that would need a user group to make this end run. I still think someone who cares should submit a U2UG enhancement request and

RE: [U2] [UV] Access Violation on Windows 2003

2006-11-09 Thread Ken Wallis
David Jordan wrote: We copied the data across from a Windows NT4.0 to a new Windows 2003 server. The servers are both under the same domain. The files can be successfully read. As they are SQL created tables, we went to run VERIFY.SQL SCHEMA FIX and the process dropped out with a fatal.

RE: [U2] Daylight Saving Time info

2006-10-28 Thread Ken Wallis
[EMAIL PROTECTED] wrote: As most of you know, Daylight Saving Time ends on this Sunday, October 29th at 2am. Actually, for those of us in the Southern Hemisphere who are in regions that use DST, it STARTS sometime around now. In New South Wales, Victoria, and South Australia, DST just kicked

RE: [U2] Over write first record with writeseq

2006-09-01 Thread Ken Wallis
[EMAIL PROTECTED] wrote: We have a need to overwrite/update the first record of a sequential file. Sure I could write 2 sequential files and 'cat' them or make 2 passes through the data extract to get the totals but I thought I has seen a way to resent the pointer (thereby overwriting the

RE: [U2] Replication Between Unidata and MySQL

2006-07-29 Thread Ken Wallis
[EMAIL PROTECTED] wrote: Good stuff Adrian. I've pretty much decided on Unidata triggers to figure out what changed and write to a queue file and then have some program pulling from that queue to flush to MySQL. But I was hoping that I could do a lot of this in Unidata and I'm fearing I'm

RE: [U2] Shell Escape

2006-03-30 Thread Ken Wallis
Excellent idea, but I can't find this documented Rod. What version? Which pdf? Cheers, Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Baakkonen, Rodney A (Rod) 46K Sent: Friday, 31 March 2006 9:01 AM To: 'Ron Sharcott'; 'Stewart Leicester';

RE: [U2] Shell Escape

2006-03-30 Thread Ken Wallis
Ken: UniBasic Commands reference manual (Version 6.1, June 2004) Bill Ken Wallis wrote: Sent: Thursday, March 30, 2006 3:01 PM Excellent idea, but I can't find this documented Rod. What version? Which pdf? So it was new in 6.1, or at least it was newly documented at 6.1. I only

RE: [U2] [UD] Determine path logged on users are in

2006-03-30 Thread Ken Wallis
Bill, Sorry I forgot to get back to you on this. I only have easy access to reply to this list on a Friday and my last couple of Fridays have been a bit hectic ... FILEMAP was what I was thinking about. Fundamentally a UniData account is defined by a VOC file. Yes, you can create a pointer to

RE: [U2] [UD] Triggers

2006-03-16 Thread Ken Wallis
Bill Haskett wrote: How difficult was the move - was it all green screen with source code or more difficult? It wasn't that difficult. The biggest problems were UniData is like interfacing with Microdata in 1982...it's a time warp! The UniData environment is excruciatingly tedious and

RE: [U2] Universe: Version and serial number

2006-03-04 Thread Ken Wallis
Debster wrote: .and since Universe AIX are completely different animals as far as license/serial number For the AIX portion I found License/serial in SMIT prtconf shows you almost everything you could dream of wanting to know about your AIX system. uname -s might show you the

RE: [U2] UDT and MODIFY

2006-03-02 Thread Ken Wallis
Surely you'd be better off doing this in SQL with an UPDATE rather than using MODIFY. I know MODIFY works for simple things, but once you start having selection criteria, or want to change multi-valued fields, MODIFY shows its limitations. :sql sql UPDATE INVENTORY SET IN_BIN_LOCATION = WHERE

RE: [U2] Stuttering List

2006-02-24 Thread Ken Wallis
Bruce Nichol And how do I know? Two messages from Chris Day in two days, and we haven't heard from him in over 12 months g (Goo'day Chris) G'day indeed. You may have noticed Bruce that Chris is now working for Meier Business Systems instead of Prism. Does Prism even exist now? I

RE: [U2] [UD] backups

2006-02-09 Thread Ken Wallis
Bill Haskett wrote: I'm so confused. How does one go about doing a UniData (on Windows) backup? The same way you back up any other application on Windows - using whatever windows tool you like, ideally against a quiescent database - ie log everyone off, or do a dbpause. 1) Drag drop the

RE: [U2] Re: Identifying UD files

2006-01-26 Thread Ken Wallis
If you run udfile against the file, you'll find that is possible to identify what is and what is not a UniData file by parsing the output. You have to be a bit careful about file names - ie don't bother looking at things that are obviously part files in a dynamic file datnnn or idxnnn or overnnn

RE: [U2] Uniobjects Support

2006-01-26 Thread Ken Wallis
Yes Dave, ObjectCall was the API. I probably have the pdfs on a CD somewhere if you need to have a look. ObjectCall went through a few technology iterations which were incompatible with each other in the early days, but I think by 4.1 UNIX or 3.6 Windows these were ironed out. Cheers, Ken

RE: [U2] [UD] Separate catalog space 2 instances of Unidata installed

2006-01-19 Thread Ken Wallis
Running two separate instances of the UniData daemons for the same major release is not supported, but as others have posted, running with separate UDTHOMEs is both supported and documented. Look up newhome in the manuals. Once you created a new UDTHOME environment all you have to do is set

RE: [U2] [UD] list output when captured

2006-01-19 Thread Ken Wallis
[EMAIL PROTECTED] wrote: I think maybe the teminal handler is too smart for it's own good?. There are 78 characters in the row, and 78 characters wide on the screen, so when it gets to the end of the line it realizes it's at the end and will autowrap to the next line--so no need for a

RE: [U2] [UV] Calling Universe from CRON

2006-01-19 Thread Ken Wallis
Finally a post in this thread that makes sense! OK, I realise the posts about how to DECLARE GCI getpid made sense too, but the ones which suggested that everything run out of cron got the same PID made me doubt the intellects of the posters. Everything run out of cron *may* have the same

RE: [U2] LOGTO question...

2005-12-16 Thread Ken Wallis
[EMAIL PROTECTED] Here is a snip of a post the venerable Ken Wallis made a while back explaining how a program is found. I'm not convinced that I like being referred to as 'venerable' ;^) Cheers, Ken --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http

RE: [U2] global catdir question - security hole

2005-12-16 Thread Ken Wallis
David A. Green wrote: I'm not sure there is a security risk if your system is setup correctly. Your object code needs to be secured so that root only can update. When you run a program isn't it the sbcs (Shared Basic Code Server) that updates the run counter? And sbcs would have

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

2005-12-01 Thread Ken Wallis
To all you UniVerse experts out there. A site I know is moving from UniData on VMS to UniVerse on UNIX. Don't ask why, they just decided that was the path they wanted to go down. Anyhow, they've got used to the ability in UniData to LIST filename ALL and see everything. They're a bit surprised

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

2005-12-01 Thread Ken Wallis
the ALL phrase whenever a D item is added or deleted? Thanks Larry, but I think I preferred the BASIC front end to LIST idea better. Cheers, Ken Ken Wallis wrote: A site I know is moving from UniData on VMS to UniVerse on UNIX. Don't ask why, they just decided that was the path they wanted

RE: [U2] [UD] No More Entries in MI Table in LCT-3

2005-11-24 Thread Ken Wallis
Wally Terhune wrote: If there is an ipclog (referenced in $UDTBIN/udt.errlog) that would be useful to help me help you tune. If not - at least provide udtconfig and '$UDTBIN/ipcstat -mb' output or - guess some udtconfig settings specific to your error SHM_LMINENTS=30 SHM_GPAGESZ=2048 -

RE: [U2] UniData certification

2005-09-22 Thread Ken Wallis
[EMAIL PROTECTED] asked Silly question - is there any reason IBM went from Unidata 6.1.x to 7.1.0? What happened to 7.0.x? UniData has always considered .0 releases as beta versions. FCS has consistently been a .1 release except for 4.0, but that ought really to have been treated as a beta

RE: [U2][UD]RFS -Recoverable File System

2005-09-22 Thread Ken Wallis
of that memory is shared between all your users. Best Regards, Ken Wallis Also, we've seen problems when people have tried to implement RFS without a full understanding of it. RFS can be fairly complex to set up. By its nature, it will do what it can to protect the integrity of the database

RE: Re[2]: [U2] Connection Problems with Ud6 and UV10 - unmentioned

2005-08-11 Thread Ken Wallis
I have turned off as many services as I could and that didn't help. I can only conclude that there is SOMETHING running on this box that keeps UV RPC from working. Windows Firewall? Cheers, Ken --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit

RE: [U2] Text extraction.

2005-07-28 Thread Ken Wallis
Does this behave (misbehave) on u2 systems, ie be careful of the location of the UNTIL statement? Mark, that is the documented behaviour, it certainly isn't misbehaving. Yes, you have to be precise about when you terminate the loop, but surely a guy with your experience would always be precise

RE: [U2] Index and Print servers

2005-07-27 Thread Ken Wallis
David Tod Sigafoos wrote: A friend asked me recently about the need or Print and Index servers on Unidata. As I don't work with Unidata that much, or at least not to the infrastructure level, I thought I would pass this on to the knowledge trust here. They are running 'current' unidata on

RE: [U2] Text extraction.

2005-07-27 Thread Ken Wallis
Mark Johnson wrote: Is there any downside to having a very large number that exceeds the actual length of a string to indicate the balance of the string in the [] function. I see: NEW=ABC:REC[15,LEN(REC)-15] versus NEW=ABC:REC[15,100] Not that I know of, but anybody who's had to fix

RE: [U2] [UD] journaling information

2005-07-15 Thread Ken Wallis
more memory, but some noticeable impact on batch IO performance (maybe an extra 50% on the time taken to run my clients end of day bulk updating procedures if they do those with RFS switched on). HTH, Ken Ken Wallis wrote: I've only ever looked at Journaling as a poor-man's RFS

RE: [U2] [UD] journaling information

2005-07-14 Thread Ken Wallis
Any UniData Journaling users out there? We are considering using journaling as a way to keep a near real-time backup of our primary system. We would be journaling hundreds of files on a system with over 1000 users. We have lots of questions, like: Has anyone used journaling on that scale

[U2] AIX system using Windows Active Directory for authentication?

2005-07-07 Thread Ken Wallis
Guys, I know of at least one customer who does something like this between Linux and Windows - I believe all users and passwords are managed via Windows and when they log on to Linux the username and password are passed to Windows to be checked. I presume this isn't a Linux specific thing, but

RE: [U2] Custom Functions

2005-06-25 Thread Ken Wallis
[EMAIL PROTECTED] writes When I said 'hack' I meant the ugly code that I had to create to make the trick work--the idea of having to put a dummy parameter into the function call in the basic program in order to make it compatible with the subr call in the i-type. Sorry for the confusion there.

RE: [U2] Custom Functions

2005-06-23 Thread Ken Wallis
gerry-u2ug wrote: globally catalogued as in CATALOG SUB.BP *MYFUNC ? so you should be using : SUBR(*MYFUNC,Y) we do this all the time in universe since at least v7 As others have mentioned, its a difference between UniData and UniVerse. On UniData you *CAN* use an asterisk before a

RE: [U2] Custom Functions

2005-06-22 Thread Ken Wallis
From: Burwell, Edward [EMAIL PROTECTED] I use/write functions all the time. I love 'em. You can return ANYTHING you want from a single digit to an array. If you have some specific questions, ask away. Wendy Smoak wrote: Can you use them in I-Descriptors? Doesn't look like it from

RE: [U2] Universe LIST.READU and change in inode number of file

2005-06-16 Thread Ken Wallis
It is very hard for any application program on UNIX to change the inode associated with a file. Have you identified the filenames associated with these two inode numbers? I strongly suspect that the application is locking records in two different files at the same time. A master record and a

RE: [U2] AD: UniVerse Analyst/Programmer Required - Wellington, New Zealand

2005-06-16 Thread Ken Wallis
As a West Islander who has enjoyed visits to Wellington on a number of occasions (though none recently I'm sad to say), I'd just like to express the viewpoint that Wellington in summer is lovely. In winter, I'm sure it has nice moments and I do recall encountering some of them, but it has some

RE: [U2] Best practice for Sequential IDs using TRANSACTION START COMMIT/ROLLBACK

2005-06-12 Thread Ken Wallis
Stevenson, Charles wrote: For files with sequential numbers as record IDs, it is common practice to use a control item (in dictionary or in a special control table) to get the next sequential id counter, then write back the incremented counter ASAP so it is available for the next process that

RE: [U2] udstat

2005-06-08 Thread Ken Wallis
Martin Phillips wrote: While delivering a Unidata System Administration course today I noticed an interesting feature of udstat. I had a simple program the contained a loop that performed one read and one write. The loop was traversed 100 times. udstat reported this as 200 reads and 600

RE: [U2] How to find modified/create date for a record in type 30 file

2005-06-08 Thread Ken Wallis
Womack, Adrian wrote: Well, I haven't seen any replies so far... The answer is No you can't tell. This information is not stored anywhere. All the data in a type 30 file (or any of the static hashed files as well) is stored inside a single OS file (ignoring overflow etc). So the OS date

RE: [U2] Uniobjects hack

2005-05-27 Thread Ken Wallis
And the good reason why IBM restricts access to this information so only VARs and End-Users with direct support contracts can see it is? Why is this not in a publicly accessible piece of documentation? The number of times I have tried to register for an IBM techconnect ID and been refused

RE: [U2] udtconfig gurus?

2005-05-26 Thread Ken Wallis
basis too. Drop me a direct email if you want to follow up on this. Cheers, Ken Ken Wallis Empower Data Solutions Blue Mountains, Sydney, Australia --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] I'm in an Array quandary, any suggestions...

2005-05-19 Thread Ken Wallis
Mats wrote OK, sure. But readnext doesn't really work on an array but on a select list. Will wrote: Ah but that's not so. You can SELECT myVAR You can SELECT myVAR to LIST5 You can SELECT myVAR to MyLIST and then you *can* in fact READNEXT your array. Selecting the variable turns

RE: [U2] Include Vs Call - Software Maintenance

2005-05-18 Thread Ken Wallis
Brutzman, Bill wrote: I need a UniBasic program that uses a lot of code from another program. I am inclined to move all of the common code out to an include file. I am reluctant to use an external subroutine because if the needs of one main-program change and I then re-compile the sub,

RE: [U2] UV PERFORM 'SELECT filename ...' in I-Type {Unclassified}

2005-05-18 Thread Ken Wallis
HENDERSON MIKE, MR wrote: Folks, We have had a puzzling situation where a particular subprogram works differently when run from a test-harness from TCL, to when it is run as an I-Type subroutine. The sub-routine concerned is about three layers deep in the execution sequence:-

RE: [U2] I'm in an Array quandary, any suggestions...

2005-05-13 Thread Ken Wallis
REC(0) references a dimensioned array and, apparently, in UV holds all fields that could not fit into the dimension of the array. UniData does not work this way, it puts it into the last dimension of the array which could result in data loss if you change that array position. We have

RE: [U2] Hidden spindle

2005-05-04 Thread Ken Wallis
Drew Henderson wrote: As a followup, you can also look at the /etc/mnttab file for a list of all the filesystems mounted. Just type 'mount' on its own to see a list of the mounted filesystems. As Drew suggests, most likely the U3 filesystem is not mounted and you are simply writing to files

RE: [U2] Multiple OPEN statements

2005-04-14 Thread Ken Wallis
Mark Johnson wrote: I just acquired a new client and found an interesting programming style that for the life of me I cannot understand why anyone in their right mind would do such a thing. Not on all programs but it seems that for programs that open less than 4-5 files, the programmer

[U2] [UV] Equivalent of UD's UV_RESTORE?

2005-04-03 Thread Ken Wallis
Hi Guys, UniData has a tool specifically for restoring UniVerse data - uv_restore, does UniVerse have an equivalent for sucking in UniData files? I know one or two of the folk here have moved from UniData to UniVerse. How did you do the data transfer? Particularly at cut-over when it needs to

RE: [U2] [UD] Objectcall again -- Australia 432, New Zealand 433 and 0/9

2005-03-11 Thread Ken Wallis
Steven Frost wrote: Sent: Friday, 11 March 2005 2:10 PM Subject: [U2] [UD] Objectcall again -- Australia 48-2 I am still having a bit of an issue with the Objectcall API Objectcall ping works fine to both the live database and the test database ( different unix servers) When the uniapi.ini

RE: [U2] Triggers docs?

2005-03-11 Thread Ken Wallis
Scott Ballinger wrote: The trigger is normally called twice: the first time you get the original @RECORD, the second time the new @RECORD. If an item is new or being deleted, then the trigger is called only once. I use named common to track of where I am and to save old @RECORD, so that I

RE: [U2] Unidata ECL prompt

2005-03-10 Thread Ken Wallis
Sadly not as far as I can tell. The prompt is a message in a central file. You can't update it without all accounts and users seeing the same change. I haven't looked hard at doing this since 4.1 though. It is possible that a feature has been snuck in quietly since then, but nothing I'm aware

RE: [U2] [UD] D3 Filesave Load on Unidata

2005-03-03 Thread Ken Wallis
Doesn't D3 do something stupid like default to a 500 byte block size, while UniData assumes 512? Seems a bit suspicious that you have 12 bytes of garbage to get rid of ... HTH, Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alfke, Colin

RE: [U2] [UD] Aix filesystem

2005-03-03 Thread Ken Wallis
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alfke, Colin Does anyone know if there is a limit on the size of a filesystem in Aix? Aix 5.1 UD 6.0.8 http://publib16.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixbman/admnconc/fs _types.htm#jfs_under

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

2005-03-02 Thread Ken Wallis
John Christian ([EMAIL PROTECTED]) wrote OPEN DICT,MY.FILE TO @DICT ELSE STOP (@DICT is required to work with virtual fields) READ @RECORD FROM F.MY.FILE,KV.MY.FILE ELSE PRINT ERROR F.MY.FILE: ID = :KV.MY.FILE (@RECORD required. Virtual fields are in MY.FILE) CLIENT.NAME = {DONOR.NAME}

RE: [U2] [UV] LIST.LOCKS - Unable to get process lock semaphore

2005-02-17 Thread Ken Wallis
[EMAIL PROTECTED] wrote: Marco wrote: In addition to my message below, when I enter the UV command LIST.LOCKD I get the following: LIST.LOCKS Unable to get process lock semaphore. [important bit snipped by Will] [EACCES] Permission denied Well would this mean something like I can't

RE: [U2] Unidata acount on unix

2005-02-17 Thread Ken Wallis
Susan Joslyn wrote: This is such a fundamental question ...sorry I'm such a numbskull -- I never do this. How does one make a directory on unix into a unidata account? On windoze I just make the directory and then go to it and type 'newacct'. What does the trick on unix? Its the same

RE: [U2] How to exit out mulitple loops?

2005-01-16 Thread Ken Wallis
Clifton Oliver wrote In that case, a determinate structure like FOR-NEXT is inappropriate. Use the indeterminate LOOP UNTIL REPEAT with the condition check in the UNTIL clause. Twenty-something answers to this simple question and only one sane one? FOR T = 1 TO 10 CONDITION = 0 Q =

RE: [U2] [Udt] RFS and NFA performance

2004-11-24 Thread Ken Wallis
Martin Phillips wrote: I am looking for some information about the performance impact of using the RFS and NFA components of Unidata.. 1. Does anyone have experience of just how much use of RFS degrades performance? The application concerned does not currently use transactions though

RE: [U2] DATA Statements

2004-11-12 Thread Ken Wallis
There's a UDT.OPTION which determines how DATA statements are processed. You'll have to look up which it is. I think the mnemonic is something like PRIMEDATA - Prime and PICK behaved differently on this so UniData has an option to control it. Incidentally, there is no such thing as an 'MCD

RE: [U2] Recommend tunable for Unidata on Solaris - semmap

2004-11-04 Thread Ken Wallis
LeRoi Keiller wrote: I have a need to recommend a better value for the tunable 'semmap', for a client who has Solaris with UniData 4.1.12. Reason: They're getting WARNING: rmfree map overflow messages on the console. Anyone able to assist? Been there, done that? Here's some basic info:

RE: [U2] Index problem

2004-11-03 Thread Ken Wallis
[EMAIL PROTECTED] wrote: We have one Unidata 5.1 data file with a virtual attribute. The virtual dictionary calls a Unibasic subroutine and returns a single value data from a multi value attribute from within the same file. We have an index on the virtual attribute. When new records are

RE: [U2] Index problem

2004-11-03 Thread Ken Wallis
Kafsat, I believe that if you pass the record data into the subroutine as a parameter using @RECORD instead of re-reading it from the file, then you will have a better chance of getting the behaviour you want: V SUBR(KAFSATS,@ID,@RECORD,OTHERSTUFF) ... SUBROUTINE KAFSATS(RESULT, REC_ID,

RE: [U2][UV]telnet

2004-10-30 Thread Ken Wallis
[EMAIL PROTECTED] wrote [EMAIL PROTECTED] writes: Are you just trying to fire up a telnet session and get it logged in so a user can then start interacting with a system? If so, then you essentially have to write your own telnet client/terminal emulator. Not true. Accuterm for

RE: [U2] XP's telnet with UV 10

2004-10-30 Thread Ken Wallis
Baakkonen, Rodney wrote: Does anybody know if there is a similar process for enhancing terminal emulation characteristics on Unidata? UniData simply uses the UNIX terminfo database (not quite true - some of the admin stuff like udtmon, usam, udtconf use another library that has its own termcap

RE: [U2] [UD] UniObjects and Time zones

2004-10-30 Thread Ken Wallis
Ed, I believe that on AIX TZ is set from /etc/environment during the login process. The unirpcd which serves all your UniObjects connections doesn't go through this process so it likely doesn't have a setting for TZ and defaults to GMT. Have a look at the options for unirpcd and see if you can

RE: [U2][UV]telnet

2004-10-28 Thread Ken Wallis
Stu, If what you have to do is anything but mindlessly simple and you don't mind a bit of a learning curve, then I'd suggest using perl to drive your telnet session. EXECUTE 'SH -c perl mytelnet.pl arg1 arg2 ... argn' from BASIC and write yourself a perl script to drive the telnet session.

RE: [U2][UV]telnet

2004-10-28 Thread Ken Wallis
Stu Glancy wrote: This was close. I removed the exit and it sill exited. I'd like to take over manually once I get in. What do you mean by 'manually'? Are you just trying to fire up a telnet session and get it logged in so a user can then start interacting with a system? If so, then you

RE: [U2] Memresize failed

2004-10-14 Thread Ken Wallis
-Original Message- From: Timothy Snyder kafsat taiyus [EMAIL PROTECTED] wrote Everything is getting in over001. I tried TYPE 0, TYPE 1, mod,sep 181061,16 (suggestion from guide) and 362137, 8 still the result is same, everything is going to over001. What else can I try to

RE: [U2] RE: gvim on UD

2004-10-07 Thread Ken Wallis
Where are you editing the programs with gvim? On a windows box somewhere, or on UNIX? If running on windows, but accessing a unix file, then you may find that gvim has decided to put in a CRLF instead of just a linefeed at the end of each line. gvim is infinitely configurable, and I'm sure

RE: [U2] Unidata split node problem

2004-09-23 Thread Ken Wallis
Chuck Mongiovi wrote: -rw-rw-r-- 1 root users1073737728 Sep 23 14:49 idx001 -rw-rw-rw- 1 root users1073737728 Sep 23 14:21 idx002 -rw-rw-rw- 1 root users 960774144 Sep 23 14:21 idx003 -rw-rw-r-- 1 root users 236834816 Sep 23 14:55 over001 4

  1   2   >