Odd PH VAX Code
arthur kogan
akogan@westpac.com.au
Sat, 08 Aug 1998 09:18:19 +1000
Dirk,
I am looking at QTP 7.10 manual (page 165). The date function has one
required parameter (the number of days from the base date), and an optional
second parameter (the base date). If you ommit the second parameter, it
assumes the default base date of 31-DEC-1899 (which is or was a Sunday).
Regards,
Arthur Kogan
Westpac Financial Services
Sydney, Australia
Rohde Dirk (Van) wrote:
> I'm not sure what manual you're looking at, but my version 7.23
> PowerHouse for Unix Reference Manual shows the DATE function only
> accepting one parameter - the number of days to be converted.
>
> > -----Original Message-----
> > From: arthur kogan [SMTP:akogan@westpac.com.au]
> > Sent: Thursday, August 06, 1998 4:37 PM
> > To: MattO1@aol.com
> > Cc: powerh-l@lists.swau.edu
> > Subject: Re: Odd PH VAX Code
> >
> > Matt, you fool, have a look at the syntax of date function in the QTP
> > manual, it does
> > accept 2 parameters.
> >
> > Still... not really sure what *4I does, looks like some sort of a
> > comment.
> >
> > Regards,
> >
> > Arthur Kogan
> > Westpac Financial Services
> > Sydney, Australia
> >
> > MattO1@aol.com wrote:
> >
> > > Hey all 8-)
> > >
> > > I know I'm supposed to be one of the experts on PowerHouse code
> > around here,
> > > but I'm looking at some code from an existing system and I'm
> > baffled. Here is
> > > the code:
> > >
> > > *4D
> > > ITEM T_INVC_DATE = DATE(0,T_DATE)
> > &
> > > *4E
> > > *4I
> > > ITEM T_INV_DATE = DATE(0,T_DATE)
> > &
> > > *4E
> > > IF RCRD_ID OF DINVC_UDF_REC = "10"
> > >
> > > Two things that puzzle me. What the heck are the *4D and *4E lines?
> > And
> > > where did that DATE function come from? I don't recall seeing a
> > "(0," in
> > > there before. The client is operating on a VAX.
> > >
> > > Has it been that long since I've worked regularly with PowerHouse?
> > LOL
> > > (Uhhh don't answer that last question. It was rhetorical ;-))
> > > Matt 8-)
> > >
> > > Matt Ohmes
> > > Matt.Ohmes@Cognos.Com
> > > MattO1@AOL.COM (that's "Oh" 1, not "Zero" 1)
> > >
> > > Cognos Corp.
> > > 909 E. Las Colinas Blvd.
> > > Suite 1900
> > > Irving, TX 75039
> > > (972) 556-1122
> > >
> > > "The views of Matt do not represent the opinions of Cognos in any
> > way. In
> > > fact we refuse to admit he even works for Cognos. Don't trust him
> > and never
> > > loan him money!"
> > > = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> > = = = =
> > > 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.
> >
> >
> >
> > = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> > = = =
> > 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.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.