Search notes:

SAS programming - macro statement: %sysexec

%sysexec can be used to invoke a shell command.
It sets the automatic variable &sysrc.
%sysexec %bquote( for i in {1..10}; do echo $; done);

See also

Interaction with the OS
Executing shell commands from the sas executable.
macro statements

Index