RE: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-12 Thread Stuart Boydell
> Here's a dumb question but what is a constant?  Do you mean an EQUate?

I was dumbly wondering too so I downloaded the manual: A constant can be a
numeric value, such as 25, or a string value, such as inventory. You must
use quotation marks to enclose string values. You can use up to 32,765
constants at one time.

Another reason to use UV?

Regards,
Stuart






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

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] Typo leads to discovery of new feature

2004-10-12 Thread Ray Wurlod
The stuff in quotes is a format specification.

It's equivalent to using the Fmt function, for example Fmt(10.,'2') or Fmt(10.,'02').
'2' is the same as '2 decimal places', '02' is the same as '0 decimal places with a 
scaling factor of 2'.

Originally from Pick, this shorthand is recognized in all flavours in BASIC.

- Original Message -
From: Barry Brevik <[EMAIL PROTECTED]>
To: "U2-users (E-mail)" <[EMAIL PROTECTED]>
Subject: [U2] [UV] Typo leads to discovery of new feature
Date: Tue, 12 Oct 2004 16:06:57 -0700

> 
> I was writing some test code when a slip of the fingers resulted in some weird 
> syntax, which then proceded to compile, and produced some interesting output.
> 
> Anybody have any idea what this code thinks it is doing?
> 
> PRINT 10.2
> PRINT 10.'2'
> PRINT 10.'02'
> 
> program output:
> 10.2
> 10.00
> 1000
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] Typo leads to discovery of new feature

2004-10-12 Thread Kevin King
The 'xx' is masking.

'2' is effectively similar to an OCONV(value,'MD2') ;* show 2
decimals, scale 2
'02' is effectively similar to an OCONV(value,'MD02') ;* show 0
decimals, scale 2

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barry Brevik
Sent: Tuesday, October 12, 2004 5:07 PM
To: U2-users (E-mail)
Subject: [U2] [UV] Typo leads to discovery of new feature

I was writing some test code when a slip of the fingers resulted in
some wierd syntax, which then proceded to compile, and produced some
interesting output.

Anybody have any idea what this code thinks it is doing?

PRINT 10.2
PRINT 10.'2'
PRINT 10.'02'

program output:
10.2
10.00
1000
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Report Writer

2004-10-12 Thread John Kent
D
   i have one written in VB as well as a number of other utilities to 
enhance the universe development environment, contact me offline if you are 
interested.

jak
- Original Message - 
From: "D Averch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 13, 2004 3:36 AM
Subject: [U2] Report Writer


Somebody mentioned in passing to me that there is a report writer written
for Universe that was developed in Australia.  Does any one know the name 
of
the company and their web site?
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/ 
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-12 Thread Craig Bennett
Some of our software converts Adobe Type 1 font programs into BASIC 
programs and we have an issue on some larger fonts where I cannot fit 
the data from the font into the program because of the limit on the 
number of constants and the limit on line length.

When you say:
"Is there any way to refactor the solution to convert the constants into 
strings you can parse out of?"

do you mean compressing the data? and then extracting it at run-time?
Craig
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] Typo leads to discovery of new feature

2004-10-12 Thread Barry Brevik
I was writing some test code when a slip of the fingers resulted in some
wierd syntax, which then proceded to compile, and produced some interesting
output.

Anybody have any idea what this code thinks it is doing?

PRINT 10.2
PRINT 10.'2'
PRINT 10.'02'

program output:
10.2
10.00
1000
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Report Writer

2004-10-12 Thread Kieran Clulow
You might be referring to Meier Business System's mvQuery?

www.mbs.net.au

They demo'd it at International Spectrum yesterday at the casino here in
Sydney.

Kieran Clulow
System Architect
University Co-Op Bookshops

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon Glorfield
Sent: Wednesday, 13 October 2004 4:47 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [U2] Report Writer

It's a bit more than just a report writer but I think you may be referring
to SB+.  The report writer included in the SB+ product is pretty solid.

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



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of D Averch
> Sent: Tuesday, October 12, 2004 2:07 PM
> To: [EMAIL PROTECTED]
> Subject: [U2] Report Writer
> 
> 
> Somebody mentioned in passing to me that there is a report 
> writer written for Universe that was developed in Australia.  
> Does any one know the name of the company and their web site?
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
> 


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]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Enforcing uniqueness of two fields per record?

2004-10-12 Thread Dan Eichholz
Wendy Smoak wrote:

>Timothy Snyder wrote:
>  
>
>>You can use the NO.DUPS keyword when creating the index, then 
>>check STATUS within your application after the write.
>>
>>
>
>Thank you!  That does exactly what I need, it just refuses to write the
>record if there's already one there with that value.
>
>  
>
Be sure to explicitly indicate whether the field is Single or 
Multivalued. NO.DUPS does not work well on multivalued fields or on 
fields with an empty/default setting. (took us 6 months to figure out 
that "feature" ;-) )

DanE
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Jackie Burhans is out of the office.

2004-10-12 Thread Jackie Burhans
I will be out of the office starting  10/12/2004 and will not return until
10/13/2004.

I am out of the office on vacation. I will have  limited access to email or
voicemail and will return your message when I return.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Report Writer

2004-10-12 Thread Ron White
Well, there is Informer from the US.  Have a
look at http://www.entrinsik.com/solutions/informer.cfm

Also, Visage has a report writer component I think.  It
is from AU.  www.staminasoftware.com

BesignBAIS may include a report writer as well.  I am
not sure.  www.designbais.com

Ron White

- Original Message - 
From: "D Averch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 12, 2004 1:06 PM
Subject: [U2] Report Writer


> Somebody mentioned in passing to me that there is a report writer written
> for Universe that was developed in Australia.  Does any one know the name
of
> the company and their web site?
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
> ---
> [ E-mail scanned Virus Free by NAI - McAfee anti-virus system ]
>
>
>


---
[ E-mail scanned Virus Free by NAI - McAfee anti-virus system ]
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Any work on UD 6.1 PE?

2004-10-12 Thread Karjala Koponen
I asked at the IBM database conference.  It's got to go through the release process 
(question to  leaky memory self: were there outstanding non-technical issues?) and 
hoped to be available in November.  I cannot recall what part of November but I'd 
assume later rather than earlier.  No guarantees.  I have ordered regular UniData 6.1 
to get the client CD sooner.

Karjala

/--- 

Is there any news on the availability of the 6.1PE download?

Thanks,

Noah Hart
---
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Report Writer

2004-10-12 Thread Gordon Glorfield
It's a bit more than just a report writer but I think you may be referring
to SB+.  The report writer included in the SB+ product is pretty solid.

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



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of D Averch
> Sent: Tuesday, October 12, 2004 2:07 PM
> To: [EMAIL PROTECTED]
> Subject: [U2] Report Writer
> 
> 
> Somebody mentioned in passing to me that there is a report 
> writer written for Universe that was developed in Australia.  
> Does any one know the name of the company and their web site?
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
> 


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]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Report Writer

2004-10-12 Thread D Averch
Somebody mentioned in passing to me that there is a report writer written
for Universe that was developed in Australia.  Does any one know the name of
the company and their web site?
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Any work on UD 6.1 PE?

2004-10-12 Thread George Smith
I got tired of waiting and ordered it. Still waiting on it.
grs

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Noah Hart
Sent: Tuesday, October 12, 2004 10:50 AM
To: [EMAIL PROTECTED]
Subject: [U2] Any work on UD 6.1 PE?

Is there any news on the availability of the 6.1PE download?

Thanks,

Noah Hart
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near lin e

2004-10-12 Thread Mats Carlid
No it must be literals  to make sense...
-- mats
Gordon Glorfield wrote:
Here's a dumb question but what is a constant?  Do you mean an EQUate?
Gordon J. Glorfield
Sr. Applications Developer
MAMSI (A UnitedHealth Company)
301-360-8839 


 

Hi Wally,
   

32765 is the limit for contants. No, it is not configurable. Time
 

for 
   

a subroutine?
 

thats depressing, this IS a subroutine. I have a large amount 
of text in need to include in the program object which I 
would STRONGLY prefer not read from disk.

There is a maximum line length too isn't there 
   

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


[U2] Any work on UD 6.1 PE?

2004-10-12 Thread Noah Hart
Is there any news on the availability of the 6.1PE download?

Thanks,

Noah Hart
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Readu lock lost after 1 hour.

2004-10-12 Thread Martin Phillips
Brian,

This is absolutely horrendous (my personal opinion).  See the email below
dated a couple of years back from Charles Stevenson that describes the
problem and the fix.  This is so nasty that I kept the mail!


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

===

Credit: Primarily  Glenn Herbert. Thank-you.
 Cause: LOCK.WAIT param set to 0
instead of default 3600 (seconds) during UV.LOGIN
Workaround: Set LOCK.WAIT to very large number.  E.g.:
  ASSIGN 86400 TO SYSTEM(1999)  (basic statement)
  SET.SQL LOCK.WAIT 86400   (tcl command)
Summary:
In Rev 8.3.3 UV introduced the LOCK.WAIT "feature" and set the default to
3600 (seconds).  This parameter says that if a LOCKED clause is missing,
after [LOCK.WAIT] seconds, then ignore the lock and proceed with the ELSE
clause ! ? ! ? !

Until now, the workaround for this "feature" has been to turn off by setting
the parameter to 0, typically via
ASSIGN 0 TO SYSTEM(1999)
typically from a program executed from UV.LOGIN, the routine in uv/VOC that
everyone hits when they enter the universe shell.
See GTAR 22465, 22755:
   http://u2techconnect.informix.com/u2kbprinter.asp?kbid=G22465
   http://u2techconnect.informix.com/u2kbprinter.asp?kbid=G22755

This method has worked since rev 8.3.3 ( I DO HOPE MOST OF YOU DO THIS ),
except...as we just discovered...not for type 25 files (Btree) tables.
Alternate keys are implemented as type-25 files.  If a process tries to
update an index while another holds the relevant lock, error 010014 "WRITE
failure" is triggered.

Long-term fix:
I think both Datastage & IBM will correct the bug in their next releases.
The bug exists in both products.


!! C A U T I O N  !!  C A U T I O N  !!  C A U T I O N  !!  C A U T I O N !!

I am surprised this latent bug has not surfaced until now.  It probably
means many sites leave the LOCK.WAIT parameter at 3600.  I am open to
suggestions, by I cannot imagine a single case where that is a good idea: If
someone else holds a lock, ignore it and pretend the record does not exist?
!  No, no, no.

If you have already set LOCK.WAIT to 0, then
  * your heavily used indexes may be corrupt.  The more heavily used, the
more likely a lock collision.
  * Change the "0" to a very large number so a lock will be waited on until
the next uv shutdown.
Else
  * Change the 3600 to a very large number so a lock will be honored.

!!!

Personal opinion, impressions, & comments:

I first reported this problem at the beginning of April.  It prevented me
from implementing much needed indices.  At that point the problem only
occurred in my own testing.  Our existing production indices were fine.

When performance became unbearable I introduced the needed indices mid-May
since no one else was having trouble, and mine was theoretical.  At that
point I still had no official response from IBM. I should have been pushing
harder via Strategy 7, through whom we get support.

After production problems occurred, response from IBM was still very slow.
Only after no visible progress did I report the error to this list. I had
held back, hoping to give IBM the chance to solve it so I could post a
solution rather than a complaint.

Once I posted here, Glenn Herbert emailed me off-line with a way to create
logs of events surrounding my errors.  Ascential digested it (We are
Ascential customers, too, by the way.) and Glenn thought the problem was in
the way locks were being handled. He & IBM were talking together, too.
Yesterday Glenn came back with the comment that "LOCK.WAIT 0" seemed
unusual.  That triggered my memory about gtar 22465 so I changed my UV.LOGIN
and bingo: no more problems!  And for the first time someone else was able
to reproduce my own errors.

If Glenn had not stepped in, IBM's plan was to give me a version of uvsh
that had some debug/logging hooks.  That would probably have happened
yesterday.  I would have generated my errors, sent them the log files and
waited for their analysis.

I hope to re-introduce one critical index over the weekend.

If I have misstated anything, the fault is mine and I humbly leave it to the
others to correct.

Others on this list have chimed in and run my sample tests, too. I am
grateful to you all.

Sincerely,

Charles Stevenson, DBA
BP/IS
Getronics

836 North Street
Tewksbury, MA 01876
Tel:   978-858-6872
Fax:  978-858-8631
[EMAIL PROTECTED]
www.getronics.com/us
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Readu lock lost after 1 hour.

2004-10-12 Thread Brian Leach
Do you have AUTOLOGOUT set?

Issue an AUTOLOGOUT 0 (zero) to unset it, or AUTOLOGOUT to check it.

Regards,

Brian Leach

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sibut Pascal
Sent: 11 October 2004 17:12
To: '[EMAIL PROTECTED]'
Subject: [U2] Readu lock lost after 1 hour.

Dear all,

I had problem in a batch application so I have written 2 small test programs

PGM1
   OPEN "TEST" TO TEST ELSE STOP "CANT OPEN TEST"
   READU R.TEST FROM TEST,"1" THEN 
  LOOP
 SLEEP 60
  REPEAT
   END
END 

PGM2 
   OPEN "TEST" TO TEST ELSE STOP "CANT OPEN TEST"
   CRT OCONV(TIME(),"MTS") : " READU START"
   READU R.TEST FROM TEST,"1" THEN 
  CRT OCONV(TIME(),"MTS") : " READU END"
   END
END

I have launch PGM1 on a first telnet session and let it run.

Then, I have launch PGM2 on a second telnet session.

I was expecting the PGM2 waits until I kill PGM1.
Instead of that I get the following output from PGM2:


10:56:08 READU START
11:56:09 READU END
-

It seems the locks are automatically released by UV after one hour ???

Is something wrong in my configuration ?
Does this mean the READU locks are released after one hour ?
Is there a tunable parameter to adjust this delay ?

Can anybody help me ?

I am using UV 9.5.2.1 on an alpha server Unix tru64 V5.1 

Thanks and regards,

== The EFG Mail Gateway made the following annotation(s). ==
 Disclaimer  This e-mail is
confidential. If you are not the intended recipient, you should not copy it,
re-transmit it, use it or disclose its contents, but should return it to the
sender immediately and delete the copy from your system. 
EFG is not responsible for, nor endorses, any opinion, recommendation,
conclusion, solicitation, offer or agreement or any information contained in
this communication.
EFG cannot accept any responsibility for the accuracy or completeness of
this message as it has been transmitted over a public network. If you
suspect that the message may have been intercepted or amended, please call
the sender.
Should you require any further information, please contact the Compliance
Manager on [EMAIL PROTECTED]
===
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


This email was checked by MessageLabs SkyScan before entering Microgen.



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

DISCLAIMER

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

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

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

Microgen Information Management Solutions
http://www.microgen.co.uk
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] BASIC COMPILE ERROR: Too many constants near lin e

2004-10-12 Thread Gordon Glorfield
Here's a dumb question but what is a constant?  Do you mean an EQUate?

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



> Hi Wally,
> > 32765 is the limit for contants. No, it is not configurable. Time
> for 
> > a subroutine?
> 
> thats depressing, this IS a subroutine. I have a large amount 
> of text in need to include in the program object which I 
> would STRONGLY prefer not read from disk.
> 
> There is a maximum line length too isn't there 
> 
> 
> Craig
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
> ---
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
> 


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]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Readu lock lost after 1 hour.

2004-10-12 Thread Adrian Matthews
Are you running the deadlock universe process? That could be doing it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sibut Pascal
Sent: 11 October 2004 17:12
To: '[EMAIL PROTECTED]'
Subject: [U2] Readu lock lost after 1 hour.

Dear all,

I had problem in a batch application so 
I have written 2 small test programs

PGM1
   OPEN "TEST" TO TEST ELSE STOP "CANT OPEN TEST"
   READU R.TEST FROM TEST,"1" THEN 
  LOOP
 SLEEP 60
  REPEAT
   END
END 

PGM2 
   OPEN "TEST" TO TEST ELSE STOP "CANT OPEN TEST"
   CRT OCONV(TIME(),"MTS") : " READU START"
   READU R.TEST FROM TEST,"1" THEN 
  CRT OCONV(TIME(),"MTS") : " READU END"
   END 
END

I have launch PGM1 on a first telnet session and let it run.

Then, I have launch PGM2 on a second telnet session.

I was expecting the PGM2 waits until I kill PGM1.
Instead of that I get the following output from PGM2:


10:56:08 READU START
11:56:09 READU END
-

It seems the locks are automatically released by UV after one hour ???

Is something wrong in my configuration ?
Does this mean the READU locks are released after one hour ?
Is there a tunable parameter to adjust this delay ?

Can anybody help me ?

I am using UV 9.5.2.1 on an alpha server Unix tru64 V5.1 

Thanks and regards,

== The EFG Mail Gateway made the following annotation(s). ==
 Disclaimer 
This e-mail is confidential. If you are not the intended recipient, you
should not copy it, re-transmit it, use it or disclose its contents, but
should return it to the sender immediately and delete the copy from your
system. 
EFG is not responsible for, nor endorses, any opinion, recommendation,
conclusion, solicitation, offer or agreement or any information
contained in this communication.
EFG cannot accept any responsibility for the accuracy or completeness of
this message as it has been transmitted over a public network. If you
suspect that the message may have been intercepted or amended, please
call the sender.
Should you require any further information, please contact the
Compliance Manager on [EMAIL PROTECTED]
===
---
u2-users mailing list
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-12 Thread Kevin King
Not to sound like throwing stones, but what exactly calls for > 32K
constants in a program?  Is there any way to refactor the solution to
convert the constants into strings you can parse out of?

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig Bennett
Sent: Tuesday, October 12, 2004 3:54 AM
To: [EMAIL PROTECTED]
Subject: Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near
line

Hi Wally,
> 32765 is the limit for contants. No, it is not configurable. Time
for 
> a subroutine?

thats depressing, this IS a subroutine. I have a large amount of text
in need to include in the program object which I would STRONGLY prefer
not read from disk.

There is a maximum line length too isn't there 


Craig
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Readu lock lost after 1 hour.

2004-10-12 Thread Sibut Pascal
Dear all,

I had problem in a batch application so 
I have written 2 small test programs

PGM1
   OPEN "TEST" TO TEST ELSE STOP "CANT OPEN TEST"
   READU R.TEST FROM TEST,"1" THEN 
  LOOP
 SLEEP 60
  REPEAT
   END
END 

PGM2 
   OPEN "TEST" TO TEST ELSE STOP "CANT OPEN TEST"
   CRT OCONV(TIME(),"MTS") : " READU START"
   READU R.TEST FROM TEST,"1" THEN 
  CRT OCONV(TIME(),"MTS") : " READU END"
   END 
END

I have launch PGM1 on a first telnet session and let it run.

Then, I have launch PGM2 on a second telnet session.

I was expecting the PGM2 waits until I kill PGM1.
Instead of that I get the following output from PGM2:


10:56:08 READU START
11:56:09 READU END
-

It seems the locks are automatically released by UV after one hour ???

Is something wrong in my configuration ?
Does this mean the READU locks are released after one hour ?
Is there a tunable parameter to adjust this delay ?

Can anybody help me ?

I am using UV 9.5.2.1 on an alpha server Unix tru64 V5.1 

Thanks and regards,

== The EFG Mail Gateway made the following annotation(s). ==
 Disclaimer 
This e-mail is confidential. If you are not the intended recipient, you should not 
copy it, re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete the copy from your system. 
EFG is not responsible for, nor endorses, any opinion, recommendation, conclusion, 
solicitation, offer or agreement or any information contained in this communication.
EFG cannot accept any responsibility for the accuracy or completeness of this message 
as it has been transmitted over a public network. If you suspect that the message may 
have been intercepted or amended, please call the sender.
Should you require any further information, please contact the Compliance Manager on 
[EMAIL PROTECTED]
===
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Universe tuning parameters on HP-UX 11.0

2004-10-12 Thread J JENKINS
Jawed
 
The UniVerse memory model (32 bit / 64 bit) is not relevant to your enquiry - UniVerse 
files can be 32 bit or 64 bit regardless of the UV memory model.
 
Just ensure that the underying file system you have created in HPUX supports 64 bit 
addressing and that you create the file with the 64BIT option. (see the UniVerse 
documentation on file sizing particularly).

Alternative approaches are to make the file "distributed" - that is to make a number 
of separate physical files act as one "conglomerated" larger file.
 
Regarding UniVerse tunables - this is not a question that can be answered "off the 
cuff" as tuning is dependent upon metrics taken in the live environment using UniVerse 
and Unix tools. If you are unfamiliar with tuning I would suggest engaging someone 
with experience in this area and acquiring some training in the process - it is not a 
dificult task. Please note: it is not just UniVerse tuning that you should be looking 
at but also Unix and File System tuning.
 
There are a number of people with this experience who are familiar with the specific 
needs of a Globus environment (nothing "special" - just some points about application 
usage it is worth being aware of).
 
If you want some names please mail me off-list. From past experience in this area you 
are looking at a 2 to 4 weeks effort (mostly application and file system tuning) 
unless the installation is small.
 
I am involved in other things nowadays, but I've done this for others in the past - 
reasonably successfully I like to think :-) 
 
BTW: 9.6.2 ? - Out of interest 9.6.2. ? - UniVerse 10.1 is well out now.
 
Regards
 
JayJay

Jawed Akhtar - ISD <[EMAIL PROTECTED]> wrote:
Hi all,
We are running universe 9.6 on HP-UX 11.0. The operating system is 64 bit. 
how could we know if universe is running in 32 bit mode, We are running Globus on 
universe and in past we had problem when one of main F.Journal file reached the size 
of 2 GB the application stopped to process any more data.

What are the parameters of uv.config which should be tuned for OS.

Thanks and Regd
Jawed Akhtar
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


JayJay

mailto:[EMAIL PROTECTED]
)
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] setRequestHeader not working?

2004-10-12 Thread James F Thompson
Were on UV/10.0.0 (maybe the problem) and below is a copy of the log:

10/12/2004  9:13:14
setRequestHeader ... host=192.168.0.17:100,header=Content-Type:text/xml;
charset=utf-8
setRequestHeader: standard header Content-Type=text/xml; charset=utf-8
header Content-Type valued changed from  to text/xml; charset=utf-8

10/12/2004  9:13:14
setRequestHeader ...
host=192.168.0.17:100,header=SOAPAction:"http://www.webserviceX.NET/GetI
nfoByZIP"
setRequestHeader: extended header SOAPAction=new header SOAPAction added
with value "http://www.webserviceX.NET/GetInfoByZIP";
10/12/2004  9:13:14
submitRequest ... Var 200cb738: host=192.168.0.17:100,timeout=2000
new header User-Agent added with value UniVerse 9.6
Assembled Request:
POST / HTTP/1.1
Date: Tue, 12 Oct 2004 13:13:14 GMT
Host: 192.168.0.17:100
SOAPAction: "http://www.webserviceX.NET/GetInfoByZIP";
User-Agent: UniVerse 9.6
Content-Length: 338

It shows that it set the value; however, when it assembles the request
the content-type is missing?

James F Thompson
Senior Systems Analyst
Cypress Business Solutions, LLC
678.494.9353 Ext 6575Fax 678.494.9354

[EMAIL PROTECTED]
www.cypressesolutions.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Lewington
Sent: Monday, October 11, 2004 12:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [U2] [UV] setRequestHeader not working?

No problem setting Content-Type here.  I'm on UD 6.0.12 but believe UV
and
UD share the same code.

Have you set protocolLogging(LOGFILE, "ON", 10) and checked the log to
be
sure that the problem is with Universe?

Simon

"James F Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> We are trying to post a request to a web page; however, the
> Content-Type tag is not included in the header.  I have several
other
> header tags that work fine. It is just Content-Type missing and the
> production server requires this tag.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

[demime 1.01d removed an attachment of type text/x-vcard which had a name of James F 
Thompson ([EMAIL PROTECTED]).vcf]
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-12 Thread Craig Bennett
Hi Wally,
32765 is the limit for contants. No, it is not configurable. Time for a
subroutine?
thats depressing, this IS a subroutine. I have a large amount of text in 
need to include in the program object which I would STRONGLY prefer not 
read from disk.

There is a maximum line length too isn't there 
Craig
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


Memo: Re: [U2] Tuning uvconfig parameters in universe 9.6

2004-10-12 Thread asvin . dattani
Hi Javed,

1. Universe does not have a 64 bit mode as you understand it. There is a
uvconfig parameter that decided whether the default mode for newly created
files is 64 bit or 32 bit, but I dont think that is what you are looking
for.

 Individual files in Universe can be 64 bit or 32 bit. You need to check
each file individually to see if it is in 64 bit or 32 bit mode. There are
various ways to do this:

a.  Write a Basic program that uses the STATUS statement  to return file
information. Type HELP BASIC STATUS for information on how to use STATUS.
The 64 bit info is in attribute 32 of the returned dynamic array.

b. Type in uvfixfile -f filename from Unix. uvfixfile does not support 64
bit files, so it will complain if the file is 64 bit.

c. There are other ways mentioned previously by others on this list. Check
the archives.

2. This really depends on the nature of the performance bottleneck, but if
one or a few users are locked the first thing I would check is to see if
they are waiting for update locks to be released. LIST.READU EVERY  will
list all the database locks, and at the bottom of the listing show anybody
who is waiting for a lock to be released.

3. Sorry, cant help you there.

hth.





"Jawed Akhtar - ISD" <[EMAIL PROTECTED] on 12 Oct 2004 08:21

Please respond to [EMAIL PROTECTED]

Sent by:[EMAIL PROTECTED]

To:<[EMAIL PROTECTED]>
cc:
bcc:

Subject:[U2]Tuning uvconfig parameters in universe 9.6


Hi,
We are running universe 9.6 with GLobus on 64 bit HP-UX 11.0. I want to
know;

1. How could I know if universe is running in 64 bit mode.
2. What parameters of uvconfig are exhausting in universe and how to tune
them. Users are locked frequently once in a day.
3. What should be file system size and kernel parameters of HP-UX for
better performance of universe. Out environment size is around 20 GB and
users are 250+.

Thanks in advance

Regd
Jawed
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


**
 This message originated from the Internet. Its originator may or
 may not be who they claim to be and the information contained in
 the message and any attachments may or may not be accurate.
**







   
   HSBC Bank plc may be solicited in the course of its placement
   efforts for a new issue, by investment clients of the firm for whom
   the Bank as a firm already provides other services. It may equally
   decide to allocate to its own proprietary book or with an associate
   of HSBC Group. This represents a potential conflict of interest.
   HSBC Bank plc has internal arrangements designed to ensure that the
   firm would give unbiased and full advice to the corporate finance
   client about the valuation and pricing of the offering as well as
   internal systems, controls and procedures to identify and manage
   conflicts of interest.

   HSBC Bank plc
   Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom
   Registered in England - Number 14259
   Authorised and regulated by the Financial Services Authority.
   



_

This transmission has been issued by a member of the HSBC Group 
"HSBC" for the information of the addressee only and should not be 
reproduced and / or distributed to any other person. Each page attached 
hereto must be read in conjunction with any disclaimer which forms part 
of it. Unless otherwise stated, this transmission is neither an offer nor the 
solicitation of an offer to sell or purchase any investment. Its contents are 
based on information obtained from sources believed to be reliable but
HSBC makes no representation and accepts no responsibility or liability as 
to its completeness or accuracy.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Tuning uvconfig parameters in universe 9.6

2004-10-12 Thread Jawed Akhtar - ISD
Hi,
We are running universe 9.6 with GLobus on 64 bit HP-UX 11.0. I want to know;

1. How could I know if universe is running in 64 bit mode. 
2. What parameters of uvconfig are exhausting in universe and how to tune them. Users 
are locked frequently once in a day.
3. What should be file system size and kernel parameters of HP-UX for better 
performance of universe. Out environment size is around 20 GB and users are 250+.

Thanks in advance

Regd
Jawed 
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/