Hello,
I would like to start a macro program (MIRbat03_integrated) from scl but that does not work.
submit continue;
%include "s:\sf2\mir_francois_test\Prog_SAS\MIRbat03_integrated.sas";
%MIRbat03_integrated;
endsubmit;
I used the same code in SAS and that worked. Why in scl that does not work ? Have I forgotten something ?
Thanks and have a nice day.
problems99
The "test" comand will not executed submit blocks. You must run the SCL entry
I think, and haven't used SCL for donkeys years, you need to assign the macro to a form element. Have a look at:
How did you run your SCL program? Using AFA C=lib.catalog.name.scl, or did you use "test"
Check what the SAS Log says
I use test.
Log says nothing.
NOTE: Compiling RAPPORTS_GEN.FRAME (PROD.FRAMES.RAPPORTS_GEN.SCL).
NOTE: Code generated for RAPPORTS_GEN.FRAME. Code size=4554.
But if I don't use submit continue and endsubmit, it says me that SAS is not recognized by scl, of course, with a long list of errors. But there are'nt, from an external sas file there is no problem. It's only a problem a adaptability. Maybe is it another way to run a sas macro from scl ?
The "test" comand will not executed submit blocks. You must run the SCL entry
God, you're right.
Thanks a lot !
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.