From: Ilmars on
Hello,
I have run across the issue where a custom function would crash SAS session.
Nothing get's written in the log regardless of the execution mode
(Interactive or Batch).
Since I have only one SAS machine can somebody please verify the behavior?
I am running SAS9.2 TS Level 2M2 (64bit) on MS Sever 2003 R2 64bit.
Compilation step runs fine, bet when calling the function in a data step SAS
session is killed.
proc fcmp outlib =work.funcs.validations;

function valid() $1 label="Valid Constant";
return('1');
endsub;

function testme(validcd $);
retval=0;
if validcd EQ valid() then retval=1;
return(retval);
endsub;
run;
options cmplib=work.funcs;


data test;
return=testme('1');
run;

Thank you in advance.