Re: [U2] Locks in subroutines

2007-10-09 Thread Martin Phillips
Hi all, Very quick testing on my home machine, (Win2K and Universe PE) suggests that if you pass the opened file pointer from the main to the cataloged routine it works as you would expect. If however, you do the file open within the subroutine it releases the lock when you return to the

Re: [U2] Locks in subroutines

2007-10-09 Thread Brett Callacher
It's interesting how one man's feature is another's bug... coming from a Pick/AP/D3 background I was horrified to encounter this behaviour in Universe. I am not convinced by the encapsulation argument here. If the lock is truly local to the file variable then should a READU in the subroutine

RE: [U2] Locks in subroutines

2007-10-09 Thread Brian Leach
Noel The locks will be released when the file variable goes out of scope. If the file variable is retained - either by passing it as an argument or using named common - the lock will also be retained. Regards Brian Hi all, I am porting some code from D3 to Universe 10.1.11 on Windows (and

Re: [U2] Locks in subroutines

2007-10-09 Thread Noel
Thank you to all that responded. Yes the file is being opened withing the subroutine and no, is not easy to change it to open the file higher in the food chain. It seems that D3 scopes the lock table according to the user that created the lock (the lock is released when they log off, if not

Re: [U2] Locks in subroutines

2007-10-09 Thread Martin Phillips
Hi Brett, I would contend that a global RELEASE with just a file variable (or worse none at all) is bad programming practice anyway... Despite being the author of the previous email, I completely agree. Any well designed program knows what locks it owns and can release them gracefully.

Re: [U2] Green Screen Dev. Environment

2007-10-09 Thread Cedric Fontaine (Nozumi Solutions)
Cooper, Rudy a icrit : Hi list, I know we can use gui tools like VS, MV.net, etc, but our transactional system is all character based and that's what we want to stick with for the time being. I know AREV and SB+ are out there, but are there others that anyone is using that is not 'home grown'?

RE: [U2] U2:UV: Dynamo

2007-10-09 Thread Tim Franklin
Hi Manu, I believe there are a number of 'Dynamo' products out there can you give me details of that your Dynamo product does, I have a lot if experience in one which is a 4GL, if we are talking the same product let me know and I can be of help. Regards, Tim Franklin -Original Message-

RE: [U2] Locks in subroutines

2007-10-09 Thread Stevenson, Charles
Responding to this part only: Yes the file is being opened withing the subroutine and no, is not easy to change it to open the file higher in the food chain. SUBROUTINE XYZ( ... ) COMMON /XYZ.ONLY/ XYZ.COMMON.INIT, FVAR IF NOT( XYZ.COMMON.INIT ) THEN OPEN 'whatever-file' TO

RE: [U2] Locks in subroutines

2007-10-09 Thread colin.alfke
I'll second the suggestion to not use generic RELEASE statements and add that if you do or may in the future use more than one data account to add a path variable to your common and check if the current path is different than the common path. hth Colin Alfke Calgary Canada -Original

[U2] Employement Opportunity

2007-10-09 Thread Lenore Von Hoene
PICK PROGRAMMER Benco Dental Company is the nation's largest independent distributor of dental supplies and equipment, voted one of the Best Places to Work for four consecutive years. We are seeking PICK programmers in DALLAS, TX and WILKES-BARRE, PA with extensive programming experience in one

[U2] Populating Excel Templates from UniVerse

2007-10-09 Thread Don P. Nagai
Hello All: Just wondering what methods would be suggested for populating Excel templates (invoices, work orders, etc.) with data from UniVerse. Weve run into problems with the newer HP printers no longer supporting PCL commands and are looking for alternative forms printing options.

Re: [U2] Populating Excel Templates from UniVerse

2007-10-09 Thread Mark Ballinger
On 10/9/07, Don P. Nagai [EMAIL PROTECTED] wrote: Just wondering what methods would be suggested for populating Excel templates (invoices, work orders, etc.) with data from UniVerse. We ve run into problems with the newer HP printers no longer supporting PCL commands and are looking for

[non associated plug] RE: [U2] Populating Excel Templates from UniVerse

2007-10-09 Thread Allen E. Elwood
'Reform' is a great product, that I'm not associated with. I know of quite a few companies that use this and just love it. http://www.fabsoft.com/products/reform/whatis.shtml -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Don P. Nagai Sent: Tuesday,

RE: [U2] [AD] Populating Excel Templates from UniVerse

2007-10-09 Thread Tony G
From: Don P. Nagai Just wondering what methods would be suggested for populating Excel templates (invoices, work orders, etc.) with data from UniVerse. We've run into problems with the newer HP printers no longer supporting PCL commands and are looking for alternative forms printing options.

RE: [U2] [AD] Populating Excel Templates from UniVerse

2007-10-09 Thread Bob Rasmussen
From: Don P. Nagai Just wondering what methods would be suggested for populating Excel templates (invoices, work orders, etc.) with data from UniVerse. We've run into problems with the newer HP printers no longer supporting PCL commands and are looking for alternative forms printing options.