Re: [U2] Determining double-byte status of a character

2007-12-20 Thread Craig Bennett

Bob,

can you use the UNISEQ function? or failing that BYTEVAL (testing for 
the multibyte character start byte)?



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


RE: [U2] IBM web site

2007-12-20 Thread Symeon Breen
I donbt remember it ever being on the uk site - certainly not in the past 2 or 
3 years. I have always had to go to the .com site to get to u2.


Symeon.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Phillips
Sent: 20 December 2007 19:46
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] IBM web site

Hi David,

>I found the U2 products in a couple of clicks (well, 4 anyway...) on the
> site...
>
> Home Page (which for us is www.ibm.com/us/) > Products > Software by
> category > Data & Database management Tools  U2 is alphabetically at 
> the
> end...

Interesting. You are right that U2 is still on the US web site but it 
appears not to be on the UK site. At least, I cannot find it.


Martin Phillips
Ladybridge Systems Ltd
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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] anyone seen this error before?

2007-12-20 Thread Hona, David S
cron is an OS background job processor & scheduler and is not supported
by IBM U2 Support.
PHANTOM verb is a background job processor and is part of IBM U2 and is
supported, but of course with no scheduling.

Depends on what you are trying to achieve, I guess. One you're going to
get support for from the vendor, the other you use at your own risk.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of doug chanco
Sent: Friday, December 21, 2007 2:55 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] anyone seen this error before?

thanks!  but I am curious is this a better solution than just using
PHANTOM in the shell script?

dougc

Hona, David S wrote:
> Here is Dave Church's solution/workaround to address the long 
> outstanding UV & cron issue, it's a little C program...
>
> -Original Message-
> From: Hona, David S
> Sent: Thursday, January 19, 2006 9:02 PM
> To: 'u2-users@listserver.u2ug.org'
> Subject: RE: [U2] [UV] Calling Universe from CRON
>
> I believe that issue is still there...haven't check lately...
>  
> Dave Church wrote & posted this C code on Info-Ardent and in 
> comp.databases.pick to solve the problem...
>
>
> /* This c routine can be used to start universe processes 
>in cron or at.  Normally only one process can run at a 
>time because they use the same printer memory segment. 
>simply replace the 'uv' command with 'uvcron' for example: 
>uvcron 'BATCH-REPORT1' > dave.mail */ #define UCB 0  /* set to 0 
> for System V or 1 for Berkeley */ main (argc, argv, envp) int argc; 
> char *argv[], *envp[]; { #if UCB
> (void)setpgrp(0,getpid());
> #else 
> (void)setpgrp();
> #endif
> /* CHANGE PATH TO MATCH YOUR INSTALLATION */ 
> (void)execve("/u1/uv/bin/uv",argv,envp);
> /* We should never come back here */
> printf("exec failed \n");
> exit(-1);
>
>
>
> }   
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] IBM web site

2007-12-20 Thread DAVID WOLVERTON
And you are totally correct -- I just went to www.ibm.com/uk/ (just
guessing, and it worked!)

And - nope - no mention anywhere... And searches for UniVerse just turns up
training - no product pages.

Is that odd?  Someone from IBM should be chiming in about now lest we start
suspecting we've been sold again and this time no one told us!! 

David W. 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Martin Phillips
> Sent: Thursday, December 20, 2007 1:46 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] IBM web site
> 
> Hi David,
> 
> >I found the U2 products in a couple of clicks (well, 4 anyway...) on 
> >the  site...
> >
> > Home Page (which for us is www.ibm.com/us/) > Products > 
> Software by 
> > category > Data & Database management Tools  U2 is 
> alphabetically 
> > at the end...
> 
> Interesting. You are right that U2 is still on the US web 
> site but it appears not to be on the UK site. At least, I 
> cannot find it.
> 
> 
> Martin Phillips
> Ladybridge Systems Ltd
> 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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] PORT.STSTUS ?

2007-12-20 Thread rbl000
Sounds like an interesting project, but you're on the wrong line number.  The 
0x178 refers to the hex addresses in the VLIST output.  On my system the hex 
addresses are the second set of numbers on each line (00760 and 00766 in your 
example).  You could then grab the first numbers on the line, which are the 
source code line numbers, and grab that line from your source code.

Sincerely Best Regards,

Richard Lewis


 --- On Thu 12/20, Doug Chanco < [EMAIL PROTECTED] > wrote:
From: Doug Chanco [mailto: [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Date: Thu, 20 Dec 2007 08:29:10 -0500
Subject: [U2] PORT.STSTUS ?

Hey all,

I am trying to replace the PORT.STATUS command with one that would
replace

[ BUILD.TR.TAG @ 0x178 ]

With

[BUILD.TR.TAG]
<178> FOR LINE.CNT = 1 TO LINE.NO

>From the VLIST command I assume that the above 0x178 refers to one of
the below (the first I assume) I am just curious as to what the two
lines following mean

00178: FOR LINE.CNT = 1 TO LINE.NO
00178 00760 : 0F8 move 0 => LINE.CNT
00178 00766 : 098 forincr LINE.CNT LINE.NO 1 0087C:

It look kind of like assembly instructions
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

___
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] anyone seen this error before?

2007-12-20 Thread Perry Taylor
One disadvantage to using PHANTOM is the challenges required to retrieve
the output from the program.  For example, suppose you needed to get
some piece of data from UniVerse to use in a shell script, say the email
address to which to mail a report.  The BASIC program MAILTO.LOOKUP does
the lookup and CRT's the email address.  Using uvcron you could do the
following...

mail_to=$(cd $your_uv_account_dir && uvcron 'RUN BP
MAILTO.LOOKUP')

This would be much more difficult to retrieve if MAILTO.LOOKUP were run
as a PHANTOM.

Perry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of doug chanco
Sent: Thursday, December 20, 2007 10:55 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] anyone seen this error before?

thanks!  but I am curious is this a better solution than just using 
PHANTOM in the shell script?

dougc

Hona, David S wrote:
> Here is Dave Church's solution/workaround to address the long
> outstanding UV & cron issue, it's a little C program...
>
> -Original Message-
> From: Hona, David S 
> Sent: Thursday, January 19, 2006 9:02 PM
> To: 'u2-users@listserver.u2ug.org'
> Subject: RE: [U2] [UV] Calling Universe from CRON
>
> I believe that issue is still there...haven't check lately...
>  
> Dave Church wrote & posted this C code on Info-Ardent and in
> comp.databases.pick to solve the problem...
>
>
> /* This c routine can be used to start universe processes 
>in cron or at.  Normally only one process can run at a 
>time because they use the same printer memory segment. 
>simply replace the 'uv' command with 'uvcron' for example: 
>uvcron 'BATCH-REPORT1' > dave.mail */ #define UCB 0  /* set to 0
for
> System V or 1 for Berkeley */ main (argc, argv, envp) int argc; char
> *argv[], *envp[]; { #if UCB 
> (void)setpgrp(0,getpid());
> #else 
> (void)setpgrp();
> #endif
> /* CHANGE PATH TO MATCH YOUR INSTALLATION */
> (void)execve("/u1/uv/bin/uv",argv,envp);
> /* We should never come back here */
> printf("exec failed \n");
> exit(-1); 
>
>
>
> }   
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Clifton
Oliver
> Sent: Tuesday, December 18, 2007 3:20 AM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] anyone seen this error before?
>
> Because that id is used to determine the id of the printer memory
> segment for the process. If you have two UV processes with the same
> gpid, they end up sharing the memory segment. This is where your MFILE
> structures are stored (rotating file pool), among other things.  
> Pointers get mixed up, and you end up getting some files data written
> into a completely different file, usually corrupting the group or even
> the file header, depending on how angry the computer gods are that
day.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health Information, 
any communications containing such material will be returned to the originating 
party with such advisement noted. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] IBM web site

2007-12-20 Thread Martin Phillips

Hi David,


I found the U2 products in a couple of clicks (well, 4 anyway...) on the
site...

Home Page (which for us is www.ibm.com/us/) > Products > Software by
category > Data & Database management Tools  U2 is alphabetically at 
the

end...


Interesting. You are right that U2 is still on the US web site but it 
appears not to be on the UK site. At least, I cannot find it.



Martin Phillips
Ladybridge Systems Ltd
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] IBM web site

2007-12-20 Thread Bob Little
I did notice that when I typed in http://www.ibm.com, I was redirected to 
http://www.ibm.com/sandbox/homepage/version-b/, which I don't recall having 
seen before.

Maybe they're upgrading or something.

-bob


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Phillips
Sent: Thursday, December 20, 2007 11:01 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] IBM web site

Hopefully nothing sinister here but has anyone else noticed that the U2
products appear to have vanished from IBM's product list on their web site.
Martin Phillips
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] IBM web site

2007-12-20 Thread Lettau, Jeff
I'll throw out a guess that they are making some changes to the layout
and everything is just out of wack.  I tried to get to www.ibm.com and
got nothing with it trying to access
http://www.ibm.com/sandbox/homepage/version-a/

Jeffrey Lettau 
ERP Systems Manager 
polkaudio


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin Phillips
Sent: Thursday, December 20, 2007 11:01 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] IBM web site

Hopefully nothing sinister here but has anyone else noticed that the U2
products appear to have vanished from IBM's product list on their web
site.
Support and training are still available but I cannot find any reference
in
the areas one would visit as a prospective purchaser.

Added to the absence of IBM from the latest published list of exhibitors
at
the 2008 Spectrum conference, this gives what is hopefully the wrong
impression.

Meanwhile, to answer the question I was trying to resolve, does anyone
have
an up to date end user price for UniVerse?


Martin Phillips
Ladybridge Systems Ltd
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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] IBM web site [not-secure]

2007-12-20 Thread Hennessey, Mark F.
I have to revise my earlier note. I simply clicked on "Software by
category", selected data servers, and there, at the bottom of the
list... are UniData and UniVerse...  But I'm sure being at the bottom of
the list is simply a trick of the alphabet...  :)

-Original Message-
From: Hennessey, Mark F. 
Sent: Thursday, December 20, 2007 1:29 PM
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] IBM web site [not-secure] 

Well, not totally absent. I did find it UniVerse and UniData in the
Software A-Z listing:

http://www-306.ibm.com/software/data/sw-atoz/indexU.html 

But just like the rest of their U2 web-presence, you sort of have to
know what you are looking for. This is probably due to their market
research - They THINK they know how U2 databases are sold. "Company X is
looking for solution Y; they don't care if it's on database Z."  


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


RE: [U2] IBM web site - Missing U2 Is Not Missing

2007-12-20 Thread Brenda Price
You can find the U2 products at ibm.com by clicking on the products,
then by both of the following ways:

1: by clicking on the Software A-Z, then on U.  

2: by clicking on Software by category, then Data Servers (Database
Management Systems).

It sure would be easier to get to if it was in the drop down box for
software by brand.

We had to get prices from our Var.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] IBM web site [not-secure]

2007-12-20 Thread Hennessey, Mark F.
Well, not totally absent. I did find it UniVerse and UniData in the
Software A-Z listing:

http://www-306.ibm.com/software/data/sw-atoz/indexU.html 

But just like the rest of their U2 web-presence, you sort of have to
know what you are looking for. This is probably due to their market
research - They THINK they know how U2 databases are sold. "Company X is
looking for solution Y; they don't care if it's on database Z."  


Mark Hennessey

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin Phillips
Sent: Thursday, December 20, 2007 11:01 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] IBM web site

Hopefully nothing sinister here but has anyone else noticed that the U2
products appear to have vanished from IBM's product list on their web
site.
Support and training are still available but I cannot find any reference
in the areas one would visit as a prospective purchaser.

Added to the absence of IBM from the latest published list of exhibitors
at the 2008 Spectrum conference, this gives what is hopefully the wrong
impression.

Meanwhile, to answer the question I was trying to resolve, does anyone
have an up to date end user price for UniVerse?


Martin Phillips
Ladybridge Systems Ltd
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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] IBM web site

2007-12-20 Thread Richard Nuckolls
I cannot say that it is on the front page, but I had no trouble  
finding it in menus at the Products>Software>Software by Catagory>  
Data & Database Management Tools Page. :-D


-Rick Nuckolls
Lynden Inc


On Dec 20, 2007, at 8:00 AM, Martin Phillips wrote:

Hopefully nothing sinister here but has anyone else noticed that  
the U2
products appear to have vanished from IBM's product list on their  
web site.
Support and training are still available but I cannot find any  
reference in

the areas one would visit as a prospective purchaser.

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


RE: [U2] IBM web site

2007-12-20 Thread David Wolverton
I found the U2 products in a couple of clicks (well, 4 anyway...) on the
site...

Home Page (which for us is www.ibm.com/us/) > Products > Software by
category > Data & Database management Tools  U2 is alphabetically at the
end...

David W. 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Martin Phillips
> Sent: Thursday, December 20, 2007 10:01 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] IBM web site
> 
> Hopefully nothing sinister here but has anyone else noticed 
> that the U2 products appear to have vanished from IBM's 
> product list on their web site.
> Support and training are still available but I cannot find 
> any reference in the areas one would visit as a prospective purchaser.
> 
> Added to the absence of IBM from the latest published list of 
> exhibitors at the 2008 Spectrum conference, this gives what 
> is hopefully the wrong impression.
> 
> Meanwhile, to answer the question I was trying to resolve, 
> does anyone have an up to date end user price for UniVerse?
> 
> 
> Martin Phillips
> Ladybridge Systems Ltd
> 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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] IBM web site

2007-12-20 Thread Jerry Banker
I found them in both the a-z listing and products by category Data
Servers (Database Management Systems) where were you looking.

Jerry Banker
Sr Programmer Analyst
Affiliated Acceptance Corp
Sunrise Beach, MO
1-800-233-8483
www.affiliated.org
> -Original Message-
> From: Martin Phillips [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 20, 2007 10:01 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] IBM web site
> 
> Hopefully nothing sinister here but has anyone else noticed that the
U2
> products appear to have vanished from IBM's product list on their web
site.
> Support and training are still available but I cannot find any
reference in
> the areas one would visit as a prospective purchaser.
> 
> Added to the absence of IBM from the latest published list of
exhibitors at
> the 2008 Spectrum conference, this gives what is hopefully the wrong
> impression.
> 
> Meanwhile, to answer the question I was trying to resolve, does anyone
have
> an up to date end user price for UniVerse?
> 
> 
> Martin Phillips
> Ladybridge Systems Ltd
> 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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Determining double-byte status of a character

2007-12-20 Thread Bob Little
Hello,

 

Is there any way for UniVerse BASIC to determine whether or not a given 
character is a double byte character or a single byte character?

Put another way: I need to determine programmatically, on an NLS enabled 
machine, whether Ibm reading a Chinese character or an English character.

 

Any clues would be greatly appreciated.

 

Bob Little

UniVerse Developer

Market America

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


Re: [U2] anyone seen this error before?

2007-12-20 Thread doug chanco
thanks!  but I am curious is this a better solution than just using 
PHANTOM in the shell script?


dougc

Hona, David S wrote:

Here is Dave Church's solution/workaround to address the long
outstanding UV & cron issue, it's a little C program...

-Original Message-
From: Hona, David S 
Sent: Thursday, January 19, 2006 9:02 PM

To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] [UV] Calling Universe from CRON

I believe that issue is still there...haven't check lately...
 
Dave Church wrote & posted this C code on Info-Ardent and in

comp.databases.pick to solve the problem...


/* This c routine can be used to start universe processes 
   in cron or at.  Normally only one process can run at a 
   time because they use the same printer memory segment. 
   simply replace the 'uv' command with 'uvcron' for example: 
   uvcron 'BATCH-REPORT1' > dave.mail */ #define UCB 0  /* set to 0 for

System V or 1 for Berkeley */ main (argc, argv, envp) int argc; char
*argv[], *envp[]; { #if UCB 
(void)setpgrp(0,getpid());
#else 
(void)setpgrp();

#endif
/* CHANGE PATH TO MATCH YOUR INSTALLATION */
(void)execve("/u1/uv/bin/uv",argv,envp);
/* We should never come back here */
printf("exec failed \n");
exit(-1); 




}   





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Clifton Oliver
Sent: Tuesday, December 18, 2007 3:20 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] anyone seen this error before?

Because that id is used to determine the id of the printer memory
segment for the process. If you have two UV processes with the same
gpid, they end up sharing the memory segment. This is where your MFILE
structures are stored (rotating file pool), among other things.  
Pointers get mixed up, and you end up getting some files data written

into a completely different file, usually corrupting the group or even
the file header, depending on how angry the computer gods are that day.

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


[U2] IBM web site

2007-12-20 Thread Martin Phillips

Hopefully nothing sinister here but has anyone else noticed that the U2
products appear to have vanished from IBM's product list on their web site.
Support and training are still available but I cannot find any reference in
the areas one would visit as a prospective purchaser.

Added to the absence of IBM from the latest published list of exhibitors at
the 2008 Spectrum conference, this gives what is hopefully the wrong
impression.

Meanwhile, to answer the question I was trying to resolve, does anyone have
an up to date end user price for UniVerse?


Martin Phillips
Ladybridge Systems Ltd
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] PORT.STSTUS ?

2007-12-20 Thread doug chanco

thanks!

dougc

Brian Leach wrote:

Doug

You're on the right lines - it's a human readable form of the pcode that 
UniVerse creates when it compiles the program : basically each of the 
operations that the code will perform. If VLIST can't find the source code (or 
it's out of step) you'll only see those instructions. But it's still pretty 
readable.

So:

Move 0 into the variable LINE.CNT
increment LINE.CNT by 1 testing against LINE.NO or jump to address 87C (which 
will be the point after the NEXT).

Brian


Hey all,

I am trying to replace the PORT.STATUS command with one that would
replace



[ BUILD.TR.TAG @ 0x178 ]



With



[BUILD.TR.TAG]

<178> FOR LINE.CNT = 1 TO LINE.NO



>From the VLIST command I assume that the above 0x178 refers to one of
the below (the first I assume) I am just curious as to what the two
lines following mean



00178:  FOR LINE.CNT = 1 TO LINE.NO

00178 00760 : 0F8 move   0  => LINE.CNT

00178 00766 : 098 forincrLINE.CNT LINE.NO 1 0087C:



It look kind of like assembly instructions
---
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] PORT.STSTUS ?

2007-12-20 Thread Brian Leach
Doug

You're on the right lines - it's a human readable form of the pcode that 
UniVerse creates when it compiles the program : basically each of the 
operations that the code will perform. If VLIST can't find the source code (or 
it's out of step) you'll only see those instructions. But it's still pretty 
readable.

So:

Move 0 into the variable LINE.CNT
increment LINE.CNT by 1 testing against LINE.NO or jump to address 87C (which 
will be the point after the NEXT).

Brian


Hey all,

I am trying to replace the PORT.STATUS command with one that would
replace



[ BUILD.TR.TAG @ 0x178 ]



With



[BUILD.TR.TAG]

<178> FOR LINE.CNT = 1 TO LINE.NO



>From the VLIST command I assume that the above 0x178 refers to one of
the below (the first I assume) I am just curious as to what the two
lines following mean



00178:  FOR LINE.CNT = 1 TO LINE.NO

00178 00760 : 0F8 move   0  => LINE.CNT

00178 00766 : 098 forincrLINE.CNT LINE.NO 1 0087C:



It look kind of like assembly instructions
---
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] selection of multivalued field based on range

2007-12-20 Thread Charles_Shaffer
>>WHEN only works with BY.EXP and is not associated with WITH .   You can 
have
>>bunches of WITH's, but only the first WHEN gets evaluated.  At least 
with
>>the versions I've worked with.

>>And that's on Unidata!

Thanks Allen.  I have always thought that WHEN was a synonym for WITH and 
used WITH.   I have learned something today.  I'm going home now.  My 
limit is one thing a day.

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] PORT.STSTUS ?

2007-12-20 Thread Doug Chanco
Hey all,

I am trying to replace the PORT.STATUS command with one that would
replace



[ BUILD.TR.TAG @ 0x178 ]



With



[BUILD.TR.TAG]

<178> FOR LINE.CNT = 1 TO LINE.NO



>From the VLIST command I assume that the above 0x178 refers to one of
the below (the first I assume) I am just curious as to what the two
lines following mean



00178:  FOR LINE.CNT = 1 TO LINE.NO

00178 00760 : 0F8 move   0  => LINE.CNT

00178 00766 : 098 forincrLINE.CNT LINE.NO 1 0087C:



It look kind of like assembly instructions
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] selection of multivalued field based on range

2007-12-20 Thread Brian Leach
Guys

To return to my earlier post:

WHEN is an output limiter. It limits the output of values, so it will work
if you want to LIST those records by suppressing the output of the
individual values that don't match. But it won't work in a SELECT in this
case, unless you are already exploding, since the select will still vector
each half of the test independently.

Sadly, RetrieVe doesn't support BETWEEN - but SQL does. And it can generate
a select list, so you can use that.

SELECT @ID TO SLIST 0 WHERE (QTY BETWEEN 1000 AND 2000);
>> nn records selected 

(Why does nobody ever use the SQL in UniVerse?  It's not like using it
in Oracle you know...)

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