SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 65547: A new argument, CFDATES, is added for the OUTPUT statement in SAS® High-Performance Risk

DetailsHotfixAboutRate It

A new argument, CFDATES=, is available for the OUTPUT statement in the HPRISK procedure to filter content that is written to the CASHFLOW output data set. Here is the syntax:

cfdates=( 'start-date'd – 'end-date'd )

This argument filters the CASHFLOW output  to where _cashflow_.matdate[i] (Mat_Date in the CASHFLOW data set) is on or between the specified dates. By specifying the CFDATES= argument in this manner, PROC HPRISK does not write any observation where _cashflow_.matdate[i] is missing, less than the start date, or greater than the end date.

For example, the following example limits the CASHFLOW output to maturity dates that are on or between March 1, 2018, and July 1, 2019:

cfdates=( '01MAR2018'd - '01JUL2019'd )

The following code example demonstrates the complete PROC HPRISK step with this new argument:

proc hprisk
​​​​​            task        = runproject
            expprojlib  = hpexplib
            project     = mixtype
​​​​​​​            filesprefix = "%trim(%left(&cube_loc))mixtypes"
            cube        = "%trim(%left(&cube_loc))mixtypes" ;
   output outcashflow = hpoutlib.hpcashflow
​​​​​​​          cfdates     = ('01MAR2018'd - '01JUL2019'd) ;
   crossclassvars instid;
   performance nodes=1 nthreads=1;
run;
quit;

Click the Hot Fix tab in this note to access the hot fix for this issue.

 



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS High-Performance RiskMicrosoft® Windows® for x644.29.4 TS1M6
64-bit Enabled AIX4.29.4 TS1M6
Linux for x644.29.4 TS1M6
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.