Is the end date-time value, the name of a date-time field that contains the value, or an expression that returns the value.
value2
Date-time
Is the start date-time value, the name of a date-time field that contains the value, or an expression that returns the value.
component
Alphanumeric
Is the name of the component to be used in the calculation enclosed in single quotation marks. If the component is a week, the WEEKFIRST parameter setting is used in the calculation. e.g. seconds minutes, etc
outfield
Floating-point double-precision
Is the field that contains the result, or the format of the output value enclosed in single quotation marks. The format must be floating-point double-precision. In Maintain, you must specify the name of the field.
TABLE FILE VIDEOTR2
PRINT CUSTID TRANSDATE AS 'DATE-TIME' AND COMPUTE
ADD_MONTH/HYYMDS = HADD(TRANSDATE, 'MONTH', 2, 8, 'HYYMDS');
DIFF_DAYS/D12.2 = HDIFF(ADD_MONTH, TRANSDATE, 'DAY', 'D12.2');
WHERE DATE EQ 2000;
END
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
August 30, 2011, 01:00 AM
Kengaun
Hi Waz
In the link you have provided mentioned to search the document from Knowledge Base
Can you help to advise where/how to access the Knowledge Base ?