RE: [UV] Variable never assigned a value warning

2004-03-03 Thread Hona, David S
Actually Bill, PI/open and Prime INFORMATION (last couple of releases) had
meaningful run-time and compile-time error/warning messages.  Very similar
to your examples with the variable/constant names. The online help also gave
you more info for the error code that it displayed (sometimes useful :-)).

Regards
David


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Bill H.
Sent: Thursday, March 04, 2004 5:41 AM
To: U2 Users Discussion List
Subject: RE: [UV] Variable never assigned a value warning


Marco:

A useful alternative, which noone has ever fixed in over 25 years, is the
message:

 [B10] in program "MyProgram", Line 106: Variable has not been assigned a
value; zero used.

 or

 [B10] in program "MyProgram", Line 106: Nonnumeric where numeric required;
zero used.


Why in the world hasn't it been fixed to display:

 [B10] in program "MyProgram", Line 106: "InvoiceNo" has not been assigned a
value; zero used.

 or

 [B10] in program "MyProgram", Line 106: "InvoiceNo" = "A"; Nonnumeric where
numeric required; zero used.

Stupid questions for the exasperated business developer?

Bill
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


SV: How to start windows programs

2004-03-03 Thread Björn Eklund
That sounds great Stuart since we run netterm today. I'll try this out.

Björn Eklund
-Ursprungligt meddelande-
Från: Stuart Boydell [mailto:[EMAIL PROTECTED]
Skickat: den 4 mars 2004 00:49
Till: U2 Users Discussion List
Ämne: RE: How to start windows programs


> Is there a way of starting windowsprograms on the users PC from a Unibasic
> program or do I need Wintergrate or some other tool to do that?

You need a proficient terminal emulator. Wintegrate could be one option of
many.

> I would like to send a invoice number away to an invoice archive on MS
> sql-server to get a pdf copy of the invoice in an Internet Exploreror
> acrobat reader window.

The simplest method to open a pdf is to write the pdf to a server then send
the URI of the pdf to the emulator via an escape sequence. For example, to
open a pdf in your browser using ftp using Netterm: CRT
CHAR(27):'[]ftp://user:[EMAIL PROTECTED]/invoice12345.pdf':CHAR(27):'[0*'

My personal preference for emulators is Netterm. http://securenetterm.com.
It supports the ability to open URIs, kick off programs on the client as
well as more sophisticated functions. It's free to evaluate (with no expiry
time) and if you decide you want to buy it it's about US$30 for 1 and gets
cheaper by the dozen.

Regards,
Stuart



**
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have 
received this email in error please notify the Spotless IS Support Centre
(61 3 9269 7555) immediately who will advise further action.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Ever wondered how something works...

2004-03-03 Thread Andrew Gissing
> so I have to think the list will still be active after the WHO is
> completed.

Not so. I discovered to my own use that simply using "LIST", without file
name, will clear the selectlist.

And in any event, proof of who below:

<<< T C L>>>
>SELECT CUST

3117 record(s) selected to SELECT list #0.
>>WHO
120 mm From andrew
>

andrew gissing

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Ever wondered how something works...

2004-03-03 Thread Louis Windsor
Well "WHO" works on UniVerse personal edition on Windows XP.

Louis

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 04, 2004 2:33 PM
Subject: Re: [UV] Ever wondered how something works...


: In a message dated 3/3/2004 10:03:01 PM Pacific Standard Time,
: [EMAIL PROTECTED] writes:
:
:
: > Even quicker,
: > who [Enter]
: > Regards T.
:
: Are you sure?  I think on native pick systems you can use any command.
: However on Universe you have to use a command that actually uses up a
select list.
: Since who is a "Type 1" verb it neither expects, nor consumes a select
list,
: so I have to think the list will still be active after the WHO is
completed.
:
: Will
: -- 
: u2-users mailing list
: [EMAIL PROTECTED]
: http://www.oliver.com/mailman/listinfo/u2-users
:

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Ever wondered how something works...

2004-03-03 Thread FFT2001
In a message dated 3/3/2004 10:03:01 PM Pacific Standard Time, 
[EMAIL PROTECTED] writes:


> Even quicker,
> who [Enter]
> Regards T.

Are you sure?  I think on native pick systems you can use any command.  
However on Universe you have to use a command that actually uses up a select list.  
Since who is a "Type 1" verb it neither expects, nor consumes a select list, 
so I have to think the list will still be active after the WHO is completed.

Will
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Ever wondered how something works...

2004-03-03 Thread Tony Wood
> By the way, the fastest way to get rid of an unwanted Select list (in
Universe):
> ED [Enter] [Enter]
> and the list is gone...

Even quicker,

who [Enter]

Regards,

T.


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Ever wondered how something works...

2004-03-03 Thread rainer
By the way, the fastest way to get rid of an unwanted Select list (in Universe):
ED [Enter] [Enter]
and the list is gone...

Rainer

Quoting Barry Brevik <[EMAIL PROTECTED]>:

> Thanks for the replies!
> 
> >If you hate typing CLEARSELECT or any other long command
> >why don't you just create a shortened command?
> 
> Because then I'd have to put it in every account, whereas 'L' is already
> everywhere. I just assumed it was some general command because this is the
> second company I've worked at that has it in the VOC (one on unix, the other
> on NT).
> 
> Very interesting post on the PRIMOS stuff... we are running INFORMATION
> flavor.
> 
> Also, I can run 'DOS' no problem, but it's interesting that you can get the
> same error by not having rights to 'cmd'. It's probably a coincidence, but
> the old command 'CT' doesn't work right on my system either.
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users
> 



-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Sales Forecasting System

2004-03-03 Thread Barry Brooks
Hi Everyone

We are looking for a 'standalone' Sales Forecasting System including
demand forecasting techniques and preferably
using a MV database. Or alternately a Sales Forecasting System that can
be integrated sensibly into a MV application.

Any clues ??

Barry Brooks
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: How to start windows programs

2004-03-03 Thread Ian McGowan
On Wed, 2004-03-03 at 09:35, Björn Eklund wrote:
> Is there a way of starting windowsprograms on the users PC from a
> Unibasic program or do I need Wintergrate or some other tool to do
> that?

this comes up often enough to be a FAQ.  i dumped some ideas in the
following page.  if anyone has additional ideas, or corrections, you can
edit the content of the page by clicking on the link at the bottom that
says "Edit text of this page".  in particular, it would be nice to list
the actual escape sequence used by wintegrate and viaduct...

http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram

Björn, you may find this python program interesting - 


import SocketServer
import os

class UrlHandler(SocketServer.StreamRequestHandler):
def handle(self):
url=self.rfile.readline(512)
os.system("start "+url)

server=SocketServer.TCPServer( ('', 79), UrlHandler)
server.serve_forever()


the equivalent vbscript program would be a little bigger, and isn't much
of a challenge to write, and you probably already have vbscript
installed on your clients.  there's a sample on the wiki page...

thanks
ian

-- 
Ian McGowan <[EMAIL PROTECTED]>

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Variable never assigned a value warning

2004-03-03 Thread Stevenson, Charles
Marco,
At that point I wasn't really adressing your question.  Sorry for taking
the thread off it's original topic.  I probably should have started my
own thread.

Hey, it's all Martin Phillips' fault.  His "Incidentally,..." paragraph
got me off on a tangent, onto a soapbox.  It's a sore spot where I keep
getting poked.

cds

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Marco Manyevere
> Sent: Wednesday, March 03, 2004 8:18 PM
> To: U2 Users Discussion List
> Subject: RE: [UV] Variable never assigned a value warning
> 
> 
> My query is not on how to suppress the warning messages but 
> on why the compiler catches only a few of them. Even the 
> case statement example you gave is in my opinion a good 
> candidate for such warning messages because a robust program 
> would have to provide for a default case block, something like:
>  
> LOOP
>GOSUB ASSIGN.A
>BEGIN CASE
>   CASE A = 1; B = 'Apple'
>   CASE A = 2; B = 'Orange'
>   CASE A = 3; B = 'Banana'
>   CASE 1; B = 'Something is very wrong here!'
>END CASE
>DISPLAY B
> REPEAT
> 
> Regards, Marco
> 
> "Stevenson, Charles" <[EMAIL PROTECTED]> wrote: 
> HEAR, HEAR!
> 
> > Incidentally, I find the worryingly common practice of
> > setting all variables to zero / null at the top of a program 
> > very annoying as it hides the very useful unassigned variable 
> > trap, leaving you thinking your program works when actually 
> > it doesn't.
> > 
> > Martin Phillips
> > Ladybridge Systems
> 
> 
> Yes, this practice HIDES real errors.
> 
> I too see it a lot, and I think it is absolutely disgusting. 
> Maybe the practice originated with programmers who were used 
> to working in languages where they had to declare variables & 
> var types at the top of their program. They just felt kinda 
> naked without saying, I=0;A='';[EMAIL PROTECTED], at the top of 
> their basic code. A poor reason.
> 
> Don't do it.
> 
> Be aware that the *occasional* such message may hint at a 
> *multitude* of unreported error incidents. Especially when 
> the error is deep inside an important loops. Let me 
> illustrate by expanding Martin's example:
> 
> LOOP
> GOSUB ASSIGN.A
> BEGIN CASE
> CASE A = 1; B = 'Apple'
> CASE A = 2; B = 'Orange'
> CASE A = 3; B = 'Banana'
> END CASE
> DISPLAY B
> REPEAT
> 
> You will get an "unassigned error" message only if A just 
> happens to not be 1,2,or 3 on the very FIRST pass through the 
> loop. Subsequent passes where that occurs would use the value 
> assigned to B on the previous iteration. UV will be happy to do so.
> 
> Initializing B at the top of the program, above the loop, 
> would eliminate those occasional error message but not 
> eliminate the buggy code or a fundamental logic flaw.
> 
> Try to initialize & assign variables exactly where they 
> apply. Then watch for error messages that point out your 
> flaws, and be grateful for them.
> 
> Chuck Stevenson
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: UniVerse 10 :Network writes not allowed within a transacton.

2004-03-03 Thread Ang Suan Yong
Dear All,

We do install the UV/NET. Even I can edit the remote file and save
it. Only unable to write if combine with the BEGIN TRANSACTION / END
TRANSACTION statement

Regards
Ang

-Original Message-
From:   Hona, David S [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, 04 March, 2004 11:43 AM
To: 'U2 Users Discussion List'
Subject:RE: UniVerse 10 :Network writes not allowed within a
transacton.


Do you have UV/Net installed on the remote server? Or are you using
NFS?

Apparently, you can't write to remote 'recoverable' (via UV/Net)
files,
during a transaction. I can't see any other restrictions, regarding
UV/Net
accessible files. 

Regards
David


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Ang Suan Yong
Subject: UniVerse 10 :Network writes not allowed within a
transacton.


Dear U2 Users,

Is anyone having idea regarding the uniVerse 10 when apply
the
Begin/End Transaction, it do not allow to write to the remote file.
Once
execute the program , it prompt the belowing messages Network writes
not
allowed within a transacton. Is it the security of the Database ?

For eg , From Server A , having a program as below  to
access the
remote file of Server B ( ie ASY.FV )  which is code within the
Begin / End
Transaction

...
[snip]

Error message is as follow

FATAL: Network writes not allowed within a transacton.
rolling back uncommitted transactions begun within this execution
environment.



-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


DISCLAIMER:-
<>


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Variable never assigned a value warning

2004-03-03 Thread Marco Manyevere
My query is not on how to suppress the warning messages but on why the compiler  
catches only a few of them. Even the case statement example you gave is in my opinion 
a good candidate for such warning messages because a robust program would have to 
provide for a default case block, something like:
 
LOOP
   GOSUB ASSIGN.A
   BEGIN CASE
  CASE A = 1; B = 'Apple'
  CASE A = 2; B = 'Orange'
  CASE A = 3; B = 'Banana'
  CASE 1; B = 'Something is very wrong here!'
   END CASE
   DISPLAY B
REPEAT

Regards, Marco

"Stevenson, Charles" <[EMAIL PROTECTED]> wrote:
HEAR, HEAR!

> Incidentally, I find the worryingly common practice of 
> setting all variables to zero / null at the top of a program 
> very annoying as it hides the very useful unassigned variable 
> trap, leaving you thinking your program works when actually 
> it doesn't.
> 
> Martin Phillips
> Ladybridge Systems


Yes, this practice HIDES real errors.

I too see it a lot, and I think it is absolutely disgusting.
Maybe the practice originated with programmers who were used to working
in languages where they had to declare variables & var types at the top
of their program. They just felt kinda naked without saying,
I=0;A='';[EMAIL PROTECTED], at the top of their basic code. A poor reason.

Don't do it.

Be aware that the *occasional* such message may hint at a *multitude* of
unreported error incidents. Especially when the error is deep inside an
important loops. Let me illustrate by expanding Martin's example:

LOOP
GOSUB ASSIGN.A
BEGIN CASE
CASE A = 1; B = 'Apple'
CASE A = 2; B = 'Orange'
CASE A = 3; B = 'Banana'
END CASE
DISPLAY B
REPEAT

You will get an "unassigned error" message only if A just happens to not
be 1,2,or 3 on the very FIRST pass through the loop. Subsequent passes
where that occurs would use the value assigned to B on the previous
iteration. UV will be happy to do so.

Initializing B at the top of the program, above the loop, would
eliminate those occasional error message but not eliminate the buggy
code or a fundamental logic flaw.

Try to initialize & assign variables exactly where they apply. Then
watch for error messages that point out your flaws, and be grateful for
them.

Chuck Stevenson
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

-
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download 
Messenger Now
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: UniVerse 10 :Network writes not allowed within a transacton.

2004-03-03 Thread Hona, David S

Do you have UV/Net installed on the remote server? Or are you using NFS?

Apparently, you can't write to remote 'recoverable' (via UV/Net) files,
during a transaction. I can't see any other restrictions, regarding UV/Net
accessible files. 

Regards
David


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ang Suan Yong
Subject: UniVerse 10 :Network writes not allowed within a transacton.


Dear U2 Users,

Is anyone having idea regarding the uniVerse 10 when apply the
Begin/End Transaction, it do not allow to write to the remote file.  Once
execute the program , it prompt the belowing messages Network writes not
allowed within a transacton. Is it the security of the Database ?

For eg , From Server A , having a program as below  to access the
remote file of Server B ( ie ASY.FV )  which is code within the Begin / End
Transaction

...
[snip]

Error message is as follow

FATAL: Network writes not allowed within a transacton.
rolling back uncommitted transactions begun within this execution
environment.



-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Ever wondered how something works...

2004-03-03 Thread Mark Johnson
I don't know exactly but LD may be short for LISTDICTS and since you're not
providing a filename, it may bomb, taking the active list with it.

Sometimes on UD i wish there were an easier way to clear an active list
instead of CLEARSELECT. I used TIME on all native systems but UD is more
durable and gives you more chances to either get the MVQuery statement
correct or actually bail with clearselect.

my 1 cent.
- Original Message -
From: "Barry Brevik" <[EMAIL PROTECTED]>
To: "U2 list (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 9:34 PM
Subject: [UV] Ever wondered how something works...


> One day, I stumbled across an interesting behavior; at TCL, if I type 'L',
> it results in my current SELECT list being cleared. You get an error
> message, but it does not seem to hurt anything. This is great, because I
> hate typing in CLEARSELECT.
>
> But ever since, I've been wondering what it's really doing. Turns out that
> 'L' is one of only two similar VOC entries, the other being 'LD'. It looks
> like this:
>
> 0001: V
> 0002: L
> 0003: PR
>
> The error message you get reads:
>
>   Unable to create new process.  Will try again.
>   Create Process failed (2).
>
> This is on NT. IIRC, on unix the message is different. Anybody know what
> this is doing, or if it is safe?
> --
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Ever wondered how something works...

2004-03-03 Thread Scott Richardson
You've definitely got VOC items that need clearing up and correction on that
system.

- Original Message - 
From: "Barry Brevik" <[EMAIL PROTECTED]>
To: "'U2 Users Discussion List'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 10:09 PM
Subject: RE: [UV] Ever wondered how something works...


> Thanks for the replies!
>
> >If you hate typing CLEARSELECT or any other long command
> >why don't you just create a shortened command?
>
> Because then I'd have to put it in every account, whereas 'L' is already
> everywhere. I just assumed it was some general command because this is the
> second company I've worked at that has it in the VOC (one on unix, the
other
> on NT).
>
> Very interesting post on the PRIMOS stuff... we are running INFORMATION
> flavor.
>
> Also, I can run 'DOS' no problem, but it's interesting that you can get
the
> same error by not having rights to 'cmd'. It's probably a coincidence, but
> the old command 'CT' doesn't work right on my system either.
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Ever wondered how something works...

2004-03-03 Thread Barry Brevik
Thanks for the replies!

>If you hate typing CLEARSELECT or any other long command
>why don't you just create a shortened command?

Because then I'd have to put it in every account, whereas 'L' is already
everywhere. I just assumed it was some general command because this is the
second company I've worked at that has it in the VOC (one on unix, the other
on NT).

Very interesting post on the PRIMOS stuff... we are running INFORMATION
flavor.

Also, I can run 'DOS' no problem, but it's interesting that you can get the
same error by not having rights to 'cmd'. It's probably a coincidence, but
the old command 'CT' doesn't work right on my system either.
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


UniVerse 10 :Network writes not allowed within a transacton.

2004-03-03 Thread Ang Suan Yong
Dear U2 Users,

Is anyone having idea regarding the uniVerse 10 when apply the
Begin/End Transaction, it do not allow to write to the remote file.  Once
execute the program , it prompt the belowing messages Network writes not
allowed within a transacton.
Is it the security of the Database ?

For eg , From Server A , having a program as below  to access the
remote file of Server B ( ie ASY.FV )  which is code within the Begin / End
Transaction

...
READU REC FROM ASY.FV , ID ELSE
CRT "ERROR READ FILE"
EXIT

BEGIN TRANSACTION
REC<1> = "TEST" : X
WRITE REC TO ASY.FV,ID ELSE
CRT "FAIL WRITE REC"
END
IF ( P.ERROR ) THEN
ROLLBACK
END
COMMIT
END TRANSACTION
RELEASE ASY.FV

Error message is as follow

FATAL: Network writes not allowed within a transacton.
rolling back uncommitted transactions begun within this execution
environment.




Thanks and Regards



DISCLAIMER:-
<>


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Ever wondered how something works...

2004-03-03 Thread Scott Richardson
David is absolutely 100% correct.

Louis Windsor is also 100% correct.
The reason the "L" VOC entry clears your active SELECT is that the command
is not interpreted, therefore the "botched" command - since it did not work
against your SELECT list - by default - clears your active select list.

ED VOC CLEARSELECT

FILE VOC CLS  (makes a synonym).


- Original Message - 
From: "Hona, David S" <[EMAIL PROTECTED]>
To: "'U2 Users Discussion List'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 9:53 PM
Subject: RE: [UV] Ever wondered how something works...


> My VOC doesn't have these entries you mention...nor does the UV Account
VOC
> (always a good place to check for such things - or the NEWACC file).
>
> However, looks like your application once resided on a Prime Computer,
under
> PRIMOS and using Prime INFORMATION.
>
> L and LD are 'list directory' PRIMOS operating system commands. The VOC
> entry you showed was how you executed the commands from Prime INFORMATION
> PERFORM prompt (TCL). I believe field 3 "PR" indicated a PRIMOS command
> under PI.
>
> What you're seeing is  a side-effect, rather than a 'feature' of UV TCL.
>
> Of course, there is no reason why you can clone 'L' from 'CLEARSELECT'.
;-)
>
> Regards
> David
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Barry Brevik
> Sent: Thursday, March 04, 2004 1:34 PM
> To: U2 list (E-mail)
> Subject: [UV] Ever wondered how something works...
>
>
> One day, I stumbled across an interesting behavior; at TCL, if I type 'L',
> it results in my current SELECT list being cleared. You get an error
> message, but it does not seem to hurt anything. This is great, because I
> hate typing in CLEARSELECT.
>
> But ever since, I've been wondering what it's really doing. Turns out that
> 'L' is one of only two similar VOC entries, the other being 'LD'. It looks
> like this:
>
> 0001: V
> 0002: L
> 0003: PR
>
> The error message you get reads:
>
>   Unable to create new process.  Will try again.
>   Create Process failed (2).
>
> This is on NT. IIRC, on unix the message is different. Anybody know what
> this is doing, or if it is safe?
>
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Ever wondered how something works...

2004-03-03 Thread Louis Windsor
Hi,

If you hate typing CLEARSELECT or any other long command
why don't you just create a shortened command?

Like CLS for CLEARSELECT.

Why rely on a "botch" which happens to work on your system?

my 2c

Louis

- Original Message - 
From: "Barry Brevik" <[EMAIL PROTECTED]>
To: "U2 list (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, March 04, 2004 10:34 AM
Subject: [UV] Ever wondered how something works...


: One day, I stumbled across an interesting behavior; at TCL, if I type 'L',
: it results in my current SELECT list being cleared. You get an error
: message, but it does not seem to hurt anything. This is great, because I
: hate typing in CLEARSELECT.
:
: But ever since, I've been wondering what it's really doing. Turns out that
: 'L' is one of only two similar VOC entries, the other being 'LD'. It looks
: like this:
:
: 0001: V
: 0002: L
: 0003: PR
:
: The error message you get reads:
:
:   Unable to create new process.  Will try again.
:   Create Process failed (2).
:
: This is on NT. IIRC, on unix the message is different. Anybody know what
: this is doing, or if it is safe?
: -- 
: u2-users mailing list
: [EMAIL PROTECTED]
: http://www.oliver.com/mailman/listinfo/u2-users
:

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: How to start windows programs

2004-03-03 Thread Mark Johnson
I don't mean to over illustrate WIN.PCRUN but I must endorse it. I've got
clients using it to FTP to remote sites for order downloads, delete remote
data, instantiate text file transfers, link UPS tracking numbers to UPS.com
and fedex. 2 of my clients maintain fleets of 20-30 dispatchable trucks and
when the dispatcher has the customer on the screen, they type 'MAP' and
mapquest.com (sic) shows the map of the customer to help the driver on the
walkie-talkie.

Another client has an interactive voice response IVR order entry system that
saves orders in a shared directory. WIN.PCRUN runs bat files to get the new
filenames, pick does the conversion and error log and WIN.PCRUN then deletes
the successful orders from the original folder and copies the not-so-good
orders to a reject folder. It polls every 5 minutes during the day, sleeps
from 5pm to 730 am and refreshes the IVR data tables with fresh customers
and products at 1:30 am.

If I could run a macro from within excel with WIN.PCRUN i would be home free
as I could export CSV's and format them from within excel instead of the
suggested methods from the outside.

One final use is to incorporate BLAT to kick off single or mass emails from
within Pick (native or network). I even have the end of month process email
to the owner at home of one of my clients that the process is complete so he
can VPN in and print the various reports. Pretty cool.

my 1 cent
- Original Message -
From: "Stuart Boydell" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 6:49 PM
Subject: RE: How to start windows programs


> > Is there a way of starting windowsprograms on the users PC from a
Unibasic
> > program or do I need Wintergrate or some other tool to do that?
>
> You need a proficient terminal emulator. Wintegrate could be one option of
> many.
>
> > I would like to send a invoice number away to an invoice archive on MS
> > sql-server to get a pdf copy of the invoice in an Internet Exploreror
> > acrobat reader window.
>
> The simplest method to open a pdf is to write the pdf to a server then
send
> the URI of the pdf to the emulator via an escape sequence. For example, to
> open a pdf in your browser using ftp using Netterm: CRT
> CHAR(27):'[]ftp://user:[EMAIL PROTECTED]/invoice12345.pdf':CHAR(27):'[0*'
>
> My personal preference for emulators is Netterm. http://securenetterm.com.
> It supports the ability to open URIs, kick off programs on the client as
> well as more sophisticated functions. It's free to evaluate (with no
expiry
> time) and if you decide you want to buy it it's about US$30 for 1 and gets
> cheaper by the dozen.
>
> Regards,
> Stuart
>
>
>
> **
> This email message and any files transmitted with it are confidential
> and intended solely for the use of addressed recipient(s). If you have
> received this email in error please notify the Spotless IS Support Centre
(61 3 9269 7555) immediately who will advise further action.
>
> This footnote also confirms that this email message has been scanned
> for the presence of computer viruses.
> **
>
> --
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Ever wondered how something works...

2004-03-03 Thread Hona, David S
My VOC doesn't have these entries you mention...nor does the UV Account VOC
(always a good place to check for such things - or the NEWACC file).

However, looks like your application once resided on a Prime Computer, under
PRIMOS and using Prime INFORMATION.

L and LD are 'list directory' PRIMOS operating system commands. The VOC
entry you showed was how you executed the commands from Prime INFORMATION
PERFORM prompt (TCL). I believe field 3 "PR" indicated a PRIMOS command
under PI.

What you're seeing is  a side-effect, rather than a 'feature' of UV TCL.

Of course, there is no reason why you can clone 'L' from 'CLEARSELECT'. ;-)

Regards
David


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Barry Brevik
Sent: Thursday, March 04, 2004 1:34 PM
To: U2 list (E-mail)
Subject: [UV] Ever wondered how something works...


One day, I stumbled across an interesting behavior; at TCL, if I type 'L',
it results in my current SELECT list being cleared. You get an error
message, but it does not seem to hurt anything. This is great, because I
hate typing in CLEARSELECT.

But ever since, I've been wondering what it's really doing. Turns out that
'L' is one of only two similar VOC entries, the other being 'LD'. It looks
like this:

0001: V
0002: L
0003: PR

The error message you get reads:

  Unable to create new process.  Will try again.
  Create Process failed (2).

This is on NT. IIRC, on unix the message is different. Anybody know what
this is doing, or if it is safe?

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


UNCLASSIFIED RE: [UV] Ever wondered how something works...

2004-03-03 Thread HENDERSON MICHAEL MR
Barry,

Got neither of these verbs in my VOC
We run INFORMATION flavour, which one do you use?

But I've seen that error message before, when a program tried to execute the
"DOS" command, but the user didn't have the correct rights to "cmd.exe".
Your UV users (a local group on the server, normally) need read & execute
rights on 'cmd.exe' [in C:\WINNT\System32\] in order for the "DOS" command
to work.

So ... I'd guess that "LD" is a program which includes an EXECUTE "DOS /c
''", and you don't have rights to "cmd.exe"


HTH


Mike

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Barry Brevik
Sent: Thursday, 4 March 2004 3:34 p.m.
To: U2 list (E-mail)
Subject: [UV] Ever wondered how something works...

One day, I stumbled across an interesting behavior; at TCL, if I type 'L',
it results in my current SELECT list being cleared. You get an error
message, but it does not seem to hurt anything. This is great, because I
hate typing in CLEARSELECT.

But ever since, I've been wondering what it's really doing. Turns out that
'L' is one of only two similar VOC entries, the other being 'LD'. It looks
like this:

0001: V
0002: L
0003: PR

The error message you get reads:

  Unable to create new process.  Will try again.
  Create Process failed (2).

This is on NT. IIRC, on unix the message is different. Anybody know what
this is doing, or if it is safe?
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: How to start windows programs

2004-03-03 Thread Mark Johnson
I've got a nifty 15 line utility that anyone could complete called NOTEPAD.
Basically is it like EDIT (pick) except it copies the Pick file to a known
PC filename (C:\notepad.txt) and starts notepad. I and users can edit
textfiles simply (don't try data files as there's no line numbers) and when
you close notepad, you're left with a pick prompt that you simply hit 
to import the record back to pick. Works on native as well as networked pick
systems.

Example:

NOTEPAD FILE ITEM

my 2 cents.
- Original Message -
From: "Jeff Schasny" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 1:03 PM
Subject: RE: How to start windows programs


> How about EXECUTE 'DOS /C "notepad.exe"'
>
> substituting whatever windows executable you like for "notepad.exe" or if
> its more complex than that you could write out a batch file and run it by
> this same method.
>
>
> >Is there a way of starting windowsprograms on the users PC from a
Unibasic
> >program or do I need Wintergrate or some other tool to do that?
> >
> --
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: How to start windows programs

2004-03-03 Thread Mark Johnson
Wintegrate is real easy (not that Accuterm isn't, i just know wintegrate).

As a blind terminal emulator the MV host knows nothing of the emulator
(native or telnet). From one of the connected users you can 'upload host
programs' that puts 100 or more main and sub programs into WIN.PROGS
(flavored) and then they're available for all wintegrate users.

I use WIN.EXPORT and WIN.IMPORT extensively. A little parameter heavy but
you can consolidate. In second place is WIN.PCRUN which is as simple as it
gets:

CALL WIN.PCRUN("IEXPLORE",WWW.EBAY.COM)
or
CALL WIN.PCRUN("SOL.EXE", "")

In fact i use WIN.EXPORT to push down MS FTP scripts and then WIN.PCRUN to
FTP. I've hooked a lot with WIN.PCRUN.

BTW, if you EXPORT a BAT file and you initiate it with WIN.PCRUN, open
windows explorer and make a shortcut of the bat file. Then right click to
the properties and check on the 'close on exit'. This .PIF file is the
hamburger helper for the BAT and allows the BAT process to open and close
instead of staying open once complete.

my 2 cents.

- Original Message -
From: "Results" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 12:58 PM
Subject: Re: How to start windows programs


> Björn,
> I know you can do it from AccuTerm, I don't know of a way to do it
> from wIntergrate.
>
> - Charles Barouch
> [EMAIL PROTECTED]
>
> Björn Eklund wrote:
>
> >Hi,
> >Is there a way of starting windowsprograms on the users PC from a
Unibasic
> >program or do I need Wintergrate or some other tool to do that?
> >
> >I would like to send a invoice number away to an invoice archive on MS
> >sql-server to get a pdf copy of the invoice in an Internet Exploreror
> >acrobat reader window.
> >
> >Björn Eklund
> >
> >
> >
>
>
> --
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


[UV] Ever wondered how something works...

2004-03-03 Thread Barry Brevik
One day, I stumbled across an interesting behavior; at TCL, if I type 'L',
it results in my current SELECT list being cleared. You get an error
message, but it does not seem to hurt anything. This is great, because I
hate typing in CLEARSELECT.

But ever since, I've been wondering what it's really doing. Turns out that
'L' is one of only two similar VOC entries, the other being 'LD'. It looks
like this:

0001: V
0002: L
0003: PR

The error message you get reads:

  Unable to create new process.  Will try again.
  Create Process failed (2).

This is on NT. IIRC, on unix the message is different. Anybody know what
this is doing, or if it is safe?
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Variable never assigned a value warning

2004-03-03 Thread Stuart Boydell
> The easy answer is no.  This would require the compiler to establish all
> possible paths through a program and determine whether it was possible to
> arrive at any place that uses a variable without setting it
> first.  Although
> some compilers (many C compilers for example) make a good attempt at this,
> there are always cases that cannot be resolved.

You seem not to have compiled Java code then as I can't think of a situation
where the comiler would miss the slightest opportunity to complain about the
possibility that a variable or object might be unassigned ;-)















**
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have 
received this email in error please notify the Spotless IS Support Centre (61 3 9269 
7555) immediately who will advise further action.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


AD - U2 Users, find out how to add web-client functionality to your applications.

2004-03-03 Thread D Averch
XLr8 is a web-forms development tool for Unidata and Universe databases,
which offers affordable, easy-to-use utilities and tools for web-forms:
architecture, performance, management, administration and replication.

XLr8 Features and Benefits include:

Reduction in development time.
Eliminate debugging multiple layers.
Create custom web-enabled pages with a consistent look and feel.
Retain your field by field data validation.
Seamless interface with all U2 databases.
Web-enable RedBack development easier.
Easily generate documentation templates.
No on-going software licensing fees.
XLr8 v4.0 now contains extensions to System Builder.

To learn more about XLr8, visit u2logic.com, call toll free at
1.866.XLr8me2, or attend our seminar at International Spectrum this March in
Las Vegas.
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Does anyone know how to

2004-03-03 Thread FFT2001
In a message dated 3/3/2004 4:09:29 PM Eastern Standard Time, [EMAIL PROTECTED] writes:

> 
> I want to be able to read in a .doc file created in Word 2000, do a string
> replace, and then write out the file as a new .doc file.  I have tried
> using the standard READ and READSEQ. I use the CHANGE command [REC =
> CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In each case I get
> the anticipated results but when I attempt to launch the 
> document in Word
> 2000 I get THE "unknown file format" error.


I would try using READBLK and WRITEBLK.  Readseq and writeseq will add "line 
terminators" if they aren't there which is bad, very bad :)
Will "bad, very bad" Johnson
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: How to start windows programs

2004-03-03 Thread Stuart Boydell
> Is there a way of starting windowsprograms on the users PC from a Unibasic
> program or do I need Wintergrate or some other tool to do that?

You need a proficient terminal emulator. Wintegrate could be one option of
many.

> I would like to send a invoice number away to an invoice archive on MS
> sql-server to get a pdf copy of the invoice in an Internet Exploreror
> acrobat reader window.

The simplest method to open a pdf is to write the pdf to a server then send
the URI of the pdf to the emulator via an escape sequence. For example, to
open a pdf in your browser using ftp using Netterm: CRT
CHAR(27):'[]ftp://user:[EMAIL PROTECTED]/invoice12345.pdf':CHAR(27):'[0*'

My personal preference for emulators is Netterm. http://securenetterm.com.
It supports the ability to open URIs, kick off programs on the client as
well as more sophisticated functions. It's free to evaluate (with no expiry
time) and if you decide you want to buy it it's about US$30 for 1 and gets
cheaper by the dozen.

Regards,
Stuart



**
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have 
received this email in error please notify the Spotless IS Support Centre (61 3 9269 
7555) immediately who will advise further action.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Does anyone know how to

2004-03-03 Thread Brian Leach
Daniel,

Word files are binary format and are not changeable by 
this technique: the characters are positionally important 
in the document structure and any changes in length will 
screw the doc completely..

You can go for a number of approaches at various levels of 
technicality, but the simplest is just to save the 
document as Rich Text Format into a Type 19 file, and you 
can then easily do a CHANGE() function replace on the 
contents. I can't remember exactly, but mail merge fields 
are identified by a fairly obvious prefix, something like 
"\MERGEFIELD name". It's worth reading up a little about 
RTF format (the format is published and publically 
available on the web) before you do so you know some of 
the escape characters when replacing.

Brian Leach

On Wed, 3 Mar 2004 16:09:29 -0500
 [EMAIL PROTECTED] wrote:
I am running UV 9.5.1... on windows NT (PICK flavor).

I want to be able to read in a .doc file created in Word 
2000, do a string
replace, and then write out the file as a new .doc file. 
I have tried
using the standard READ and READSEQ. I use the CHANGE 
command [REC =
CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In 
each case I get
the anticipated results but when I attempt to launch the 
document in Word
2000 I get THE "unknown file format" error.  I have to 
figure that some
characters imbedded in the original document are being 
stripped by the
limitations of the uniVerse READ and READSEQ commands 
thus making this
method not practical.  I did this in the past - in 
another life maybe - but
this is my first attempt with WORD 2000.  All practical 
suggestions
appreciated.

dan

Note: Effective February 2, 2004, Arnold & Porter became 
a limited
liability partnership with the name Arnold & Porter LLP. 
Please
change your records accordingly. The addresses, telephone 
and fax
numbers, and e-mail addresses of the firm and attorneys 
have not changed.
--
This communication may contain information that is 
legally privileged,
confidential or exempt from disclosure.  If you are not 
the intended
recipient, please note that any dissemination, 
distribution, or copying
of this communication is strictly prohibited.  Anyone who 
receives this
message in error should notify the sender immediately by 
telephone or
by return e-mail and delete it from his or her computer.
--
Daniel Plocinik 
   [EMAIL PROTECTED]
Arnold & Porter LLP Telephone: 
202-274-7639
555 Twelfth Street, NW  Fax: 
  202-942-5999
Washington, DC  20004-1202

For more information about Arnold & Porter LLP, click 
here:
 http://www.arnoldporter.com

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

This email was checked by MessageLabs SkyScan before 
entering Microgen.



This email was checked on leaving Microgen for viruses, similar
malicious code and inappropriate content by MessageLabs SkyScan.
DISCLAIMER

This email and any attachments are confidential and may also be
privileged.
If you are not the named recipient, please notify the sender
immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information.
In the event of any technical difficulty with this email, please
contact the sender or [EMAIL PROTECTED]
Microgen Information Management Solutions
http://www.microgen.co.uk
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: UV losing print characters

2004-03-03 Thread John Jenkins
 
Seen this with TCP/X.25 bridges as well - X.25 is a bit notorious under
heavy load and it can lose data. Usually only an issue if you are running
through a large X.25 based IT infrastructure or over WANs

Regards

JayJay


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: My apologies

2004-03-03 Thread Jerry Banker
Always the Mother.
- Original Message - 
From: "Dawn M. Wolthuis" <[EMAIL PROTECTED]>
To: "'U2 Users Discussion List'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 3:55 PM
Subject: RE: My apologies


You are permitted to be human and speak with tongue in cheek at times too,
even if you are an IBM employee, Wally.  I suspect that most of us would
MUCH PREFER to have IBM employees feel free to speak up and not think they
have to be "politically correct" or run every word past a corporate
marketing person or whatever.  So, not to worry and thanks for engaging in
the conversation.  smiles.  --dawn

Dawn M. Wolthuis
Tincat Group, Inc.
www.tincat-group.com

Take and give some delight today.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Wally Terhune
Sent: Wednesday, March 03, 2004 11:28 AM
To: [EMAIL PROTECTED]
Subject: My apologies





Please accept my apologies for an inappropriate comment regarding U2
maintenance issues.

What I should have said was something along the lines of - 'might it not be
best to take this discussion to the non-technical U2 list'.

Best regards,

Wally Terhune
Manager - U2 Advanced Technical Support
IBM Data Management Solutions
Tel: 303.294.4866 Fax: 303.294.4832
[EMAIL PROTECTED]
www.ibm.com/software/data/u2/support - Open, Query, Update, Search -
Online!
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: My apologies

2004-03-03 Thread Dawn M. Wolthuis
You are permitted to be human and speak with tongue in cheek at times too,
even if you are an IBM employee, Wally.  I suspect that most of us would
MUCH PREFER to have IBM employees feel free to speak up and not think they
have to be "politically correct" or run every word past a corporate
marketing person or whatever.  So, not to worry and thanks for engaging in
the conversation.  smiles.  --dawn

Dawn M. Wolthuis
Tincat Group, Inc.
www.tincat-group.com

Take and give some delight today.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Wally Terhune
Sent: Wednesday, March 03, 2004 11:28 AM
To: [EMAIL PROTECTED]
Subject: My apologies





Please accept my apologies for an inappropriate comment regarding U2
maintenance issues.

What I should have said was something along the lines of - 'might it not be
best to take this discussion to the non-technical U2 list'.

Best regards,

Wally Terhune
Manager - U2 Advanced Technical Support
IBM Data Management Solutions
Tel: 303.294.4866 Fax: 303.294.4832
[EMAIL PROTECTED]
www.ibm.com/software/data/u2/support - Open, Query, Update, Search -
Online!
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Does anyone know how to

2004-03-03 Thread Tony Gravagno
You really don't want to read a binary document into your app.  It's
relatively easy to create a COM Add-in for Word which can be controlled from
any MV environment over any OS.  See http://nebula-rnd.com/products/doc.htm
as an example of what can be done in this area.

I've been thinking about creating a simple version of NebulaDoc that does
nothing more than basic string replacement rather than supporting all of the
other Word functions.  This would facilitate these very common mail-merge
type requests.  Inquiries welcome.  Same thing can be done with Excel.  I
already have an inquiry about this for using Word with QM from LadyBridge
and a couple for D3.  I just need a few more confirmed requests to kick me
over the edge.

Tony
[EMAIL PROTECTED]

>-Original Message-
>From: [EMAIL PROTECTED]
>I am running UV 9.5.1... on windows NT (PICK flavor).
>
>I want to be able to read in a .doc file created in Word 2000,
>do a string replace, and then write out the file as a new .doc 
>file.  I have tried using the standard READ and READSEQ. I use 
>the CHANGE command [REC = CHANGE(REC,txta,txtb)] and then  
>WRITE (or WRITESEQ).  In each case I get the anticipated 
>results but when I attempt to launch the document in Word 2000 
>I get THE "unknown file format" error.  I have to figure that 
>some characters imbedded in the original document are being 
>stripped by the limitations of the uniVerse READ and READSEQ 
>commands thus making this method not practical.  I did this in 
>the past - in another life maybe - but this is my first 
>attempt with WORD 2000.  All practical suggestions appreciated.
>
>dan
>

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Does anyone know how to

2004-03-03 Thread Daniel_Plocinik

Thanks Mick - gives me something to start with.  Now if I can only get the
users to accept it the battle will be successful.

dan



   
   
  "Gahan, Mick"
   
  <[EMAIL PROTECTED]>  To: "U2 Users Discussion List" <[EMAIL 
PROTECTED]>   
  Sent by: cc: 
   
  [EMAIL PROTECTED] Subject:  RE: [UV] Does anyone know how to 

  ver.com  
   
   
   
   
   
   
   
  03/03/2004 04:16 PM  
   
  Please respond to U2 
   
  Users Discussion 
   
  List 
   
   
   
   
   




Dan,

We do this within UniData, but I'm thinking it should work in Universe
as well.

Our trick is to save the Word Document as a RTF (Rich Text Format) file
instead of in the native Word format.  The rtf format keeps you from
having to worry about any special characters embedded within the
document.

It's worked well for us.

Mick

Mick Gahan
Director, MIS
Metropolitan Community College
Omaha, NE
(402) 457-2402

NOTE: New email address ([EMAIL PROTECTED])


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 3:09 PM
To: [EMAIL PROTECTED]
Subject: [UV] Does anyone know how to


I am running UV 9.5.1... on windows NT (PICK flavor).

I want to be able to read in a .doc file created in Word 2000, do a
string replace, and then write out the file as a new .doc file.  I have
tried using the standard READ and READSEQ. I use the CHANGE command [REC
= CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In each case I
get the anticipated results but when I attempt to launch the document in
Word 2000 I get THE "unknown file format" error.  I have to figure that
some characters imbedded in the original document are being stripped by
the limitations of the uniVerse READ and READSEQ commands thus making
this method not practical.  I did this in the past - in another life
maybe - but this is my first attempt with WORD 2000.  All practical
suggestions appreciated.

dan

Note: Effective February 2, 2004, Arnold & Porter became a limited
liability partnership with the name Arnold & Porter LLP. Please change
your records accordingly. The addresses, telephone and fax numbers, and
e-mail addresses of the firm and attorneys have not changed.
--
This communication may contain information that is legally privileged,
confidential or exempt from disclosure.  If you are not the intended
recipient, please note that any dissemination, distribution, or copying
of this communication is strictly prohibited.  Anyone who receives this
message in error should notify the sender immediately by telephone or by
return e-mail and delete it from his or her computer.
--
Daniel Plocinik [EMAIL PROTECTED]
Arnold & Porter LLP Telephone:  202-274-7639
555 Twelfth Street, NW  Fax:202-942-5999
Washington, DC  20004-1202

For more information about Arnold & Porter LLP, click here:
 http://www.arnoldporter.com


--
u2-users mailing list
[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users




Note: Effective February 2, 2004, Arnold & P

RE: [UV] Does anyone know how to

2004-03-03 Thread Gahan, Mick
Dan,

We do this within UniData, but I'm thinking it should work in Universe
as well.

Our trick is to save the Word Document as a RTF (Rich Text Format) file
instead of in the native Word format.  The rtf format keeps you from
having to worry about any special characters embedded within the
document.

It's worked well for us.

Mick

Mick Gahan
Director, MIS
Metropolitan Community College
Omaha, NE
(402) 457-2402

NOTE: New email address ([EMAIL PROTECTED])


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 3:09 PM
To: [EMAIL PROTECTED]
Subject: [UV] Does anyone know how to


I am running UV 9.5.1... on windows NT (PICK flavor).

I want to be able to read in a .doc file created in Word 2000, do a
string replace, and then write out the file as a new .doc file.  I have
tried using the standard READ and READSEQ. I use the CHANGE command [REC
= CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In each case I
get the anticipated results but when I attempt to launch the document in
Word 2000 I get THE "unknown file format" error.  I have to figure that
some characters imbedded in the original document are being stripped by
the limitations of the uniVerse READ and READSEQ commands thus making
this method not practical.  I did this in the past - in another life
maybe - but this is my first attempt with WORD 2000.  All practical
suggestions appreciated.

dan

Note: Effective February 2, 2004, Arnold & Porter became a limited
liability partnership with the name Arnold & Porter LLP. Please change
your records accordingly. The addresses, telephone and fax numbers, and
e-mail addresses of the firm and attorneys have not changed.
--
This communication may contain information that is legally privileged,
confidential or exempt from disclosure.  If you are not the intended
recipient, please note that any dissemination, distribution, or copying
of this communication is strictly prohibited.  Anyone who receives this
message in error should notify the sender immediately by telephone or by
return e-mail and delete it from his or her computer.
--
Daniel Plocinik [EMAIL PROTECTED]
Arnold & Porter LLP Telephone:  202-274-7639
555 Twelfth Street, NW  Fax:202-942-5999
Washington, DC  20004-1202

For more information about Arnold & Porter LLP, click here:
 http://www.arnoldporter.com


-- 
u2-users mailing list
[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


[UV] Does anyone know how to

2004-03-03 Thread Daniel_Plocinik
I am running UV 9.5.1... on windows NT (PICK flavor).

I want to be able to read in a .doc file created in Word 2000, do a string
replace, and then write out the file as a new .doc file.  I have tried
using the standard READ and READSEQ. I use the CHANGE command [REC =
CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In each case I get
the anticipated results but when I attempt to launch the document in Word
2000 I get THE "unknown file format" error.  I have to figure that some
characters imbedded in the original document are being stripped by the
limitations of the uniVerse READ and READSEQ commands thus making this
method not practical.  I did this in the past - in another life maybe - but
this is my first attempt with WORD 2000.  All practical suggestions
appreciated.

dan

Note: Effective February 2, 2004, Arnold & Porter became a limited
liability partnership with the name Arnold & Porter LLP. Please
change your records accordingly. The addresses, telephone and fax
numbers, and e-mail addresses of the firm and attorneys have not changed.
--
This communication may contain information that is legally privileged,
confidential or exempt from disclosure.  If you are not the intended
recipient, please note that any dissemination, distribution, or copying
of this communication is strictly prohibited.  Anyone who receives this
message in error should notify the sender immediately by telephone or
by return e-mail and delete it from his or her computer.
--
Daniel Plocinik [EMAIL PROTECTED]
Arnold & Porter LLP Telephone:  202-274-7639
555 Twelfth Street, NW  Fax:202-942-5999
Washington, DC  20004-1202

For more information about Arnold & Porter LLP, click here:
 http://www.arnoldporter.com


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: Migration ReCompile

2004-03-03 Thread Grant.Boice
It would probably be a good idea to re-compile and re-catalog.

-Grant W. Boice, Jr.

-Original Message-
From: Brutzman, Bill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 2:34 PM
To: 'U2 Users Discussion List'
Subject: Migration ReCompile



Right now we are using UV v8.3.3 on HP-Ux v10.01.

When we upgrade both UV and the OS, will we need to reCompile all of our
UniBasic programs?

--Bill
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


spooler id question

2004-03-03 Thread Donnie Jacobs
Hello All,

Is there a function with universe / basic to tell me the id of the last print job 
generated from my current uv login?

Universe 10.0.13
RedHat Linux 8.0

Thanks for you help,
Donnie Jacobs
Sr Developer
GC Services LP
713-776-6503
[EMAIL PROTECTED]

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: How to start windows programs

2004-03-03 Thread Tony Gravagno
I have a new component which will launch multiple applications on any PC in
a shop from any MV platform.  No AccuTerm or wIntegrate involved, very
affordable.  It's currently named NebulaLaunch and is being incorporated
into a couple other components here and will be available as a separate
offering soon.  Inquiries welcome.

Tony
Nebula R&D
[EMAIL PROTECTED]

>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of Björn Eklund
>Sent: Wednesday, March 03, 2004 9:35 AM
>To: '[EMAIL PROTECTED]'
>Subject: How to start windows programs
>
>
>Hi,
>Is there a way of starting windowsprograms on the users PC 
>from a Unibasic program or do I need Wintergrate or some other 
>tool to do that?
>
>I would like to send a invoice number away to an invoice 
>archive on MS sql-server to get a pdf copy of the invoice in 
>an Internet Exploreror acrobat reader window.
>
>Björn Eklund
>
>-- 
>u2-users mailing list
>[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
>
>

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


U2 Maintenance

2004-03-03 Thread Wally Terhune





Folks:
I really shot myself in the foot on this one. I had intended to indicate we
took this seriously, but I didn't feel it needed to be discussed in this
forum.

IBM really does consider this a very important issue and is working very
hard to rectify this. Yes, we are using a U2 database to track the license
and maintenance data. We have pulled resources from our technical support
group and reassigned them (temporarily) to resolving maintenance issues.
This is painful - as additional technical work is added to the rest of the
department's work queues - but necessary. This is just one indication of
how important this issue is. We do value our clients and want this to work
for you and for IBM.

If you have any concerns about your particular situation, I advise you to
contact your maintenance provider (if a Partner) or your IBM sales rep. If
you have a direct support agreement, you may also get some
direction/assistance by emailing [EMAIL PROTECTED] You may also email me
directly, though I'm not personally directly involved in the project (and
may not be the quickest route to resolution).

I hope we can discontinue this thread on u2-users at this point. I, for
one, appreciate the efforts by everyone in keeping this a technically
focused forum. Please direct any additional comments to me, personally - if
you like.

Again - my apologies.

Wally Terhune
Manager - U2 Advanced Technical Support
IBM Data Management Solutions
Tel: 303.294.4866 Fax: 303.294.4832
[EMAIL PROTECTED]
www.ibm.com/software/data/u2/support - Open, Query, Update, Search -
Online!--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Variable never assigned a value warning

2004-03-03 Thread Stevenson, Charles
> Is it technically or theoretically possible for the BASIC 
> compiler (or any other compiler for that matter) to catch 
> (during compilation) all the situations that might result in 
> the use of unassigned variable at runtime within the scope of 
> the subroutine being compiled?

It's not exactly an answer, but one useful thing the compiler does
currently allow is the "-X" option to generate a symbol map.

"BASIC BP XYZ -X" generates BP.L XYZ which has shows a cross-reference
map of where each variable is assigned or used.

I typically search for variables that are assigned but never referenced,
referenced but never assigned, or look for patterns of use that might
tell me something, such as variables you meant to use in one section,
yet unexpectedly crop up in the map somewhere else.  Misspelled
variables stick out like sore thumbs.

Comparing the map of the old version to that of the new can be useful.

cds
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Migration ReCompile

2004-03-03 Thread Brutzman, Bill

Right now we are using UV v8.3.3 on HP-Ux v10.01.

When we upgrade both UV and the OS, will we need to reCompile all of our
UniBasic programs?

--Bill
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: How to start windows programs

2004-03-03 Thread Steve Moore
Bjorn,

You might look at WIN.PCRUN in the wIntegrate host utilities.   
You can pass the path to the file and run Internet Explorer or 
any other PC program in a separate window on the client.

Mark Johnson gave a good explanation of this a few days ago.  You
can search the Archive for Wintegrate to find his message.

Steve


-Original Message-
Subject: How to start windows programs

Hi,
Is there a way of starting windowsprograms on the users PC from a Unibasic
program or do I need Wintergrate or some other tool to do that?



This message has been scanned for viruses by Webshield E500, Groupshield for Exchange, 
and McAfee Virus Enterprise

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: My apologies

2004-03-03 Thread Hennessey, Mark F.


Please accept my apologies for an inappropriate comment ...



Gee, Wally (God, I've always wanted to type that here!)... ;)

I seem to remember a pretty big emoticon after the 'allegedly' 
inappropriate comment.  Even I understood what you meant.  

Yes, there are problems on the BUSINESS side.  And Yes, if they
don't get straightened out soon there will be some bad outcomes for IBM,
like long time customers porting over to other DBs.  It's kind of hard
for us to evangelize U2 within our organizations when IBM is pulling this
kind of stuff.  

Mark Hennessey
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: How to start windows programs

2004-03-03 Thread Maresh, Mel
You can do this with the full version of Accuterm which costs $139, Accuterm
lite which costs $59 does not have this feature.  This feature is now
support by a terminal emulator called HotVT, at least in Wyse60 modes, which
is available for $39, if cost is a consideration.  Control is also better to
if you want the host process to wait until the local process is finished.
My host program launches the local process and then waits until it receives
a return code.  HotVT returns '...' when the local program is terminated.
The '...' is a user defined parameter that is passed to it.  Accuterm is
supposed to wait for the process to terminate, but I found that it wasn't.

LOOP
INPUT ANS,3
IF ANS = '...' THEN EXIT
REPEAT

Mel Maresh 

-Original Message-
From: Results [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 11:59 AM
To: U2 Users Discussion List
Subject: Re: How to start windows programs


Björn,
I know you can do it from AccuTerm, I don't know of a way to do it 
from wIntergrate.

- Charles Barouch
[EMAIL PROTECTED]

Björn Eklund wrote:

>Hi,
>Is there a way of starting windowsprograms on the users PC from a Unibasic
>program or do I need Wintergrate or some other tool to do that?
>
>I would like to send a invoice number away to an invoice archive on MS
>sql-server to get a pdf copy of the invoice in an Internet Exploreror
>acrobat reader window.
>
>Björn Eklund
>
>  
>


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: How to start windows programs

2004-03-03 Thread Bill H.
Jeff:

I suspect that would start "Notepad" on the server rather than on the
client.  I believe one needs something like wIntegrate or AccuTerm to start
"Notepad" on the client.

Bill

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Jeff Schasny
> Sent: Wednesday, March 03, 2004 10:04 AM
> To: U2 Users Discussion List
> Subject: RE: How to start windows programs
>
>
> How about EXECUTE 'DOS /C "notepad.exe"'
>
> substituting whatever windows executable you like for "notepad.exe" or if
> its more complex than that you could write out a batch file and run it by
> this same method.
>
>
> >Is there a way of starting windowsprograms on the users PC from
> a Unibasic
> >program or do I need Wintergrate or some other tool to do that?
> >
> --
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: u2 maintenance agreements

2004-03-03 Thread Bill H.
Wally:

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Wally Terhune
> Sent: Wednesday, March 03, 2004 8:06 AM
> To: U2 Users Discussion List
> Subject: Re: u2 maintenance agreements
>

[snipped]

> Isn't there a separate list server for whining?  :-)

This is such a devastating issue to many businesses in the same position as
IBM (except U2 is small and IBM is big) that most companies would never
allow this to happen.  When it does, it always does, they
bend-over-backwards to resolve the problem immediately (all it takes is a
single individual to resolve this).

Considering the number of responses about this issue, only IBM (or GM,
Microsoft, GE, the phone companies, etc) would consider such mismanagement
to be customer whining. :-)

Just $.02 from someone working on a number of conversions to (and new
development on) U2.

Bill

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: u2 maintenance agreements

2004-03-03 Thread Richard A. Wilson
Wally, now I have a complaint . Ibm keeps calling to resolve my 
maintenance renewal situation. 2 phone calls in 2 days.

looks like I'll be back on track shortly. I hope others experience the 
same timely response.

Rich

P.S. Things do fall thru the cracks when you only submit a case number 
every couple of years.

Wally Terhune wrote:




Folks:
We are constantly striving to improve the maintenance renewal process. We
acknowledge that with the multiple buy-outs in a few short years, things
got pretty out of whack. We are getting close. We've implemented a new
database and are cleansing and recapturing all records and putting
processes in place to address all of these issues.
Isn't there a separate list server for whining?  :-)

Wally Terhune
Manager - U2 Advanced Technical Support
IBM Data Management Solutions
Tel: 303.294.4866 Fax: 303.294.4832
[EMAIL PROTECTED]
www.ibm.com/software/data/u2/support - Open, Query, Update, Search -
Online!-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

--
Richard A. Wilson
Lakeside Systems
Smithfield, RI, USA
Voice 401-231-3959
Fax   401-231-3943
[EMAIL PROTECTED]
www.lakeside-systems.com
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: Eclipse

2004-03-03 Thread David Beahm
Sorry, I have done embarassingly little towards developing the desired 
plug-in.  I had trouble finding a tutorial that matched what I saw in 
the current version of Eclipse, and recently have been using NetBeans 
much more than Eclipse, so have let things slide.

Best,
David Beahm
Stuart Boydell wrote:
Just saw a www.ibm.com/developerWorks seminar on web services. They are
using Eclipse as their IDE and I was impressed by the sexiness of the tools
(We can get to whether they work or not later).
There was a thread on here a few months ago about U2 & Eclipse and I was
wondering if anyone had built or tried building a plug-in for U2 yet.
Anyone have any comments about it?
Cheers,
--
Stuart
















**
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have 
received this email in error please notify the Spotless IS Support Centre (61 3 9269 7555) immediately who will advise further action.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: UV losing print characters

2004-03-03 Thread Bill H.
Gerry:

A common solution I've found is to add more memory to the HP printer(s).
Although it doesn't really remedy the cause it can have a positive impact on
the symptom...memory is cheap, our time isn't.  :-)

Hope this helps.

Bill

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Martin Phillips
> Sent: Wednesday, March 03, 2004 12:51 AM
> To: U2 Users Discussion List
> Subject: Re: UV losing print characters
>
>
> The most common cause of this in my experience is incorrect use of flow
> control with serial printers.
>
> For the non-techies (are there any on this list?)  Your UV system can
> probably produce data faster than the printer can handle it so it needs a
> way to say "stop!".  There are fundamentally two techniques in use though
> there are variants.
>
> The first technique uses one of the wires in the printer cable (DTR - Data
> Terminal Ready), to say stop/go.  The other technique sends a character
> (X-OFF, Ctrl-S) from the printer to the computer to say stop and (X-ON,
> Ctrl-Q) to say go.  (If you've ever wondered why this works on
> most terminal
> output processes, they often do the same).
>
> If your computer is set up to use DTR but your printer is expecting to use
> X-OFF/X-ON, the system is not going to stop sending data when required and
> you lose characters.  Obviously, the same happens if the settings are the
> other way around too.
>
> A variation on this which is more difficult to find is that not some low
> cost serial cables don't have a DTR wire.  So, you printer says stop but
> this never gets to the other end of the cable.
>
> You say that this is an infrequent problem.  Although that makes this sort
> of scenario less likely, it can still happen because many modern printers
> have buffers large enough to hold quite big print jobs.
>
> Martin Phillips
> Ladybridge Systems
> 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB
> +44-(0)1604-709200
>
> - Original Message -
> From: "gerry simpson" <[EMAIL PROTECTED]>
> Subject: UV losing print characters
>
>
> > a client has reported that they are randomly & infrequently having
> > characters dropped from print jobs.
> > this recently happened during an invoice run where a tax value
> of 1147.90
> > was printed as 117.90 - the invoice total printed correctly, the invoice
> > data on file has the correct value and a reprint shows the
> correct value.
> >
> > I am thinking that this is
> > - a problem with the printer in question ( i am not yet sure if this
> is
> > a single printer issue or not )
> > - a problem with a network connection
> > - an issue to be raised with either IBM or HP
> >
> > has anyone seen this happen before ?
> >
> > gerry
>
> --
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Variable never assigned a value warning

2004-03-03 Thread Bill H.
Marco:

A useful alternative, which noone has ever fixed in over 25 years, is the
message:

 [B10] in program "MyProgram", Line 106: Variable has not been assigned a
value; zero used.

 or

 [B10] in program "MyProgram", Line 106: Nonnumeric where numeric required;
zero used.


Why in the world hasn't it been fixed to display:

 [B10] in program "MyProgram", Line 106: "InvoiceNo" has not been assigned a
value; zero used.

 or

 [B10] in program "MyProgram", Line 106: "InvoiceNo" = "A"; Nonnumeric where
numeric required; zero used.

Stupid questions for the exasperated business developer?

Bill

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Martin Phillips
> Sent: Wednesday, March 03, 2004 12:42 AM
> To: U2 Users Discussion List
> Subject: Re: [UV] Variable never assigned a value warning
>
>
> Marco,
>
> The easy answer is no.  This would require the compiler to establish all
> possible paths through a program and determine whether it was possible to
> arrive at any place that uses a variable without setting it
> first.  Although
> some compilers (many C compilers for example) make a good attempt at this,
> there are always cases that cannot be resolved.
>
> As a very simple example, consider the following:
>
> BEGIN CASE
>CASE A = 1
>B = 'Apple'
>CASE A = 2
>B = 'Orange'
>CASE A= 3
>B = 'Banana'
> END CASE
> DISPLAY B
>
> Clearly, if A is not 1, 2 or 3 B will not be assigned when we get to the
> DISPLAY statement.  But, the compiler cannot treat this as an
> error/warning
> because the author of the program may know that A can only have these
> values. We do not want to have to set variables explicitly for cases that
> cannot happen.
>
> Incidentally, I find the worryingly common practice of setting
> all variables
> to zero / null at the top of a program very annoying as it hides the very
> useful unassigned variable trap, leaving you thinking your program works
> when actually it doesn't  I am told that a UV user somewhere has asked for
> this trap to be optional.  I wouldn't like to try to support their code!
>
> Martin Phillips
> Ladybridge Systems
> 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB
> +44-(0)1604-709200
>
> - Original Message -
> From: "Marco Manyevere" <[EMAIL PROTECTED]>
> Subject: [UV] Variable never assigned a value warning
>
>
> > Hi All,
> >
> > Is it technically or theoretically possible for the BASIC
> compiler (or any
> other compiler for that matter) to catch (during compilation) all the
> situations that might result in the use of unassigned variable at runtime
> within the scope of the subroutine being compiled? Under what
> circumstances
> does the compiler catch or fail to catch such situations?
>
> --
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Variable never assigned a value warning

2004-03-03 Thread Stevenson, Charles
HEAR, HEAR!

> Incidentally, I find the worryingly common practice of 
> setting all variables to zero / null at the top of a program 
> very annoying as it hides the very useful unassigned variable 
> trap, leaving you thinking your program works when actually 
> it doesn't.
> 
> Martin Phillips
> Ladybridge Systems


Yes, this practice HIDES real errors.

I too see it a lot, and I think it is absolutely disgusting.
Maybe the practice originated with programmers who were used to working
in languages where they had to declare variables & var types at the top
of their program.  They just felt kinda naked without saying,
I=0;A='';[EMAIL PROTECTED], at the top of their basic code.  A poor reason.

Don't do it.

Be aware that the *occasional* such message may hint at a *multitude* of
unreported error incidents.  Especially when the error is deep inside an
important loops.  Let me illustrate by expanding Martin's example:

   LOOP
  GOSUB ASSIGN.A
  BEGIN CASE
 CASE A = 1; B = 'Apple'
 CASE A = 2; B = 'Orange'
 CASE A = 3; B = 'Banana'
  END CASE
  DISPLAY B
   REPEAT

You will get an "unassigned error" message only if A just happens to not
be 1,2,or 3 on the very FIRST pass through the loop.   Subsequent passes
where that occurs would use the value assigned to B on the previous
iteration.  UV will be happy to do so.

Initializing B at the top of the program, above the loop, would
eliminate those occasional error message but not eliminate the buggy
code or a fundamental logic flaw.

Try to initialize & assign variables exactly where they apply.  Then
watch for error messages that point out your flaws, and be grateful for
them.

Chuck Stevenson
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: How to start windows programs

2004-03-03 Thread Jeff Schasny
How about EXECUTE 'DOS /C "notepad.exe"'

substituting whatever windows executable you like for "notepad.exe" or if
its more complex than that you could write out a batch file and run it by
this same method.


>Is there a way of starting windowsprograms on the users PC from a Unibasic
>program or do I need Wintergrate or some other tool to do that?
>
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: How to Add Triggers on Dicts

2004-03-03 Thread Tom Firl
> 
>   ED VOC DICT.IN.MASTER
>   0001: F
>   0002: E:\accounts\_source.DEV\D_IN.MASTER
>   0003: E:\accounts\_source.DEV\D_IN.MASTER
> 

Conceptually, I don't see anything wrong with what you are doing.  This VOC pointer 
seems to be all right.  The work I was on UNIX running 10.1... I don't have a Windows 
system handy at the moment, so I can't give you're scenario a try.

> Ran this
> CREATE TRIGGER AUDIT_DICT AFTER INSERT OR UPDATE OR DELETE
> ON
> DICT.IN.MASTER FOR EACH ROW CALLING 'RC.DATA.TRIGGER

Looks good.

> 
> Adding trigger "AUDIT_DICT"
> UniVerse/SQL: Unable to open
> "E:\accounts\_source.DEV\D_IN.MASTER/DICT.IN.MASTER".
> UniVerse/SQL: Could not add trigger "AUDIT_DICT".

No idea why the system is trying to open 
"E:\accounts\_source.DEV\D_IN.MASTER/DICT.IN.MASTER".  

The error is correct in stating that this path does not exists.  But, I have no clue 
why the system would concatenate the VOC ITEM name -- DICT.IN.MASTER -- to the path 
name in attribute 2 -- E:\accounts\_source.DEV\D_IN.MASTER -- to derive the path of 
the file.  That does not seem right.

I'd probably try setting up a scenario where the values in attribute 2 and 3 are 
simply the name of the file -- D_IN.MASTER.  Otherwise, you might give IBM a call to 
see if they can help.

Tom Firl
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: How to start windows programs

2004-03-03 Thread Results
Björn,
   I know you can do it from AccuTerm, I don't know of a way to do it 
from wIntergrate.

   - Charles Barouch
   [EMAIL PROTECTED]
Björn Eklund wrote:

Hi,
Is there a way of starting windowsprograms on the users PC from a Unibasic
program or do I need Wintergrate or some other tool to do that?
I would like to send a invoice number away to an invoice archive on MS
sql-server to get a pdf copy of the invoice in an Internet Exploreror
acrobat reader window.
Björn Eklund

 



--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: How to start windows programs

2004-03-03 Thread Josh Volosov (3)
I will be conducting internal training at basys on the afternoon of
3/3/04.  I will have limited access to e-mail.   If this cannot wait
until my return please e-mail [EMAIL PROTECTED], or call 410.691.2888.

Thank you,
Josh
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


How to start windows programs

2004-03-03 Thread Björn Eklund
Hi,
Is there a way of starting windowsprograms on the users PC from a Unibasic
program or do I need Wintergrate or some other tool to do that?

I would like to send a invoice number away to an invoice archive on MS
sql-server to get a pdf copy of the invoice in an Internet Exploreror
acrobat reader window.

Björn Eklund

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


My apologies

2004-03-03 Thread Wally Terhune




Please accept my apologies for an inappropriate comment regarding U2
maintenance issues.

What I should have said was something along the lines of - 'might it not be
best to take this discussion to the non-technical U2 list'.

Best regards,

Wally Terhune
Manager - U2 Advanced Technical Support
IBM Data Management Solutions
Tel: 303.294.4866 Fax: 303.294.4832
[EMAIL PROTECTED]
www.ibm.com/software/data/u2/support - Open, Query, Update, Search -
Online!
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: u2 maintenance agreements

2004-03-03 Thread Donald Kibbey
Leave them today.  C# works just fine with UniObjects for Java.

>>> [EMAIL PROTECTED] 03/03/04 11:39AM >>>
I wish IBM would hurry up and get their C# .Net provider so we could leave
Raining S... behind.

There are only 10 people in the world who understand binary.  
George Smith
[EMAIL PROTECTED]  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Marc Harbeson
> Sent: Wednesday, March 03, 2004 10:32 AM
> To: U2 Users Discussion List
> Subject: RE: u2 maintenance agreements
> 
> Doesn't Raining Data have a Pick Product that supports .NET?  :-)
> 
> 
> 
> >Isn't there a separate list server for whining?  :-)
> 
> 
> --
> u2-users mailing list
> [EMAIL PROTECTED] 
> http://www.oliver.com/mailman/listinfo/u2-users 
> 

-- 
u2-users mailing list
[EMAIL PROTECTED] 
http://www.oliver.com/mailman/listinfo/u2-users

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: u2 maintenance agreements

2004-03-03 Thread george r smith
I wish IBM would hurry up and get their C# .Net provider so we could leave
Raining S... behind.

There are only 10 people in the world who understand binary.  
George Smith
[EMAIL PROTECTED]  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Marc Harbeson
> Sent: Wednesday, March 03, 2004 10:32 AM
> To: U2 Users Discussion List
> Subject: RE: u2 maintenance agreements
> 
> Doesn't Raining Data have a Pick Product that supports .NET?  :-)
> 
> 
> 
> >Isn't there a separate list server for whining?  :-)
> 
> 
> --
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users
> 

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: u2 maintenance agreements

2004-03-03 Thread Marc Harbeson
Doesn't Raining Data have a Pick Product that supports .NET?  :-)



>Isn't there a separate list server for whining?  :-)


--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: u2 maintenance agreements

2004-03-03 Thread Donald Kibbey
No, it's Paradox running on DR-DOS!  :-)

>>> [EMAIL PROTECTED] 03/03/04 11:17AM >>>
new database  is it of the U2 flavor ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Behalf Of Wally Terhune
Sent: Wednesday, March 03, 2004 11:06 AM
To: U2 Users Discussion List
Subject: Re: u2 maintenance agreements









Notice of Confidentiality:  The information included and/or attached in this
electronic mail transmission may contain confidential or privileged
information and is intended for the addressee.  Any unauthorized disclosure,
reproduction, distribution or the taking of action in reliance on the
contents of the information is prohibited.  If you believe that you have
received the message in error, please notify the sender by reply
transmission and delete the message without copying or disclosing it. 

-- 
u2-users mailing list
[EMAIL PROTECTED] 
http://www.oliver.com/mailman/listinfo/u2-users

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: u2 maintenance agreements

2004-03-03 Thread Jerry Banker
We had the same problem. Wally, I'm sorry but this is not a whining issue it
is very much a problem and it deals with a problem that should be resolved.
If you think it is whining then you are obviously not the person that we
should want to deal with.
- Original Message - 
From: "Wally Terhune" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 10:06 AM
Subject: Re: u2 maintenance agreements







Folks:
We are constantly striving to improve the maintenance renewal process. We
acknowledge that with the multiple buy-outs in a few short years, things
got pretty out of whack. We are getting close. We've implemented a new
database and are cleansing and recapturing all records and putting
processes in place to address all of these issues.

Isn't there a separate list server for whining?  :-)

Wally Terhune
Manager - U2 Advanced Technical Support
IBM Data Management Solutions
Tel: 303.294.4866 Fax: 303.294.4832
[EMAIL PROTECTED]
www.ibm.com/software/data/u2/support - Open, Query, Update, Search -
Online!-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: u2 maintenance agreements

2004-03-03 Thread Peter Olson
new database  is it of the U2 flavor ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Wally Terhune
Sent: Wednesday, March 03, 2004 11:06 AM
To: U2 Users Discussion List
Subject: Re: u2 maintenance agreements









Notice of Confidentiality:  The information included and/or attached in this
electronic mail transmission may contain confidential or privileged
information and is intended for the addressee.  Any unauthorized disclosure,
reproduction, distribution or the taking of action in reliance on the
contents of the information is prohibited.  If you believe that you have
received the message in error, please notify the sender by reply
transmission and delete the message without copying or disclosing it. 

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: u2 maintenance agreements

2004-03-03 Thread Wally Terhune





Folks:
We are constantly striving to improve the maintenance renewal process. We
acknowledge that with the multiple buy-outs in a few short years, things
got pretty out of whack. We are getting close. We've implemented a new
database and are cleansing and recapturing all records and putting
processes in place to address all of these issues.

Isn't there a separate list server for whining?  :-)

Wally Terhune
Manager - U2 Advanced Technical Support
IBM Data Management Solutions
Tel: 303.294.4866 Fax: 303.294.4832
[EMAIL PROTECTED]
www.ibm.com/software/data/u2/support - Open, Query, Update, Search -
Online!--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: u2 maintenance agreements

2004-03-03 Thread Ron White
We had a similar problem right after the buyout.  We had just
renewed our maintenance with Informix.  IBM sent us a notice
that our maintenance had been terminated due to nonpayment.
Even though we could prove that it had been paid we were
required to pay it again.

They better get this problem fixed or customers will start to
leave for "greener pastures".

Ron White

- Original Message - 
From: "Lee Leitner" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 9:33 AM
Subject: Re: u2 maintenance agreements


> Ditto for us, but it started back in 2002. We have tried to maintain four
> maintenance contracts with IBM and it has been an absolute mess dealing
> with them. Failure to invoice, failure to record our payments correctly,
> inability to resolve the contract problems, promises to "look into it" and
> then no reply and more. Towards the end of 2003 after spending a huge
> amount of time and making absolutely no progress with them, I gave up
> trying to get it resolved and just walked away. When the "amnesty" program
> was announced I had no desire to head back into that mess again and
> ignored it. From my perspective, IBM is just letting the U2 maintenance
> business disintegrate.
>
> Lee
>
> On Wed, 3 Mar 2004, Ron White wrote:
>
> > I have just encountered the same problem.  IBM never sent a
> > maintenance invoice and then complained when I tried to access
> > support.  I think it is very bad business practice to not bill your
> > customer and then charge a penalty for letting your maintenance
> > lapse.
> >
> > Ron White
> >
> > - Original Message -
> > From: "Richard A. Wilson" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 03, 2004 4:52 AM
> > Subject: u2 maintenance agreements
> >
> >
> > > Just a quick note that you may want to confirm your agreements are up
to
> > > date. Just the other day I was attempting to access some webpages at
ibm
> > > that required customer # etc and found out that our agreements were
not
> > > current.
> > >
> > > This could have to do with not receiving an invoice in 2003. I'm not
> > > totally sure all of the vmark/ardent/informix records have totally
> > migrated.
> > >
> > > I'm off now to confirm all clients received/paid for maintenance back
in
> > > 2003
> > >
> > > Rich
> > > --
> > > Richard A. Wilson
> > > Lakeside Systems
> > > Smithfield, RI, USA
> > > Voice 401-231-3959
> > > Fax   401-231-3943
> > > [EMAIL PROTECTED]
> > > www.lakeside-systems.com
> > >
> > >
> > > --
> > > u2-users mailing list
> > > [EMAIL PROTECTED]
> > > http://www.oliver.com/mailman/listinfo/u2-users
> > > ---
> > > [ Eckel certifies this E-mail to be virus free. ]
> > >
> > >
> > >
> >
> >
> > ---
> > [ Eckel certifies this E-mail to be virus free. ]
> >
> > --
> > u2-users mailing list
> > [EMAIL PROTECTED]
> > http://www.oliver.com/mailman/listinfo/u2-users
> >
>
> --
> Lee J. Leitner, Ph.D.  [EMAIL PROTECTED]
> http://www.leitner.org/~leitnerl
>
> The world can only be grasped by action, not by
> contemplation. The hand is the cutting edge of the mind.
>   -- Jacob Bronowski V.13.0
> ---
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users
> ---
> [ Eckel certifies this E-mail to be virus free. ]
>
>
>


---
[ Eckel certifies this E-mail to be virus free. ]

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: u2 maintenance agreements

2004-03-03 Thread rlsmith
I must admit we too have the exact same problem with IBM.

After some long drawn out dealings we finally got it all resolved with no 
penalties.

We are currently looking into a new system and I'm sure this mess has left 
a bad taste in some of the mouths here.

It might affect the type of system we get. Maybe nothing with an IBM/MV 
database.

I'll get retrained, I hope, but it's really not fair.

A number in management here think the MV is an old PICK system and don't 
have a clue as to what it can really do.

This just adds more fuel to there anti-MV fire.

I bet we'll get stuck with an all SQL system. Changing file structures on 
it sure wont be as easy.

That's my 2 cents
 
" I used to be an Optimist until I knocked over the glass. "

Randy Smith Programmer/Analyst
[EMAIL PROTECTED]
http://users.adelphia.net/~lee_crystal/
http://www.sopranoboy.com

Zaner Bloser
http://www.zaner-bloser.com
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: u2 maintenance agreements

2004-03-03 Thread Ron White
In all fairness IBM did wave the charge due to the amnesty program.
However, if I had not happened to have a support issue at the time
I did, I would not have known that my maintenance had lapsed and
would likely have been charged the penalty.  At that point I would
have moved to JBase rather than pay such a huge fee.  IBM said
their records show that someone tried to contact me but was told
I was out of town.  I never received another call.

I really hope they change this bad policy and send out invoices or
some kind of written notice before the termination date.

Ron White

- Original Message - 
From: "Richard A. Wilson" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 8:47 AM
Subject: Re: u2 maintenance agreements


> actually there was no penalty due to the current amnesty program.There
> was something on u2ug.org website awhile ago
>
> Ron White wrote:
> > I have just encountered the same problem.  IBM never sent a
> > maintenance invoice and then complained when I tried to access
> > support.  I think it is very bad business practice to not bill your
> > customer and then charge a penalty for letting your maintenance
> > lapse.
> >
> > Ron White
> >
> > - Original Message - 
> > From: "Richard A. Wilson" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, March 03, 2004 4:52 AM
> > Subject: u2 maintenance agreements
> >
> >
> >
> >>Just a quick note that you may want to confirm your agreements are up to
> >>date. Just the other day I was attempting to access some webpages at ibm
> >>that required customer # etc and found out that our agreements were not
> >>current.
> >>
> >>This could have to do with not receiving an invoice in 2003. I'm not
> >>totally sure all of the vmark/ardent/informix records have totally
> >
> > migrated.
> >
> >>I'm off now to confirm all clients received/paid for maintenance back in
> >>2003
> >>
> >>Rich
> >>-- 
> >>Richard A. Wilson
> >>Lakeside Systems
> >>Smithfield, RI, USA
> >>Voice 401-231-3959
> >>Fax   401-231-3943
> >>[EMAIL PROTECTED]
> >>www.lakeside-systems.com
> >>
> >>
> >>-- 
> >>u2-users mailing list
> >>[EMAIL PROTECTED]
> >>http://www.oliver.com/mailman/listinfo/u2-users
> >>---
> >>[ Eckel certifies this E-mail to be virus free. ]
> >>
> >>
> >>
> >
> >
> >
> > ---
> > [ Eckel certifies this E-mail to be virus free. ]
> >
>
> -- 
> Richard A. Wilson
> Lakeside Systems
> Smithfield, RI, USA
> Voice 401-231-3959
> Fax   401-231-3943
> [EMAIL PROTECTED]
> www.lakeside-systems.com
>
>
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users
> ---
> [ Eckel certifies this E-mail to be virus free. ]
>
>
>


---
[ Eckel certifies this E-mail to be virus free. ]

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: u2 maintenance agreements

2004-03-03 Thread Lee Leitner
Ditto for us, but it started back in 2002. We have tried to maintain four
maintenance contracts with IBM and it has been an absolute mess dealing
with them. Failure to invoice, failure to record our payments correctly,
inability to resolve the contract problems, promises to "look into it" and
then no reply and more. Towards the end of 2003 after spending a huge
amount of time and making absolutely no progress with them, I gave up
trying to get it resolved and just walked away. When the "amnesty" program
was announced I had no desire to head back into that mess again and
ignored it. From my perspective, IBM is just letting the U2 maintenance
business disintegrate.

Lee

On Wed, 3 Mar 2004, Ron White wrote:

> I have just encountered the same problem.  IBM never sent a
> maintenance invoice and then complained when I tried to access
> support.  I think it is very bad business practice to not bill your
> customer and then charge a penalty for letting your maintenance
> lapse.
>
> Ron White
>
> - Original Message -
> From: "Richard A. Wilson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 03, 2004 4:52 AM
> Subject: u2 maintenance agreements
>
>
> > Just a quick note that you may want to confirm your agreements are up to
> > date. Just the other day I was attempting to access some webpages at ibm
> > that required customer # etc and found out that our agreements were not
> > current.
> >
> > This could have to do with not receiving an invoice in 2003. I'm not
> > totally sure all of the vmark/ardent/informix records have totally
> migrated.
> >
> > I'm off now to confirm all clients received/paid for maintenance back in
> > 2003
> >
> > Rich
> > --
> > Richard A. Wilson
> > Lakeside Systems
> > Smithfield, RI, USA
> > Voice 401-231-3959
> > Fax   401-231-3943
> > [EMAIL PROTECTED]
> > www.lakeside-systems.com
> >
> >
> > --
> > u2-users mailing list
> > [EMAIL PROTECTED]
> > http://www.oliver.com/mailman/listinfo/u2-users
> > ---
> > [ Eckel certifies this E-mail to be virus free. ]
> >
> >
> >
>
>
> ---
> [ Eckel certifies this E-mail to be virus free. ]
>
> --
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users
>

--
Lee J. Leitner, Ph.D.  [EMAIL PROTECTED]
http://www.leitner.org/~leitnerl

The world can only be grasped by action, not by
contemplation. The hand is the cutting edge of the mind.
  -- Jacob Bronowski V.13.0
---
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Variable never assigned a value warning

2004-03-03 Thread Results
Brian,
   Actually, I felt the same way for a long time (about Borland 
compilers) but once I gave in to the bullying, I developed a new set of 
habits in coding variables which I then carried back into mv. I'm not 
sure I can articulate the difference, but it has been a good decision.

   - Charles "I ASSIGNED IT, STOP COMPLAINING" Barouch

Brian Leach wrote:

Marco,

The problem is that all it can do is warn that there *might* be a route
through that would not assign a variable, depending on conditional logic. 

The Borland compilers do this - and boy is it annoying. For example, you
might have a case statement that handles each potential and predictable
input to a routine. Depending on the logic this migh lead to a variable
referenced later on, based on the result of that case statement, being seen
as potentiall unassigned (since the compiler doesn't know the possible
incoming values). So it warns you that the variable might not be assigned. 

So you then pre-assign the variable to remove that warning, and the compiler
then complains that this assigned value may not be used! 

Duh!

The real problem is that over a large Delphi project (some of our components
run into hundreds of thousands of lines of code) you can get so many
unnecessary warnings like this that you might lose a legitimate warning
amongst them.
Less of a problem on U2 where you are not linking so much code into a single
routine, but potentially annoying all the same.
Brian Leach

 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Marco Manyevere
Sent: 03 March 2004 06:32
To: [EMAIL PROTECTED]
Subject: [UV] Variable never assigned a value warning

Hi All,

Is it technically or theoretically possible for the BASIC 
compiler (or any other compiler for that matter) to catch 
(during compilation) all the situations that might result in 
the use of unassigned variable at runtime within the scope of 
the subroutine being compiled? Under what circumstances does 
the compiler catch or fail to catch such situations?

Regards, Marco



		
-
 Yahoo! Messenger - Communicate instantly..."Ping" your 
friends today! Download Messenger Now
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

__
__
This email was checked by MessageLabs SkyScan before entering 
Microgen.
   




This email was checked on leaving Microgen for viruses, similar
malicious code and inappropriate content by MessageLabs SkyScan.
DISCLAIMER

This email and any attachments are confidential and may also be
privileged.
If you are not the named recipient, please notify the sender
immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information.
In the event of any technical difficulty with this email, please
contact the sender or [EMAIL PROTECTED]
Microgen Information Management Solutions
http://www.microgen.co.uk
 

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: u2 maintenance agreements

2004-03-03 Thread Richard A. Wilson
actually there was no penalty due to the current amnesty program.There 
was something on u2ug.org website awhile ago

Ron White wrote:
I have just encountered the same problem.  IBM never sent a
maintenance invoice and then complained when I tried to access
support.  I think it is very bad business practice to not bill your
customer and then charge a penalty for letting your maintenance
lapse.
Ron White

- Original Message - 
From: "Richard A. Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 4:52 AM
Subject: u2 maintenance agreements



Just a quick note that you may want to confirm your agreements are up to
date. Just the other day I was attempting to access some webpages at ibm
that required customer # etc and found out that our agreements were not
current.
This could have to do with not receiving an invoice in 2003. I'm not
totally sure all of the vmark/ardent/informix records have totally
migrated.

I'm off now to confirm all clients received/paid for maintenance back in
2003
Rich
--
Richard A. Wilson
Lakeside Systems
Smithfield, RI, USA
Voice 401-231-3959
Fax   401-231-3943
[EMAIL PROTECTED]
www.lakeside-systems.com
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users
---
[ Eckel certifies this E-mail to be virus free. ]




---
[ Eckel certifies this E-mail to be virus free. ]
--
Richard A. Wilson
Lakeside Systems
Smithfield, RI, USA
Voice 401-231-3959
Fax   401-231-3943
[EMAIL PROTECTED]
www.lakeside-systems.com
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: u2 maintenance agreements

2004-03-03 Thread Ron White
I have just encountered the same problem.  IBM never sent a
maintenance invoice and then complained when I tried to access
support.  I think it is very bad business practice to not bill your
customer and then charge a penalty for letting your maintenance
lapse.

Ron White

- Original Message - 
From: "Richard A. Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 4:52 AM
Subject: u2 maintenance agreements


> Just a quick note that you may want to confirm your agreements are up to
> date. Just the other day I was attempting to access some webpages at ibm
> that required customer # etc and found out that our agreements were not
> current.
>
> This could have to do with not receiving an invoice in 2003. I'm not
> totally sure all of the vmark/ardent/informix records have totally
migrated.
>
> I'm off now to confirm all clients received/paid for maintenance back in
> 2003
>
> Rich
> -- 
> Richard A. Wilson
> Lakeside Systems
> Smithfield, RI, USA
> Voice 401-231-3959
> Fax   401-231-3943
> [EMAIL PROTECTED]
> www.lakeside-systems.com
>
>
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users
> ---
> [ Eckel certifies this E-mail to be virus free. ]
>
>
>


---
[ Eckel certifies this E-mail to be virus free. ]

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: SCO/Samba

2004-03-03 Thread Donald Kibbey
Step One.  Remove SCO and replace with your choice of (SuSE, Redhat, Gentoo, Mandrake, 
etc)

Step Two.  Install SAMBA

http://www.groklaw.net for more info on why you may want to proceed with step one.

>>> [EMAIL PROTECTED] 03/02/04 11:57PM >>>
Gang,
I'm installing SAMBA on SCO (Open Server 5) tomorrow. All advice, 
hints, and tips appreciated. I've set up SAMBA before, but it was 
usually a config only issue (pre-installed) and this time I have to 
start from the install.

- Charles "I think I can - I Think I can" Barouch


-- 
u2-users mailing list
[EMAIL PROTECTED] 
http://www.oliver.com/mailman/listinfo/u2-users

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


u2 maintenance agreements

2004-03-03 Thread Richard A. Wilson
Just a quick note that you may want to confirm your agreements are up to 
date. Just the other day I was attempting to access some webpages at ibm 
that required customer # etc and found out that our agreements were not 
current.

This could have to do with not receiving an invoice in 2003. I'm not 
totally sure all of the vmark/ardent/informix records have totally migrated.

I'm off now to confirm all clients received/paid for maintenance back in 
2003

Rich
--
Richard A. Wilson
Lakeside Systems
Smithfield, RI, USA
Voice 401-231-3959
Fax   401-231-3943
[EMAIL PROTECTED]
www.lakeside-systems.com
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Variable never assigned a value warning

2004-03-03 Thread Brian Leach
Marco,

The problem is that all it can do is warn that there *might* be a route
through that would not assign a variable, depending on conditional logic. 

The Borland compilers do this - and boy is it annoying. For example, you
might have a case statement that handles each potential and predictable
input to a routine. Depending on the logic this migh lead to a variable
referenced later on, based on the result of that case statement, being seen
as potentiall unassigned (since the compiler doesn't know the possible
incoming values). So it warns you that the variable might not be assigned. 

So you then pre-assign the variable to remove that warning, and the compiler
then complains that this assigned value may not be used! 

Duh!

The real problem is that over a large Delphi project (some of our components
run into hundreds of thousands of lines of code) you can get so many
unnecessary warnings like this that you might lose a legitimate warning
amongst them.

Less of a problem on U2 where you are not linking so much code into a single
routine, but potentially annoying all the same.


Brian Leach

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Marco Manyevere
> Sent: 03 March 2004 06:32
> To: [EMAIL PROTECTED]
> Subject: [UV] Variable never assigned a value warning
> 
> Hi All,
>  
> Is it technically or theoretically possible for the BASIC 
> compiler (or any other compiler for that matter) to catch 
> (during compilation) all the situations that might result in 
> the use of unassigned variable at runtime within the scope of 
> the subroutine being compiled? Under what circumstances does 
> the compiler catch or fail to catch such situations?
>  
> Regards, Marco
> 
> 
> 
>   
> -
>   Yahoo! Messenger - Communicate instantly..."Ping" your 
> friends today! Download Messenger Now
> --
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users
> 
> __
> __
> This email was checked by MessageLabs SkyScan before entering 
> Microgen.



This email was checked on leaving Microgen for viruses, similar
malicious code and inappropriate content by MessageLabs SkyScan.

DISCLAIMER

This email and any attachments are confidential and may also be
privileged.

If you are not the named recipient, please notify the sender
immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information.

In the event of any technical difficulty with this email, please
contact the sender or [EMAIL PROTECTED]

Microgen Information Management Solutions
http://www.microgen.co.uk
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: UV losing print characters

2004-03-03 Thread gerry simpson
thanks for the reply martin.


- Original Message - 
From: "Martin Phillips" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 3:51 AM
Subject: Re: UV losing print characters


> The most common cause of this in my experience is incorrect use of flow
> control with serial printers.
>
> For the non-techies (are there any on this list?)  Your UV system can
> probably produce data faster than the printer can handle it so it needs a
> way to say "stop!".  There are fundamentally two techniques in use though
> there are variants.
>
> The first technique uses one of the wires in the printer cable (DTR - Data
> Terminal Ready), to say stop/go.  The other technique sends a character
> (X-OFF, Ctrl-S) from the printer to the computer to say stop and (X-ON,
> Ctrl-Q) to say go.  (If you've ever wondered why this works on most
terminal
> output processes, they often do the same).
>
> If your computer is set up to use DTR but your printer is expecting to use
> X-OFF/X-ON, the system is not going to stop sending data when required and
> you lose characters.  Obviously, the same happens if the settings are the
> other way around too.
>
> A variation on this which is more difficult to find is that not some low
> cost serial cables don't have a DTR wire.  So, you printer says stop but
> this never gets to the other end of the cable.
>
> You say that this is an infrequent problem.  Although that makes this sort
> of scenario less likely, it can still happen because many modern printers
> have buffers large enough to hold quite big print jobs.
>
> Martin Phillips
> Ladybridge Systems
> 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB
> +44-(0)1604-709200
>
> - Original Message - 
> From: "gerry simpson" <[EMAIL PROTECTED]>
> Subject: UV losing print characters
>
>
> > a client has reported that they are randomly & infrequently having
> > characters dropped from print jobs.
> > this recently happened during an invoice run where a tax value of
1147.90
> > was printed as 117.90 - the invoice total printed correctly, the invoice
> > data on file has the correct value and a reprint shows the correct
value.
> >
> > I am thinking that this is
> > - a problem with the printer in question ( i am not yet sure if this
> is
> > a single printer issue or not )
> > - a problem with a network connection
> > - an issue to be raised with either IBM or HP
> >
> > has anyone seen this happen before ?
> >
> > gerry
>
> -- 
> u2-users mailing list
> [EMAIL PROTECTED]
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: UV losing print characters

2004-03-03 Thread Martin Phillips
The most common cause of this in my experience is incorrect use of flow
control with serial printers.

For the non-techies (are there any on this list?)  Your UV system can
probably produce data faster than the printer can handle it so it needs a
way to say "stop!".  There are fundamentally two techniques in use though
there are variants.

The first technique uses one of the wires in the printer cable (DTR - Data
Terminal Ready), to say stop/go.  The other technique sends a character
(X-OFF, Ctrl-S) from the printer to the computer to say stop and (X-ON,
Ctrl-Q) to say go.  (If you've ever wondered why this works on most terminal
output processes, they often do the same).

If your computer is set up to use DTR but your printer is expecting to use
X-OFF/X-ON, the system is not going to stop sending data when required and
you lose characters.  Obviously, the same happens if the settings are the
other way around too.

A variation on this which is more difficult to find is that not some low
cost serial cables don't have a DTR wire.  So, you printer says stop but
this never gets to the other end of the cable.

You say that this is an infrequent problem.  Although that makes this sort
of scenario less likely, it can still happen because many modern printers
have buffers large enough to hold quite big print jobs.

Martin Phillips
Ladybridge Systems
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB
+44-(0)1604-709200

- Original Message - 
From: "gerry simpson" <[EMAIL PROTECTED]>
Subject: UV losing print characters


> a client has reported that they are randomly & infrequently having
> characters dropped from print jobs.
> this recently happened during an invoice run where a tax value of 1147.90
> was printed as 117.90 - the invoice total printed correctly, the invoice
> data on file has the correct value and a reprint shows the correct value.
>
> I am thinking that this is
> - a problem with the printer in question ( i am not yet sure if this
is
> a single printer issue or not )
> - a problem with a network connection
> - an issue to be raised with either IBM or HP
>
> has anyone seen this happen before ?
>
> gerry

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


SV: SV: Performance Discussion - Unidata

2004-03-03 Thread Björn Eklund
Hi Martin,
excuse the late answer, we have a StorageTek D280 with 1GB cache and we see
good performance after tuning the cache.

Björn Eklund

-Ursprungligt meddelande-
Från: Martin Thorpe [mailto:[EMAIL PROTECTED]
Skickat: den 26 februari 2004 13:21
Till: U2 Users Discussion List
Ämne: Re: SV: Performance Discussion - Unidata


Bjorn

If you didnt mind me asking, what hardware are you using in terms of 
SAN, is it EMC Clarion, Storagetek/Sun StoreEdge etc and also how much 
cache have you got on those arrays? 1GB?

Do you see good performance over that?

Thanks

Björn Eklund wrote:

>Hi Martin,
>we have equipment that looks a lot like yours, same server but with double
>the amount of CPU and RAM.
>We also have an external SAN storage(FC disks 15000 rpm) where all the
>unidata files resides. 
>When we started the system for the first time everything we tried to do was
>very slow. After tuning the storage kabinett's cache we got an acceptable
>performance.
>
>After some time we started looking for other ways of improving performance
>and did a resize on all our files. The biggest change was from blocksizze 2
>to 4 on almost every file. This made an improvement of about 50-100%
>perfomance on our disk intense batchprograms.
>I don't remeber any figures on speed regarding reads and writes but I can
>ask our unixadmin to dig them up if you want.
>
>It's just a guess but I do belive that Unidata rely heavily on Solaris
>buffers.
>
>Regards
>Björn
>
>-Ursprungligt meddelande-
>Från: Martin Thorpe [mailto:[EMAIL PROTECTED]
>Skickat: den 25 februari 2004 19:13
>Till: [EMAIL PROTECTED]
>Ämne: Performance Discussion - Unidata
>
>
>Hi guys
>
>Hope everybody is ok!
>
>To get straight to the point, system as follows:
>
>SunFire V880
>2x1.2GHZ UltaSparc3cu Processors
>4GB RAM
>6x68GB 10krpm FC-AL disks
>96GB backplane
>
>Disks are grouped together to create volumes - as follows:
>
>Disk 1   -   root, var, dev, ud60, xfer -   RAID 1  (Root Volume 
>Primary Mirror)
>Disk 2   -   root, var, dev, ud60, xfer -   RAID 1  (Root Volume 
>Submirror)
>Disk 3   -   /u-   RAID 10 
>(Unidata Volume Primary Mirror - striped)
>Disk 4   -   /u-   RAID 10 
>(Unidata Volume Primary Mirror - striped)
>Disk 5   -   /u-   RAID 10 
>(Unidata Volume Submirror - striped)
>Disk 6   -   /u-   RAID 10 
>(Unidata Volume Sumkfs -F ufs -o 
>nsect=424,ntrack=24,bsize=8192,fragsize=1024,cgsize=10,free=1,rps=167,nbpi=
8
>275,opt=t,apc=0,gap=0,nrpos=8,maxcontig=16 
>/dev/md/dsk/d10 286220352
>bmirror - striped)
>
>UD60   -   Unidata Binary area
>XFER   -   Data output area for Unidata accounts (csv files etc)
>/U -   Primary Unidata account/database area.
>
>If I perform tests via the system using both dd and mkfile, I see speeds 
>of around 50MB/s for WRITES, 60MB/s for READS, however if a colleague 
>loads a 100MB csv file using READSEQ into a Unidata file, not doing 
>anything fancy, I see massive Average Service Times (asvc_t - using 
>IOSTAT) and the device is usually always 100% busy, no real CPU overhead 
>but with 15MB/s tops WRITE. There is only ONE person using this system 
>(to test throughput).
>
>This is confusing, drilling down I have set a 16384 block interlace size 
>on each stripe and the following info for the mounted volume:
>
>mkfs -F ufs -o 
>nsect=424,ntrack=24,bsize=8192,fragsize=1024,cgsize=10,free=1,rps=167,nbpi=
8
>275,opt=t,apc=0,gap=0,nrpos=8,maxcontig=16 
>/dev/md/dsk/d10 286220352
>
>in /etc/system I have set the following parameters:
>
>set shmsys:shminfo_shmmni=1024
>set shmsys:shminfo_shmmax=8388608
>set shmsys:shminfo_shmseg=50
>set msgsys:msginfo_msgmni=1615
>set semsys:seminfo_semmni=100
>set semsys:seminfo_semmns=985
>set semsys:seminfo_semmnu=1218
>
>set maxpgio=240
>set maxphys=8388608
>
>I have yet to change the throughput on the ssd drivers in order to break 
>the 1MB barrier, however I still would have expected better performance. 
>UDTCONFIG is as yet unchanged from default.
>
>Does anybody have any comments?
>
>Things to try in my opinion:
>
>I think I have the RAID correct, the Unidata TEMP directory I have 
>redirected to be on the /U RAID 10 partition rather than the RAID 1 ud60 
>area.
>
>1. Blocksizes should match average Unidata file size.
>
>One question I have is does Unidata perform its own file caching? can I 
>mount filesystems using FORCEDIRECTIO or does Unidata rely heavily on 
>the Solaris based buffers?
>
>Thanks for any information you can provide
>
>  
>

-- 
Martin Thorpe
DATAFORCE GROUP LTD
DDI: 01604 673886
MOBILE: 07740598932
WEB: http://www.dataforce.co.uk
mailto: [EMAIL PROTECTED]

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Variable never assigned a value warning

2004-03-03 Thread Martin Phillips
Marco,

The easy answer is no.  This would require the compiler to establish all
possible paths through a program and determine whether it was possible to
arrive at any place that uses a variable without setting it first.  Although
some compilers (many C compilers for example) make a good attempt at this,
there are always cases that cannot be resolved.

As a very simple example, consider the following:

BEGIN CASE
   CASE A = 1
   B = 'Apple'
   CASE A = 2
   B = 'Orange'
   CASE A= 3
   B = 'Banana'
END CASE
DISPLAY B

Clearly, if A is not 1, 2 or 3 B will not be assigned when we get to the
DISPLAY statement.  But, the compiler cannot treat this as an error/warning
because the author of the program may know that A can only have these
values. We do not want to have to set variables explicitly for cases that
cannot happen.

Incidentally, I find the worryingly common practice of setting all variables
to zero / null at the top of a program very annoying as it hides the very
useful unassigned variable trap, leaving you thinking your program works
when actually it doesn't  I am told that a UV user somewhere has asked for
this trap to be optional.  I wouldn't like to try to support their code!

Martin Phillips
Ladybridge Systems
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB
+44-(0)1604-709200

- Original Message - 
From: "Marco Manyevere" <[EMAIL PROTECTED]>
Subject: [UV] Variable never assigned a value warning


> Hi All,
>
> Is it technically or theoretically possible for the BASIC compiler (or any
other compiler for that matter) to catch (during compilation) all the
situations that might result in the use of unassigned variable at runtime
within the scope of the subroutine being compiled? Under what circumstances
does the compiler catch or fail to catch such situations?

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users