RE: [U2] Need to partially hide a file

2007-11-28 Thread Bob Woodward
Would a trigger on the data file work? For non privlaged users modify the data to "" after a read then on write and update you could replenish the hidden data before actually doing the write. It would be quite a bit more programming work than just a simple permissions change but you could assign

RE: [U2] Standards [was:OCONV Extraction Question - Good Practice]

2007-11-28 Thread Boydell, Stuart
Thanks for helping me manage my time. But to be blunt right back - I just didn't think that "not having to look something up in a manual" is a reasonable proof of good coding so I thought I'd say so. I was just down for a good argument - it wasn't supposed to be memorable :-] Per specs, I'm in gene

Re: [U2] Need to partially hide a file

2007-11-28 Thread Craig Bennett
--- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Need to partially hide a file

2007-11-28 Thread karlp
I'm not sure this would work, but what if you created the file as a distributed file with 2 parts: part1 = 'public' data, part2 = 'secure' data. Those without security clearance would open just part1 and those with security clearance would open the distributed file which would give them access to

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

2007-11-28 Thread Womack, Adrian
I much prefer the multiple exit point method, it makes the code a lot easier to read. Prime examples are when you are looping through a file but only want to process certain records that pass a lot of conditions, it so much easier to test each condition individually and then RETURN immediately. S

Re: [U2] Need to partially hide a file

2007-11-28 Thread Augusto Alonso
Thanks Baker. Your suggestion is very wise, but the downside is too hard. In fact, The Dave's approach (@ENVVAR/PRIVATEFILE) would fit better for us, but... ...I've tested it, and it doesn't work at all in UniVerse (neither under windows nor under linux) I was thinking in a pointer-like sollutio

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

2007-11-28 Thread Allen E. Elwood
I try as hard as possible to keep the subr's in the same order as they are called (not always possible with conditions in the calling portion of the program). Therefore someone just reading down the program can get a good feeling for what's happening if that's the way they like to read it. I *def

Re: [U2] [UV] Can I get some advice on triggers?

2007-11-28 Thread Keith Johnson (DSLWN)
A big Thank You to everyone for the information. In the end it was straightforward, but I stumbled on a couple of the steps. Maybe this will help others Firstly, I wanted the code to be locally, not globally, cataloged. Our CATALOG verb has "PICK.FORMAT" rather than "INFORMATION.FORMAT" on line

RE: [U2] Need to partially hide a file

2007-11-28 Thread Baker Hughes
Augusto, sort of along the same line of thinking as Dave ... play with the user's logon as soon as they login... Modify your LOGIN VOC item so that it: a) Checks a Data Security flag for that specific user [ @logname = Item ID in DSA.Flags file] b) Open the Cust.Secure.Data file to a named common

RE: [U2] Standards [was:OCONV Extraction Question - Good

2007-11-28 Thread Glen Batchelor
> -Original Message- > From: [EMAIL PROTECTED] [mailto:owner-u2- > [EMAIL PROTECTED] On Behalf Of Thomas Derwin > Sent: Wednesday, November 28, 2007 3:12 PM > To: u2-users@listserver.u2ug.org > Subject: RE: [U2] Standards [was:OCONV Extraction Question - Good > > Interesting suggestion. Pe

RE: [U2] Standards [was:OCONV Extraction Question - Good Practice]

2007-11-28 Thread Ron Hutchings
The online Help Basic has a lot of the flavor differences indicated. > From: [EMAIL PROTECTED] > To: u2-users@listserver.u2ug.org > Subject: RE: [U2] Standards [was:OCONV Extraction Question - Good Practice] > Date: Wed, 28 Nov 2007 13:19:23 -0500 > > [chop] > > > > > IBM and RD give us programm

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

2007-11-28 Thread Charles_Shaffer
>I've seen programs that have 40 lines of main program code and >99% of them are GOSUBs. That is just a horrible way to design an >application, IMO. That is interesting. I prefer the main routine to be a stack of well named routine or function calls with minimal flow control and no detail. I f

RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Perry Taylor
Ah hah! Baker hit it right on! I uninstalled my AT&T Connection Manager software (Sierra Wireless AirCard) and magically my UniVerse telnet service starts every time. I found a newer version of the AT&T software and was going to upgrade, however in looking around the AT&T website I found a link

RE: [U2] Need to partially hide a file

2007-11-28 Thread Dave Davis
One approach would be to set up separate accounts for privileged vs. non-privileged users. That would give you two VOC files, and the paths to the data could be different for some or all of the files. Another approach is the following: In UniData this could be done by using environment variables

RE: [U2] Need to partially hide a file [not-secure]

2007-11-28 Thread Hennessey, Mark F.
Can someone tell me if it is possible? I'll explain the scenario: We need to hide some private data (customer personal data) in order to fit with our Private Data Protection Law. But only for some users, the others, they need to have full access. Our app is complex enough to modify the source co

RE: [U2] Standards [was:OCONV Extraction Question - Good

2007-11-28 Thread Thomas Derwin
Interesting suggestion. Perhaps something like the "Unix Rosetta Stone" site at http://bhami.com/rosetta.html ? >>> [EMAIL PROTECTED] 11/28/07 1:19 PM >>> [chop] I think that someone should set up a statement cross-reference guide that shows descriptions and flavor compatibility. If there alrea

[U2] Need to partially hide a file

2007-11-28 Thread Augusto Alonso
Hi all. Can someone tell me if it is possible? I'll explain the scenario: We need to hide some private data (customer personal data) in order to fit with our Private Data Protection Law. But only for some users, the others, they need to have full access. Our app is complex enough to modify the

RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Jerry Banker
Actually Missouri was originally part of the Louisiana Territory which did encompass part of present day Texas (Amarillo to Texarkana). http://en.wikipedia.org/wiki/Image:National-atlas-1970-1810-loupurchase. png > -Original Message- > From: Baker Hughes [mailto:[EMAIL PROTECTED] > Sent: W

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

2007-11-28 Thread Glen Batchelor
While I agree that modularity is the future path to easy redesigns, over modularizing an application can make the code even more difficult to comprehend than a top-down program with 10K lines and GOs every 20 lines. Anytime a section of code can be used elsewhere in the same program, but the scop

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

2007-11-28 Thread Allen E. Elwood
If I'm programming "on my own" I'll usually adopt the RETURN instead of continuing, just because it's *faster* to not process the rest of the statements that don't need processing. However, I have been told NOT TO DO THAT by someone who was substantially IRKED by multiple returns, and instead adop

RE: [U2] Standards [was:OCONV Extraction Question - Good Practice]

2007-11-28 Thread Glen Batchelor
[chop] > > IBM and RD give us programmers the same box of crayons respectively. It's > up > to us to draw with them. > > Mark Johnson That is only true if you utilize the base BASIC code statements. Each flavor has its own special functions and user exits, but they both contain the same core

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

2007-11-28 Thread Bessel, Karen
Subroutinize, subroutinize, subroutinize Flying geese should be avoided whenever possible. Those deep indents are nearly impossible to read/maintain later on. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marco Manyevere Sent: Wednesday, November 2

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

2007-11-28 Thread David A. Green
I like only one exit per subroutine. Deeply indented code can be minimized by use of CASE statements and GOSUBs. Thus keeping readability and enhancing maintainability. Thanks, David A. Green www.dagconsulting.com (480) 813-1725 --- u2-users mailing list u2-users@listserver.u2ug.org To unsub

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

2007-11-28 Thread Anthony Youngman
I must admit I prefer multiple exit points, but I'll throw a third variant into the mix ... OK = TRUE IF OK THEN Various statements that set OK to false if there's an error END IF OK THEN More statements that set OK to false if there's an error END Rinse and repeat RETURN Cheers, Wol --

RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread u2
AFAIK, the PE edition of universe doesn't allow you to change the telnet port via uniAdmin. However it does use the definition in the services file (at c:\windows\system32\drivers\etc) so it you change telnet there then universe will use the new port. > -Original Message- > From: [EMAIL PR

RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Brenda Price
Close enough and I've got family in Austin Texas too, doesn't that count! -Original Message- From: Baker Hughes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 28, 2007 9:32 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2][UV] PE Edition Telnet Service Won't Start We recently re

RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Brenda Price
Except I can't get UniAdmin to connect without telnet running. If you can, please advise how. Brenda -Original Message- From: Kevin King [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 28, 2007 9:51 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2][UV] PE Edition Telnet Service W

Re: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Kevin King
With Unidata at least you could use UniAdmin to reconfigure the telnet port to something else temporarily. I would assume the same to be true for UV? On Nov 28, 2007 8:35 AM, Andrew Lakeland <[EMAIL PROTECTED]> wrote: > Proabbly License, but you could start windows in safe mode and see if > your

[U2] Deep and long indentations vs multiple exit points

2007-11-28 Thread Marco Manyevere
There has been a lot said recently about styles, standards and good practice and I wonder what your take is on deeply indented routines with a common exit point versus unindented routines but with multiple exit points. I almost always prefer the later and find it much easier to follow. I come accro

RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Perry Taylor
When I reinstalled I downloaded the most recent build from the IBM website so I assume my license is ok. Also all the other services start ok and I can connect using uvshell without problems. Any other ideas? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Baker Hughes
We recently resolved this error for a TEXMUG member - in this case it was some Verizon wireless software that had a ghost bind on port 23. It didn't show as bound anywhere but when that software was un-installed telnet to UV began working. Perry, Brenda, If you want to read the whole thread, con

RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Andrew Lakeland
Proabbly License, but you could start windows in safe mode and see if your problem goes away. If it does, start your apps one by one and see which ones prevents it from starting. Skype caused me a few problems. Re andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

RE: [U2] Standards [was:OCONV Extraction Question - Good Practice]

2007-11-28 Thread Baker Hughes
Colin & Stuart, Forgive my bluntness - quit wasting time - Write your spec. That's the challenge. I agree with much of what you've each written, but unless you codify it into some document of lasting value, we're not really going to remember it past lunchtime. Charles has submitted the Barouch

RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Tom Dodds
I also have the same problem. I am at the U2U conference in San Francisco and have approached the experts with the issue. If we get it resolved I will let all of you know the solution. Tom Dodds -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perry Tay

Re: [U2] Epson DLQ3500 dot-matrix printer

2007-11-28 Thread Bob Rasmussen
On Wed, 28 Nov 2007, Andrew Lakeland wrote: > Hi, > > Does anyone have any experience of printing barcodes on Epson printers? > > We have an Epson DLQ3500 dot-matrix printer (in fact we have bought > loads of them for Poland). > ... I can't tell you whether that particular Epson has built-in

[U2] Totally different topic

2007-11-28 Thread MAJ Programming
A client going through a conversion has a GA Mentor. One of the 8-way serial external boards crapped out. If anyone has an ADDS 8 way (systech model HPS-7082) with the BNC and parallel connections for sale or donation please reply. Thanks in advance. Mark Johnson PS. No flames or lectures. Thank

RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Brenda Price
No, but if you ever find a fix will you let me know. It would not work for me originally on an HP laptop running XP Pro, however when my hard drive and cpu went out and they were replaced in Jan or Feb of 2007, I reinstalled and it worked. Then a couple of months later, same error, did the same t

RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Jerry Banker
Your license has probably expired. Load a new one. > -Original Message- > From: Perry Taylor [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 28, 2007 7:48 AM > To: u2-users@listserver.u2ug.org > Subject: [U2][UV] PE Edition Telnet Service Won't Start > > I'm having some trouble gett

RE: [U2] Standards [was:OCONV Extraction Question - Good Practice]

2007-11-28 Thread Jerry Banker
Very good analogy and I agree with you. > -Original Message- > From: MAJ Programming [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 28, 2007 12:06 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] Standards [was:OCONV Extraction Question - Good Practice] > > Standards vs St

Re: [U2] Epson DLQ3500 dot-matrix printer

2007-11-28 Thread Charles Barouch
Andy, Here's the documentation you need. I've written routines to do this but I have nothing to hand at this time. Sorry. I hope this helps enough. http://en.wikipedia.org/wiki/ESC/P http://www.epson.co.uk/support/manuals/pdf/ESCP/Part_1.pdf (Page nine has an excellent summary of

[U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread Perry Taylor
I'm having some trouble getting my UniVerse 10.2 PE (Windows) telnet service to start. The last time I used it several months ago it worked just fine. Now when I try to start it I get this in the event log... Event Type: Error Event Source: IBM UniVerse Event Category: None Event ID:

Re: [U2] Epson DLQ3500 dot-matrix printer

2007-11-28 Thread Charles Barouch
Andy, And a few more: http://openprinting.org/show_printer.cgi?recnum=Generic-ESC_P_Dot_Matrix_Printer http://www.undocprint.org/formats/page_description_languages/esc_p Andrew Lakeland wrote: Hi, Does anyone have any experience of printing barcodes on Epson printer

RE: [U2] Epson DLQ3500 dot-matrix printer

2007-11-28 Thread Tim Franklin
Hi, Have you considered purchasing a HP printer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Lakeland Sent: 28 November 2007 12:06 To: u2-users@listserver.u2ug.org Subject: [U2] Epson DLQ3500 dot-matrix printer Hi, Does anyone have any e

[U2] Epson DLQ3500 dot-matrix printer

2007-11-28 Thread Andrew Lakeland
Hi, Does anyone have any experience of printing barcodes on Epson printers? We have an Epson DLQ3500 dot-matrix printer (in fact we have bought loads of them for Poland). They use a command language called Esc/p. We just cant figure out the syntax to use from the manuals. We have googled eve