Re: [U2] New to UV/PICK, programming a banner

2007-03-25 Thread Gabriel Green
Forgive me, but there is not a file or dictionary called LOGIN. What/where/how should I create it? Thanks. Gabe On 3/25/07, Louis Windsor [EMAIL PROTECTED] wrote: Simply:- ED BP MOTD I Enter OPEN 'file' TO file THEN READ MOTD FROM file,'MOTD' THEN

Re: [U2] New to UV/PICK, programming a banner

2007-03-25 Thread Gabriel Green
Nevermind, I did some digging and found out it has to be a file called UV.LOGIN in the VOC of the UV account. Done. Thanks much. I'm new here, I am the IT person for an automotive company with custom software built on UniVerse and with my employer and our software developer's blessing am

Re: [U2] New to UV/PICK, programming a banner

2007-03-25 Thread MAJ Programming
Gabe: Ask as many questions as you want. The other participants are always happy to post programming replies. But, review the different posts with some eye to developing your own effecient habits. The UV code that you're now managing will most likely be written in one 'style' (MV has no

Re: [U2] New to UV/PICK, programming a banner

2007-03-25 Thread MAJ Programming
Observation on coding technique: If you have 20 or more files that need to be opened, do you use the same construct OPEN THEN or is this just an example for this reply. I've observed this technique in one client that I've acquired and it seems inappropriate to have the entire program indented so

Re: [U2] New to UV/PICK, programming a banner

2007-03-25 Thread MAJ Programming
To add to your banner request. I've written banners that have built in timers and/or counters. Thus, the banner record could have a date range for viewing plus a counter for how many times each user has seen it and to not show it if the user has already seen it 3 times. Some applications stay

Re: [U2] New to UV/PICK, programming a banner

2007-03-25 Thread karlp
Precisely why I use uniVerse's stopm directive: open '','FILE' to FILE else stopm 'No FILE File!' It's a simple oneliner that tells you all you need to know upon failure. Karl quote who=MAJ Programming Observation on coding technique: If you have 20 or more files that need to be opened, do

RE: [U2] New to UV/PICK, programming a banner

2007-03-25 Thread Brian Leach
Duh! Make that: HKEY_LOCAL_MACHINE\Software\IBM\UniVerse\CurrentVersion You'd all have worked it out anyway. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Leach Sent: 25 March 2007 16:48 To: u2-users@listserver.u2ug.org Subject:

RE: [U2] New to UV/PICK, programming a banner

2007-03-25 Thread Brian Leach
Karl Just one problem with that technique. If you do this inside a subroutine (and I DO see people use STOP inside subroutines all too often) you're locking into a legacy terminal environment. Call that from e.g. .NET and the subroutine stops - but you don't get any message back as to why.

RE: [U2] New to UV/PICK, programming a banner

2007-03-25 Thread Brian Leach
Gabe Good to have you on board! FYI: UV.LOGIN in the UV account is a global for anyone connecting to UniVerse - think of it like the /etc/profile under UNIX. LOGIN is an optional startup for a specific account: it goes into the VOC file for that account and is usually the point for startup

Re: [U2] New to UV/PICK, programming a banner

2007-03-25 Thread MAJ Programming
Curious: The most simple OPEN is OPEN FILE TO F.FILE ELSE STOP. The second most simple is OPEN FILE TO F.FILE ELSE STOP 201, FILE Where neither pauses to inform but the second one uses the ERRMSG handler. Does the M in STOPM mean pause for a message. There is also some caution with simply

[U2] Re: [UV] New to UV/PICK, programming a banner

2007-03-25 Thread Ray Wurlod
Two UniVerse answers in one, here. As well as writing code, you have options such as the DISPLAY command that you can put into the LOGIN paragraph in an account. Now the second answer, more addressing Mark's question about STOPM. Both STOP and ABORT come in a number of variations. The

[U2] Passing of Bruce Nichol - Talon Computer Services

2007-03-25 Thread Ross Ferris
I have just learned that Bruce Nichol of Talon Computer Services (Albury/NSW/Australia), a frequent contributor to this forum long time pick advocate, has passed away. He will be sorely missed Ross Ferris Stamina Software Visage Better by Design! --- u2-users mailing list

[U2] UV - Transaction Logging - Stale Transactions

2007-03-25 Thread Sara Burns
Late last year we upgraded from UV 10.0.11 on AIX to UV 10.1.16 on Red Hat Linux. At the same time we implemented Transaction Logging. We have a dispersed network with users throughout the country at about 40 sites using VOIP for our data and voice transmission. These sessions do sometimes get

RE: [U2] Passing of Bruce Nichol - Talon Computer Services

2007-03-25 Thread Bill H
RIP. :-( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Ferris Sent: Sunday, March 25, 2007 2:55 PM To: u2-users@listserver.u2ug.org Subject: [U2] Passing of Bruce Nichol - Talon Computer Services I have just learned that Bruce Nichol of Talon

Re: [U2] Re: [UV] New to UV/PICK, programming a banner

2007-03-25 Thread MAJ Programming
This may not answer my question. Does the STOPM have any 'wait' or prompt or will it blow by and the control be passed to the next process. That's the premise of my question. What happens after the 'STOPx. Thanks PS. Non UV/UD systems can write their own errmsg handler such as STOP