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
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
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
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
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
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
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
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
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
> -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
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
>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
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
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
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
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
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
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
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
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
[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
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
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
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
--
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
44 matches
Mail list logo