Billa:
Your Two Questions:
1. Can I use Call Sortn() function in the Proc FCMP ?
call sortn(of array_mult_zero_coupon[*]);
ERROR: Argument number 1 to the CALL subroutine SORTN must be a variable.
2. Does anyone could give a example of how to sort an multidimensional/matrix array without call sort?
===========================
[1] Call SORTN() does not work in FCMP Environment. I confirm that I got the same ERROR as you have got. The OF operator within Call SORTN() is not working. So, sorting array within FCMP function has to depend on an external sorting routine. Paul Dorfman gave a Quicksort Macro which can be adapted.
[2] I can provide an example. Do you want sorting on ALL Rows or Columns of the Data Set ? Or on a given Row / Column ? If you specify your requirements, I can give you a FCMP function example using a FCMP Sorting Routine.
Best regards,
DataSP