05-06-2015 07:00 AM
I used FCMP procedure to create my first function under SAS.
proc fcmp outlib=work.funcs.test ;
function study_day(date_fin, date_debut);
return (datdif(date_debut, date_fin, 'act/act'));
should i create the table work.funcs?
05-06-2015 07:58 AM
I would suggest you read the manual on compiled functions. work.funcs.test is not a dataset, works.func is a catalog, test is a section in that catalog (from memory - i don't have the manual here).
Need further help from the community? Please ask a new question.