[U2] UniVerse ODBC Configuration

2005-01-12 Thread Ang Suan Yong
Dear All,

I've test on the ODBC Configuration testing on two version of
UniVerse  
For Version 10.0.8 , the ODBC is fine but for Version 10.1.6 , it
show below message :

UniVerse ODBC configuration test failed.

UCI Error. Func: SQLConnect(); State: S1000; uniVerse code: 80011; Msg:
[IBM][SQL Client][UNIVERSE]Failure to login as remote user.. (Facility:
DBCAPERR, Severity: ERROR, Code: 46, Ex

Is there any setting that i need to cater. For version 10.1.6 , we
just upgrate install of reinstall. Have anyone come accross this scenario ?



Thanks and Regards






DISCLAIMER:-
<>
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV]Strange But True

2005-01-12 Thread Bjorn Behr
Uv Version: UniVerse 10.1
OS : Windows 2003 Server

Can anybody explain. I wrote a small program and the result has baffeled me.

Program:

 VAL1 = "43008E-112" 
 VAL2 = "43008E-108" 
 IF (VAL1 = VAL2) THEN   
CRT "THIS IS STRANGE"
 END 

It returns THIS IS STRANGE. Does anybody know why?

Regards
Bjvrn Behr
Programmer

HYFLO Southern Africa (Pty) Ltd
Tel : +27 11 386 5800
Fax : +27 11 444 5391
Mail: [EMAIL PROTECTED]
WWW : http://www.hyflo.co.za
 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV]Strange But True

2005-01-12 Thread Martin Phillips
>  VAL1 = "43008E-112"
>  VAL2 = "43008E-108"
>  IF (VAL1 = VAL2) THEN
> CRT "THIS IS STRANGE"
>  END
>
> It returns THIS IS STRANGE. Does anybody know why?

Easy!  UniVerse has a delightful feature called "wide zero" which says that
when you compare two floating point numbers, they will be treated as equal
if they are very close. The default value of this tolerance is about
2.91E-11 but it can be adjusted using the WIDE0 configuration parameter
(which opens a whole new topic as it is set as the first 32 bits of an IEEE
floating point value in hexadecimal!).

Wide zero is actually very useful as it simplifies some operations where
rounding errors may result in odd things way down the decimal places.


Martin Phillips
Ladybridge Systems
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB
+44-(0)1604-709200
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV]Strange But True

2005-01-12 Thread Adrian Matthews
Presumable it's treating it as an exponential and the resulting numbers
are outside the precision comparison level so come back as equal.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Behr
Sent: 12 January 2005 11:08
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV]Strange But True

Uv Version: UniVerse 10.1
OS : Windows 2003 Server

Can anybody explain. I wrote a small program and the result has baffeled
me.

Program:

 VAL1 = "43008E-112" 
 VAL2 = "43008E-108" 
 IF (VAL1 = VAL2) THEN   
CRT "THIS IS STRANGE"
 END 

It returns THIS IS STRANGE. Does anybody know why?

Regards
Bjvrn Behr
Programmer

HYFLO Southern Africa (Pty) Ltd
Tel : +27 11 386 5800
Fax : +27 11 444 5391
Mail: [EMAIL PROTECTED]
WWW : http://www.hyflo.co.za


---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/




The information contained in this email is strictly confidential and for the 
use of the addressee only, unless otherwise indicated. If you are not the 
intended recipient, please do not read, copy, use or disclose to others this 
message or any attachment. Please also notify the sender by replying to this 
email or by telephone +44 (0)20 7896 0011 and then delete the email and any 
copies of it. Opinions, conclusions (etc.) that do not relate to the official 
business of this company shall be understood as neither given nor endorsed by 
it.  IG Markets Limited and IG Index Plc are authorised and regulated by the 
Financial Services Authority and, in Australia, by the Australian Securities 
and Investments Commission.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniVerse ODBC Configuration

2005-01-12 Thread Bjorn Behr
Have you configured UCI Editor?
Have you changed the ODBC Setup?

Both of these need to be done. ODBC for UniVerse 10.1 upwards is not
compatible with the Old ODBC drivers

Bjorn 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ang Suan Yong
Sent: 12 January 2005 12:49
To: U2-Users New Lists
Subject: [U2] UniVerse ODBC Configuration

Dear All,

I've test on the ODBC Configuration testing on two version of
UniVerse  
For Version 10.0.8 , the ODBC is fine but for Version 10.1.6 , it
show below message :

UniVerse ODBC configuration test failed.

UCI Error. Func: SQLConnect(); State: S1000; uniVerse code: 80011; Msg:
[IBM][SQL Client][UNIVERSE]Failure to login as remote user.. (Facility:
DBCAPERR, Severity: ERROR, Code: 46, Ex

Is there any setting that i need to cater. For version 10.1.6 , we
just upgrate install of reinstall. Have anyone come accross this scenario ?



Thanks and Regards






DISCLAIMER:-
<>
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV]Strange But True

2005-01-12 Thread Louis Windsor
I don't know if it is intentional but the values you are comparing
are exponential.

So the comparison is of two incredibly small numbers.  The
numbers are so small they are equal for all intents or purposes.

My 2c worth.

Louis


- Original Message - 
From: "Bjorn Behr" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, January 12, 2005 7:08 PM
Subject: [U2] [UV]Strange But True


: Uv Version: UniVerse 10.1
: OS : Windows 2003 Server
:
: Can anybody explain. I wrote a small program and the result has baffeled 
me.
:
: Program:
:
: VAL1 = "43008E-112"
: VAL2 = "43008E-108"
: IF (VAL1 = VAL2) THEN
:CRT "THIS IS STRANGE"
: END
:
: It returns THIS IS STRANGE. Does anybody know why?
: 
: Regards
: Bjvrn Behr
: Programmer
:
: HYFLO Southern Africa (Pty) Ltd
: Tel : +27 11 386 5800
: Fax : +27 11 444 5391
: Mail: [EMAIL PROTECTED]
: WWW : http://www.hyflo.co.za
: 
: ---
: u2-users mailing list
: u2-users@listserver.u2ug.org
: To unsubscribe please visit http://listserver.u2ug.org/
:
:
:
:
: -- 
: Internal Virus Database is out-of-date.
: Checked by AVG Anti-Virus.
: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
:
: 



-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV]Strange But True

2005-01-12 Thread u2
[EMAIL PROTECTED] wrote:
> I don't know if it is intentional but the values you are comparing
> are exponential.
> 
> So the comparison is of two incredibly small numbers.  The
> numbers are so small they are equal for all intents or purposes.
> 
"small" is subjective. The earth is only rounding error as far as the universe 
is concerned, but it is very important to us.

To my mind this is a major bug, if you're right. It's as bad as "IF 100 = 0.01" 
were to return TRUE. (Which is exactly the same comparison, scaled up.)

The correct way of dealing with rounding error is for the internal logic to be 
along the lines of "IF (A-B)/A < 1E-6 THEN RETURN TRUE ELSE RETURN FALSE".

While I'm pretty certain 6 is the wrong number, there is a concrete 
justification for it - when comparing FLOAT*4 numbers it guarantees that you 
are using the best available precision without falling over processor rounding 
artifacts. There is a similar number for FLOAT*8, which is what I think UV uses 
internally. (And I'm assuming A and B are positive, correct appropriately for 
negative numbers :-)

Cheers,
Wol
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] AD Universe/Unidata Programmer Wanted

2005-01-12 Thread Karen.BESSEL
Helloo?

Why are you people sending your replies to the list?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] AD Universe/Unidata Programmer Wanted

2005-01-12 Thread Caryl Lange
We are programming experts, not email experts :) 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 6:50 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] AD Universe/Unidata Programmer Wanted

Helloo?

Why are you people sending your replies to the list?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] AD Universe/Unidata Programmer Wanted

2005-01-12 Thread Dave S
[EMAIL PROTECTED] wrote:Helloo?

Why are you people sending your replies to the list?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV]Strange But True

2005-01-12 Thread Marilyn Hilb
I had this same problem with our bin locations that contained an E. I ended up 
swapping E for X before doing the compare to get the results I wanted.

Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

 -Original Message-
From:   Louis Windsor [mailto:[EMAIL PROTECTED] 
Sent:   Wednesday, January 12, 2005 6:20 AM
To: u2-users@listserver.u2ug.org
Subject:Re: [U2] [UV]Strange But True

I don't know if it is intentional but the values you are comparing
are exponential.

So the comparison is of two incredibly small numbers.  The
numbers are so small they are equal for all intents or purposes.

My 2c worth.

Louis


- Original Message - 
From: "Bjorn Behr" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, January 12, 2005 7:08 PM
Subject: [U2] [UV]Strange But True


: Uv Version: UniVerse 10.1
: OS : Windows 2003 Server
:
: Can anybody explain. I wrote a small program and the result has baffeled 
me.
:
: Program:
:
: VAL1 = "43008E-112"
: VAL2 = "43008E-108"
: IF (VAL1 = VAL2) THEN
:CRT "THIS IS STRANGE"
: END
:
: It returns THIS IS STRANGE. Does anybody know why?
: 
: Regards
: Bjvrn Behr
: Programmer
:
: HYFLO Southern Africa (Pty) Ltd
: Tel : +27 11 386 5800
: Fax : +27 11 444 5391
: Mail: [EMAIL PROTECTED]
: WWW : http://www.hyflo.co.za
: 
: ---
: u2-users mailing list
: u2-users@listserver.u2ug.org
: To unsubscribe please visit http://listserver.u2ug.org/
:
:
:
:
: -- 
: Internal Virus Database is out-of-date.
: Checked by AVG Anti-Virus.
: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
:
: 



-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV]Strange But True

2005-01-12 Thread brian
> [EMAIL PROTECTED] wrote:
> > I don't know if it is intentional but the values you are comparing
> > are exponential.
> > 
> > So the comparison is of two incredibly small numbers.  The
> > numbers are so small they are equal for all intents or purposes.
> > 

Looks like the difference is less than your Wide Zero parameter.

Brian
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV]Strange But True

2005-01-12 Thread Mats Carlid
Just out of curiosity:
How do you arrive at  numbers of the  E-108 magnitude ?
After all,  measuring the diameter of a quark  (sth like  E-18 m )
with the diameter of the entire (known) universe  ( 3 * E+26 m  )
as the unit,  only gets us down to about   E-44???
-- mats
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV]Strange But True

2005-01-12 Thread Ian Renfrew
Curious:

If you want to perform string comparisons, such as comparing bin locations,
why not:

VAL1 = "43008E-112"
VAL2 = "43008E-108"
IF (" ":VAL1 = " ":VAL2) THEN
   CRT "THIS IS STRANGE"
END

Regards,  Ian R.
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marilyn Hilb
Sent: Wednesday, January 12, 2005 10:26 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [UV]Strange But True

I had this same problem with our bin locations that contained an E. I ended
up swapping E for X before doing the compare to get the results I wanted.

Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

 -Original Message-
From:   Louis Windsor [mailto:[EMAIL PROTECTED] 
Sent:   Wednesday, January 12, 2005 6:20 AM
To: u2-users@listserver.u2ug.org
Subject:Re: [U2] [UV]Strange But True

I don't know if it is intentional but the values you are comparing
are exponential.

So the comparison is of two incredibly small numbers.  The
numbers are so small they are equal for all intents or purposes.

My 2c worth.

Louis


- Original Message - 
From: "Bjorn Behr" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, January 12, 2005 7:08 PM
Subject: [U2] [UV]Strange But True


: Uv Version: UniVerse 10.1
: OS : Windows 2003 Server
:
: Can anybody explain. I wrote a small program and the result has baffeled 
me.
:
: Program:
:
: VAL1 = "43008E-112"
: VAL2 = "43008E-108"
: IF (VAL1 = VAL2) THEN
:CRT "THIS IS STRANGE"
: END
:
: It returns THIS IS STRANGE. Does anybody know why?
: 
: Regards
: Bjvrn Behr
: Programmer
:
: HYFLO Southern Africa (Pty) Ltd
: Tel : +27 11 386 5800
: Fax : +27 11 444 5391
: Mail: [EMAIL PROTECTED]
: WWW : http://www.hyflo.co.za
: 
: ---
: u2-users mailing list
: u2-users@listserver.u2ug.org
: To unsubscribe please visit http://listserver.u2ug.org/
:
:
:
:
: -- 
: Internal Virus Database is out-of-date.
: Checked by AVG Anti-Virus.
: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
:
: 



-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.6.5 - Release Date: 12/26/2004
 

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.6.5 - Release Date: 12/26/2004
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Header Trick Needed

2005-01-12 Thread Brutzman, Bill
If possible, from within a UniBasic program, I would like to embed a
specified date in a report header using a command like...

  execute "SORT SALES.ANALYSIS BY CUSTHEADING " 'Year-To-Date Sales ' :
This.Date.F " "

Perhaps more than the two standard quote chararacters, ['] and ["] are
available.

Suggestions would be appreciated.

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] AD Universe/Unidata Programmer Wanted

2005-01-12 Thread astarte00
We don't know how to transfer phone calls in-house either

--
Debster

-- Original message -- 

> We are programming experts, not email experts :) 
> 
> -Original Message- 
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED] 
> Sent: Wednesday, January 12, 2005 6:50 AM 
> To: u2-users@listserver.u2ug.org 
> Subject: RE: [U2] AD Universe/Unidata Programmer Wanted 
> 
> Helloo? 
> 
> Why are you people sending your replies to the list? 
> --- 
> u2-users mailing list 
> u2-users@listserver.u2ug.org 
> To unsubscribe please visit http://listserver.u2ug.org/ 
> --- 
> u2-users mailing list 
> u2-users@listserver.u2ug.org 
> To unsubscribe please visit http://listserver.u2ug.org/ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] UV: Select statement problem

2005-01-12 Thread james . ronan
I have come across a problem with select statements behaving differently
between my two RISC boxes.

I have two RS6000 machines : one for production and the other for
development.

Both UV 10.0.14 and AIX 5.2

While testing a program change on the development box, I came across a
situation where a SELECT statement gave me different results when compared
to production.  To get around this, I had to break up the SELECT statement
into two parts.

My question is: "Is there a setting somewhere that is not in synch between
production and development machines that could cause this. If so, what?"

Please accept the fact that the contents of the SELECT statement are good
(I'd rather not  explain the definitions of the dictionary items or the
contents of the phrase "PHRASE"



0117:   STATEMENT = 'SELECT DB.PSES WITH SUB.ID = "':ACTUAL.ID:'" AND
WITH  TRANS.DT = "" AND WITH ISSUE.DT <= "':ISSUE.DT:'" AND WITH ACCOUNT #
600 AND WITH ACCOUNT # 506 AND WITH @ID UNLIKE DEL... ':PHRASE

0118:   STATEMENT:[EMAIL PROTECTED]:"SAVE.LIST 
PSES.TAPE.":ISSUE.DT:".":SUB.ID

0119:   EXECUTE STATEMENT

0 record(s) selected to SELECT list #0.

0 record(s) SAVEd to SELECT list "PSES.TAPE.03/31/02.M".


This does work:


0117:   STATEMENT = 'SELECT DB.PSES WITH SUB.ID = "':ACTUAL.ID:'" AND
WITH  TRANS.DT = "" AND WITH ISSUE.DT <= "':ISSUE.DT:'"'

0118: STATEMENT:[EMAIL PROTECTED]:'SELECT DB.PSES  WITH ACCOUNT # 600 AND WITH 
ACCOUNT #
506   AND WITH @ID UNLIKE DEL... ':PHRASE:' SELECT.ONLY'

0119:   STATEMENT:[EMAIL PROTECTED]:"SAVE.LIST 
PSES.TAPE.":ISSUE.DT:".":SUB.ID

0120:   EXECUTE STATEMENT

265 record(s) selected to SELECT list #0.

265 record(s) selected to SELECT list #0.

265 record(s) SAVEd to SELECT list "PSES.TAPE.03/31/02.M".


On my production machine, the first statement works and yields the same
results as the second statement from development


Thanks

Jim
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Header Trick Needed

2005-01-12 Thread George Gallen
Does UD allow the use of "\"

ie.   EXECUTE \..\

George

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Brutzman, Bill
>Sent: Wednesday, January 12, 2005 11:17 AM
>To: 'u2-users@listserver.u2ug.org'
>Subject: [U2] Header Trick Needed
>
>
>If possible, from within a UniBasic program, I would like to embed a
>specified date in a report header using a command like...
>
>  execute "SORT SALES.ANALYSIS BY CUSTHEADING "
>'Year-To-Date Sales ' :
>This.Date.F " "
>
>Perhaps more than the two standard quote chararacters, ['] and ["] are
>available.
>
>Suggestions would be appreciated.
>
>--Bill
>---
>u2-users mailing list
>u2-users@listserver.u2ug.org
>To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV]Strange But True

2005-01-12 Thread George Gallen
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Mats Carlid
>Sent: Wednesday, January 12, 2005 12:38 PM
>To: u2-users@listserver.u2ug.org
>Subject: Re: [U2] [UV]Strange But True
>
>
>Just out of curiosity:
>
>How do you arrive at  numbers of the  E-108 magnitude ?
>

A few of my paychecks have been around that order...
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Header Trick Needed

2005-01-12 Thread Jeff Schasny
How about:

CMDSTRING = "SORT SALES.ANALYSIS BY CUST  HEADING  'Year-To-Date Sales ' 
":ADATEINASTRINGVAR
EXECUTE CMDSTRING

Alternatively you can use slashes as string delimiters as well as quotes

-- Original message -- 
If possible, from within a UniBasic program, I would like to embed a
specified date in a report header using a command like...

  execute "SORT SALES.ANALYSIS BY CUSTHEADING " 'Year-To-Date Sales ' :
This.Date.F " "

Perhaps more than the two standard quote chararacters, ['] and ["] are
available.

Suggestions would be appreciated.

--Bill


Jeff Schasny | Denver, Colorado, USA | [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV]Strange But True

2005-01-12 Thread Matt Stern
But wait, it gets even weirder!
If you do the following, to make sure there's no chance of the two 
strings acting as numeric:

VAL1 = "43008E-112": ""
and
VAL2 = "43008E-108":""
the program still fails.  When you REALLY make sure you're doing a string 
compare with
IF (VAL1:"" = VAL2:"") THEN
it STILL FAILS!
Oh well, I guess U2 has a mind of its own with regard to string compare.  Note 
that the string compare works OK on most generic Pick platforms.
Matthew H. Stern, CCP/CDP, [EMAIL PROTECTED]
Serving the IT industry since 1976
Comprehensive Computer Services Inc.
www.comprehensive.com
Phone: 631 755-2250, Fax 755-2254
560 Broad Hollow Road, Melville NY 11747

Marilyn Hilb wrote:
I had this same problem with our bin locations that contained an E. I ended up 
swapping E for X before doing the compare to get the results I wanted.
Thanks,
Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

-Original Message-
From: 	Louis Windsor [mailto:[EMAIL PROTECTED] 
Sent:	Wednesday, January 12, 2005 6:20 AM
To:	u2-users@listserver.u2ug.org
Subject:	Re: [U2] [UV]Strange But True

I don't know if it is intentional but the values you are comparing
are exponential.
So the comparison is of two incredibly small numbers.  The
numbers are so small they are equal for all intents or purposes.
My 2c worth.
Louis
- Original Message - 
From: "Bjorn Behr" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, January 12, 2005 7:08 PM
Subject: [U2] [UV]Strange But True

: Uv Version: UniVerse 10.1
: OS : Windows 2003 Server
:
: Can anybody explain. I wrote a small program and the result has baffeled 
me.
:
: Program:
:
: VAL1 = "43008E-112"
: VAL2 = "43008E-108"
: IF (VAL1 = VAL2) THEN
:CRT "THIS IS STRANGE"
: END
:
: It returns THIS IS STRANGE. Does anybody know why?
: 
: Regards
: Bjvrn Behr
: Programmer
:
: HYFLO Southern Africa (Pty) Ltd
: Tel : +27 11 386 5800
: Fax : +27 11 444 5391
: Mail: [EMAIL PROTECTED]
: WWW : http://www.hyflo.co.za
: 
: ---
: u2-users mailing list
: u2-users@listserver.u2ug.org
: To unsubscribe please visit http://listserver.u2ug.org/
:
:
:
:
: -- 
: Internal Virus Database is out-of-date.
: Checked by AVG Anti-Virus.
: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
:
: 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Header Trick Needed

2005-01-12 Thread Pingilley, Ron
Bill,

You can use the backslash (\) as a delimiter within BASIC:

execute \SORT SALES.ANALYSIS BY CUST  HEADING " 'Year-To-Date Sales 
':This.Date.F "  \

note the backslashes surround the entire command to be "executed".

Or you could build the command in a variable, piece by piece, then 
EXECUTE TCL.CMD

--Ron P.
  
original e-mail

  execute "SORT SALES.ANALYSIS BY CUSTHEADING " 'Year-To-Date Sales ' :
This.Date.F " "

Perhaps more than the two standard quote chararacters, ['] and ["] are
available.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV]Strange But True

2005-01-12 Thread Marilyn Hilb
Ohohohh! I like that solution! 

The previous language I coded in had two types of "if" commands one would 
convert it to a number if it could before doing the compare, the other would 
compare it as a string.  I have been looking for a way to accomplish the same 
thing in Basic. Thanks!

Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

-Original Message-
From: Ian Renfrew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 10:05 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [UV]Strange But True

Curious:

If you want to perform string comparisons, such as comparing bin locations,
why not:

VAL1 = "43008E-112"
VAL2 = "43008E-108"
IF (" ":VAL1 = " ":VAL2) THEN
   CRT "THIS IS STRANGE"
END

Regards,  Ian R.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marilyn Hilb
Sent: Wednesday, January 12, 2005 10:26 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [UV]Strange But True

I had this same problem with our bin locations that contained an E. I ended
up swapping E for X before doing the compare to get the results I wanted.

Thanks,

Marilyn A. Hilb
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

 -Original Message-
From:   Louis Windsor [mailto:[EMAIL PROTECTED]
Sent:   Wednesday, January 12, 2005 6:20 AM
To: u2-users@listserver.u2ug.org
Subject:Re: [U2] [UV]Strange But True

I don't know if it is intentional but the values you are comparing
are exponential.

So the comparison is of two incredibly small numbers.  The
numbers are so small they are equal for all intents or purposes.

My 2c worth.

Louis


- Original Message -
From: "Bjorn Behr" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, January 12, 2005 7:08 PM
Subject: [U2] [UV]Strange But True


: Uv Version: UniVerse 10.1
: OS : Windows 2003 Server
:
: Can anybody explain. I wrote a small program and the result has baffeled
me.
:
: Program:
:
: VAL1 = "43008E-112"
: VAL2 = "43008E-108"
: IF (VAL1 = VAL2) THEN
:CRT "THIS IS STRANGE"
: END
:
: It returns THIS IS STRANGE. Does anybody know why?
: 
: Regards
: Bjvrn Behr
: Programmer
:
: HYFLO Southern Africa (Pty) Ltd
: Tel : +27 11 386 5800
: Fax : +27 11 444 5391
: Mail: [EMAIL PROTECTED]
: WWW : http://www.hyflo.co.za
: 
: ---
: u2-users mailing list
: u2-users@listserver.u2ug.org
: To unsubscribe please visit http://listserver.u2ug.org/
:
:
:
:
: --
: Internal Virus Database is out-of-date.
: Checked by AVG Anti-Virus.
: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
:
:



--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.6.5 - Release Date: 12/26/2004


--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.6.5 - Release Date: 12/26/2004
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV]Strange But True

2005-01-12 Thread Donnie Jacobs
Try the COMPARE function.

 DLJ
0001 CRT COMPARE ("43008E-112", "43008E-108")
0002 CRT COMPARE ("A", "A")
0003 CRT COMPARE ("B", "A")
>RUN BLIB DLJ
1
0
1
>

Donnie Jacobs
Sr Developer
GC Services LP
713-776-6503
[EMAIL PROTECTED]

 -Original Message-
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of Matt Stern
Sent:   Wednesday, January 12, 2005 10:38 AM
To: u2-users@listserver.u2ug.org
Subject:Re: [U2] [UV]Strange But True

But wait, it gets even weirder!
If you do the following, to make sure there's no chance of the two 
strings acting as numeric:

VAL1 = "43008E-112": ""
and
VAL2 = "43008E-108":""

the program still fails.  When you REALLY make sure you're doing a string 
compare with
IF (VAL1:"" = VAL2:"") THEN
it STILL FAILS!
Oh well, I guess U2 has a mind of its own with regard to string compare.  Note 
that the string compare works OK on most generic Pick platforms.
Matthew H. Stern, CCP/CDP, [EMAIL PROTECTED]
Serving the IT industry since 1976
Comprehensive Computer Services Inc.
www.comprehensive.com
Phone: 631 755-2250, Fax 755-2254
560 Broad Hollow Road, Melville NY 11747



Marilyn Hilb wrote:
>I had this same problem with our bin locations that contained an E. I ended up 
>swapping E for X before doing the compare to get the results I wanted.
>
>Thanks,
>
>Marilyn A. Hilb 
>Value Part, Inc
>Direct: 847-918-6099
>Fax: 847-367-1892
>[EMAIL PROTECTED]
>www.valuepart.com
>
> -Original Message-
>From:  Louis Windsor [mailto:[EMAIL PROTECTED] 
>Sent:  Wednesday, January 12, 2005 6:20 AM
>To:u2-users@listserver.u2ug.org
>Subject:   Re: [U2] [UV]Strange But True
>
>I don't know if it is intentional but the values you are comparing
>are exponential.
>
>So the comparison is of two incredibly small numbers.  The
>numbers are so small they are equal for all intents or purposes.
>
>My 2c worth.
>
>Louis
>
>
>- Original Message - 
>From:  "Bjorn Behr" <[EMAIL PROTECTED]>
>To:
>Sent:  Wednesday, January 12, 2005 7:08 PM
>Subject:   [U2] [UV]Strange But True
>
>
>: Uv Version: UniVerse 10.1
>: OS : Windows 2003 Server
>:
>: Can anybody explain. I wrote a small program and the result has baffeled 
>me.
>:
>: Program:
>:
>: VAL1 = "43008E-112"
>: VAL2 = "43008E-108"
>: IF (VAL1 = VAL2) THEN
>:CRT "THIS IS STRANGE"
>: END
>:
>: It returns THIS IS STRANGE. Does anybody know why?
>: 
>: Regards
>: Bjvrn Behr
>: Programmer
>:
>: HYFLO Southern Africa (Pty) Ltd
>: Tel : +27 11 386 5800
>: Fax : +27 11 444 5391
>: Mail: [EMAIL PROTECTED]
>: WWW : http://www.hyflo.co.za
>: 
>: ---
>: u2-users mailing list
>: u2-users@listserver.u2ug.org
>: To unsubscribe please visit http://listserver.u2ug.org/
>:
>:
>:
>:
>: -- 
>: Internal Virus Database is out-of-date.
>: Checked by AVG Anti-Virus.
>: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
>:
>: 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [OT] was [U2] AD Universe/Unidata Programmer Wanted

2005-01-12 Thread FFT2001
In a message dated 1/12/2005 8:19:52 AM Pacific Standard Time, 
[EMAIL PROTECTED] writes:

> We don't know how to transfer phone calls in-house either
> 
> --
> Debster

Dont even get me started on how to use the fax machine 
Will
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV]Strange But True

2005-01-12 Thread FFT2001
In a message dated 1/12/2005 8:45:48 AM Pacific Standard Time, 
[EMAIL PROTECTED] writes:

> VAL1 = "43008E-112": ""
> and
> VAL2 = "43008E-108":""
> 
> the program still fails.

Hold on Matt :) This doesn't do what you think it does imho.
NOW if you use a blank " " instead of a null then it might work.
Will
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Header Trick Needed

2005-01-12 Thread Les Hewkin
Have a look at DQUOTE and SQUOTE
They add quotes around vars

Les


-Original Message-
From: Brutzman, Bill [mailto:[EMAIL PROTECTED]
Sent: 12 January 2005 16:17
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] Header Trick Needed


If possible, from within a UniBasic program, I would like to embed a
specified date in a report header using a command like...

  execute "SORT SALES.ANALYSIS BY CUSTHEADING " 'Year-To-Date Sales ' :
This.Date.F " "

Perhaps more than the two standard quote chararacters, ['] and ["] are
available.

Suggestions would be appreciated.

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

This e-mail and any attachments are confidential and intended solely for the 
use of the addressee only. If you have received this message in error, you must 
not copy, distribute or disclose the contents; please notify the sender 
immediately and delete the message.
This message is attributed to the sender and may not necessarily reflect the 
view of Travis Perkins plc or its subsidiaries (Travis Perkins). Agreements 
binding Travis Perkins may not be concluded by means of e-mail communication.
E-mail transmissions are not secure and Travis Perkins accepts no 
responsibility for changes made to this message after it was sent. Whilst steps 
have been taken to ensure that this message is virus free, Travis Perkins 
accepts no liability for infection and recommends that you scan this e-mail and 
any attachments.
Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way, 
Harlestone Road, Northampton, NN5 7UG.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UV: Select statement problem

2005-01-12 Thread Allen Egerton
From: <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, January 12, 2005 11:14 AM
Subject: [U2] UV: Select statement problem


> I have come across a problem with select statements behaving differently
> between my two RISC boxes.

> On my production machine, the first statement works and yields the same
> results as the second statement from development


Are you sure that your data files on the development machine are in sync
with your production machine?  If they are, then I'd refresh their
dictionaries and the VOC file from the production machine.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Header Trick Victory

2005-01-12 Thread Brutzman, Bill
The following code works...

Thanks to Jeff, George, Ron, Charles, and Les.

--Bill


*---
---
Printer.Loop:

  Cmd.Str  = "SORT HK.SA BY.DSND CUM.CURRENT BY.DSND CUM.LAST WITH
TOTAL.FLAG # 'TOTAL' "
  Cmd.Str := "CUST C.NAME REP CHG.THIS.LAST.YR TOTAL CUM.LAST TOTAL
SALES.CURRENT TOTAL SALES.LAST "
  Cmd.Str := "PERCENT.CURRENT ID.SUP "
  Cmd.Str := "HEADING 'Year-To-Date Sales, By Cust
" 
  Cmd.Str :=  Today.F : " ' " 
  Cmd.Str := "LPTR"

  execute Cmd.Str

return

*---

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV: Select statement problem

2005-01-12 Thread Bob Woodward
Isn't there a setting for command line statement length?  Seems like I
remember something about that but I don't get into the setup of systems
often enough to be sure.

BobW
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV: Select statement problem

2005-01-12 Thread George Gallen
I've executed some pretty long lines, never had a problem.
But then again, I've never really tried and really long lines,
just pretty long ones.

George

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Bob Woodward
>Sent: Wednesday, January 12, 2005 12:51 PM
>To: u2-users@listserver.u2ug.org
>Subject: RE: [U2] UV: Select statement problem
>
>
>Isn't there a setting for command line statement length?  Seems like I
>remember something about that but I don't get into the setup of systems
>often enough to be sure.
>
>BobW
>---
>u2-users mailing list
>u2-users@listserver.u2ug.org
>To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UV: Select statement problem

2005-01-12 Thread Dianne Ackerman
Is it possible that the UV accounts you're running on are different 
flavors?  SELECTs in different flavors definitely work differently.
-Dianne

[EMAIL PROTECTED] wrote:
I have come across a problem with select statements behaving differently
between my two RISC boxes.
I have two RS6000 machines : one for production and the other for
development.
Both UV 10.0.14 and AIX 5.2
While testing a program change on the development box, I came across a
situation where a SELECT statement gave me different results when compared
to production.  To get around this, I had to break up the SELECT statement
into two parts.
My question is: "Is there a setting somewhere that is not in synch between
production and development machines that could cause this. If so, what?"
Please accept the fact that the contents of the SELECT statement are good
(I'd rather not  explain the definitions of the dictionary items or the
contents of the phrase "PHRASE"

0117:   STATEMENT = 'SELECT DB.PSES WITH SUB.ID = "':ACTUAL.ID:'" AND
WITH  TRANS.DT = "" AND WITH ISSUE.DT <= "':ISSUE.DT:'" AND WITH ACCOUNT #
600 AND WITH ACCOUNT # 506 AND WITH @ID UNLIKE DEL... ':PHRASE
0118:   STATEMENT:[EMAIL PROTECTED]:"SAVE.LIST 
PSES.TAPE.":ISSUE.DT:".":SUB.ID
0119:   EXECUTE STATEMENT
0 record(s) selected to SELECT list #0.
0 record(s) SAVEd to SELECT list "PSES.TAPE.03/31/02.M".
This does work:
0117:   STATEMENT = 'SELECT DB.PSES WITH SUB.ID = "':ACTUAL.ID:'" AND
WITH  TRANS.DT = "" AND WITH ISSUE.DT <= "':ISSUE.DT:'"'
0118: STATEMENT:[EMAIL PROTECTED]:'SELECT DB.PSES  WITH ACCOUNT # 600 AND WITH 
ACCOUNT #
506   AND WITH @ID UNLIKE DEL... ':PHRASE:' SELECT.ONLY'
0119:   STATEMENT:[EMAIL PROTECTED]:"SAVE.LIST 
PSES.TAPE.":ISSUE.DT:".":SUB.ID
0120:   EXECUTE STATEMENT
265 record(s) selected to SELECT list #0.
265 record(s) selected to SELECT list #0.
265 record(s) SAVEd to SELECT list "PSES.TAPE.03/31/02.M".
On my production machine, the first statement works and yields the same
results as the second statement from development
Thanks
Jim
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV]Strange But True

2005-01-12 Thread Peter D Olson
use compare()

This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Unclassified RE: [U2] UniVerse ODBC Configuration

2005-01-12 Thread HENDERSON MIKE, MR
Ang Suan Yong,

Bjorn has probably hit the nail on the head - you must first upgrade
_all_ your clients to the UV 10.1 ODBC Clients (which are alleged to be
backwards compatible with UV 9.6 & 10.0) before you upgrade your server
to UV10.1.  The old UV ODBC Client software will not work with the new
UV 10.1 ODBC Server.


Hope This Helps

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Behr
Sent: Thursday, 13 January 2005 01:02
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniVerse ODBC Configuration

Have you configured UCI Editor?
Have you changed the ODBC Setup?

Both of these need to be done. ODBC for UniVerse 10.1 upwards is not
compatible with the Old ODBC drivers

Bjorn 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ang Suan Yong
Sent: 12 January 2005 12:49
To: U2-Users New Lists
Subject: [U2] UniVerse ODBC Configuration

Dear All,

I've test on the ODBC Configuration testing on two version of
UniVerse  
For Version 10.0.8 , the ODBC is fine but for Version 10.1.6 ,
it show below message :

UniVerse ODBC configuration test failed.

UCI Error. Func: SQLConnect(); State: S1000; uniVerse code: 80011; Msg:
[IBM][SQL Client][UNIVERSE]Failure to login as remote user.. (Facility:
DBCAPERR, Severity: ERROR, Code: 46, Ex

Is there any setting that i need to cater. For version 10.1.6 ,
we just upgrate install of reinstall. Have anyone come accross this
scenario ?

Thanks and Regards
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
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Re: U2 Users Digest V1 #447

2005-01-12 Thread larry
Is there any way to number the paragraphs on the U2 Users Digest?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Header Trick Needed

2005-01-12 Thread David Jordan
Note you can also use the \ as well as ' and " to quote items like this.

Regards
David Jordan


If possible, from within a UniBasic program, I would like to embed a
specified date in a report header using a command like...

  execute "SORT SALES.ANALYSIS BY CUSTHEADING " 'Year-To-Date Sales ' :
This.Date.F " "

Perhaps more than the two standard quote chararacters, ['] and ["] are
available.

Suggestions would be appreciated.

Regards
David Jordan
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Re: WinteGrate

2005-01-12 Thread Steve Kunzman
I had saved this post for future reference. The future is here. I am
trying to use WIN.PCRUN to launch internet explorer to retrieve UPS
package tracking information.  Their web site has changed, so I tried to
paste in the new URL, but it gives me a wIntegrate message, "Unable to
run specified program". This URL works if I type it in the browser. If I
try to just launch the browser and view a jpeg, a simple URL
(WWW.UPS.COM), or a text file, it works. Any ideas?

http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&l
oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToTermsAndCo
nditions=yes&track.x=22&track.y=9

Thanks. Steve
Unidata/HP-UX

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Mark Johnson
Sent: Saturday, February 21, 2004 12:23 PM
To: U2 Users Discussion List
Subject: Re: WinteGrate

A simpler way would be:

PCFILE="C:\FOLDER\PICTURE.JPEG"
CALL WIN.PCRUN("IEXPLORE", PCFILE)

It opens up a new window with the aforementioned picture.

You can also pass URL's that you fabricate to open up very useful
windows.
Two that i use are:

www.maps.yahoo.com\&address=123&main&street&zip=12345

and
www.ups.com/tracking/1Z12345678901234567

These are fictious urls, but you can visit both UPS/Fedex and/or
Mapquest/Yahoo or any other map-like site and cut & paste the real URL
and
modify the variable portion. Brings green screen users a little closer
to
the nice feel of the windows world.

All of my UPS clients use the UPS concept and 3 of mine with 'truck' use
the
map concept.

my 3 cents.
- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Saturday, February 21, 2004 11:39 AM
Subject: Re: WinteGrate


> In a message dated 2/19/2004 5:51:51 AM Pacific Standard Time,
> [EMAIL PROTECTED] writes:
>
> >  Question:  Using WinteGrate, running UniVerse 10, Unix - Is
there
> > a way to display a 'jpeg' file in UniVerse ?
> > We have trucking companies that send up 'proof of
> > deliveries' in jpeg format. Our user base would love
> > to be able to view them straight from UniVerse.
> >
> > As always, very appreciative for ideas/assistance
> >
> > Barry Rogen
>
> Barry store all the jpegs in a shared windows directory on your
network
> In Universe have your program tell Wintegrate to "write the following
path
> into the clipboard" blah blah blah (the path of the image in the
shared
Windows
> directory)
> Then in your Universe program tell Wintegrate to execute its script
> "showjpg.scr" or something like that (you create this script in a
shared
location as
> well)
> The Wintegrate script merely launches whatever it finds in the
clipboard
>
> Will Johnson
> Fast Forward Technologies
> --
> u2-users mailing list
> u2-users@oliver.com
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
u2-users@oliver.com
http://www.oliver.com/mailman/listinfo/u2-users
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread Brutzman, Bill
Was the UniBasic program re-compiled ?

--Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steve Kunzman
Sent: Wednesday, January 12, 2005 3:19 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Re: WinteGrate


I had saved this post for future reference. The future is here. I am
trying to use WIN.PCRUN to launch internet explorer to retrieve UPS
package tracking information.  Their web site has changed, so I tried to
paste in the new URL, but it gives me a wIntegrate message, "Unable to
run specified program". This URL works if I type it in the browser. If I
try to just launch the browser and view a jpeg, a simple URL
(WWW.UPS.COM), or a text file, it works. Any ideas?

http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&l
oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToTermsAndCo
nditions=yes&track.x=22&track.y=9

Thanks. Steve
Unidata/HP-UX

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Mark Johnson
Sent: Saturday, February 21, 2004 12:23 PM
To: U2 Users Discussion List
Subject: Re: WinteGrate

A simpler way would be:

PCFILE="C:\FOLDER\PICTURE.JPEG"
CALL WIN.PCRUN("IEXPLORE", PCFILE)

It opens up a new window with the aforementioned picture.

You can also pass URL's that you fabricate to open up very useful
windows.
Two that i use are:

www.maps.yahoo.com\&address=123&main&street&zip=12345

and
www.ups.com/tracking/1Z12345678901234567

These are fictious urls, but you can visit both UPS/Fedex and/or
Mapquest/Yahoo or any other map-like site and cut & paste the real URL
and
modify the variable portion. Brings green screen users a little closer
to
the nice feel of the windows world.

All of my UPS clients use the UPS concept and 3 of mine with 'truck' use
the
map concept.

my 3 cents.
- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Saturday, February 21, 2004 11:39 AM
Subject: Re: WinteGrate


> In a message dated 2/19/2004 5:51:51 AM Pacific Standard Time,
> [EMAIL PROTECTED] writes:
>
> >  Question:  Using WinteGrate, running UniVerse 10, Unix - Is
there
> > a way to display a 'jpeg' file in UniVerse ?
> > We have trucking companies that send up 'proof of
> > deliveries' in jpeg format. Our user base would love
> > to be able to view them straight from UniVerse.
> >
> > As always, very appreciative for ideas/assistance
> >
> > Barry Rogen
>
> Barry store all the jpegs in a shared windows directory on your
network
> In Universe have your program tell Wintegrate to "write the following
path
> into the clipboard" blah blah blah (the path of the image in the
shared
Windows
> directory)
> Then in your Universe program tell Wintegrate to execute its script
> "showjpg.scr" or something like that (you create this script in a
shared
location as
> well)
> The Wintegrate script merely launches whatever it finds in the
clipboard
>
> Will Johnson
> Fast Forward Technologies
> --
> u2-users mailing list
> u2-users@oliver.com
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
u2-users@oliver.com
http://www.oliver.com/mailman/listinfo/u2-users
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread George Gallen
do you need to quote the URL? with all those &'s and ?'s maybe
wintergate is trying to do something.

BTW, is it supposed to be wwwapps or www.apps and just a typo
for the email?

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Steve Kunzman
>Sent: Wednesday, January 12, 2005 3:19 PM
>To: u2-users@listserver.u2ug.org
>Subject: [U2] Re: WinteGrate
>
>
>I had saved this post for future reference. The future is here. I am
>trying to use WIN.PCRUN to launch internet explorer to retrieve UPS
>package tracking information.  Their web site has changed, so
>I tried to
>paste in the new URL, but it gives me a wIntegrate message, "Unable to
>run specified program". This URL works if I type it in the
>browser. If I
>try to just launch the browser and view a jpeg, a simple URL
>(WWW.UPS.COM), or a text file, it works. Any ideas?
>
>http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVers
>ion=5.0&l
>oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToT
>ermsAndCo
>nditions=yes&track.x=22&track.y=9
>
>Thanks. Steve
>Unidata/HP-UX
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>On Behalf Of Mark Johnson
>Sent: Saturday, February 21, 2004 12:23 PM
>To: U2 Users Discussion List
>Subject: Re: WinteGrate
>
>A simpler way would be:
>
>PCFILE="C:\FOLDER\PICTURE.JPEG"
>CALL WIN.PCRUN("IEXPLORE", PCFILE)
>
>It opens up a new window with the aforementioned picture.
>
>You can also pass URL's that you fabricate to open up very useful
>windows.
>Two that i use are:
>
>www.maps.yahoo.com\&address=123&main&street&zip=12345
>
>and
>www.ups.com/tracking/1Z12345678901234567
>
>These are fictious urls, but you can visit both UPS/Fedex and/or
>Mapquest/Yahoo or any other map-like site and cut & paste the real URL
>and
>modify the variable portion. Brings green screen users a little closer
>to
>the nice feel of the windows world.
>
>All of my UPS clients use the UPS concept and 3 of mine with
>'truck' use
>the
>map concept.
>
>my 3 cents.
>- Original Message -
>From: <[EMAIL PROTECTED]>
>To: 
>Sent: Saturday, February 21, 2004 11:39 AM
>Subject: Re: WinteGrate
>
>
>> In a message dated 2/19/2004 5:51:51 AM Pacific Standard Time,
>> [EMAIL PROTECTED] writes:
>>
>> >  Question:  Using WinteGrate, running UniVerse 10, Unix - Is
>there
>> > a way to display a 'jpeg' file in UniVerse ?
>> > We have trucking companies that send up 'proof of
>> > deliveries' in jpeg format. Our user base
>would love
>> > to be able to view them straight from UniVerse.
>> >
>> > As always, very appreciative for ideas/assistance
>> >
>> > Barry Rogen
>>
>> Barry store all the jpegs in a shared windows directory on your
>network
>> In Universe have your program tell Wintegrate to "write the following
>path
>> into the clipboard" blah blah blah (the path of the image in the
>shared
>Windows
>> directory)
>> Then in your Universe program tell Wintegrate to execute its script
>> "showjpg.scr" or something like that (you create this script in a
>shared
>location as
>> well)
>> The Wintegrate script merely launches whatever it finds in the
>clipboard
>>
>> Will Johnson
>> Fast Forward Technologies
>> --
>> u2-users mailing list
>> u2-users@oliver.com
>> http://www.oliver.com/mailman/listinfo/u2-users
>
>--
>u2-users mailing list
>u2-users@oliver.com
>http://www.oliver.com/mailman/listinfo/u2-users
>---
>u2-users mailing list
>u2-users@listserver.u2ug.org
>To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread skunzman
Bill, yes recompiled many times  - FIBR.

-- Original message -- 

> Was the UniBasic program re-compiled ? 
> 
> --Bill 
> 
> -Original Message- 
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Behalf Of Steve Kunzman 
> Sent: Wednesday, January 12, 2005 3:19 PM 
> To: u2-users@listserver.u2ug.org 
> Subject: [U2] Re: WinteGrate 
> 
> 
> I had saved this post for future reference. The future is here. I am 
> trying to use WIN.PCRUN to launch internet explorer to retrieve UPS 
> package tracking information. Their web site has changed, so I tried to 
> paste in the new URL, but it gives me a wIntegrate message, "Unable to 
> run specified program". This URL works if I type it in the browser. If I 
> try to just launch the browser and view a jpeg, a simple URL 
> (WWW.UPS.COM), or a text file, it works. Any ideas? 
> 
> http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&l 
> oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToTermsAndCo 
> nditions=yes&track.x=22&track.y=9 
> 
> Thanks. Steve 
> Unidata/HP-UX 
> 
> -Original Message- 
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> On Behalf Of Mark Johnson 
> Sent: Saturday, February 21, 2004 12:23 PM 
> To: U2 Users Discussion List 
> Subject: Re: WinteGrate 
> 
> A simpler way would be: 
> 
> PCFILE="C:\FOLDER\PICTURE.JPEG" 
> CALL WIN.PCRUN("IEXPLORE", PCFILE) 
> 
> It opens up a new window with the aforementioned picture. 
> 
> You can also pass URL's that you fabricate to open up very useful 
> windows. 
> Two that i use are: 
> 
> www.maps.yahoo.com\&address=123&main&street&zip=12345 
> 
> and 
> www.ups.com/tracking/1Z12345678901234567 
> 
> These are fictious urls, but you can visit both UPS/Fedex and/or 
> Mapquest/Yahoo or any other map-like site and cut & paste the real URL 
> and 
> modify the variable portion. Brings green screen users a little closer 
> to 
> the nice feel of the windows world. 
> 
> All of my UPS clients use the UPS concept and 3 of mine with 'truck' use 
> the 
> map concept. 
> 
> my 3 cents. 
> - Original Message - 
> From: 
> To: 
> Sent: Saturday, February 21, 2004 11:39 AM 
> Subject: Re: WinteGrate 
> 
> 
> > In a message dated 2/19/2004 5:51:51 AM Pacific Standard Time, 
> > [EMAIL PROTECTED] writes: 
> > 
> > > Question: Using WinteGrate, running UniVerse 10, Unix - Is 
> there 
> > > a way to display a 'jpeg' file in UniVerse ? 
> > > We have trucking companies that send up 'proof of 
> > > deliveries' in jpeg format. Our user base would love 
> > > to be able to view them straight from UniVerse. 
> > > 
> > > As always, very appreciative for ideas/assistance 
> > > 
> > > Barry Rogen 
> > 
> > Barry store all the jpegs in a shared windows directory on your 
> network 
> > In Universe have your program tell Wintegrate to "write the following 
> path 
> > into the clipboard" blah blah blah (the path of the image in the 
> shared 
> Windows 
> > directory) 
> > Then in your Universe program tell Wintegrate to execute its script 
> > "showjpg.scr" or something like that (you create this script in a 
> shared 
> location as 
> > well) 
> > The Wintegrate script merely launches whatever it finds in the 
> clipboard 
> > 
> > Will Johnson 
> > Fast Forward Technologies 
> > -- 
> > u2-users mailing list 
> > u2-users@oliver.com 
> > http://www.oliver.com/mailman/listinfo/u2-users 
> 
> -- 
> u2-users mailing list 
> u2-users@oliver.com 
> http://www.oliver.com/mailman/listinfo/u2-users 
> --- 
> u2-users mailing list 
> u2-users@listserver.u2ug.org 
> To unsubscribe please visit http://listserver.u2ug.org/ 
> --- 
> u2-users mailing list 
> u2-users@listserver.u2ug.org 
> To unsubscribe please visit http://listserver.u2ug.org/ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread skunzman
George, tried quoting and wwwapps is what I cut from the browser url.
Thanks. Steve

-- Original message -- 

> do you need to quote the URL? with all those &'s and ?'s maybe 
> wintergate is trying to do something. 
> 
> BTW, is it supposed to be wwwapps or www.apps and just a typo 
> for the email? 
> 
> >-Original Message- 
> >From: [EMAIL PROTECTED] 
> >[mailto:[EMAIL PROTECTED] Behalf Of Steve Kunzman 
> >Sent: Wednesday, January 12, 2005 3:19 PM 
> >To: u2-users@listserver.u2ug.org 
> >Subject: [U2] Re: WinteGrate 
> > 
> > 
> >I had saved this post for future reference. The future is here. I am 
> >trying to use WIN.PCRUN to launch internet explorer to retrieve UPS 
> >package tracking information. Their web site has changed, so 
> >I tried to 
> >paste in the new URL, but it gives me a wIntegrate message, "Unable to 
> >run specified program". This URL works if I type it in the 
> >browser. If I 
> >try to just launch the browser and view a jpeg, a simple URL 
> >(WWW.UPS.COM), or a text file, it works. Any ideas? 
> > 
> >http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVers 
> >ion=5.0&l 
> >oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToT 
> >ermsAndCo 
> >nditions=yes&track.x=22&track.y=9 
> > 
> >Thanks. Steve 
> >Unidata/HP-UX 
> > 
> >-Original Message- 
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> >On Behalf Of Mark Johnson 
> >Sent: Saturday, February 21, 2004 12:23 PM 
> >To: U2 Users Discussion List 
> >Subject: Re: WinteGrate 
> > 
> >A simpler way would be: 
> > 
> >PCFILE="C:\FOLDER\PICTURE.JPEG" 
> >CALL WIN.PCRUN("IEXPLORE", PCFILE) 
> > 
> >It opens up a new window with the aforementioned picture. 
> > 
> >You can also pass URL's that you fabricate to open up very useful 
> >windows. 
> >Two that i use are: 
> > 
> >www.maps.yahoo.com\&address=123&main&street&zip=12345 
> > 
> >and 
> >www.ups.com/tracking/1Z12345678901234567 
> > 
> >These are fictious urls, but you can visit both UPS/Fedex and/or 
> >Mapquest/Yahoo or any other map-like site and cut & paste the real URL 
> >and 
> >modify the variable portion. Brings green screen users a little closer 
> >to 
> >the nice feel of the windows world. 
> > 
> >All of my UPS clients use the UPS concept and 3 of mine with 
> >'truck' use 
> >the 
> >map concept. 
> > 
> >my 3 cents. 
> >- Original Message - 
> >From: 
> >To: 
> >Sent: Saturday, February 21, 2004 11:39 AM 
> >Subject: Re: WinteGrate 
> > 
> > 
> >> In a message dated 2/19/2004 5:51:51 AM Pacific Standard Time, 
> >> [EMAIL PROTECTED] writes: 
> >> 
> >> > Question: Using WinteGrate, running UniVerse 10, Unix - Is 
> >there 
> >> > a way to display a 'jpeg' file in UniVerse ? 
> >> > We have trucking companies that send up 'proof of 
> >> > deliveries' in jpeg format. Our user base 
> >would love 
> >> > to be able to view them straight from UniVerse. 
> >> > 
> >> > As always, very appreciative for ideas/assistance 
> >> > 
> >> > Barry Rogen 
> >> 
> >> Barry store all the jpegs in a shared windows directory on your 
> >network 
> >> In Universe have your program tell Wintegrate to "write the following 
> >path 
> >> into the clipboard" blah blah blah (the path of the image in the 
> >shared 
> >Windows 
> >> directory) 
> >> Then in your Universe program tell Wintegrate to execute its script 
> >> "showjpg.scr" or something like that (you create this script in a 
> >shared 
> >location as 
> >> well) 
> >> The Wintegrate script merely launches whatever it finds in the 
> >clipboard 
> >> 
> >> Will Johnson 
> >> Fast Forward Technologies 
> >> -- 
> >> u2-users mailing list 
> >> u2-users@oliver.com 
> >> http://www.oliver.com/mailman/listinfo/u2-users 
> > 
> >-- 
> >u2-users mailing list 
> >u2-users@oliver.com 
> >http://www.oliver.com/mailman/listinfo/u2-users 
> >--- 
> >u2-users mailing list 
> >u2-users@listserver.u2ug.org 
> >To unsubscribe please visit http://listserver.u2ug.org/ 
> --- 
> u2-users mailing list 
> u2-users@listserver.u2ug.org 
> To unsubscribe please visit http://listserver.u2ug.org/ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


FW: [U2] Re: WinteGrate

2005-01-12 Thread Kevin King
-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of 
>[EMAIL PROTECTED]

>Bill, yes recompiled many times  - FIBR.

How is the program cataloged?

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread Kevin King
-Original Message-
>From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
>Bill, yes recompiled many times  - FIBR.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread Michael Spencer
How about ignoring wIntegrate features altogether and use a call to a
subroutine like this:

001 subroutine web.call.url(url,extension,results)
002 if url='' then
003results=''
004return
005 end
006 if extension='' then extension='/ HTTP/1.1'
007 data 'GET ':extension:@am:''
008 execute '!telnet ':url:' 80' capturing results
009 *
010 return
011 *


 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Kunzman
Sent: January 12, 2005 3:19 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Re: WinteGrate

I had saved this post for future reference. The future is here. I am
trying to use WIN.PCRUN to launch internet explorer to retrieve UPS
package tracking information.  Their web site has changed, so I tried to
paste in the new URL, but it gives me a wIntegrate message, "Unable to
run specified program". This URL works if I type it in the browser. If I
try to just launch the browser and view a jpeg, a simple URL
(WWW.UPS.COM), or a text file, it works. Any ideas?

http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&l
oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToTermsAndCo
nditions=yes&track.x=22&track.y=9

Thanks. Steve
Unidata/HP-UX

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Mark Johnson
Sent: Saturday, February 21, 2004 12:23 PM
To: U2 Users Discussion List
Subject: Re: WinteGrate

A simpler way would be:

PCFILE="C:\FOLDER\PICTURE.JPEG"
CALL WIN.PCRUN("IEXPLORE", PCFILE)

It opens up a new window with the aforementioned picture.

You can also pass URL's that you fabricate to open up very useful
windows.
Two that i use are:

www.maps.yahoo.com\&address=123&main&street&zip=12345

and
www.ups.com/tracking/1Z12345678901234567

These are fictious urls, but you can visit both UPS/Fedex and/or
Mapquest/Yahoo or any other map-like site and cut & paste the real URL
and
modify the variable portion. Brings green screen users a little closer
to
the nice feel of the windows world.

All of my UPS clients use the UPS concept and 3 of mine with 'truck' use
the
map concept.

my 3 cents.
- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Saturday, February 21, 2004 11:39 AM
Subject: Re: WinteGrate


> In a message dated 2/19/2004 5:51:51 AM Pacific Standard Time,
> [EMAIL PROTECTED] writes:
>
> >  Question:  Using WinteGrate, running UniVerse 10, Unix - Is
there
> > a way to display a 'jpeg' file in UniVerse ?
> > We have trucking companies that send up 'proof of
> > deliveries' in jpeg format. Our user base would love
> > to be able to view them straight from UniVerse.
> >
> > As always, very appreciative for ideas/assistance
> >
> > Barry Rogen
>
> Barry store all the jpegs in a shared windows directory on your
network
> In Universe have your program tell Wintegrate to "write the following
path
> into the clipboard" blah blah blah (the path of the image in the
shared
Windows
> directory)
> Then in your Universe program tell Wintegrate to execute its script
> "showjpg.scr" or something like that (you create this script in a
shared
location as
> well)
> The Wintegrate script merely launches whatever it finds in the
clipboard
>
> Will Johnson
> Fast Forward Technologies
> --
> u2-users mailing list
> u2-users@oliver.com
> http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
u2-users@oliver.com
http://www.oliver.com/mailman/listinfo/u2-users
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread Marilyn Hilb
I can share my experience with win.pcrun. If I recall, the program itself uses 
either single quote or double quote to make the call out to dos/windows. In my 
case the call I was making required the same type of quote to be around the 
arguments. So I had to create a new win.pcrun and change it to use the other 
type of quotes. Doesn't look like you have any quotes in here, but I wanted to 
share that problem I had which took quite a bit of time to narrow it down.

Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

 -Original Message-
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent:   Wednesday, January 12, 2005 3:02 PM
To: u2-users@listserver.u2ug.org
Subject:RE: [U2] Re: WinteGrate

George, tried quoting and wwwapps is what I cut from the browser url.
Thanks. Steve

-- Original message -- 

> do you need to quote the URL? with all those &'s and ?'s maybe 
> wintergate is trying to do something. 
> 
> BTW, is it supposed to be wwwapps or www.apps and just a typo 
> for the email? 
> 
> >-Original Message- 
> >From: [EMAIL PROTECTED] 
> >[mailto:[EMAIL PROTECTED] Behalf Of Steve Kunzman 
> >Sent: Wednesday, January 12, 2005 3:19 PM 
> >To: u2-users@listserver.u2ug.org 
> >Subject: [U2] Re: WinteGrate 
> > 
> > 
> >I had saved this post for future reference. The future is here. I am 
> >trying to use WIN.PCRUN to launch internet explorer to retrieve UPS 
> >package tracking information. Their web site has changed, so 
> >I tried to 
> >paste in the new URL, but it gives me a wIntegrate message, "Unable to 
> >run specified program". This URL works if I type it in the 
> >browser. If I 
> >try to just launch the browser and view a jpeg, a simple URL 
> >(WWW.UPS.COM), or a text file, it works. Any ideas? 
> > 
> >http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVers 
> >ion=5.0&l 
> >oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToT 
> >ermsAndCo 
> >nditions=yes&track.x=22&track.y=9 
> > 
> >Thanks. Steve 
> >Unidata/HP-UX 
> > 
> >-Original Message- 
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> >On Behalf Of Mark Johnson 
> >Sent: Saturday, February 21, 2004 12:23 PM 
> >To: U2 Users Discussion List 
> >Subject: Re: WinteGrate 
> > 
> >A simpler way would be: 
> > 
> >PCFILE="C:\FOLDER\PICTURE.JPEG" 
> >CALL WIN.PCRUN("IEXPLORE", PCFILE) 
> > 
> >It opens up a new window with the aforementioned picture. 
> > 
> >You can also pass URL's that you fabricate to open up very useful 
> >windows. 
> >Two that i use are: 
> > 
> >www.maps.yahoo.com\&address=123&main&street&zip=12345 
> > 
> >and 
> >www.ups.com/tracking/1Z12345678901234567 
> > 
> >These are fictious urls, but you can visit both UPS/Fedex and/or 
> >Mapquest/Yahoo or any other map-like site and cut & paste the real URL 
> >and 
> >modify the variable portion. Brings green screen users a little closer 
> >to 
> >the nice feel of the windows world. 
> > 
> >All of my UPS clients use the UPS concept and 3 of mine with 
> >'truck' use 
> >the 
> >map concept. 
> > 
> >my 3 cents. 
> >- Original Message - 
> >From: 
> >To: 
> >Sent: Saturday, February 21, 2004 11:39 AM 
> >Subject: Re: WinteGrate 
> > 
> > 
> >> In a message dated 2/19/2004 5:51:51 AM Pacific Standard Time, 
> >> [EMAIL PROTECTED] writes: 
> >> 
> >> > Question: Using WinteGrate, running UniVerse 10, Unix - Is 
> >there 
> >> > a way to display a 'jpeg' file in UniVerse ? 
> >> > We have trucking companies that send up 'proof of 
> >> > deliveries' in jpeg format. Our user base 
> >would love 
> >> > to be able to view them straight from UniVerse. 
> >> > 
> >> > As always, very appreciative for ideas/assistance 
> >> > 
> >> > Barry Rogen 
> >> 
> >> Barry store all the jpegs in a shared windows directory on your 
> >network 
> >> In Universe have your program tell Wintegrate to "write the following 
> >path 
> >> into the clipboard" blah blah blah (the path of the image in the 
> >shared 
> >Windows 
> >> directory) 
> >> Then in your Universe program tell Wintegrate to execute its script 
> >> "showjpg.scr" or something like that (you create this script in a 
> >shared 
> >location as 
> >> well) 
> >> The Wintegrate script merely launches whatever it finds in the 
> >clipboard 
> >> 
> >> Will Johnson 
> >> Fast Forward Technologies 
> >> -- 
> >> u2-users mailing list 
> >> u2-users@oliver.com 
> >> http://www.oliver.com/mailman/listinfo/u2-users 
> > 
> >-- 
> >u2-users mailing list 
> >u2-users@oliver.com 
> >http://www.oliver.com/mailman/listinfo/u2-users 
> >--- 
> >u2-users mailing list 
> >u2-users@listserver.u2ug.org 
> >To unsubscribe please visit http://listserver.u2ug.org/ 
> --- 
> u2-users mailing list 
> u2-users@listserver.u2ug.org 
> To unsubscribe please visit http://listserver.u2ug.org/ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http:

RE: [U2] Re: WinteGrate

2005-01-12 Thread Michael Spencer
I just tried it here and it works for me:

Call
win.pcrun('iexplore.exe','wwwapps.ups.com/WebTracking/processInputReques
t?HTMLVersion=5.0&loc=en_US&Requester=UPSHome&tracknum=1Z936690030864237
7&AgreeToTermsAndConditions=yes&track.x=22&track.y=9')

Maybe you just need to lose the http://   ?

(Though I am on D3/Aix)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: January 12, 2005 4:02 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Re: WinteGrate

George, tried quoting and wwwapps is what I cut from the browser url.
Thanks. Steve

-- Original message -- 

> do you need to quote the URL? with all those &'s and ?'s maybe 
> wintergate is trying to do something. 
> 
> BTW, is it supposed to be wwwapps or www.apps and just a typo 
> for the email? 
> 
> >-Original Message- 
> >From: [EMAIL PROTECTED] 
> >[mailto:[EMAIL PROTECTED] Behalf Of Steve Kunzman

> >Sent: Wednesday, January 12, 2005 3:19 PM 
> >To: u2-users@listserver.u2ug.org 
> >Subject: [U2] Re: WinteGrate 
> > 
> > 
> >I had saved this post for future reference. The future is here. I am 
> >trying to use WIN.PCRUN to launch internet explorer to retrieve UPS 
> >package tracking information. Their web site has changed, so 
> >I tried to 
> >paste in the new URL, but it gives me a wIntegrate message, "Unable
to 
> >run specified program". This URL works if I type it in the 
> >browser. If I 
> >try to just launch the browser and view a jpeg, a simple URL 
> >(WWW.UPS.COM), or a text file, it works. Any ideas? 
> > 
> >http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVers 
> >ion=5.0&l 
> >oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToT 
> >ermsAndCo 
> >nditions=yes&track.x=22&track.y=9 
> > 
> >Thanks. Steve 
> >Unidata/HP-UX 
> > 
> >-Original Message- 
> >From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
> >On Behalf Of Mark Johnson 
> >Sent: Saturday, February 21, 2004 12:23 PM 
> >To: U2 Users Discussion List 
> >Subject: Re: WinteGrate 
> > 
> >A simpler way would be: 
> > 
> >PCFILE="C:\FOLDER\PICTURE.JPEG" 
> >CALL WIN.PCRUN("IEXPLORE", PCFILE) 
> > 
> >It opens up a new window with the aforementioned picture. 
> > 
> >You can also pass URL's that you fabricate to open up very useful 
> >windows. 
> >Two that i use are: 
> > 
> >www.maps.yahoo.com\&address=123&main&street&zip=12345 
> > 
> >and 
> >www.ups.com/tracking/1Z12345678901234567 
> > 
> >These are fictious urls, but you can visit both UPS/Fedex and/or 
> >Mapquest/Yahoo or any other map-like site and cut & paste the real
URL 
> >and 
> >modify the variable portion. Brings green screen users a little
closer 
> >to 
> >the nice feel of the windows world. 
> > 
> >All of my UPS clients use the UPS concept and 3 of mine with 
> >'truck' use 
> >the 
> >map concept. 
> > 
> >my 3 cents. 
> >- Original Message - 
> >From: 
> >To: 
> >Sent: Saturday, February 21, 2004 11:39 AM 
> >Subject: Re: WinteGrate 
> > 
> > 
> >> In a message dated 2/19/2004 5:51:51 AM Pacific Standard Time, 
> >> [EMAIL PROTECTED] writes: 
> >> 
> >> > Question: Using WinteGrate, running UniVerse 10, Unix - Is 
> >there 
> >> > a way to display a 'jpeg' file in UniVerse ? 
> >> > We have trucking companies that send up 'proof of 
> >> > deliveries' in jpeg format. Our user base 
> >would love 
> >> > to be able to view them straight from UniVerse. 
> >> > 
> >> > As always, very appreciative for ideas/assistance 
> >> > 
> >> > Barry Rogen 
> >> 
> >> Barry store all the jpegs in a shared windows directory on your 
> >network 
> >> In Universe have your program tell Wintegrate to "write the
following 
> >path 
> >> into the clipboard" blah blah blah (the path of the image in the 
> >shared 
> >Windows 
> >> directory) 
> >> Then in your Universe program tell Wintegrate to execute its script

> >> "showjpg.scr" or something like that (you create this script in a 
> >shared 
> >location as 
> >> well) 
> >> The Wintegrate script merely launches whatever it finds in the 
> >clipboard 
> >> 
> >> Will Johnson 
> >> Fast Forward Technologies 
> >> -- 
> >> u2-users mailing list 
> >> u2-users@oliver.com 
> >> http://www.oliver.com/mailman/listinfo/u2-users 
> > 
> >-- 
> >u2-users mailing list 
> >u2-users@oliver.com 
> >http://www.oliver.com/mailman/listinfo/u2-users 
> >--- 
> >u2-users mailing list 
> >u2-users@listserver.u2ug.org 
> >To unsubscribe please visit http://listserver.u2ug.org/ 
> --- 
> u2-users mailing list 
> u2-users@listserver.u2ug.org 
> To unsubscribe please visit http://listserver.u2ug.org/ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread George Gallen
I assumed the goal was to get the information to come
up on the PC, using wintergate.

However, could you use wget, or the below to get the page,
then write it out as a local file on the PC using wintergate
then use wintergate to launch ie, on the file?

George

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Michael Spencer
>Sent: Wednesday, January 12, 2005 4:24 PM
>To: u2-users@listserver.u2ug.org
>Subject: RE: [U2] Re: WinteGrate
>
>
>How about ignoring wIntegrate features altogether and use a call to a
>subroutine like this:
>
>001 subroutine web.call.url(url,extension,results)
>002 if url='' then
>003results=''
>004return
>005 end
>006 if extension='' then extension='/ HTTP/1.1'
>007 data 'GET ':extension:@am:''
>008 execute '!telnet ':url:' 80' capturing results
>009 *
>010 return
>011 *
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread Steve Kunzman
Not cataloged, just running from TCL (RUN BP PROGX).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Wednesday, January 12, 2005 2:14 PM
To: u2-users@listserver.u2ug.org
Subject: FW: [U2] Re: WinteGrate

-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of 
>[EMAIL PROTECTED]

>Bill, yes recompiled many times  - FIBR.

How is the program cataloged?

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread Brutzman, Bill
What is the meaning of 'FIBR' ?

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread Anthony Dzikiewicz
This may be a round about way, but Ill bet that if you wrote the command to
a bat file on the PC and then did a PCRUN to execute the bat file it might
work.  I did the following bat file;

cd c:\program files
cd internet explorer

**Note the next line is all on one line in the bat file.  I don't know what
its going to end up looking like in the email.  It's the word 'iexplore' a
space and the url in question.

iexplore
http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&loc=e
n_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToTermsAndConditions
=yes&track.x=22&track.y=9


Im not a wIntegrate person, but I just know this is a way to the get it
done.  By the way, the web page came up for me this way.

Anthony

 -Original Message-
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]  On Behalf Of Steve Kunzman
Sent:   Wednesday, January 12, 2005 3:19 PM
To: u2-users@listserver.u2ug.org
Subject:[U2] Re: WinteGrate

I had saved this post for future reference. The future is here. I am
trying to use WIN.PCRUN to launch internet explorer to retrieve UPS
package tracking information.  Their web site has changed, so I tried to
paste in the new URL, but it gives me a wIntegrate message, "Unable to
run specified program". This URL works if I type it in the browser. If I
try to just launch the browser and view a jpeg, a simple URL
(WWW.UPS.COM), or a text file, it works. Any ideas?

http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&l
oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToTermsAndCo
nditions=yes&track.x=22&track.y=9

Thanks. Steve
Unidata/HP-UX

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Mark Johnson
Sent: Saturday, February 21, 2004 12:23 PM
To: U2 Users Discussion List
Subject: Re: WinteGrate

A simpler way would be:

PCFILE="C:\FOLDER\PICTURE.JPEG"
CALL WIN.PCRUN("IEXPLORE", PCFILE)

It opens up a new window with the aforementioned picture.

You can also pass URL's that you fabricate to open up very useful
windows.
Two that i use are:

www.maps.yahoo.com\&address=123&main&street&zip=12345

and
www.ups.com/tracking/1Z12345678901234567

These are fictious urls, but you can visit both UPS/Fedex and/or
Mapquest/Yahoo or any other map-like site and cut & paste the real URL
and
modify the variable portion. Brings green screen users a little closer
to
the nice feel of the windows world.

All of my UPS clients use the UPS concept and 3 of mine with 'truck' use
the
map concept.

my 3 cents.
- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Saturday, February 21, 2004 11:39 AM
Subject: Re: WinteGrate


> In a message dated 2/19/2004 5:51:51 AM Pacific Standard Time,
> [EMAIL PROTECTED] writes:
>
> >  Question:  Using WinteGrate, running UniVerse 10, Unix - Is
there
> > a way to display a 'jpeg' file in UniVerse ?
> > We have trucking companies that send up 'proof of
> > deliveries' in jpeg format. Our user base would love
> > to be able to view them straight from UniVerse.
> >
> > As always, very appreciative for ideas/assistance
> >
> > Barry Rogen
>
> Barry store all the jpegs in a shared windows directory on your
network
> In Universe have your program tell Wintegrate to "write the following
path
> into the clipboard" blah blah blah (the path of the image in the
shared
Windows
> directory)
> Then in your Universe program tell Wintegrate to execute its script
> "showjpg.scr" or something like that (you create this script in a
shared
location as
> well)
> The Wintegrate script merely launches whatever it finds in the
clipboard
>
> Will Johnson
> Fast Forward Technologies
> --
> u2-users mailing list
> u2-users@oliver.com
> http://www.oliver.com/mailman/listinfo/u2-users

--
u2-users mailing list
u2-users@oliver.com
http://www.oliver.com/mailman/listinfo/u2-users
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread skunzman
While in Unidata editor, these are commands,  FIBR =  file, basic, run.
-- Original message -- 

> What is the meaning of 'FIBR' ? 
> 
> --Bill 
> --- 
> u2-users mailing list 
> u2-users@listserver.u2ug.org 
> To unsubscribe please visit http://listserver.u2ug.org/ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread David Jordan
Is Wintegrate starting up Internet Explorer or is the program not found the
iexplorer execute.  

Regards

David Jordan
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread Alfke, Colin
George might be onto something. In DOS the & character needs to be "escaped" 
using the ^. Try changing all of the & in the url to ^&.

hth
Colin Alfke
in way too cold Calgary

>-Original Message-
>From: George Gallen 
>
>do you need to quote the URL? with all those &'s and ?'s maybe
>wintergate is trying to do something.
>
>BTW, is it supposed to be wwwapps or www.apps and just a typo
>for the email?
>
>>-Original Message-
On Behalf Of Steve Kunzman
>>
>>I had saved this post for future reference. The future is here. I am
>>trying to use WIN.PCRUN to launch internet explorer to retrieve UPS
>>package tracking information.  Their web site has changed, so
>>I tried to
>>paste in the new URL, but it gives me a wIntegrate message, "Unable to
>>run specified program". This URL works if I type it in the
>>browser. If I
>>try to just launch the browser and view a jpeg, a simple URL
>>(WWW.UPS.COM), or a text file, it works. Any ideas?
>>
>>http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVers
>>ion=5.0&l
>>oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToT
>>ermsAndCo
>>nditions=yes&track.x=22&track.y=9
>>
>>Thanks. Steve
>>Unidata/HP-UX
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV]Strange But True

2005-01-12 Thread Louis Windsor
It's a while since I considered floating point numbers but I think we are 
talking about numbers that are in the order of

POINT 103 zeroes and some digits

.00043008

I think adding three more zeroes to the number is really irrelevant.  I do 
take Wol's point on scaling though.

I suspect the original enquirer didn't realise the significance of the "E" 
in the comparison.  They might just be comparing membership numbers or 
something.  Well that was the case when I stumbled on the "bug"!

Another 1c worth,

Louis


- Original Message - 
From: <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, January 12, 2005 9:43 PM
Subject: Re: [U2] [UV]Strange But True


: [EMAIL PROTECTED] wrote:
: > I don't know if it is intentional but the values you are comparing
: > are exponential.
: >
: > So the comparison is of two incredibly small numbers.  The
: > numbers are so small they are equal for all intents or purposes.
: >
: "small" is subjective. The earth is only rounding error as far as the 
universe is concerned, but it is very important to us.
:
: To my mind this is a major bug, if you're right. It's as bad as "IF 100 = 
0.01" were to return TRUE. (Which is exactly the same comparison, scaled 
up.)
:
: The correct way of dealing with rounding error is for the internal logic 
to be along the lines of "IF (A-B)/A < 1E-6 THEN RETURN TRUE ELSE RETURN 
FALSE".
:
: While I'm pretty certain 6 is the wrong number, there is a concrete 
justification for it - when comparing FLOAT*4 numbers it guarantees that you 
are using the best available precision without falling over processor 
rounding artifacts. There is a similar number for FLOAT*8, which is what I 
think UV uses internally. (And I'm assuming A and B are positive, correct 
appropriately for negative numbers :-)
:
: Cheers,
: Wol
: ---
: u2-users mailing list
: u2-users@listserver.u2ug.org
: To unsubscribe please visit http://listserver.u2ug.org/
:
:
:
:
: -- 
: Internal Virus Database is out-of-date.
: Checked by AVG Anti-Virus.
: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
:
: 



-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV]Strange But True

2005-01-12 Thread Louis Windsor
Concatenating a null to the numbers doesn't achieve anything they are 
unchanged and remain floating point numbers.

Louis


- Original Message - 
From: "Matt Stern" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, January 13, 2005 12:38 AM
Subject: Re: [U2] [UV]Strange But True


: But wait, it gets even weirder!
:
: If you do the following, to make sure there's no chance of the two
: strings acting as numeric:
:
: VAL1 = "43008E-112": ""
: and
: VAL2 = "43008E-108":""
:
: the program still fails.  When you REALLY make sure you're doing a string 
compare with
:
: IF (VAL1:"" = VAL2:"") THEN
:
: it STILL FAILS!
:
: Oh well, I guess U2 has a mind of its own with regard to string compare. 
Note that the string compare works OK on most generic Pick platforms.
:
: Matthew H. Stern, CCP/CDP, [EMAIL PROTECTED]
: Serving the IT industry since 1976
: Comprehensive Computer Services Inc.
: www.comprehensive.com
: Phone: 631 755-2250, Fax 755-2254
: 560 Broad Hollow Road, Melville NY 11747
:
:
:
: Marilyn Hilb wrote:
:
: >I had this same problem with our bin locations that contained an E. I 
ended up swapping E for X before doing the compare to get the results I 
wanted.
: >
: >Thanks,
: >
: >Marilyn A. Hilb
: >Value Part, Inc
: >Direct: 847-918-6099
: >Fax: 847-367-1892
: >[EMAIL PROTECTED]
: >www.valuepart.com
: >
: > -Original Message-
: >From: Louis Windsor [mailto:[EMAIL PROTECTED]
: >Sent: Wednesday, January 12, 2005 6:20 AM
: >To: u2-users@listserver.u2ug.org
: >Subject: Re: [U2] [UV]Strange But True
: >
: >I don't know if it is intentional but the values you are comparing
: >are exponential.
: >
: >So the comparison is of two incredibly small numbers.  The
: >numbers are so small they are equal for all intents or purposes.
: >
: >My 2c worth.
: >
: >Louis
: >
: >
: >- Original Message - 
: >From: "Bjorn Behr" <[EMAIL PROTECTED]>
: >To: 
: >Sent: Wednesday, January 12, 2005 7:08 PM
: >Subject: [U2] [UV]Strange But True
: >
: >
: >: Uv Version: UniVerse 10.1
: >: OS : Windows 2003 Server
: >:
: >: Can anybody explain. I wrote a small program and the result has 
baffeled
: >me.
: >:
: >: Program:
: >:
: >: VAL1 = "43008E-112"
: >: VAL2 = "43008E-108"
: >: IF (VAL1 = VAL2) THEN
: >:CRT "THIS IS STRANGE"
: >: END
: >:
: >: It returns THIS IS STRANGE. Does anybody know why?
: >: 

: >: Regards
: >: Bjvrn Behr
: >: Programmer
: >:
: >: HYFLO Southern Africa (Pty) Ltd
: >: Tel : +27 11 386 5800
: >: Fax : +27 11 444 5391
: >: Mail: [EMAIL PROTECTED]
: >: WWW : http://www.hyflo.co.za
: >: 

: >: ---
: >: u2-users mailing list
: >: u2-users@listserver.u2ug.org
: >: To unsubscribe please visit http://listserver.u2ug.org/
: >:
: >:
: >:
: >:
: >: -- 
: >: Internal Virus Database is out-of-date.
: >: Checked by AVG Anti-Virus.
: >: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
: >:
: >:
: ---
: u2-users mailing list
: u2-users@listserver.u2ug.org
: To unsubscribe please visit http://listserver.u2ug.org/
:
:
:
:
: -- 
: Internal Virus Database is out-of-date.
: Checked by AVG Anti-Virus.
: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
:
: 



-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] I-Descriptor Print Mask Whacked

2005-01-12 Thread Brutzman, Bill
Consider line 5.  This thing prints out percentages with a built-in space
like...

10. 1
 5. 7
 3. 2

Suggestions would be appreciated.

>ED DICT SA PERCENT.CURRENT
0001: I
0002: 0002: IF (SALES.CURRENT + "0") EQ "0" THEN "0" ELSE
((SALES.CURRENT*"1000")/TRANS
  (HK.SA,'TOTAL.SALES.CURRENT',TS.DICT,'X'))
0003: MD1
0004: Pct of} Current
0005: 6R %
0006: S

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV]Strange But True

2005-01-12 Thread Allen E. Elwood
You could concatenate a Z then, guaranteed to be interpreted as a string.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Louis Windsor
Sent: Wednesday, January 12, 2005 16:13
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UV]Strange But True


Concatenating a null to the numbers doesn't achieve anything they are
unchanged and remain floating point numbers.

Louis


- Original Message -
From: "Matt Stern" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, January 13, 2005 12:38 AM
Subject: Re: [U2] [UV]Strange But True


: But wait, it gets even weirder!
:
: If you do the following, to make sure there's no chance of the two
: strings acting as numeric:
:
: VAL1 = "43008E-112": ""
: and
: VAL2 = "43008E-108":""
:
: the program still fails.  When you REALLY make sure you're doing a string
compare with
:
: IF (VAL1:"" = VAL2:"") THEN
:
: it STILL FAILS!
:
: Oh well, I guess U2 has a mind of its own with regard to string compare.
Note that the string compare works OK on most generic Pick platforms.
:
: Matthew H. Stern, CCP/CDP, [EMAIL PROTECTED]
: Serving the IT industry since 1976
: Comprehensive Computer Services Inc.
: www.comprehensive.com
: Phone: 631 755-2250, Fax 755-2254
: 560 Broad Hollow Road, Melville NY 11747
:
:
:
: Marilyn Hilb wrote:
:
: >I had this same problem with our bin locations that contained an E. I
ended up swapping E for X before doing the compare to get the results I
wanted.
: >
: >Thanks,
: >
: >Marilyn A. Hilb
: >Value Part, Inc
: >Direct: 847-918-6099
: >Fax: 847-367-1892
: >[EMAIL PROTECTED]
: >www.valuepart.com
: >
: > -Original Message-
: >From: Louis Windsor [mailto:[EMAIL PROTECTED]
: >Sent: Wednesday, January 12, 2005 6:20 AM
: >To: u2-users@listserver.u2ug.org
: >Subject: Re: [U2] [UV]Strange But True
: >
: >I don't know if it is intentional but the values you are comparing
: >are exponential.
: >
: >So the comparison is of two incredibly small numbers.  The
: >numbers are so small they are equal for all intents or purposes.
: >
: >My 2c worth.
: >
: >Louis
: >
: >
: >- Original Message -
: >From: "Bjorn Behr" <[EMAIL PROTECTED]>
: >To: 
: >Sent: Wednesday, January 12, 2005 7:08 PM
: >Subject: [U2] [UV]Strange But True
: >
: >
: >: Uv Version: UniVerse 10.1
: >: OS : Windows 2003 Server
: >:
: >: Can anybody explain. I wrote a small program and the result has
baffeled
: >me.
: >:
: >: Program:
: >:
: >: VAL1 = "43008E-112"
: >: VAL2 = "43008E-108"
: >: IF (VAL1 = VAL2) THEN
: >:CRT "THIS IS STRANGE"
: >: END
: >:
: >: It returns THIS IS STRANGE. Does anybody know why?
: >:

: >: Regards
: >: Bjvrn Behr
: >: Programmer
: >:
: >: HYFLO Southern Africa (Pty) Ltd
: >: Tel : +27 11 386 5800
: >: Fax : +27 11 444 5391
: >: Mail: [EMAIL PROTECTED]
: >: WWW : http://www.hyflo.co.za
: >:

: >: ---
: >: u2-users mailing list
: >: u2-users@listserver.u2ug.org
: >: To unsubscribe please visit http://listserver.u2ug.org/
: >:
: >:
: >:
: >:
: >: --
: >: Internal Virus Database is out-of-date.
: >: Checked by AVG Anti-Virus.
: >: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
: >:
: >:
: ---
: u2-users mailing list
: u2-users@listserver.u2ug.org
: To unsubscribe please visit http://listserver.u2ug.org/
:
:
:
:
: --
: Internal Virus Database is out-of-date.
: Checked by AVG Anti-Virus.
: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
:
:



--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Re: WinteGrate

2005-01-12 Thread Mark Johnson
FIBR is huge and I wish it were everywhere.
It's Unidata's way of FILING, BASICing and RUNning a program from within the
editor. Saves the writing of pesky utilities and/or typing everything by
hand.

Of course you could have a cycle of X3, X3 and X3 should your
last 3 TCL commands be EDIT BP XXX, BASIC BP XXX and RUN BP XXX. D3 supports
 and also  for the same effect.

I think FIB also works as expected.

My 1 cent.

PS. It's wIntegrate not WINTERgrate.

- Original Message -
From: "Brutzman, Bill" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, January 12, 2005 4:58 PM
Subject: RE: [U2] Re: WinteGrate


> What is the meaning of 'FIBR' ?
>
> --Bill
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Re: WinteGrate

2005-01-12 Thread Mark Johnson
I've installed the same exact UPS connection with WIN.PCRUN without a
problem. The only potential problem that I came into was each particular
user may have IEXPLORE in a different folder and the PC side can't find it.

I test WIN.PCRUN at TCL with the following statement:

PRINT ; CALL WIN.PCRUN("IEXPLORE","WWW.EBAY.COM")

Using a simple URL may prove if it's the URL, its syntax or the actual
mechanics of IEXPLORE.

My 1 cent.


- Original Message -
From: "Alfke, Colin" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, January 12, 2005 4:53 PM
Subject: RE: [U2] Re: WinteGrate


> George might be onto something. In DOS the & character needs to be
"escaped" using the ^. Try changing all of the & in the url to ^&.
>
> hth
> Colin Alfke
> in way too cold Calgary
>
> >-Original Message-
> >From: George Gallen
> >
> >do you need to quote the URL? with all those &'s and ?'s maybe
> >wintergate is trying to do something.
> >
> >BTW, is it supposed to be wwwapps or www.apps and just a typo
> >for the email?
> >
> >>-Original Message-
> On Behalf Of Steve Kunzman
> >>
> >>I had saved this post for future reference. The future is here. I am
> >>trying to use WIN.PCRUN to launch internet explorer to retrieve UPS
> >>package tracking information.  Their web site has changed, so
> >>I tried to
> >>paste in the new URL, but it gives me a wIntegrate message, "Unable to
> >>run specified program". This URL works if I type it in the
> >>browser. If I
> >>try to just launch the browser and view a jpeg, a simple URL
> >>(WWW.UPS.COM), or a text file, it works. Any ideas?
> >>
> >>http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVers
> >>ion=5.0&l
> >>oc=en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToT
> >>ermsAndCo
> >>nditions=yes&track.x=22&track.y=9
> >>
> >>Thanks. Steve
> >>Unidata/HP-UX
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Re: WinteGrate

2005-01-12 Thread Barry Brevik
>This URL works if I type it in the browser. If I
>try to just launch the browser and view a jpeg, a simple URL

This alternate method works well for me:

PRINT CHAR(27):CHAR(1):\Run
'http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&loc=
en_US&Requester=UPSHome&tracknum=1Z9366900308642377&AgreeToTermsAndCondition
s=yes&track.x=22&track.y=9',,,4,'open','.'\:CHAR(13):

Barry Brevik
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV]Strange But True

2005-01-12 Thread Bjorn Behr
Thanks all.

They were both part numbers on our system, but returned as the same part
number. This must have been due to UniVerse seeing it as a number not a
string. We got around this problem by goint if (val1:"x" = val2:"x") then

Thanks all for your help

Regards
Bjorn

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Behr
Sent: 12 January 2005 01:08
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV]Strange But True

Uv Version: UniVerse 10.1
OS : Windows 2003 Server

Can anybody explain. I wrote a small program and the result has baffeled me.

Program:

 VAL1 = "43008E-112" 
 VAL2 = "43008E-108" 
 IF (VAL1 = VAL2) THEN   
CRT "THIS IS STRANGE"
 END 

It returns THIS IS STRANGE. Does anybody know why?

Regards
Bjvrn Behr
Programmer

HYFLO Southern Africa (Pty) Ltd
Tel : +27 11 386 5800
Fax : +27 11 444 5391
Mail: [EMAIL PROTECTED]
WWW : http://www.hyflo.co.za

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] I-Descriptor Print Mask Whacked

2005-01-12 Thread Ray Wurlod
Try putting a backslash in front of the "%" in the format.  That is, "6R 
\%".  The percent sign has special meaning in format specifications; it means 
zero fill.  "Escaping" it with a backslash seems to do the trick.
Note that this will not handle "100.0 %", which is 7 characters long.  Maybe 
you need "7R# \%"?

- Original Message -
From: "Brutzman, Bill" <[EMAIL PROTECTED]>
To: "'u2-users@listserver.u2ug.org'" 
Subject: [U2] I-Descriptor Print Mask Whacked
Date: Wed, 12 Jan 2005 19:40:30 -0500

> 
> Consider line 5.  This thing prints out percentages with a built-in space
> like...
> 
>   10. 1
>5. 7
>3. 2
> 
> Suggestions would be appreciated.
> 
> > ED DICT SA PERCENT.CURRENT
> 0001: I
> 0002: 0002: IF (SALES.CURRENT + "0") EQ "0" THEN "0" ELSE
> ((SALES.CURRENT*"1000")/TRANS
>(HK.SA,'TOTAL.SALES.CURRENT',TS.DICT,'X'))
> 0003: MD1
> 0004: Pct of} Current
> 0005: 6R %
> 0006: S
> 
> --Bill
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [SQL] How to access the current date

2005-01-12 Thread Ray Wurlod
You may need to add the I-descriptor name to your @SELECT phrase (if you have 
one) or your @ phrase, to make it visible to SQL.

- Original Message -
From: "Noah Hart" <[EMAIL PROTECTED]>
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [SQL] How to access the current date
Date: Thu, 16 Dec 2004 08:43:45 -0800

> 
> I'm not sure an IDESC can be mapped into a SQL accessable column.  I'll try.
> 
> Noah
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] UV: Select statement problem

2005-01-12 Thread Schalk van Zyl
Any active Index? Indices up to date on both boxes?

Schalk van Zyl

On Wed, 12 Jan 2005 13:45:13 -0500, Dianne Ackerman <[EMAIL PROTECTED]> 
wrote:

> Is it possible that the UV accounts you're running on are different 
> flavors?  SELECTs in different flavors definitely work differently.
> -Dianne
>
> [EMAIL PROTECTED] wrote:
>
>> I have come across a problem with select statements behaving differently
>> between my two RISC boxes.
>>
>> I have two RS6000 machines : one for production and the other for
>> development.
>>
>> Both UV 10.0.14 and AIX 5.2
>>
>> While testing a program change on the development box, I came across a
>> situation where a SELECT statement gave me different results when 
>> compared
>> to production.  To get around this, I had to break up the SELECT 
>> statement
>> into two parts.
>>
>> My question is: "Is there a setting somewhere that is not in synch 
>> between
>> production and development machines that could cause this. If so, what?"
>>
>> Please accept the fact that the contents of the SELECT statement are 
>> good
>> (I'd rather not  explain the definitions of the dictionary items or the
>> contents of the phrase "PHRASE"
>>
>>
>>
>> 0117:   STATEMENT = 'SELECT DB.PSES WITH SUB.ID = "':ACTUAL.ID:'" 
>> AND
>> WITH  TRANS.DT = "" AND WITH ISSUE.DT <= "':ISSUE.DT:'" AND WITH 
>> ACCOUNT #
>> 600 AND WITH ACCOUNT # 506 AND WITH @ID UNLIKE DEL... ':PHRASE
>>
>> 0118:   STATEMENT:[EMAIL PROTECTED]:"SAVE.LIST 
>> PSES.TAPE.":ISSUE.DT:".":SUB.ID
>>
>> 0119:   EXECUTE STATEMENT
>>
>> 0 record(s) selected to SELECT list #0.
>>
>> 0 record(s) SAVEd to SELECT list "PSES.TAPE.03/31/02.M".
>>
>>
>> This does work:
>>
>>
>> 0117:   STATEMENT = 'SELECT DB.PSES WITH SUB.ID = "':ACTUAL.ID:'" 
>> AND
>> WITH  TRANS.DT = "" AND WITH ISSUE.DT <= "':ISSUE.DT:'"'
>>
>> 0118: STATEMENT:[EMAIL PROTECTED]:'SELECT DB.PSES  WITH ACCOUNT # 600 AND 
>> WITH 
>> ACCOUNT #
>> 506   AND WITH @ID UNLIKE DEL... ':PHRASE:' SELECT.ONLY'
>>
>> 0119:   STATEMENT:[EMAIL PROTECTED]:"SAVE.LIST 
>> PSES.TAPE.":ISSUE.DT:".":SUB.ID
>>
>> 0120:   EXECUTE STATEMENT
>>
>> 265 record(s) selected to SELECT list #0.
>>
>> 265 record(s) selected to SELECT list #0.
>>
>> 265 record(s) SAVEd to SELECT list "PSES.TAPE.03/31/02.M".
>>
>>
>> On my production machine, the first statement works and yields the same
>> results as the second statement from development
>>
>>
>> Thanks
>>
>> Jim
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
>



-- 
Schalk van Zyl

-
GWK BEPERK/LIMITED (REG: 1997/022252/06)
POSBUS 47 PO BOX 8730
DOUGLAS

Direkteure/Directors: NB Jacobs, FJ Lawrence, J v/d S Botes,
JH Coetzee, JGD Smit, JF Jacobs, AO M|ller, JW Smit,
WG M|lke, JG Stander, JH van Dyk(MD/BD), JG Jacobs, A M|ller, M van Zyl, 
Sekr/Secr: E van Niekerk.

Hierdie e-pos is onderworpe aan 'n vrywaring beskikbaar by:
http://www.gwk.co.za/DisclaimerVrywaring.asp
This e-mail is subjected to the disclaimer that can be viewed at:
http://www.gwk.co.za/DisclaimerVrywaring.asp
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/