Re[2]: QUICK - Bridge

pickerij@norbord.com pickerij@norbord.com
Wed, 3 Jun 1998 15:16:20 -0500


>John,
>
>AR-YEAR is NUM*4  (after it is expanded from NUM*2) in our application)

A fact I missed because it was buried in the mess of barely readable code   
:-)

>We are going a subsystem at a time in which :
>   1) AR-YEAR in couple of Datasets is NUM*2
>   2) Changed one have NUM*4
>
>We have to build bridges when data goes across multiple subsystems.
>
>Now from your mail
>
>   1) How do I use ADDCENTURY for a NUM*4 field ?
>
>   Err... forgot to mention We are on 7.09
>
>  Roshan Shah

My point was more a jab at Cognos and their (IMNSHO) slow delivery of the   
new improved solves all the year 2k problems version.

But to answer your question, I would probably do:

let AR-YEAR  OF AR-AUDIT-CASH &
  =  ncon(ascii(addcentury(AU-CHECKDATE OF ORDER-HEADER , &
         century(AU-CHECKDATE OF ORDER-HEADER )),8)[1:4])

John "still waiting for 8.19" Pickering
JWP Systems Inc
Toronto

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.