Perhaps:
IF 0 > ATT5 OR ATT6 <> '' THEN ATT5 ELSE 0
because I believe the correlative can be read as:
((C0 > 5) OR ("" <> 6) + C0) * 5
and to think that I actually used to enjoy reverse polish once upon a
time...
[EMAIL PROTECTED] wrote on 05/11/2008 17:23:27:
> A coworker asked me if I could help him understand this. I haven't used
> A-correlatives in about 14-15 years. Based on the data, it looks like
> if the value of field 6 is greater than 0 or less than zero it displays
> the value of field 5 otherwise it displays zero.
>
>
>
> Here is the A-correlative:
>
>
>
> 0001: A
>
> 0002: 99
>
> 0003: DEP/AMT
>
> 0004:
>
> 0005:
>
> 0006:
>
> 0007: MR2$
>
> 0008: F;5;C0;>;6;"";#;+;C0;#;5;*
>
> 0009: R
>
> 0010: 10
>
>
>
> And here is the data that is displayed based on it.
>
>
>
> LIST VISA.DEPOSITS 5 6 5A 11:45:21am 05 Nov 2008 PAGE 1
>
> VISA.DEPOSITS TRANS/AMT. APPROVAL DEP/AMT...
>
>
>
> 24160478 $6.95 $0.00
>
> 24158698 $6.95 $0.00
>
> 24155720 $6.95 $0.00
>
> 24157958 $6.95 $0.00
>
> 15180527 $20.00 086489 $20.00
>
> 24157310 $6.95 $0.00
>
> 24159616 $6.95 $0.00
>
> 24157674 $6.95 $0.00
>
> 24156462 $6.95 $0.00
>
> 24160668 $6.95 $0.00
>
> 11751332 $-626.18 $-626.18
>
>
>
> Can anyone explain what F;5;C0;>;6;"";#;+;C0;#;5;* is doing.
>
>
>
>
>
> Brenda Price
>
> UniVerse Programmer
>
> Market America
>
> Greensboro, NC
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
************************************************************
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.
************************************************************
-----------------------------------------
SAVE PAPER - THINK BEFORE YOU PRINT!
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/