Date: Thu, 15 Apr 2010 10:35:53 -0400
Reply-To: Jesper Sahner Pedersen <jespersahner@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jesper Sahner Pedersen <jespersahner@HOTMAIL.COM>
Subject: Disable scanner-table
Hi,
In order to disable the scanner-table (similar to specify NONLSCOMPATMODE at
startup) the following code is used:
%let trantab_original=%sysfunc(getoption(trantab));
options trantab=(,,,,0,0);run; *disable scanner-table;
%put $$$; *example;
options trantab=&trantab_original;run; *reset trantab;
This works fine. However when the code is put inside a macro, it doesn't
work. Can anyone explain why and provide a solution?
Regards,
Jesper
|