Qualified OUTPUT Statement

Deskin, Bob Bob.Deskin@Cognos.COM
Thu, 8 Jun 2000 15:16:43 -0400


How about defining a temp and using it to subtotal the input item. Then you
can condition the OUTPUT statement and use an ITEM FINAL to nab the
subtotal.

The trick is that you need to have the temp item declared before you
reference it.

Bob Deskin              
PowerHouse Web Product Manager and Senior Product Advisor
Application Development Tools, Cognos Inc.
bob.deskin@cognos.com (613) 738-1338 ext 7268 FAX: (613) 727-1178
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA


-----Original Message-----
From: Jim Nicoll [mailto:jnicoll@portofhalifax.ca]
Sent: June 8, 2000 3:07 PM
To: powerh-l@lists.swau.edu
Subject: QTP: Qualified OUTPUT Statement


Can anyone tell me if it is possible to qualify an OUTPUT statement

 OUTPUT <outputfile> ADD AT FINAL
   ITEM <recorditem> SUBTOTAL <inputfilerecorditem>

such that it is executed if and only if the subtotal inputfilerecorditem
is <> 0?

Thanks.

-- 
Jim Nicoll
Halifax Port Authority
www.portofhalifax.ca

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.