Hi
I have encapsulated the SET KEY= index lookup into a macro which tests _iosrc_ & returns a SUCCESS or Failure flag
My call is
%INDLOOK(SET=,KEY=,OPTION=)
the macro contains
set &SET key=&KEY &OPTION;
Question - I have a variable - myoption
Length myoption $ 9;
If i say
myoption='/unique';
and try
%INDLOOK(SET=MYSET,KEY=MYKEY,OPTION=myoption)
SAS complains about
File WORK.myoption.DATA not existing.
Help ??
Barry
I have encapsulated the SET KEY= index lookup into a macro which tests _iosrc_ & returns a SUCCESS or Failure flag
My call is
%INDLOOK(SET=,KEY=,OPTION=)
the macro contains
set &SET key=&KEY &OPTION;
Question - I have a variable - myoption
Length myoption $ 9;
If i say
myoption='/unique';
and try
%INDLOOK(SET=MYSET,KEY=MYKEY,OPTION=myoption)
SAS complains about
File WORK.myoption.DATA not existing.
Help ??
Barry