I am currently out of the office and cannot personally respond to your message. I will
be returning to the office on Tuesday, September 28th.
In my absense please contact Marc Mergenthaler at 303-504-5408 for any issues related
to HealthTrack; otherwise, please contact Al Armijo at 303-504-5359 for any other
urgent matters.
Thank you and have a nice day !!
>>> u2-users 09/14/04 01:05 >>>
U2 Users Digest Tuesday, September 14 2004 Volume 01 : Number 246
In this issue:
RE: [U2] Avoiding automatic e.mails to the list
[U2] [UV] ODBC driver woes
RE: [OT] [U2] How do you avoid "out-of-office" Outlook auto-reply to this list
[U2] Copying transactions to outside database via ODBC
RE: [U2] UniSession.connect error
RE: Unclassified RE: [U2] UniSession.connect error
[U2] wIntegrate 101
RE: [U2] UniSession.connect error
Re: [U2] wIntegrate 101
Re: [U2] UniSession.connect error
Memo: Re: Unclassified RE: [U2] UniSession.connect error
[U2] I-Type DICT definition and "paging"
RE: [U2] I-Type DICT definition and "paging"
Re: [U2] I-Type DICT definition and "paging"
RE: [U2] I-Type DICT definition and "paging"
----------------------------------------------------------------------
Date: Mon, 13 Sep 2004 13:04:02 -0400
From: "Glen B" <[EMAIL PROTECTED]>
Subject: RE: [U2] Avoiding automatic e.mails to the list
You can configure major donut to drop out-of-office bounces.
You need to look into the majordomo.cf file for
$global_taboo_headers = <<'END';
There should be a list, under that, of bad subjects to bounce mail for. Add
lines like this:
/^subject:\s.*\bout of the office\b/i
/^subject:\s.*\bout-of-the-office\b/i
or (for vacations)
/^subject:\s.*\bam on vacation\b/i
/^subject:\s.*\baway on vacation\b/i
You can tweak the conf file as you see new ones making through. Those four
will handle most of the auto-replies from Outcast.
Glen
http://picksource.com
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Larry Hiscock
> Sent: Monday, September 13, 2004 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [U2] Avoiding automatic e.mails to the list
>
>
> The U2 lists DON'T filter out-of-office replies. We've been
> fortunate, that
> most of the out-of-office messages we've received have been setup to only
> reply once (per email address, I'm assuming). Most of these seem to have
> come from the IBMers on the lists.
>
> We DID have one subscriber who sent an out-of-office message to EVERY post
> on the list, but I unsubscribed him quickly before it became a problem.
>
> Larry Hiscock
> Moderator
> -------
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
------------------------------
Date: Mon, 13 Sep 2004 11:20:32 -0700
From: John Hester <[EMAIL PROTECTED]>
Subject: [U2] [UV] ODBC driver woes
I'm in the process of migrating to UV 10.1 on RedHat AS 3, and am having
an issue connecting to MS SQL 2000 via OpenLink's ODBC drivers. We've
been using an older version of the drivers on our current hardware and
unix OS for a few years without incident, but the latest version won't
establish a connection from RH AS 3 with the UV environment:
>connect goldmine
Enter username for connecting to 'goldmine' DBMS [JAH]: sa
Enter password for sa:
SQLConnect error: Status = -1 SQLState = IM003 Natcode = 0
[ODBC] [iODBC][Driver Manager]Specified driver could not be loaded
Invalid parameter(s) found in configuration file
I am able to establish a connection outside of UV from the shell prompt
though. I'm also able to establish a connection with an older version
of the OpenLink linux drivers from within UV, but this isn't recommended
for a production environment since they were written for use with glibc
2.1 and we're on glibc 2.3. IBM says that the problem must lie with the
drivers because the error message is returned by the driver program, and
UV simply hands over control to the driver. OpenLink thinks the problem
lies within the UV environment since I'm able to establish a connection
outside of UV at the OS level. Any help would be greatly appreciated.
Thanks,
John
- --
John Hester
System & Network Administrator
Momentum Group Inc.
(949) 833-8886 x623
http://memosamples.com
------------------------------
Date: Mon, 13 Sep 2004 12:27:06 -0700
From: "Tony Gravagno" <[EMAIL PROTECTED]>
Subject: RE: [OT] [U2] How do you avoid "out-of-office" Outlook auto-reply to this
list
To keep this on-topic, the answer is: don't use Outlook for sending out of
office messages. Write an SMTP client in Pick BASIC or other favorite tools
which checks your inbox headers and manages messaging the way you want. Or
- - have a process run through your inbound Outlook mail and send messages to
selected associates.
I'm sorry, I'm a DIY kinda guy.
Chuck is right though, unless we're discussing how this technically applies
to U2 it should probably go elsewhere.
See you in Las Vegas!
Tony
Moderator wrote:
> Let's move this discussion to U2-Community.
>
> - Charles Barouch, Moderator
>
> ---------- Original Message -------------
> From: "George Gallen" <[EMAIL PROTECTED]>
> The truely worst part of the OOO reply, it is automatically
> validates your email address to spammers!
------------------------------
Date: Mon, 13 Sep 2004 16:01:06 -0400
From: "Karjala Koponen" <[EMAIL PROTECTED]>
Subject: [U2] Copying transactions to outside database via ODBC
UniData 5.2 on AIX.
I want to copy transactions from UniData to a FileMaker database.
My intention is to:
1) copy the transactions to an upload transaction file
2) initiate an ODBC query to pull the records into FileMaker
2a) one of the dictionary items will write a flag to the record as it is processed
3) purge the marked records
Getting the transaction is done.
The ODBC query works fine.
The dictionary item that marks the records works.
I have tried calling a subroutine that deletes all of the marked records from within a
dictionary item.
It works at the UniData command line using the 'SAMPLE 1' phrase.
It does not work from my 'delete' ODBC query that tries to get one record.
I did write another subroutine that deletes the current record, only. That did work
from within the ODBC query but was WAY too slow processing a lot of records.
Any ideas on how I might purge the marked transaction records in UniData from my
FileMaker script?
Thanks, Karjala
------------------------------
Date: Mon, 13 Sep 2004 16:50:39 -0400
From: "Martin Scholl" <[EMAIL PROTECTED]>
Subject: RE: [U2] UniSession.connect error
Do you have the permissions set to Write access for
* The /ibm directory
* The database directory
Users need write access to the master account to open their memory space.
Martin Scholl
President Martin Scholl Consulting, Inc.
http://www.hipaasuite.com/
mailto:[EMAIL PROTECTED]
18910 New Hampshire Ave
Brinklow, MD 20862
301-924-5537 Phone
301-570-0139 Fax
301-613-9572 Cell
- -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bob Little
Sent: Sunday, September 12, 2004 10:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [U2] UniSession.connect error
Jef Lee wrote:
>My 2".
>
>I have found that our Linux system has two (2) password verification
mechanisms loaded. One is effective at command line login, the other at
UniObjects connection login. And, now here's the bother, one does not
handle passwords that exceed 8 characters, but there is no warning or error.
It just doesn't allow the connection login.
>
>Suggestion, spend hours researching or try a shorter password. If the
latter works for you, and then you spend hours finding out why, please let
me know.
>
>Jef Lee
>IT Vision
>Level 3 Kirin Centre, 15 Ogilvie Road, APPLECROSS, WA 6153
>Tel: (08) 9315 7000 Fax: (08) 9315 7088
>P O Box 881, Canning Bridge, WA 6153
>A.C.N. 068 914 867
>-------
>u2-users mailing list
>[EMAIL PROTECTED]
>To unsubscribe please visit http://listserver.u2ug.org/
>
>
>
Hello Jeff,
Thank you (and all others) for your help.
I've shortened the password to 2 characters. Still getting the "The
user name provided is incorrect" message. I don't know if that's just a
generic "login failed" message, or it really *does* mean it couldn't
find this user to validate it.
This is a very frustrating problem as it's obvious that it works for
others - just not me.
Maybe it's a PAM issue.
BTW - Too late. I have already spent hours researching this problem. ;-)
- -------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
------------------------------
Date: Tue, 14 Sep 2004 10:34:45 +1200
From: "HENDERSON MICHAEL MR" <[EMAIL PROTECTED]>
Subject: RE: Unclassified RE: [U2] UniSession.connect error
Bob,
>From the UniVerse 10.1.4 Release Notes:
Issue
Number Short Description
- ------ -----------------
32480 Beginning at this release, logging is available for the
UniRPC services.
To enable logging for the unirpc32.dll, you must define the
logging level by setting the UNIRPC_DEBUG_LEVEL environment
variable.
In addition, you must set the UNIRPC_DEBUG_LOGFILE environment
variable to define the log file name.
Logging is enabled for unirpc.exe by passing arguments to the
service, as shown in the following example:
-d9 c:\temp\unirpcd.log
- -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Little
Sent: Tuesday, 14 September 2004 03:40
To: [EMAIL PROTECTED]
Subject: Re: Unclassified RE: [U2] UniSession.connect error
[snip]
To All:
Is there any way to get unirpcd to log it's activity to a file? I've
tried nohup /usr/ibm/unishared/unirpc/unirpcd > /tmp/unirpcd.out 2>&1 &
but nothing gets dumped. Maybe I'm expecting the wrong thing?
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or
distribute this message or the information in it.
If you have received this message in error, please Email or telephone
the sender immediately.
------------------------------
Date: Mon, 13 Sep 2004 19:10:27 -0400
From: "Brutzman, Bill" <[EMAIL PROTECTED]>
Subject: [U2] wIntegrate 101
How does I invoke a Host subroutine from within an application program on
the client side?
I have a label-printing program using a few host subroutines via UniBasic.
Using the designer, I would like this program to to have a gui front-end.
I have downloaded, printed, and reviewed a few thousand pages of the
wIntegrate manuals.
I suppose that some sample code would help...perhaps some hints on what text
to consult...
- --Bill
------------------------------
Date: Mon, 13 Sep 2004 17:32:48 -0600
From: Leroy Dreyfuss <[EMAIL PROTECTED]>
Subject: RE: [U2] UniSession.connect error
Note that what Mike refers to is only for Windows. UNIX users should start
the service in the background and use something like this: unirpcd -d9 >
rpc.out 2>&1 from a UNIX prompt.
Regards,
LeRoy F. Dreyfuss
Product Manager
IBM UniVerse and UniData (U2) Extended Relational Databases
IBM DB2 Information Management Software
Tel: 303-672-1254 Fax: 303-294-4832
Mobile: 720-341-4317 Tie-line -770-1254
External email: [EMAIL PROTECTED]
WWW: http://www.ibm.com/software/data/u2
Don't miss out on the IBM DB2 Information Management Technical Conference
September 19-24, 2004 - Las Vegas, NV
"HENDERSON
MICHAEL MR"
<MICHAEL.HENDERSO To
[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Sent by: cc
[EMAIL PROTECTED]
stserver.u2ug.org Subject
RE: Unclassified RE: [U2]
UniSession.connect error
09/13/2004 04:34
PM
Please respond to
u2-users
Bob,
>From the UniVerse 10.1.4 Release Notes:
Issue
Number Short Description
- ------ -----------------
32480 Beginning at this release, logging is available for the
UniRPC services.
To enable logging for the unirpc32.dll, you must define the
logging level by setting the UNIRPC_DEBUG_LEVEL environment
variable.
In addition, you must set the UNIRPC_DEBUG_LOGFILE environment
variable to define the log file name.
Logging is enabled for unirpc.exe by passing arguments to the
service, as shown in the following example:
-d9 c:\temp\unirpcd.log
- -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Little
Sent: Tuesday, 14 September 2004 03:40
To: [EMAIL PROTECTED]
Subject: Re: Unclassified RE: [U2] UniSession.connect error
[snip]
To All:
Is there any way to get unirpcd to log it's activity to a file? I've
tried nohup /usr/ibm/unishared/unirpc/unirpcd > /tmp/unirpcd.out 2>&1 &
but nothing gets dumped. Maybe I'm expecting the wrong thing?
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence
Force.
If you are not the intended recipient you must not use, disclose, copy or
distribute this message or the information in it.
If you have received this message in error, please Email or telephone
the sender immediately.
[demime 1.01d removed an attachment of type image/gif which had a name of graycol.gif]
[demime 1.01d removed an attachment of type image/gif which had a name of pic25328.gif]
[demime 1.01d removed an attachment of type image/gif which had a name of ecblank.gif]
- -------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
------------------------------
Date: Mon, 13 Sep 2004 20:05:38 -0400
From: "Ian Renfrew" <[EMAIL PROTECTED]>
Subject: Re: [U2] wIntegrate 101
All of the documentation that you need can be found in the winthost.pdf
file. If your looking for actual code, check out the stuff in the WIN.PROGS
file. Plenty of examples there. Start with WIN.DEMO, WIN.DBDEMO,
WIN.DBDEMO2, WIN.DBDEMO3, WIN.DBDEMO4.
Regards, Ian Renfrew
- ----- Original Message -----
From: "Brutzman, Bill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 13, 2004 7:10 PM
Subject: [U2] wIntegrate 101
> How does I invoke a Host subroutine from within an application program on
> the client side?
>
> I have a label-printing program using a few host subroutines via UniBasic.
>
> Using the designer, I would like this program to to have a gui front-end.
>
> I have downloaded, printed, and reviewed a few thousand pages of the
> wIntegrate manuals.
>
> I suppose that some sample code would help...perhaps some hints on what
text
> to consult...
>
> --Bill
> -------
> u2-users mailing list
> [EMAIL PROTECTED]
> To unsubscribe please visit http://listserver.u2ug.org/
------------------------------
Date: Mon, 13 Sep 2004 21:39:01 -0400
From: Bob Little <[EMAIL PROTECTED]>
Subject: Re: [U2] UniSession.connect error
Leroy Dreyfuss wrote:
>Note that what Mike refers to is only for Windows. UNIX users should start
>the service in the background and use something like this: unirpcd -d9 >
>rpc.out 2>&1 from a UNIX prompt.
>
>
>Regards,
>
>LeRoy F. Dreyfuss
>Product Manager
>IBM UniVerse and UniData (U2) Extended Relational Databases
>IBM DB2 Information Management Software
>Tel: 303-672-1254 Fax: 303-294-4832
>Mobile: 720-341-4317 Tie-line -770-1254
>External email: [EMAIL PROTECTED]
>WWW: http://www.ibm.com/software/data/u2
>
>Don't miss out on the IBM DB2 Information Management Technical Conference
>September 19-24, 2004 - Las Vegas, NV
>
>
>
> "HENDERSON
> MICHAEL MR"
> <MICHAEL.HENDERSO To
> [EMAIL PROTECTED]> <[EMAIL PROTECTED]>
> Sent by: cc
> [EMAIL PROTECTED]
> stserver.u2ug.org Subject
> RE: Unclassified RE: [U2]
> UniSession.connect error
> 09/13/2004 04:34
> PM
>
>
> Please respond to
> u2-users
>
>
>
>
>
>
>Bob,
>
>>From the UniVerse 10.1.4 Release Notes:
>
>Issue
>Number Short Description
>------ -----------------
>32480 Beginning at this release, logging is available for the
> UniRPC services.
>
> To enable logging for the unirpc32.dll, you must define the
> logging level by setting the UNIRPC_DEBUG_LEVEL environment
>variable.
> In addition, you must set the UNIRPC_DEBUG_LOGFILE environment
> variable to define the log file name.
>
> Logging is enabled for unirpc.exe by passing arguments to the
> service, as shown in the following example:
>
> -d9 c:\temp\unirpcd.log
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Bob Little
>Sent: Tuesday, 14 September 2004 03:40
>To: [EMAIL PROTECTED]
>Subject: Re: Unclassified RE: [U2] UniSession.connect error
>
>[snip]
>
>To All:
>Is there any way to get unirpcd to log it's activity to a file? I've
>tried nohup /usr/ibm/unishared/unirpc/unirpcd > /tmp/unirpcd.out 2>&1 &
>but nothing gets dumped. Maybe I'm expecting the wrong thing?
>The information contained in this Internet Email message is intended
>for the addressee only and may contain privileged information, but not
>necessarily the official views or opinions of the New Zealand Defence
>Force.
>If you are not the intended recipient you must not use, disclose, copy or
>distribute this message or the information in it.
>
>If you have received this message in error, please Email or telephone
>the sender immediately.
>-------
>u2-users mailing list
>[EMAIL PROTECTED]
>To unsubscribe please visit http://listserver.u2ug.org/
>
>[demime 1.01d removed an attachment of type image/gif which had a name of graycol.gif]
>
>[demime 1.01d removed an attachment of type image/gif which had a name of
>pic25328.gif]
>
>[demime 1.01d removed an attachment of type image/gif which had a name of ecblank.gif]
>-------
>u2-users mailing list
>[EMAIL PROTECTED]
>To unsubscribe please visit http://listserver.u2ug.org/
>
>
>
Yeah, I had sorta stumbled on the debug level earlier today by applying
the sendmail command line theory and seeing if it worked.
Unfortunately, I didn't really notice anything in the output that helped me.
It's been pointed out that the version of UV PE for Linux that is
available for download - 10.0.2 - doesn't do MD5 encryption (or doesn't
do it correctly or something). And that the problem was fixed in
version 10.0.9. Now if I could only get UV PE 10.0.9 or later, I'd be ok.
Thanks to all for your help.
------------------------------
Date: Mon, 13 Sep 2004 18:09:30 +0100
From: [EMAIL PROTECTED]
Subject: Memo: Re: Unclassified RE: [U2] UniSession.connect error
Hi,
there is tech tip on the techconnect web site that I found very useful when
trying to get UniRpc working. IIRC, there was something about logs in
there.
You need to login to techconnect and then go to this url:
https://www-927.ibm.com/software/data/u2/support/u2techconnect/u2kbdisplay.asp?index=2
and then click on the download tech tip button.
hth
Bob Little <[EMAIL PROTECTED] on 13 Sep 2004 16:40
Please respond to [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
bcc:
Subject: Re: Unclassified RE: [U2] UniSession.connect error
Brian Leach wrote:
>AFAIR if you set up PAM to use a windows domain controller, UniRPC ignores
>that and still looks to the /etc/passwd file. Sorry if I misremember: none
>of our machines are running PAM.
>
>
>
Yes, I think that's true. If that is the case, then PAM is not a factor
here.
Jim Eply wrote:
>Bob,
>As I recall, the UniJava class produces unreliable connections, and also
is
>not required to establish a connection. Try this code instead:
> UniSession session;
> session = new UniSession();
>
That was the method I first tried. I got the same error, and then saw
an example using the UniJava class so I tried it. Both methods fail on
my system.
Jef Lee:
Sorry about mis-spelling your name. (note to self: "Jef" != "Jeff")
To All:
Is there any way to get unirpcd to log it's activity to a file? I've
tried nohup /usr/ibm/unishared/unirpc/unirpcd > /tmp/unirpcd.out 2>&1 &
but nothing gets dumped. Maybe I'm expecting the wrong thing?
******************************************************************
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/
------------------------------
Date: Tue, 14 Sep 2004 15:20:12 +1000
From: bruce nichol <[EMAIL PROTECTED]>
Subject: [U2] I-Type DICT definition and "paging"
Goo'day, all
UV 9.6.1 on NT
We have a client for whom we have an existing subroutine (in the case
below, known as "FIRST.SUB") that calculates Minimum and Maximum product
stock holdings, depending on the season - Winter and Summer. It's a long
and involuted/convoluted program that analyses a product's sales for each
month for the past 3 or 4 years and finally arrives at the 4 required
figures for recommended stock holding and has been used successfully within
other programs for years......Admittedly, the calling programs only look at
one product at a time...
Being clever, we recently "wrapped" this subroutine in another subroutine
that is called from each of four new I-Type definitions, eg
0002 SUBR("SECOND.SUB",@ID,x)
where x = 1 to 4 depending on which min/max for which season is required
(for Def'n WIN.MIN, x = 1, WIN.MAX, x = 2, SUMM.MIN, x =3, SUMM.MAX, x = 4).
SECOND.SUB looks something like:
SUBROUTINE second.sub(RESULT,ID,TYPE)
RESULT = ''
OPEN fname TO FNAME ....... .................................................
('cos all the other progs pass the file name to the subroutine,
and NO, it's not COMMONed in any way...................yet)
CALL FIRST.SUB(ID,FNAME,W.MIN,W.MAX,S.MIN,S.MAX)
BEGIN CASE
CASE TYPE = 1; RESULT = W.MIN
CASE TYPE = 2; RESULT = W.MAX
CASE TYPE = 3; RESULT = S.MIN
CASE TYPE = 4; RESULT = S.MAX
END CASE
RETURN
All four I-Types compiled
Our problem is that although these 4 DICT items work a treat..... if we,
for example,
LIST fname SUMM.MIN SUMM.MAX
the result, by product, is correct, but the listing does not "page" as it
normally would/should. It acts as if a NOPAGE was part of the sentence -
ZOOM! First screen "page" to last "page"...
The same thing happens if we only use one DICT item in the sentence, or
any/some/all of them in whatever sequence
If we pre-SELECT only a few products, ie, less than a pageful, or only one
product, there is only one "page" of report. Adding a LPTR to the
sentence works correctly.
Are we expecting too much of an I-Type or is there another problem?? Is
there a possibility we're doing something naughty in FIRST.SUB? There're
no PRINTER, PRINT or similar statements. There's no other subroutine
called from within .... Actually, nothing we can see that's cause this
problem....
Regards,
Bruce Nichol
Talon Computer Services
ALBURY NSW 2640
Australia
Tel: +61 (0)411149636
Fax: +61 (0)260232119
If it ain't broke, fix it till it is!
- --
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.262 / Virus Database: 264.9.0 - Release Date: 13/09/04
------------------------------
Date: Tue, 14 Sep 2004 07:10:35 +0100
From: "Adrian Matthews" <[EMAIL PROTECTED]>
Subject: RE: [U2] I-Type DICT definition and "paging"
Any code along the lines of var=@(x,y) anywhere in there?
- -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of bruce nichol
Sent: 14 September 2004 06:20
To: [EMAIL PROTECTED]
Subject: [U2] I-Type DICT definition and "paging"
Goo'day, all
UV 9.6.1 on NT
We have a client for whom we have an existing subroutine (in the case
below, known as "FIRST.SUB") that calculates Minimum and Maximum product
stock holdings, depending on the season - Winter and Summer. It's a
long
and involuted/convoluted program that analyses a product's sales for
each
month for the past 3 or 4 years and finally arrives at the 4 required
figures for recommended stock holding and has been used successfully
within
other programs for years......Admittedly, the calling programs only look
at
one product at a time...
Being clever, we recently "wrapped" this subroutine in another
subroutine
that is called from each of four new I-Type definitions, eg
0002 SUBR("SECOND.SUB",@ID,x)
where x = 1 to 4 depending on which min/max for which season is required
(for Def'n WIN.MIN, x = 1, WIN.MAX, x = 2, SUMM.MIN, x =3, SUMM.MAX, x
= 4).
SECOND.SUB looks something like:
SUBROUTINE second.sub(RESULT,ID,TYPE)
RESULT = ''
OPEN fname TO FNAME .......
.................................................
('cos all the other progs pass the file name to the subroutine,
and NO, it's not COMMONed in any way...................yet)
CALL FIRST.SUB(ID,FNAME,W.MIN,W.MAX,S.MIN,S.MAX)
BEGIN CASE
CASE TYPE = 1; RESULT = W.MIN
CASE TYPE = 2; RESULT = W.MAX
CASE TYPE = 3; RESULT = S.MIN
CASE TYPE = 4; RESULT = S.MAX
END CASE
RETURN
All four I-Types compiled
Our problem is that although these 4 DICT items work a treat..... if we,
for example,
LIST fname SUMM.MIN SUMM.MAX
the result, by product, is correct, but the listing does not "page" as
it
normally would/should. It acts as if a NOPAGE was part of the sentence
- -
ZOOM! First screen "page" to last "page"...
The same thing happens if we only use one DICT item in the sentence, or
any/some/all of them in whatever sequence
If we pre-SELECT only a few products, ie, less than a pageful, or only
one
product, there is only one "page" of report. Adding a LPTR to the
sentence works correctly.
Are we expecting too much of an I-Type or is there another problem??
Is
there a possibility we're doing something naughty in FIRST.SUB?
There're
no PRINTER, PRINT or similar statements. There's no other subroutine
called from within .... Actually, nothing we can see that's cause this
problem....
Regards,
Bruce Nichol
Talon Computer Services
ALBURY NSW 2640
Australia
Tel: +61 (0)411149636
Fax: +61 (0)260232119
If it ain't broke, fix it till it is!
- --
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.262 / Virus Database: 264.9.0 - Release Date: 13/09/04
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/
------------------------------
Date: Tue, 14 Sep 2004 15:56:22 +0930
From: Darren Percival <[EMAIL PROTECTED]>
Subject: Re: [U2] I-Type DICT definition and "paging"
At 03:20 PM 14/09/2004 +1000, you wrote:
>Goo'day, all
>
>UV 9.6.1 on NT
>
>We have a client for whom we have an existing subroutine (in the case
>below, known as "FIRST.SUB") that calculates Minimum and Maximum product
>stock holdings, depending on the season - Winter and Summer. It's a long
>and involuted/convoluted program that analyses a product's sales for each
>month for the past 3 or 4 years and finally arrives at the 4 required
>figures for recommended stock holding and has been used successfully
>within other programs for years......Admittedly, the calling programs only
>look at one product at a time...
>
>< SNIP> <SNIP>
>
>Are we expecting too much of an I-Type or is there another problem?? Is
>there a possibility we're doing something naughty in
>FIRST.SUB? There're no PRINTER, PRINT or similar statements. There's
>no other subroutine called from within .... Actually, nothing we can see
>that's cause this problem....
Greetings,
Are you doing any cursor positioning in the subroutines?
If the subs are doing anything like that (even a CRT @(0,0) Hint : check
any include code :-0 ) then UV assumes that you know more than it does and
doesn't bother with the paging at the query level.
I have heard it described in a much more technical and elegant
manner before but sorry my brain is fried at the moment and you get the
gist of the issue.
Let me know if it isn't this and Ill make my brain work harder :)
Cheers,
.....Darren.....
=================================================
"If a maintenance programmer can't quote entire Monty Python
movies from memory, he or she has no business
being a programmer." - From How to write Unmaintainable Code
=================================================
------------------------------
Date: Tue, 14 Sep 2004 17:03:33 +1000
From: "Hona, David S" <[EMAIL PROTECTED]>
Subject: RE: [U2] I-Type DICT definition and "paging"
Check if "new" subroutine is suppressing pagination with either a "DUMMY =
@(0,0)" or "CALL !BPIOCP" (or similar).
Regards,
David
- -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of bruce nichol
Sent: Tuesday, 14 September 2004 3:20 PM
To: [EMAIL PROTECTED]
Subject: [U2] I-Type DICT definition and "paging"
Goo'day, all
UV 9.6.1 on NT
[snip]
Being clever, we recently "wrapped" this subroutine in another subroutine
that is called from each of four new I-Type definitions, eg
0002 SUBR("SECOND.SUB",@ID,x)
where x = 1 to 4 depending on which min/max for which season is required
(for Def'n WIN.MIN, x = 1, WIN.MAX, x = 2, SUMM.MIN, x =3, SUMM.MAX, x =
4).
SECOND.SUB looks something like:
[snip]
the result, by product, is correct, but the listing does not "page" as it
normally would/should. It acts as if a NOPAGE was part of the sentence -
ZOOM! First screen "page" to last "page"...
------------------------------
End of U2 Users Digest V1 #246
******************************
------------
u2-users-digest 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/