RE: Revisiting: [U2] HP Laserjets and AIX/Unix

2008-06-19 Thread Robin Smith
Following on to the original point that I think prompted this thread was the introduction of PCL6 by HP for their printers. As in the subject heading it was about printing from *nix. In my case AIX, but the same will apply to Linux and any other flavour ox *nix. We don't have Windows printer

[U2] group locks and user nbr's

2008-06-19 Thread doug chanco
Hey all, Can someone please help me understand the differences between group locks and record locks? Also are high user numbers (Userno below) indicative of a phantom process? *Active Record Locks: Device Inode Netnode Userno Lmode Pid Login Id Item-ID. 3080194

RE: [U2] group locks and user nbr's

2008-06-19 Thread Brian Leach
Doug To take the first part of your question: The lock table is used for application locks like READU and READL locks, and also for synchronisation locks. The RD and WR locks are synchronisation locks that control access to a group in a file during a read or write operation. these should be

RE: Revisiting: [U2] HP Laserjets and AIX/Unix

2008-06-19 Thread James F Thompson
We traditionally coded our programs to use PCL5 for fonts, position and tray selection. Over the pass few years of working thru these types of issues (not just pcl5/pcl6); the only long term answer we have come up with is to get out of the game. We started reviewing and/or using tools like

Re: [U2] group locks and user nbr's

2008-06-19 Thread Martin Phillips
Hi Doug, Record locks protect your data records. Group locks protect the internal pointers within the file. A user program cannot directly get or release group locks but they come and go automatically under the covers. Group locks are of three types: WR (write): very much like a READU,

RE: [U2] ActiveX component problem with Uniobjects application an d Visual

2008-06-19 Thread Eric Armstrong
John and Brian, Thanks for your replies. Brian, Can one use UO.NET with Universe 10.1.18? Eric Armstrong Programmer/Analyst Lobel Financial 714-816-1207 -Original Message- From: Brian Leach [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2008 12:55 AM To: u2-users@listserver.u2ug.org

RE: [U2] group locks and user nbr's

2008-06-19 Thread Kishor Parmar
We used to have a xref file to hold a list of I-nodes and the file name. As Brain rightly states on a *nix system you can use a ls -ip | sort -k 1,1n command or ls -ip | sort +0 -1 -n For windows we would run the Hamilton C shell so we could shell out and perform *nix command in a windows

Re: [U2] group locks and user nbr's

2008-06-19 Thread doug chanco
Thanks for the response! I was more interested in matching a user to a lock than the file (I have a program that I can call that will return the file name if you pass it a inode), what I was hoping for was a better way of figuring out the user, instead of doing the following: 1. convert the

RE: [U2] group locks and user nbr's

2008-06-19 Thread Brian Leach
Doug But I am still a little confused on what would set a group lock (I understand the record locks) and why a group lock would need to be set and does it lock the entire file? A group in a file contains pointers between records and pointers to overflow groups. So the group lock is there

RE: [U2] group locks and user nbr's

2008-06-19 Thread Doug Chanco
Thanks! Dougc Ps One other question (not related to locking). I always think it's polite to say thanks after getting good info from users on this list but I also hate to increase email volume with a reply of thanks. So is it better to not reply when you have the info you need (but assume the

Re: [U2] group locks and user nbr's

2008-06-19 Thread Louie Bergsagel
I don't know if this is very elegant, but it matches up the record lock with a user name: 0020 LOOP 0021 LOOP.COUNTER += 1 0022 *DISPLAY LOOP.COUNTER 0023 IF LOOP.COUNTER GT 100 THEN EXIT 0024 TRY.AGAIN = 0025 READVU FIELD1 FROM VOC.FILE,VOCLIB,1

Re: [U2] group locks and user nbr's

2008-06-19 Thread Scott Ballinger
Doug, As Brian mentioned, a group lock is asserted to maintain integrity of the group while the group is being updated, as the order of the items within group may change due to deletes and changes. Here is generic routine I use to perform a readu and resolve who has the record locked - and send

RE: [U2] group locks and user nbr's

2008-06-19 Thread Dave Taylor
Doug, I vote for snip-the-msg-and-say-thanks. Dave Taylor Sysmark Information Systems, Inc. Authorized IBM Business Partner 49 Aspen Way Rolling Hills Estates, CA 90274 (O) 800-SYSMARK (800-797-6275) (F) 310-377-3550 (C) 310-561-5200 www.sysmarkinfo.com - Original Message - From: Doug

[U2] XML extraction problem

2008-06-19 Thread ericro
Trying to extract an XML file and I want to use the BY_NAME clause in the extraction map so I can load the data into different attributes (not in order) but it keeps failing. We're on Universe 10.2.4 Is this feature not supported? Any help would be appreciated. -- View this message in context: