RE: recursive values

2004-02-20 Thread Peter Olson
is this one record or two records ?



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

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


RE: u2 maintenance agreements

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

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









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

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


RE: [UD] 8 Bite Integers

2004-03-04 Thread Peter Olson
INT( AMOUNT ) ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Fawaz Ashraff
Sent: Thursday, March 04, 2004 2:43 PM
To: U2 Users Discussion List
Subject: RE: [UD] 8 Bite Integers


Hi David,

Thanks for the info. May be I didn't explain my
problem correctly. I have a Unidata numeric field
(Amount- 100.00 or -100.00) and I need to convert it
to a 8 Bite integer so that Informix will recognise
it.

Cheers

Fawaz
--- Logan, David (SST - Adelaide)  wrote:
 Hi Fawaz,
 
 Is this what you are looking for?
 
 SEQ function
 
 Syntax
 SEQ (expression)
 
 Description
 
 Use the SEQ function to convert an ASCII character
 to its numeric string
 equivalent. Expression evaluates to the ASCII
 character to be converted.
 If expression
 evaluates to the null value, null is returned.
 
 The SEQ function is the inverse of the CHAR
 function.
 
 In NLS mode, use the UNISEQ function to return
 Unicode values in the
 range
 x0080 through x00F8.
 
 Using the SEQ function to convert a character
 outside its range results
 in a
 run-time message, and the return of an empty string.
 
 For more information about these ranges, see the
 UniVerse NLS Guide.
 PICK, IN2, and REALITY Flavors
 
 In PICK, IN2, and REALITY flavors SEQ( ) is 255
 instead of 0. In IDEAL
 and
 INFORMATION flavor accounts, use the SEQ.255 option
 of the $OPTIONS
 statement to cause SEQ( ) to be interpreted as
 255.
 
 Example
 G=T
 A=SEQ(G)
 PRINT A, A+1
 PRINT SEQ(G)
 11-632 UniVerse BASIC
 /productinfo/alldoc/UNIVERSE10/basic/Ch11
 1/9/02
 
 This is the program output:
 84 85
 71
 
 Regards
 
 David Logan
 Database Administrator
 HP Managed Services
 139 Frome Street,
 Adelaide 5000
 Australia
 
 +61 8 8408 4273
 +61 417 268 665
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 On Behalf Of Fawaz Ashraff
 Sent: Friday, 5 March 2004 5:34 AM
 To: U2 Users Discussion List
 Subject: [UD] 8 Bite Integers
 
 
 Good Afternoon.
 
 We are moving part of our application to
 Informix(From
 Unidata). I need to convert some of the data Fields
 to
 8 bite Integers through a UniBasic program and write
 it to a flat file. Having problem converting data to
 8
 Bite Integers. Any suggestions would be highly
 appreciated.
 
 Cheers
 
 Fawaz
 
 
 __
 Do you Yahoo!?
 Yahoo! Search - Find what you're looking for faster
 http://search.yahoo.com
 -- 
 u2-users mailing list
 [EMAIL PROTECTED]
 http://www.oliver.com/mailman/listinfo/u2-users
 --
 u2-users mailing list
 [EMAIL PROTECTED]
 http://www.oliver.com/mailman/listinfo/u2-users


__
Do you Yahoo!?
Yahoo! Search - Find what you're looking for faster
http://search.yahoo.com
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


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

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


RE: [UV] Re: SPOOLER NUMBER

2004-03-04 Thread Peter Olson
maybe

SUBROUTINE( LONGID, USER )

   LSCMD = 'ls -lt /uvwork/spool | grep USER  
   SHCMD = 'sh -c ':QUOTE(LSCMD)

   EXECUTE SHCMD CAPTURING STUFF

   LONGID = TRIM( STUFF 1,1  ) 
   LONGID = FIELD( LONGID , ' ' , DCOUNT( LONGID ,' ' ) ) 
   RETURN


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of John Hester
Sent: Thursday, March 04, 2004 2:10 PM
To: U2 Users Discussion List
Subject: [UV] Re: SPOOLER NUMBER


Alan Yockey wrote:

  I am also interested in ways to manipulate spool files in Universe? The
spool number would be a big help so I could use usm commands to redirect
output externally to the report program which produced the spool file. 
 Universe 9.3 on DGUX 
 
 Is there a function with universe / basic to tell me the id of the last
print job generated from my current uv login?
 
 Universe 10.0.13
 RedHat Linux 8.0
 
 
 Alan  Jayne Yockey
 [EMAIL PROTECTED]

I don't know of a UV function that does this, but you can use find at 
the unix level to get a list of spooler numbers for a particular user. 
This will put all spooler file names for a user into an array:

EXECUTE 'SH -c find /usr/spool/uv -user ':@LOGNAME:'', OUT  SPOOL.ARR

Assuming the above path is where the UV spooler files reside on your 
system, the following will give you the UV spooler number from the file 
name:

SPOOL.NO = FIELD(SPOOL.ARRATTR.NO,'/',5)[3,5]

Finding the most recent one could be kind of a pain if you have frequent 
deletion of spooler files.  Otherwise you could just assume the highest 
numbered one is the most recent.  Capturing output from ls -l on each 
filename will give you the time/date last modified.

-John









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


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

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


RE: [UV] Re: SPOOLER NUMBER

2004-03-04 Thread Peter Olson
doh!

 LSCMD = 'ls -lt /uvwork/spool | grep ':USER  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Peter Olson
Sent: Thursday, March 04, 2004 4:19 PM
To: 'U2 Users Discussion List'
Subject: RE: [UV] Re: SPOOLER NUMBER


maybe

SUBROUTINE( LONGID, USER )

   LSCMD = 'ls -lt /uvwork/spool | grep USER  
   SHCMD = 'sh -c ':QUOTE(LSCMD)

   EXECUTE SHCMD CAPTURING STUFF

   LONGID = TRIM( STUFF 1,1  ) 
   LONGID = FIELD( LONGID , ' ' , DCOUNT( LONGID ,' ' ) ) 
   RETURN


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of John Hester
Sent: Thursday, March 04, 2004 2:10 PM
To: U2 Users Discussion List
Subject: [UV] Re: SPOOLER NUMBER


Alan Yockey wrote:

  I am also interested in ways to manipulate spool files in Universe? The
spool number would be a big help so I could use usm commands to redirect
output externally to the report program which produced the spool file. 
 Universe 9.3 on DGUX 
 
 Is there a function with universe / basic to tell me the id of the last
print job generated from my current uv login?
 
 Universe 10.0.13
 RedHat Linux 8.0
 
 
 Alan  Jayne Yockey
 [EMAIL PROTECTED]

I don't know of a UV function that does this, but you can use find at 
the unix level to get a list of spooler numbers for a particular user. 
This will put all spooler file names for a user into an array:

EXECUTE 'SH -c find /usr/spool/uv -user ':@LOGNAME:'', OUT  SPOOL.ARR

Assuming the above path is where the UV spooler files reside on your 
system, the following will give you the UV spooler number from the file 
name:

SPOOL.NO = FIELD(SPOOL.ARRATTR.NO,'/',5)[3,5]

Finding the most recent one could be kind of a pain if you have frequent 
deletion of spooler files.  Otherwise you could just assume the highest 
numbered one is the most recent.  Capturing output from ls -l on each 
filename will give you the time/date last modified.

-John









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


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

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


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

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


RE: Crazy intermittent problem. Need help as soon as possible.

2004-03-18 Thread Peter Olson
can you show us some code ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Dave Tabor
Sent: Thursday, March 18, 2004 4:18 PM
To: U2 Users Discussion List
Subject: Crazy intermittent problem. Need help as soon as possible.


Hi, Everyone.

I'm having trouble with a scheduling program I'm writing in VB.net, on a
WinXPpro system, using UniObjects, that extracts and writes data to a file
in our Unidata 6.0.3 system on an AIX 5.1L system.

The trouble that I'm having is that the data is getting corrupted.  As the
screen doesn't rebuild after a data save, I don't 'see' the problem until I
restart the program the next time around, and data is re-read from the
database.  

I've been through my program 3 times, and can't find an error.  I'm assuming
at this point that the error is outside my program, as I ran the same test
data through the program 5 times, and it only corrupted the data 3 times.
The other two it worked flawlessly.  If it was an error in my program, it
shouldn't ever work right, should it?

Also, the program treats every record equally, but the data is
intermittently corrupted, some records process fine, others get corrupted.
Some fields are lost all together.

Fortunately it's still in test mode, so we haven't lost any real data yet.

The data is doing things like this:

Record 1:   Record 2:
DelDate:03/18/0403/18/04 --OK
SeqNo:  3   3--OK
Type:   F   0   These two are mixed
together (* see below)
Hours:  0h  hF  ---/
Code:   -= This one is GONE
Color:  BlueWBluThese two are mixed together (*
see below)
Symbol: W   e   ---/
Emp:1= This one is
GONE!
RelNo:  01234567001 N0123456700 These two are mixed together (*
see below)
Priority:   N   1   ---/

(* HERE!)  
At first, I thought that the data was being broken up at the wrong points,
but after a closer look, it appears that this is happening.  In each three
line group:
Line1:  Starts with the first character of line two, and loses it's last
character.
Line2:  Loses it's first character to line 1, and gains the last character
of line 1 at the end of it's data.
Line3:  Data is gone (unless it's a space character)

It's really crazy.

Anyone have any ideas for this one?  If so, any help is appreciated.

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


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

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


RE: Optimisation ?

2004-03-25 Thread Peter Olson
LOL...

I can't get this to get out of the loop!!!

the trim crt'ed pretty quick... neat!

: L23   
0001:   PETE = 'THIS}IS }}}A TEST}}}'   
0002:   CRT TRIM( PETE , @VM )  
0003:   REC = PETE  
0004:   MAX = DCOUNT( REC 1  , @VM )  
0005:   FOR LOP=1 TO MAX
0006:  IF REC1,LOP = '' THEN  
0007: REC=DELETE(REC,1,LOP,0)   
0008: IF LOP = MAX THEN GO 300  
0009: LOP=LOP-1 
0010:  END  
0011:   NEXT LOP
0012: 300:  
0013:   CRT REC 



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Jonathan Leckie
Sent: Thursday, March 25, 2004 7:29 AM
To: [EMAIL PROTECTED]
Subject: Optimisation ?


I have the following piece of code :

IF REC1 £ '' THEN
  MAX=DCOUNT(REC1,VM)
  FOR LOP=1 TO MAX
IF REC1,LOP = '' THEN
  REC=DELETE(REC,1,LOP,0)
  IF LOP = MAX THEN GO 300
  LOP=LOP-1
END
  NEXT LOP
END

I wonder could this simply be replaced with :

IF REC1 £ '' THEN
  REC1=TRIM(REC1,@VM)
  GO 300
END

Can anyone see any problems with using TRIM to remove trailing, repeated and
initial value markers and therefore achieving the same effect without
looping through each multi-value?  This is on Unidata 3.3.2 incidentally.



-- 


* This message has been scanned for viruses and dangerous content by  
* Blairs of Scotland MailScanner, and is believed to be clean.
*   
* This email and any files transmitted with it are confidential and 
* intended solely for the use of the individual or entity to which they
* are addressed.
*
* If you have received this email in error please notify us at Blairs
* of Scotland via email at [EMAIL PROTECTED]


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


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

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


RE: Optimisation ?

2004-03-25 Thread Peter Olson
i did a cut and paste with the code. by the way, it's still running! so
i think in some cases the trim would be a little quicker :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Anthony Youngman
Sent: Thursday, March 25, 2004 7:47 AM
To: U2 Users Discussion List
Subject: RE: Optimisation ?


After you decrement LOP, you need to decrement MAX. Otherwise the loop will
be unable to get beyond 4.

Think about it - as soon as you delete a null value, you are guaranteeing
that if null will be true on your last pass, thereby decrementing LOP and
requiring another pass, which will do the same, which will do the same ...

That's why I ALWAYS do a FOR I = MAX TO 1 STEP -1 style loop when coding
this sort of stuff ...

Bit slower, but far harder to mess up ...

Cheers,
Wol

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Olson
Sent: 25 March 2004 12:41
To: 'U2 Users Discussion List'
Subject: RE: Optimisation ?

LOL...

I can't get this to get out of the loop!!!

the trim crt'ed pretty quick... neat!

: L23   
0001:   PETE = 'THIS}IS }}}A TEST}}}'   
0002:   CRT TRIM( PETE , @VM )  
0003:   REC = PETE  
0004:   MAX = DCOUNT( REC 1  , @VM )  
0005:   FOR LOP=1 TO MAX
0006:  IF REC1,LOP = '' THEN  
0007: REC=DELETE(REC,1,LOP,0)   
0008: IF LOP = MAX THEN GO 300  
0009: LOP=LOP-1 
0010:  END  
0011:   NEXT LOP
0012: 300:  
0013:   CRT REC 



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Jonathan Leckie
Sent: Thursday, March 25, 2004 7:29 AM
To: [EMAIL PROTECTED]
Subject: Optimisation ?


I have the following piece of code :

IF REC1 £ '' THEN
  MAX=DCOUNT(REC1,VM)
  FOR LOP=1 TO MAX
IF REC1,LOP = '' THEN
  REC=DELETE(REC,1,LOP,0)
  IF LOP = MAX THEN GO 300
  LOP=LOP-1
END
  NEXT LOP
END

I wonder could this simply be replaced with :

IF REC1 £ '' THEN
  REC1=TRIM(REC1,@VM)
  GO 300
END

Can anyone see any problems with using TRIM to remove trailing, repeated and
initial value markers and therefore achieving the same effect without
looping through each multi-value?  This is on Unidata 3.3.2 incidentally.



-- 


* This message has been scanned for viruses and dangerous content by  *
Blairs of Scotland MailScanner, and is believed to be clean.*

* This email and any files transmitted with it are confidential and 
* intended solely for the use of the individual or entity to which they
* are addressed.
*
* If you have received this email in error please notify us at Blairs
* of Scotland via email at [EMAIL PROTECTED]


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


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

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





***

This transmission is intended for the named recipient only. It may contain
private and confidential information. If this has come to you in error you
must not act on anything disclosed in it, nor must you copy it, modify it,
disseminate it in any way, or show it to anyone. Please e-mail the sender to
inform us of the transmission error or telephone ECA International
immediately and delete the e-mail from your information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911
7799, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1
212 582 2333.


***

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


Notice of Confidentiality:  The information included and/or attached in this
electronic mail transmission may contain confidential or privileged
information and is intended

RE: Optimization ?

2004-03-25 Thread Peter Olson
ok... now what's quicker / preferred...

   PETE = 'THIS}IS }}}A TEST}}}'
   CRT TRIM( PETE , @VM )   
   REC = PETE   
   MAX = DCOUNT( REC 1  , @VM )   
   FOR LOP = MAX TO 1 STEP -1   
  IF REC1,LOP = '' THEN   
 REC=DELETE(REC,1,LOP)  
  END   
   NEXT LOP 
 300:   
   CRT REC  


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Anthony Youngman
Sent: Thursday, March 25, 2004 7:47 AM
To: U2 Users Discussion List
Subject: RE: Optimisation ?


After you decrement LOP, you need to decrement MAX. Otherwise the loop will
be unable to get beyond 4.

Think about it - as soon as you delete a null value, you are guaranteeing
that if null will be true on your last pass, thereby decrementing LOP and
requiring another pass, which will do the same, which will do the same ...

That's why I ALWAYS do a FOR I = MAX TO 1 STEP -1 style loop when coding
this sort of stuff ...

Bit slower, but far harder to mess up ...

Cheers,
Wol

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Olson
Sent: 25 March 2004 12:41
To: 'U2 Users Discussion List'
Subject: RE: Optimisation ?

LOL...

I can't get this to get out of the loop!!!

the trim crt'ed pretty quick... neat!

: L23   
0001:   PETE = 'THIS}IS }}}A TEST}}}'   
0002:   CRT TRIM( PETE , @VM )  
0003:   REC = PETE  
0004:   MAX = DCOUNT( REC 1  , @VM )  
0005:   FOR LOP=1 TO MAX
0006:  IF REC1,LOP = '' THEN  
0007: REC=DELETE(REC,1,LOP,0)   
0008: IF LOP = MAX THEN GO 300  
0009: LOP=LOP-1 
0010:  END  
0011:   NEXT LOP
0012: 300:  
0013:   CRT REC 



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Jonathan Leckie
Sent: Thursday, March 25, 2004 7:29 AM
To: [EMAIL PROTECTED]
Subject: Optimisation ?


I have the following piece of code :

IF REC1 £ '' THEN
  MAX=DCOUNT(REC1,VM)
  FOR LOP=1 TO MAX
IF REC1,LOP = '' THEN
  REC=DELETE(REC,1,LOP,0)
  IF LOP = MAX THEN GO 300
  LOP=LOP-1
END
  NEXT LOP
END

I wonder could this simply be replaced with :

IF REC1 £ '' THEN
  REC1=TRIM(REC1,@VM)
  GO 300
END

Can anyone see any problems with using TRIM to remove trailing, repeated and
initial value markers and therefore achieving the same effect without
looping through each multi-value?  This is on Unidata 3.3.2 incidentally.



-- 


* This message has been scanned for viruses and dangerous content by  *
Blairs of Scotland MailScanner, and is believed to be clean.*

* This email and any files transmitted with it are confidential and 
* intended solely for the use of the individual or entity to which they
* are addressed.
*
* If you have received this email in error please notify us at Blairs
* of Scotland via email at [EMAIL PROTECTED]


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


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

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





***

This transmission is intended for the named recipient only. It may contain
private and confidential information. If this has come to you in error you
must not act on anything disclosed in it, nor must you copy it, modify it,
disseminate it in any way, or show it to anyone. Please e-mail the sender to
inform us of the transmission error or telephone ECA International
immediately and delete the e-mail from your information system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911

universe 10.???? - array size

2004-04-02 Thread Peter Olson
is there a native function that will tell me the size of a dimensioned array
? 
if not are there any suggestions for something graceful ?

Thanks, 
Pete 

 


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

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


universe 10.???? - array size

2004-04-02 Thread Peter Olson
the array will contain file handles...
 
Thanks, 
Pete 
 


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

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


RE: universe 10.???? - array size

2004-04-02 Thread Peter Olson
thanks!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Glenn W. Paschal
Sent: Friday, April 02, 2004 12:40 PM
To: 'U2 Users Discussion List'
Subject: RE: universe 10. - array size


If you want to know from the debugger... Example:
ED BP TEST
4 lines long.

: P
0001: DIM X(10,15)
0002: MAT X = 
0003: DEBUG
0004: PRINT
Bottom at line 4.
: Q
RUN BP TEST
 TEST:   4: PRINT
:: X/
MATRIX: X=10 Y=15
::

If you are trying to get the size of the array within the program, use
INMAT()...  Example:
ED BP TEST
5 lines long.

: P
0001: DIM X(10,15)
0002: MAT X = 
0003: PRINT
0004: PRINT INMAT(X)
0005: PRINT
Bottom at line 5.
: FI
TEST filed in file BP.
RUN BP TEST

10ý15

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Olson
Sent: Friday, April 02, 2004 11:14 AM
To: U2-Users (E-mail)
Subject: universe 10. - array size


the array will contain file handles...
 
Thanks, 
Pete 
 


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

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




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


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

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


RE: WEOFSEQ

2004-04-14 Thread Peter Olson
if the file x.file exists, it will write an end of file marker on it.
+-erasing what was in x.file.

it won't ( should not ) clear the x.dir directory.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Shawn Waldie
Sent: Wednesday, April 14, 2004 1:49 PM
To: U2 Users Discussion List
Subject: WEOFSEQ


I need some clarification.

Given the following:

X.DIR   = X.HOME.WALDIES; * the VOC item 'X.HOME.WALDIES' is a
pointer to /home/waldies
X.FILE  = SRW_TEST_SEQ.txt

OPENSEQ X.DIR,X.FILE TO FV.SEQ THEN
  WEOFSEQ FV.SEQ
ELSE
  ...
END


Upon a successful open of X.DIR at X.FILE, will the WEOFSEQ erase
everything in X.DIR starting with X.FILE, including other files that may
exist under - positionally - X.FILE?  Or is it just suppose to clear
anything that might be contained in X.FILE?

This what the *help* says:
The UniBasic WEOFSEQ command writes an end-of-file mark at the record
pointer position in a sequential file, which results in the file (...in
my case, X.DIR or X.FILE?) being truncated at the current position.

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


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
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [OT] Complete Browser Window Image Capture?

2004-04-15 Thread Peter Olson
can you save the page from the web browser ? then open it in an application
like MSWord and decrease zoom until it fits to the screen?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of George Gallen
Sent: Thursday, April 15, 2004 11:31 AM
To: Ardent List
Subject: [OT] Complete Browser Window Image Capture?


ok. I'm trying to document one of our applications. It uses the web
browser as the front end.

One of the pages is longer than the window. Anyone know of any utilities
that will allow me to
convert this into an image?

I tried capturing top, capturing bottom, and combining them in PCPaint,
but I lost alot of quality.
So, now I'm on a trek to find an application to capture the entire
window as one long image.

Thanks
George

George Gallen
Senior Programmer/Analyst
Accounting/Data Division
[EMAIL PROTECTED]
ph:856.848.1000 Ext 220

SLACK Incorporated - An innovative information, education and management
company
http://www.slackinc.com


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


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
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: What client platform do YOU use (Parallel to GUI thread)

2004-04-20 Thread Peter Olson
mac2pick

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Gordon Glorfield
Sent: Tuesday, April 20, 2004 2:36 PM
To: 'U2 Users Discussion List'
Subject: RE: What client platform do YOU use (Parallel to GUI thread)


Are you saying UD/SB+ runs *natively* on Macs?  Or that UD has an OS layer
for Macs? Or that you used Accuterm/Wintegrate to talk to some kind of
server ? Will
[snip]

No no, UD and SB+ were running on Sun Boxes.  The Macs were desktop clients.
We ran an emulator from Carnation Software.  The actual name escapes me
right now.

Sorry for the confusion,
Gordon

Gordon J. Glorfield
Sr. Applications Developer
MAMSI (A UnitedHealth Company)
301-360-8839 



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
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


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
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users