08-23-2017 01:08 PM - last edited on 08-23-2017 02:31 PM by ChrisHemedinger
Hello All, I have to execute a file AAA from first job. This file (AAA) is suppoose to be appended i.e. MOD. Can I give like this at the end of the first file "%INCLUDE "AAA.sas" MOD ;
08-23-2017 03:07 PM
If you created AAA.sas file by:
data out; file 'AAA.sas' ...any options; ....... run;
The answer to your question os positive. You can add at end:
In case the creating code is like:
filename outf '..path...AAA.sas'; data out; file outf ...any options...; ....... run;
You can end by:
08-24-2017 02:05 AM - edited 08-24-2017 02:17 AM
Thanks for your reply Shmuel.
When I am using %include 'AAA.sas' ; without MOD option its giving ERROR: File is in use. Seems during the creation of this file (AAA), it it remains open. Do we have to close this file.
Need further help from the community? Please ask a new question.