Problem with Qtp/Subfile/Item...Minimum
Hamilton, Allison
Allison.Hamilton@Cognos.COM
Tue, 8 Aug 2000 11:08:29 -0400
You might try turning on the QTP Tracer to see if it gives you any more
helpful information. If it is a timing problem, that should allow you to
see it. I believe that the Tracer is in 8.19C5, but to check do a SET ? and
you should see TRACE as one of the options, if it is there. It will
generate quite a bit of output! You might want to redirect standard output
to a file. You must use it with a source version of the QTP code, not a
compiled version.
The simplest form would be to just SET TRACE - and that will trace the files
and items as they are processed. SET NOTRACE will turn it off again. (SHOW
TRACE shows you what is set.)
-----Original Message-----
From: Robert Mills [mailto:robert.mills@windsong-services.co.uk]
Sent: Tuesday, August 08, 2000 6:31 AM
To: 'PowerHouse ListServer'
Subject: Problem with Qtp/Subfile/Item...Minimum
Can someone tell me why the following bit of Qtp code does not work?
> Access detail-set &
> Link key-item Of detail-set &
> To key-item Of master-set &
>
> Sort &
> On key-item Of detail-set
>
> Temporary t-RETURN-DATE Character *8
> Item t-RETURN-DATE Minimum DATE-GOODS-REC Of detail-set &
> Reset At key-item Of detail-set
>
> Subfile CM000EX3 At key-item Of detail-set &
> Keep &
> Include &
> key-item Of detail-set, &
> t-RETURN-DATE &
> Index key-item UNIQUE &
> Segment key-item
The item DATE-GOODS-REC is a char 8 field and holds the date in CCYYMMDD
format. Some records do not have a date but most record do.
The value returned in the subfile item t-RETURN-DATE is 'FF FF FF FF 20 20
20 20' in hex. That is 4 high-value characters and 4 space characters.
We're running 819C5 under MPE/iX 6.0 if that helps anybody.
Regards,
Robert
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Robert W.Mills (Senior Analyst/Programmer) | >>>> Please Note <<<< |
|Windsong Services, St. Mary Cray, ENGLAND |The opinions expressed above |
|Tel : +44 (0)1689 870622 x3005 |are my very own and NOT those|
|Fax : +44 (0)1689 899026 |of my employer. They are thus|
|Email: Robert.Mills@windsong-services.co.uk|subject to change or complete|
|URL : www.windsong.co.uk |reversal without any notice. |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.